Originally reported as Geany bug 3608066
When the caret is placed in virtual space and a letter is typed, Geany back-fills using spaces. When the indentation mode is TABs, tabs should be used.
For instance, set indentation mode to TABs and open a source-code file which uses tabs for indentation. Go the the end of the file. Use the enter key to add a few blank lines. Go to Document -> Strip trailing spaces. Use the right arrow key to move to a column which is several tab widths in from the left border. Type a letter.
Since the editor mode is TABs, Geany should have inserted tabs to the left of the letter just typed. Instead, spaces are inserted.
Comment by elextr:
The virtual spaces are done by Scintilla, not by Geany.
When you position the cursor in virtual space and type a character, all
Geany is told is that some spaces and a character have been inserted.
Geany can't distinguish if that was the user or the "virtual" spaces.
Since Scintilla has been told the indent type, this should be raised as a
Scintilla bug. (www.scintilla.org)
Log in to post a comment.