# HG changeset patch # User Sam Harwell <280z28@netbeans.org> # Date 1344002008 18000 # Node ID 717424bf12ef9bb3f1bac8d3e3bfb8890e87d29e # Parent b506399611224cb8a00a2b78ca04a8d1f81d45a5 Display all tab characters when Show Non-printable Characters is enabled diff -r b50639961122 -r 717424bf12ef editor.lib2/src/org/netbeans/modules/editor/lib2/view/HighlightsViewFactory.java --- a/editor.lib2/src/org/netbeans/modules/editor/lib2/view/HighlightsViewFactory.java Fri Jan 25 09:57:46 2013 -0600 +++ b/editor.lib2/src/org/netbeans/modules/editor/lib2/view/HighlightsViewFactory.java Fri Aug 03 08:53:28 2012 -0500 @@ -226,7 +226,7 @@ return new NewlineView(attrs); } else { // Regular view with possible highlight(s) or tab view if (charType == TAB_CHAR_TYPE) { - int tabsEndOffset = nextTabOrRTLOffset; + int tabsEndOffset = startOffset + 1; AttributeSet attrs; if (limitOffset > tabsEndOffset) { limitOffset = tabsEndOffset;