Shift-tab to decrease indent
Draws signalling charts, block diagrams and graphs from text input.
Brought to you by:
teknos293
Hi Zoltan,
The [Shift]+[Tab] combination seems to do the same thing as the [Tab] key, namely increasing the indent level. If I indent one level too many, I need to remove the additional spacing line by line and re-indent. It would be so convenient if the [Shift]+[Tab] would bring the indentation one level down!
Kind regards,
Martijn
Hi!
Thanks. After a quick check, I was not able to reproduce the error. Do you have the internal editor preference "TAB auto-indents" set or cleared? If set, then TAB and Shift+TAB work the same way, they both indent to where Msc-generator thinks the line should be indented. If cleared, TAB and Shft+TAB ought to work as you described and for me they do.
Note: you can also select many lines (or all with Ctrl+A) and press TAB to auto indent them all (if the above preference is set).
Indentation is calculated differently for each language, maybe you have a specific file where it does not work? Could you tell me more about when this happens, please?
Zoltan
Hi Zoltan,
Thanks for explaining the option! This provides a workaround.
I can reproduce the error in a block file, with below fragment. The option
"TAB auto-indents" is on.
If I [Ctrl]+[A] the entire text and hit tab, just the "if" statement
indent (and that of its contents) increases forever...
Kind regards,
Martijn
On Fri, Dec 1, 2017 at 11:39 AM, "Zoltán Turányi" teknos293@users.sf.net
wrote:
Related
Feature Requests:
#24Hi Martijn,
Indeed, apologies. Fixed. Will be in 6.1.105.
Z