Community
    • 登入

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

    已排程 已置頂 已鎖定 已移動 Help wanted · · · – – – · · ·
    3 貼文 2 Posters 3.3k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • MaDillM
      MaDill
      最後由 編輯

      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.

      1 條回覆 最後回覆 回覆 引用 0
      • dailD
        dail
        最後由 編輯

        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.

        1 條回覆 最後回覆 回覆 引用 1
        • MaDillM
          MaDill
          最後由 編輯

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

          1 條回覆 最後回覆 回覆 引用 0
          • 第一個貼文
            最後的貼文
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors