I believe this is hardcoded into Scintilla's lexers for Python and other languages respectively (Scintilla is the editing component that Notepad++ uses), so you can't change this with some configuration setting.
The relevant documentation I found for folding mostly points to writing lexers for Scintilla. See the home page for some links.
发布评论
评论(1)
我相信这已分别硬编码到 Scintilla 的 Python 和其他语言的词法分析器中(Scintilla 是 Notepad++ 使用的编辑组件),因此您无法通过某些配置设置来更改它。
我找到的折叠相关文档主要指向为 Scintilla 编写词法分析器。请参阅主页获取一些链接。
I believe this is hardcoded into Scintilla's lexers for Python and other languages respectively (Scintilla is the editing component that Notepad++ uses), so you can't change this with some configuration setting.
The relevant documentation I found for folding mostly points to writing lexers for Scintilla. See the home page for some links.