删除 Scintilla JavaScript 词法分析器中的青色突出显示

发布于 2024-10-03 17:36:04 字数 267 浏览 5 评论 0原文

我有一个在 .NET 中工作的 Scintilla 实例,但 JavaScript 词法分析器中有一些我想删除的内容。当替换撇号之间的某些内容时,它是青色/绿色背景。我认为这张图片足够清楚地显示了这一点:

点击此处,我​​是新人,所以我无法在此处发布图片

我在编辑器属性中的任何位置都找不到这种颜色。有人知道如何删除它吗?

谢谢。

I have an instance of Scintilla working in .NET, but there is something in the JavaScript lexer that I'd like to remove. It is the cyan/green background when replacing something between apostrophies. I think this image shows it clearly enough:

click here, I'm new so I cannot post the image here

I cannot find this color anywhere in my editor's properties. Does somebody know how to remove it?

Thanks.

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

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

发布评论

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

评论(1

给不了的爱 2024-10-10 17:36:04

JavaScript 突出显示基于 C++ 突出显示,因此这两个对我来说影响 JavaScript 字符串:

# Double quoted string
style.cpp.6=$(colour.string)
# Single quoted string
style.cpp.7=$(colour.char)

还有一种突出显示未终止字符串的样式,这可能就是您想要的

# End of line where string is not closed
style.cpp.12=fore:#000000,$(font.monospace),back:#E0C0E0,eolfilled

The JavaScript highlighting is based on the C++ highlighting, so these two effect JavaScript strings for me:

# Double quoted string
style.cpp.6=$(colour.string)
# Single quoted string
style.cpp.7=$(colour.char)

There's also a style which highlights unterminated strings, which may be what you're after

# End of line where string is not closed
style.cpp.12=fore:#000000,$(font.monospace),back:#E0C0E0,eolfilled
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文