public class TextChangedEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
newCharCount
The new char count
|
int |
newLineCount
The new line count
|
java.lang.String |
newText
The new text
|
int |
offset
The offset
|
int |
replaceCharCount
The number of replaced chars
|
int |
replaceLineCount
The number of replaced lines
|
StyledTextContent |
source
The source
|
Modifier and Type | Method and Description |
---|---|
static TextChangedEvent |
textChanged(StyledTextContent source)
Create a text changed event
|
static TextChangedEvent |
textSet(StyledTextContent source)
Create the text set event
|
public final StyledTextContent source
public final int offset
public final int replaceCharCount
public final int replaceLineCount
public final java.lang.String newText
public final int newCharCount
public final int newLineCount
public static TextChangedEvent textChanged(StyledTextContent source)
source
- the sourcepublic static TextChangedEvent textSet(StyledTextContent source)
source
- the source