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: | cursor move problems, line wrap problems | ||
---|---|---|---|
Product: | editor | Reporter: | err <err> |
Component: | Painting & Printing | Assignee: | Miloslav Metelka <mmetelka> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | emi, MindTwister, mmirilovic, nof8, zolta |
Priority: | P3 | ||
Version: | 7.1 | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
example file with wrapping problems
example to show where word wrap fails |
Description
err
2011-07-07 22:24:44 UTC
Interestingly, in jVi the switch between anywhere/word wrap works ok. BTW, there seem to be different drawing problems in jVi. In particular, move the cursor left/right over the first part of a line that is wrapped (no scrolling), and part of the line inconsistently disapears. This is the line in the last example where I said "last line on screen disapears". Apologies for regression caused by 197534. "Anywhere" word-wrap does not work properly. I will fix ASAP. (In reply to comment #2) > Apologies for regression caused by 197534. "Anywhere" word-wrap does not work > properly. I will fix ASAP. No problem; when I'm in jVi, switching to "Anywhere" works pretty well. So looks like a simple issue that's really not part of the guts of the performance improvements. After this first round of bugs is cleared up, I'll try to pinpoint specific issues that remain. With jVi I didn't see any painting problems. Removing that from summary. In wrap anywhere mode, lines were too long by a few characters. With normal NB mode, jVi deactivated, cursor keys don't work at all. I didn't delete userdir before checking. Product Version: NetBeans IDE Dev (Build 20110714-9814cbf0a243) Java: 1.6.0_23; Java HotSpot(TM) Client VM 19.0-b09 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Userdir: C:\Documents and Settings\erra\.netbeans\dev Created attachment 110002 [details]
example to show where word wrap fails
There was a problem regarding HighlightsView.breakView() that led to missing view fragments where they normally should appear. http://hg.netbeans.org/jet-main/rev/e9a0a8978a33 Additional fix will folow for cursor movements. Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/e9a0a8978a33 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #199960 - cursor move problems, line wrap problems - fixed HighlightsView.breakView(). *** Bug 198969 has been marked as a duplicate of this bug. *** *** Bug 198501 has been marked as a duplicate of this bug. *** So far I was only able to reproduce a following problem: 1) Turn on line wrapping (e.g. after-words) and goto a wrapped line. 2) Press End key to go to end of wrapped line. 3) Press cursor up; cursor goes to line begining. 4) Press cursor up again; cursor stays at line begining. Situation can be resolved by pressing e.g. Home key. IMHO this could be considered P3. For the next version I would like to fix the caret to not be at the line begining but at the line end in case End key is pressed (although e.g. line-wrapped JTextArea behaves like NB editor). But I need to modify BaseCaret to carry a bias for that. The last described problem is already tracked as 199987 --> closing this report as duplicate. *** This bug has been marked as a duplicate of bug 199987 *** |