You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
The Language Support page, especially the Defining a new language part, could use some improvements.
The aforementioned section does not contain any examples of how exactly to "load it using require(), register it with CodeMirror using CodeMirror.defineMode(), then call LanguageManager.defineLanguage() as above".
Thus, I'd suggest to add some examples here (for both the CodeMirror.defineMode() and CodeMirror.defineSimpleMode() methods of doing it).
I am now seeking for code to have SimpleCode to find empty lines and highlight the whole line and for activating code folding when certain reg-exp are found.
Is line-highlight and code-folding available in SimpleCode? or is it too simple ??
The Language Support page, especially the Defining a new language part, could use some improvements.
The aforementioned section does not contain any examples of how exactly to "load it using require(), register it with CodeMirror using CodeMirror.defineMode(), then call LanguageManager.defineLanguage() as above".
Thus, I'd suggest to add some examples here (for both the
CodeMirror.defineMode()
andCodeMirror.defineSimpleMode()
methods of doing it).Also, I'm unsure if we still need the Notes on "language" support (as of Sprint 21) section on this user-facing wiki page.
The text was updated successfully, but these errors were encountered: