zufuliu / notepad4

Notepad4 (Notepad2⨯2, Notepad2++) is a light-weight Scintilla based text editor for Windows with syntax highlighting, code folding, auto-completion and API list for many programming languages and documents, bundled with file browser plugin matepath.
Other
2.42k stars 174 forks source link

Upstreaming TOML lexer #806

Closed techee closed 2 weeks ago

techee commented 2 weeks ago

It seems the TOML lexer exists only in the notepad4 repository and is not part of lexilla. Would it be possible to submit the lexer upstream so other editors can use it as well?

We have an open issue in Geany at https://github.com/geany/geany/issues/1268 but we only use official lexilla lexers.

zufuliu commented 2 weeks ago

Lexers marked as "part of Notepad4" are really written for Notepad4 instead of general use. Backporting is complicate as they use extremely customed lexlib (e.g. some methods in LexAccessor and StyleContext classes have different behaviors compared to Lexilla's).

techee commented 2 weeks ago

OK, thanks for the clarification.