octave-maintainers
[Top][All Lists]
Advanced

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

Re: Indentation of current line or selected blocks in the code editor?


From: Torsten
Subject: Re: Indentation of current line or selected blocks in the code editor?
Date: Tue, 7 Nov 2017 22:00:14 +0100

On 07.11.2017 17:58, Ben Abbott wrote:
>> On Nov 7, 2017, at 11:27 AM, John W. Eaton <address@hidden> wrote:
>>
>> Has anyone worked on adding an indentation feature for the code editor?
>>
>> I would like to try to get some simple indentation feature working that 
>> would at least handle re-indenting the current line or the selected region.
>>
>> Also, how does the Matlab code editor work for indenting the current line or 
>> blocks of code?  I expect new Octave users who are familiar with Matlab 
>> would expect similar behavior.
>>
>> Thanks,
>>
>> jwe
> 
> Matlab has auto-indent, right-indent, and left-indect icons. Each are applied 
> to the highlighted code or to the current line.
> 
> Ben

In Octave editor, <Tab> indents line/selection, <Shift>+<Tab> unindents
line/selection.

Torsten





reply via email to

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