更改 scite 对话框中的快捷方式

发布于 2024-10-05 14:00:55 字数 56 浏览 0 评论 0原文

有谁知道如何将 scite 的替换对话框中的 alt-a (替换全部)更改为另一个快捷方式?多谢!

does anyone know how to change alt-a (replace all) in scite's replace dialog to another shortcut? thanks a lot!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

冷夜 2024-10-12 14:01:15

2种方法:
1. 使用ResourceHacker和SciTE的未压缩版本。
您可以从 http://www.angusj.com/resourcehacker/
获取它
用它打开SciTE.exe,转到dialogs/400/1033。
更改以“然后重新编译脚本”开头的行

CONTROL "Replace &All"


2.重新编译源代码...
解压 scite 源代码并查找 win32\SciTERes.rc
环岛第 400 行,您会发现以下行:

PUSHBUTTON      "Replace &All",IDREPLACEALL,190,41,90,14

您可以将 & 符号移动到不同的位置来更改快捷键。
然后重新编译SciTE

2 methods:
1. Use ResourceHacker and the uncompressed verion of SciTE.
You can get it from http://www.angusj.com/resourcehacker/
Open SciTE.exe with it, go to dialogs/400/1033.
Change the line that starts with

CONTROL "Replace &All"

Then recompile script.
2. recompile the source code...
Unzip the scite source and look for win32\SciTERes.rc
Roundabout line 400 you find the following line:

PUSHBUTTON      "Replace &All",IDREPLACEALL,190,41,90,14

You can move the ampersand to a different position to change the shortcut key.
Then recompile SciTE

寒江雪… 2024-10-12 14:01:13

您可以通过从“选项”菜单中进行选择来更改 ScITE 的配置文件之一。我通常更改用户级别配置文件,但全局文件对于查看更详尽的设置列表很有用。

注意1:如果您是唯一的用户,您可以更改全局设置,但用户级别就可以了。更改用户文件的一个优点是,至少在我的情况下,用户级文件(名为 .SciTEUser.properties)保存在我的 /home/user_name 目录中——我使用的是 Linux——所以它包含在我的 /home/user_name 目录中。数据备份。

注 2:我发现更改 ScITE 设置就像在 Costco 购物一样。你进去时心里有一张 30 美元的购物清单,然后留下 300 美元。您可以在 ScITE 中自定义的内容数量非常多。这是我第一次遇到一个感觉是量身定制的编辑器。

ScITE 网站提供了文档。具体来说,您需要在此链接中查找“user.shortcuts”。该部分提供了所有命令的链接

You can change one of ScITE's profile files by selecting from the Options menu. I usually change the User-level profile but the Global file is useful for seeing a more exhaustive list of settings.

Note 1: If you are the only user, you could change the Global settings but the User-level is just fine. One advantage to changing the User file, at lease in my case, is that User-level file (named .SciTEUser.properties) is saved in my /home/user_name directory -- I'm using Linux -- so it's included in my data backups.

Note 2: I found that altering ScITE settings is like shopping at Costco. You go in with a $30 shopping list in mind and leave $300 later. The number of things you can customize in ScITE is spectacular. It's the first time I have had an editor that feels tailor-made.

The ScITE website provides the documentation. Specifically, you'll want to look for "user.shortcuts" in this link. That section provides a link to all of the commands.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文