[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Octave-GUI] Scintilla and auto-indent ?

From: Torsten
Subject: Re: [Octave-GUI] Scintilla and auto-indent ?
Date: Sat, 30 Nov 2013 18:55:52 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

On 30.11.2013 17:30, CdeMills wrote:
> Hello,
> In Emacs, <TAB> was mapped as 'auto-indent-line' : hitting "TAB" anywhere on
> a line indented it. Is it possible to achieve the same effect with Scintilla
> ? There is an editor setting over auto indentation, how does it work ?
> Regards
> Pascal

The TAB only indents a line when the caret is within indentation.

Auto indentation in the octave lexer just takes the indentation of the
current line for the next new line when hitting return. In c++ the
autoindentation is context aware and automatically indents lines after
"{" etc.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]