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.

Bug 183910 - [69cat][editor] Tab key produces strange results
Summary: [69cat][editor] Tab key produces strange results
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-12 13:42 UTC by laurin1
Modified: 2010-06-24 03:32 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
PHP Test File (2.58 KB, application/x-zip-compressed)
2010-04-12 13:43 UTC, laurin1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description laurin1 2010-04-12 13:42:22 UTC
Product Version = NetBeans IDE Dev (Build 2010-04-12_15-04-34 )
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.6.0_19
Runtime = Java HotSpot(TM) Client VM 16.2-b04

Tab key produces random results.

I am going to include a sample file. Put your cursor on line 236, right in front of the equal sign (=) and press tab a few times. Watch the cursor movement. Sometimes it moves, sometimes it doesn't, but even when it does, it's lagging behind the text.

I'm putting linewrap in the whiteboard, but I need to verify that disabling linewrap fixes the issue (if it does not, I'll remove it.)
Comment 1 laurin1 2010-04-12 13:43:04 UTC
Created attachment 97092 [details]
PHP Test File
Comment 2 laurin1 2010-04-12 13:44:48 UTC
Hmm, I was wrong. This was not fixed by disabling linewrap in netbeans.conf.
Comment 3 Vladimir Voskresensky 2010-04-12 13:53:37 UTC
now line wrapping is disabled by different flags :-)
to be sure it's completely OFF in any bits use

-J-Dorg.netbeans.editor.linewrap.disable=true
-J-Dorg.netbeans.editor.linewrap=false
Comment 4 laurin1 2010-04-12 13:57:37 UTC
Ah, I missed that. Yes, this is fixed by disabling linewrap. Adding to Whiteboard.
Comment 5 laurin1 2010-04-20 14:02:02 UTC
This issue makes using Netbeans without the command line arguments to disable linewrap unusable.
Comment 6 Miloslav Metelka 2010-06-23 15:18:57 UTC
Hopefully fixed all the problematic cases.
http://hg.netbeans.org/jet-main/rev/818ed23d53be
Comment 7 Quality Engineering 2010-06-24 03:32:27 UTC
Integrated into 'main-golden', will be available in build *201006240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/818ed23d53be
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #183910 - Tab key produces strange results.