Re: Emulated Tabs

Tony Balinski <[email protected]> Mon, 19 Jul 2010 07:09:59 +0200
Newsgroups gmane.editors.nedit.user
Message-ID <[email protected]>
Quoting "Aaron W. Hsu" <[email protected]>:

> Hey Everyone,
>
> I've been playing a bit with my emulated tabs, simply because I do that
> sort of thing.
>
> I notice a strange behavior in a recent CVS version of NEdit. When I
> have hard tabs set to 8, and emulated tabs set to 4, and then I also
> have checked the box to use hard tabs in emulation and blocks, I get
> some strange behavior. If I type two emulated tabs in a row, I expect
> that a single hard tab should be inserted for that line. However, this
> isn't the case. The spaces inserted by the first emulated tab stick
> around. This results in something like:
>
>  	____<tab>
>
> Obviously, that's not cool. Is this a bug? It seems like it should be.

It's been like that for years! Much of NEdit's source has this pattern of
spaces and tabs. I don't like tabs much because of their variable width
(people seem to assume they should tab to 4 character width columns, not 8)
which is why I have backlighting turned on all the time, so I can see them.

Tony
-- 
NEdit Discuss mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/discuss