Project: SWT
Bug 103627 Text#getCaretPosition() returns wrong value for non-zero selection
Reported: 2005-07-13 05:20:29 | Status: resolved fixed

I20050627-1435 (3.1) Text#getCaretPosition() returns a wrong value for a non-zero selection. Steps: - set text "This is some text" - set caret to position 0, then press Ctrl+Shift+Right -> caret is at position 4 now, but #getCaretPosition() returns 0.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java