public class TextChangingEvent extends TypedEvent
| Modifier and Type | Field and Description |
|---|---|
int |
newCharCount
Length of text that is going to be inserted
|
int |
newLineCount
Number of new lines that are going to be inserted
|
String |
newText
Text that is going to be inserted or empty string
if no text will be inserted
|
int |
replaceCharCount
Length of text that is going to be replaced
|
int |
replaceLineCount
Number of lines that are going to be replaced
|
int |
start
Start offset of the text that is going to be replaced
|
data, display, time, widgetsource| Constructor and Description |
|---|
TextChangingEvent(StyledTextContent source)
Create the TextChangedEvent to be used by the StyledTextContent implementor.
|
public int start
public String newText
public int replaceCharCount
public int newCharCount
public int replaceLineCount
public int newLineCount
public TextChangingEvent(StyledTextContent source)
source - the object that will be sending the new TextChangingEvent,
cannot be nullGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.