https://defect.opensolaris.org/bz/show_bug.cgi?id=19108

--- Comment #5 from Jens Elkner <[email protected]> 2012-01-17 
21:47:26 UTC ---
(In reply to comment #3)
> (In reply to comment #2)
...
> I've used it in some of my projects, and it did get honored in 0.10. But it
> used to be a bit tricky to use, since you'd need to add it to the 
> configuration
> file manually, so having the -t option in the indexer is good (would be even
> better if the option was per project).

Not sure about 0.10, anyway, should work on a per project base as well.

...
> Well, it does matter if the project expects tabs to be 8 characters wide. Then
> code that uses a mix of tabs and spaces doesn't line up.

Oh yes, forgot, that some ancient stuff still uses strange, i.e. mixed
tab/space indenting. 

> Except none of those workarounds worked satisfactory in my environment. The
> stop token got recognized alright, and the highlighting was fixed. But because
> of some other changes after 0.10, the initial tab on each line was just two
> characters wide.

OK, so adding 2ex to the line column width should fix it.

> I've logged bug #19110 to get the default tab handling right.
> 
> Let's keep this bug open to track the problem with broken syntax highlighting
> if tab size is set to a non-default value.

OK.

-- 
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

Reply via email to