是否可以在 Scintilla 中突出显示的文本片段之间进行插入符号跳转?

发布于 2024-10-10 14:18:43 字数 182 浏览 0 评论 0原文

我想知道是否可以使用 Scintilla API 来制作如下所示的内容。

我有以下电话:

cook(foo, bar);

其中 foo 和 bar 仅突出显示,插入符号位于 foo 的开头。

现在,如果我输入任何内容,它将覆盖 foo,如果我按 Tab,插入符号将跳转到突出显示的栏。

I want to know if it is possible with Scintilla API to make something like the following.

I have the following call:

cook(foo , bar);

where foo and bar are only highlighted and the caret is at the beginning of foo.

now if i type anything, it will override foo, and if I pressed Tab, the caret will jump to the highlighted bar.

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

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

发布评论

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

评论(1

温柔一刀 2024-10-17 14:18:43

FingerText 使用片段(对于 Notepad++)执行此操作,但其中大部分使用 Scintilla,所以我可以想象它应该可以相当容易地将其改编为另一个基于 Scintilla 的编辑器。

FingerText does this with snippets (for Notepad++), but the majority of it uses Scintilla, so I would imagine it should be possible to fairly easily adapt it for another Scintilla based editor.

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