https://defect.opensolaris.org/bz/show_bug.cgi?id=19110
Summary: Tab expansion problems in 0.11-rc
Classification: Development
Product: opengrok
Version: unspecified
Platform: ANY/Generic
OS/Version: All
Status: NEW
Severity: major
Priority: P3
Component: analyzer
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
The default for tab expansion changed between 0.10 and 0.11-rc. Previously, the
default was not to expand tabs to spaces. In 0.11-rc, the default is to expand
tabs to spaces with tab stops at every four characters.
This change might be confusing to users who expect the old behaviour. Also,
since the tab expansion happens before the source is analyzed, it might cause
problems for the analyzers that distinguish between tabs and spaces (example:
bug #19108), so it shouldn't be enabled by default for now.
Disabling it (either by not setting it in Configuration's constructor, or by
running the indexer with -t 0) is not enough to get the exact same behaviour
back, as the width of the line# column has also changed in 0.11-rc.
Before, it used to be 8 characters wide, padded with characters. This
typically made that column fill the space up to (or slightly past - varying
between the browsers) the first tab stop, so that the first tab on the line was
close to the right width (sometimes exactly, sometimes one character too
short).
Now, the line# column is somewhat narrower and not padded (I think its width is
determined by the style sheets). Since it's narrower, it sometimes doesn't fill
the space up to the first tab stop, so the first tab on a line might be very
narrow too (like two characters wide, but it varies between the different
layouts since the various style sheets don't agree on the width of the line#
column).
--
Configure bugmail: https://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
opengrok-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opengrok-dev