Override "emulated tabs" when editing Makefiles?
AVKuznetsov
kuzn at htsc.mephi.ru
Tue May 20 19:23:06 CEST 2008
On Tue, 20 May 2008 12:07:40 +0300
"Offer Kaye" <offer.kaye at gmail.com> wrote:
> Hi,
> I don't like using tabs in my source files so I've set the NEdit
> defaults to use emulated tabs. However, when editing a Makefile I
> *have* to use a tab character as the first character of a command
> line.
>
> Is there a way to automatically override the "use emulated tabs"
> option when in Makefile language-mode? I saw in the language-mode
> window that there is a way to change the number of spaces per emulated
> tab, but not the actual emulated tab setting. But I was hoping this
> could be set someplace else...?
>
> Thanks,
> --
> Offer Kaye
Hi,
you can try the following.
In the Program Smart Indent menu set for the Makefile mode
set_use_tabs(1)
in the Language Specific Initialization Macro and Definitions field
return -1
in the Newline Macro field
Apply and Save Defaults...
Alexey Kuznetsov
More information about the Discuss
mailing list