Erik de Castro Lopo wrote:

> and for nedit.smartIndentInit:
> 
>       Haskell: set_em_tab_dist(4)\n

Sorry for not looking carefully enough. This line has no effect, because
whether or not to emulate tabs is already language mode specific and taken 
from the Languag Modes settings.

So, if you don't "emulate tabs" generally, and just like to have emulated 
tabs for Haskell with a width of 4, simply enter 4 in the field
"Alternative emulated tab spacing" for the Haskell language mode.
(Btw, entering 0 there turns emulated tabs off, for those who like it
the other way round.)

>               set_use_tabs(0)\n\

Still, if you "Use tab characters in padding and emulated tabs" 
generally, but don't want to use tab characters there for Haskell,
we need this line in the smart indent initialisation, since this
setting isn't specific for language modes.

Complicated, isn't it?

Cheers
Jörg
--
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to