Hi, let me start with an expression of gratitude for this great text editor!

This is a feature request:

Scenario steps:

  1. Have a file with some text already in it.
  2. Have the text be hierarchically organized by indentation levels
  3. Be on a level 2
  4. Paste a multiline text from the clipboard

Current behavior:
The first line of the text is pasted at the cursor location. (indented on level 2)
All the other lines of the clipboard contents are pasted at column 0 (indentation level 1).

Desired behavior:
Have all the lines of the pasted clipboard text be "padded" with the indentation level of the cursor.

e.g.

Intro:
    This text is indented on level 2
    ....
    ....

Other section:
    This text is also indented on level 2

    # now I wish to paste a multiline text from the clipboard and have _all_ of the text indented to the "Level 1" (whatever that is, e.g. 1 tab)

Thanks in advance!
Even if this doesn't get implemented, I'd love to hear why this is not a desired behavior :)


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/issues/3845@github.com>