VB.NET 中的 ScintillaNET 问题
我正在使用 ScintillaNET,我想要语法突出显示。 我似乎无法弄清楚:(
我已经尝试过:
Scintilla.Lexing.Lexer = ScintillaNet.Lexer.Php
Scintilla.Lexing.LoadLexerLibrary(ScintillaNet.Lexer.Php)
Scintilla.Lexing.LexerName = "php"
Scintilla.ConfigurationManager.Language = "phpscript"
Scintilla.ConfigurationManager.Language = "php"
Im using ScintillaNET and i want syntax highlighting.
I Cant seem to figure it out :(
i have tried:
Scintilla.Lexing.Lexer = ScintillaNet.Lexer.Php
Scintilla.Lexing.LoadLexerLibrary(ScintillaNet.Lexer.Php)
Scintilla.Lexing.LexerName = "php"
Scintilla.ConfigurationManager.Language = "phpscript"
Scintilla.ConfigurationManager.Language = "php"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将其放入表单加载中。
Scintilla1.ConfigurationManager.Language = "vbscript" ' 将 vbscript 更改为您的语言。
另外,你还要看看 scintilla 支持的语言,你想要的语言可能不支持。
Put this in form load.
Scintilla1.ConfigurationManager.Language = "vbscript" ' Change vbscript to your language.
And by the way, you have to look at the supported languages for scintilla, the language you want may not be supported.