Eirik Bakke created NETBEANS-980: ------------------------------------ Summary: Cannot arrow up/down to shorter word-wrapped line in editor Key: NETBEANS-980 URL: https://issues.apache.org/jira/browse/NETBEANS-980 Project: NetBeans Issue Type: Bug Components: editor - Other, editor - Painting & Printing Affects Versions: 9.0 Reporter: Eirik Bakke
If line wrap is enabled, and the text caret is located in a wrapped paragraph, the up/down arrow keys cannot be used to move the caret up/down to another wrap line if the target wrap line is shorter than the current caret position. Either nothing happens, or the caret may skip the shorter wrap lines and step multiple wrap lines up/down. To reproduce: 1) Go to Options/Preferences->Editor->Formatting, select "All Languages" and set "Line Wrap" to "After words". Click OK. 2) Create a new plain text file and paste in the paragraph "SHORTWORD LOOOOOOOOOOOOONGWORD SHORTWORD LUUUUUUUUUUUNGWORD". 3) Resize the editor window so that the paragraph gets split into three wrap lines (one word on each wrap line--i.e. make the editor a little wider than the long word). 4) Position the cursor right after "...OOOOONG" 5) Press the "Up" arrow. Nothing happens (expected would be to the caret to move up to the end of the previous wrap line). 6) Press the "Down" arrow. This moves the caret _two_ wrap lines down instead of to the end of the next wrap line. Tested in NetBeans 9.0 rc2. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists