如何在SciTE中默认显示行号?
我正在使用轻量级的 SciTE 文本编辑器,我非常喜欢它。
我想对其进行配置,以便在打开它时看到显示的行号。 我不想每次都检查“查看\行号”菜单。
我认为我可以做到这一点,但我在全局选项文件中没有看到该条目。 有人知道该怎么做吗?
I am using the lightweight SciTE Text editor and I like it very much.
I would like to configure it in order to see the line numbers displayed when I open it.
I don't want to check the "View\Line Number" menu every time.
I think that I can do it but I don't see the entry in my global options file. Does anybody know how to do it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在 SciTEGlobal.properties 中尝试一下:
Try this in SciTEGlobal.properties:
看到其他答案后,我会说保存到用户选项文件更“干净”,因为它是一个用户设置,当您出于其他原因迁移或复制它时,您也可以将此设置与您的主目录 fe 一起传输。 此外,在这种情况下,您的网站仍然会像您(以及可能的其他用户)期望的那样运行。
“转到菜单“选项”,然后选择“打开用户选项文件并
将此行添加到用户选项文件“.SciTEUser.properties”:
附加注释:
根据我的口味,linux 中 scite 的字体太小,因此我还将这些行添加到 .SciTEUser.properties 中:
Having seen the other answers i would say it is more "clean" to save to User options file, because it is a user setting and you might also transfer this setting together with your home directory f.e. when you migrate or copy it for other reason. Also in this cases your scite would still behave like YOU (and possibly other users) expect.
"Go to menu 'Options' and there select 'Open User Options File and
add this line to User options file ".SciTEUser.properties":
additional comment:
for my taste the font of scite in linux is too small and therefore i also added these lines to .SciTEUser.properties: