TextChangingEvent

This event is sent by the StyledTextContent implementor when a change to the text is about to occur.

@see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>

Constructors

this
this(StyledTextContent source)

Create the TextChangedEvent to be used by the StyledTextContent implementor. <p>

Members

Variables

newCharCount
int newCharCount;

Length of text that is going to be inserted

newLineCount
int newLineCount;

Number of new lines that are going to be inserted

newText
String newText;

Text that is going to be inserted or empty string if no text will be inserted

replaceCharCount
int replaceCharCount;

Length of text that is going to be replaced

replaceLineCount
int replaceLineCount;

Number of lines that are going to be replaced

start
int start;

Start offset of the text that is going to be replaced

Inherited Members

From TypedEvent

display
Display display;

the display where the event occurred

widget
Widget widget;

the widget that issued the event

time
int time;

the time that the event occurred.

data
Object data;

a field for application use

getName
String getName()

Returns the name of the event. This is the name of the class without the module name.

toString
String toString()

Returns a string containing a concise, human-readable description of the receiver.

Meta