On Thu, 19 Feb 2009 12:29:52 +0100
Markus Schwarzenberg <[email protected]> wrote:

> Hi Eric,
> 
> On Thu, 19 Feb 2009 10:36:58 +1100 Erik de Castro Lopo 
> <[email protected]> wrote:
> 
> ...
>  
> > > If you put above mentioned macros
> > > to the field "Language Specific Initialization Macro Commands and 
> > > Definitions"
> > > for the Haskell mode,
> > 
> > I'm not sure about this bit. Can someone point me to where in the
> > config files I put the language specific initialisations?
> > 
> 
> There is even a (hard to find) UI for that:
> 
>   Preferences -> Default Settings -> Auto Indent -> Program Smart Indent
> 
....... 

Hi,

Sorry for a bad explanation.

Indeed you can add initialization macros for any language mode except Plain
in the above mentioned menu. In addition you must add the "return" macro-command
(without quotes)in the field "Newline Macro" to provide newline action
in the Smart Indent regime(mode) and turn on "Smart-indent" switch in the menu
Preferences -> Default Settings -> Language Modes
for a given Language mode.
 
All settings made (macros) will be saved in the configuration file nedit.rc
in the field  
nedit.smartIndentInit:
located near the end of the file. You must "Save Defaults.." for that.

Alexey
-- 
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to