This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | End key does not move caret to end of line for wrapped line | ||
---|---|---|---|
Product: | editor | Reporter: | emi <emi> |
Component: | Painting & Printing | Assignee: | Miloslav Metelka <mmetelka> |
Status: | NEW --- | ||
Severity: | normal | CC: | markiewb |
Priority: | P3 | Keywords: | UI, USABILITY |
Version: | 8.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Caret |
It seems that the space on which the text wraps forms is consumed by the virtual linefeed; so in theory, the caret is positioned well - after the last character in the row (space), that is wrapped to newline ... so the caret goes effectively at the beginning of the new line. But it looks ugly. Even worse, if one types [space] at the beginning of a wrapped line part, the space is added at the *end* of the preceding line. Reassinging to editor/painting, perhaps LineBegin/End action or even offset/model mappings need to be changed. |
Created attachment 160311 [details] Caret 1) put caret on long wrapped line 2) press 'End' key expected: caret moves at the end of the wrapped line actual(bug): caret remains within the wrapped line and seems to move at the beginning of the next inner line (see screenshot) By comparison, Home key works and always moves the caret at the beginning of the line.