Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350362 - "Go to the next word (Ctrl+Right)" in text file does not work for certain cases
Summary: "Go to the next word (Ctrl+Right)" in text file does not work for certain cases
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.8 M4   Edit
Assignee: Felipe Heidrich CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 362568 370932 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-25 17:05 EDT by Eldar Abusalimov CLA
Modified: 2012-02-15 11:06 EST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eldar Abusalimov CLA 2011-06-25 17:05:43 EDT
Build Identifier: 20110615-0604

In some cases word-by-word navigation in text files does not work properly: when pressing Ctrl+Right caret freezes at some point instead of moving forward.

Reproducible: Always

Steps to Reproduce:
1. Create a Text file with a single line:
foo = 
2. Place caret at the end of word "foo":
foo| = 
3. Now press Ctrl+Right. The caret is expected to move to the end of line but it remains at the same position.

Expected:
foo = |

Actual:
foo| =
Comment 1 Markus Keller CLA 2011-06-27 08:15:48 EDT
I can reproduce in 3.7 GTK. Works fine on 3.6 GTK and on 3.7 Windows 7.

The problem also occurs in CustomControlExample > StyledText.
Comment 2 Dani Megert CLA 2011-11-02 07:01:09 EDT
Another case reported in bug 362568:

Steps to Reproduce:
1. Open a text file in any editor
2. On a single line, add some whitespace and then a word
3. Ctrl+Left/Right allow you to jump to the beginning/end of the word, but
repeatedly pressing Ctrl+Left will not take you past the whitespace to the
Comment 3 Dani Megert CLA 2011-11-02 07:01:26 EDT
*** Bug 362568 has been marked as a duplicate of this bug. ***
Comment 5 Felipe Heidrich CLA 2012-02-15 11:06:27 EST
*** Bug 370932 has been marked as a duplicate of this bug. ***