SWT.COMPOSITION_OFFSET

The IME composition event detail that indicates that the IME needs the offset for a given location. The x and y fields of the event are used by the application to determine the offset.

The index field of the event should be set to the text offset at that location. The count field should be set to indicate whether the location is closer to the leading edge (0) or the trailing edge (1) (value is 2).

@see SWT#ImeComposition @see org.eclipse.swt.graphics.TextLayout#getOffset(int, int, int[])

@since 3.4

class SWT
int COMPOSITION_OFFSET;

Meta