dom96 / Aporia

IDE/Advanced text editor mainly focusing on support for the Nim programming language.
Other
379 stars 35 forks source link

[Feature request] Indent/Dedent #99

Open Peter2121 opened 8 years ago

Peter2121 commented 8 years ago

It would be nice to be able to indent/dedent lines, like in some other editors (for example, Komodo).

dom96 commented 8 years ago

Use Tab/Shift+Tab?

Peter2121 commented 8 years ago

Not evident, but works correctly! Thanks! The menu command would be nice though...

dom96 commented 8 years ago

Menu command? You want to click twice each time you indent/dedent?

Peter2121 commented 8 years ago

Ne, I don't want to click twice :) It's just to help new users to know that the function exists. Once found in menu, Tab/Shift+Tab will be used later. Normally if I select a block of text and I press Tab - the selected text will be replaced by Tab symbol. This is a normal behaviour of (almost) all text editors. That's why a menu item with a hint about Tab and Shift/Tab would be nice IMHO.

dom96 commented 8 years ago

I have not seen a text editor designed for programming that does that yet, can you name some?

Peter2121 commented 8 years ago

Komodo Edit - it supports Nim, I often use it.

qwertie commented 8 years ago

@Peter2121 In almost all text editors, if you select more than one line and press Tab, the lines are indented. I suppose Word Processors do not work that way, though.