write in column mode add spaces for indention, instead of tabs



  • In my files I use tabs to indent. When I use column mode and write something the it add spaces at the beginning of the blank line and no tabs. Can this be setup somewhere or is there a workaround? I setup tab=4 and replace by space is not checked.

    Example

    A
    	B
    		C
    
    		X
    	Y
    Z
    

    Start with the column mode there:

    A
    	|B
    	|	C
    	|
    	|	X
    	|Y
    Z
    

    and write something

    A
    	bla|B
    	bla|	C
    	bla|
    	bla|	X
    	bla|Y
    Z
    

    Then in the line, which was blank before it is now <space><space><space><space>bla. Expected is <tab>bla.



  • Hi @MaDill

    I actually submitted a patch to Scintilla a little while back to fix this problem and it was merged into v3.6.7 (released Sept. 2016) of Scintilla. However Notepad++ is still on a much older version of Scintilla, so currently there is no work around that I know of.



  • Then let’s hope that N++ update Scintilla some day…


Log in to reply