notepad4 icon indicating copy to clipboard operation
notepad4 copied to clipboard

关于在纯文本启用[显示代码折叠]行首留白的问题

Open kidzgy opened this issue 3 years ago • 2 comments

微信截图_20220518093734 ver:4.22.05 r4220 如图所示,开启显示代码折叠功能后,在纯文本中,每行行首会有留白,这个其实对纯文本没有任何意义,甚至会造成“行首有空格没有删干净”的错觉。

kidzgy avatar May 18 '22 01:05 kidzgy

Text file use Python like indentation based code folding, you can set background color for "Code Folding" margin to avoid the confusing with leading spaces.

CodeFolding

zufuliu avatar May 18 '22 01:05 zufuliu

我把代码折叠部分的背景颜色设置为#F0F0F0即是与行号同背景颜色。 微信截图_20220519141341

kidzgy avatar May 19 '22 06:05 kidzgy