Created attachment 114880 [details]
When "Show Non-printable Characters" is enabled, consecutive tabs are represented with a single "»" symbol. I'd expect as many "»" as tabs.
It worked fine in 7.0 so it's a regression.
Author: Sam Harwell <firstname.lastname@example.org>
Date: 2012-01-13 11:42
Message: Display all tab characters when Show Non-printable Characters is enabled
Issue #207286 - Show Non-printable Characters: consecutive tabs display as one
Created attachment 114886 [details]
Well, I took a guess that NetBeans would automatically attach a patch when I selected "finish patch" but it looks like that's not the case. Attached is a minimal patch to correct this issue.
Added myself and changed the component.
This issue, is still an issue in 7.2 RC1.
I guess, because I have a compiled version, I cannot apply this patch, or can I?
Is development able to fix this issue in 7.2 Final ?
I am unable to resolve this issue via a NetBeans plugin. As a user who *always* works with the Show Non-printable Characters option enabled, this patch is essential. It also simplifies the current code and is easy to verify.
Created attachment 130674 [details]
Patch to fix this issue
The previous patch conflicts with commit 82a545b61c94. I'm attaching an updated patch.
Created attachment 130675 [details]
Patch to fix this issue
The previous attachment was unintentionally empty
Thanks for the patch. In the end I've chosen to retain multi-char TabView and fix its rendering.
Integrated into 'main-golden', will be available in build *201302192300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Miloslav Metelka <email@example.com>
Log: #207286 - Show Non-printable Characters: consecutive tabs display as one.
*** Bug 227940 has been marked as a duplicate of this bug. ***
And how do you apply the patch?
I found the file to change the code...
1)what I have on my machine is way different from what is on the page at:
My version doesn't import as many files.
And the only way I can open it is in netbeans and it says it is compiled code in the folds.
2)If I try to use the above patch, I can't find it in the code to change it.
And I can't open 2 of the 4 HighlightsViewFactory the $1 and $2 files won't open.
3)If I try to download and run the nightly download exe it won't run...
I'm running on a 64bit windows machine....
And I'm not even close to being a java wizard... I don't even know enough to make myself dangerous...So go easy on me...
(In reply to comment #11)
> And how do you apply the patch?
Just download a build from http://bits.netbeans.org/dev/nightly/ and use that one. Not sure why it did not run properly.
To see sources and build by yourself you would have to through http://wiki.netbeans.org/DevFaqAccessSourcesUsingMercurial etc.