MovementEvent

This event is sent when a new offset is required based on the current offset and a movement type.

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

@since 3.3

Constructors

this
this(StyledTextEvent e)

Constructs a new instance of this class based on the information in the given event.

Members

Variables

lineOffset
int lineOffset;

line start offset (input)

lineText
String lineText;

line text (input)

movement
int movement;

the movement type (input)

newOffset
int newOffset;

the new offset (input, output)

offset
int offset;

the current offset (input)

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