Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

CodeMirror simple mode doesn't load #11267

Closed
kerabromsmu opened this issue Jun 14, 2015 · 3 comments
Closed

CodeMirror simple mode doesn't load #11267

kerabromsmu opened this issue Jun 14, 2015 · 3 comments

Comments

@kerabromsmu
Copy link

I've created a highlight mode for Factor language, and made it use CodeMirror's simple mode. But it didn't work because simple mode is not loaded by the Brackets. Is it possible to add the simple mode module to Brackets?

@sprintr
Copy link
Contributor

sprintr commented Jun 14, 2015

Brackets doesn't load all the modes provided by CodeMirror. You'll have to load it yourself in an extension. Read this wiki to learn how to add a new language.

@kerabromsmu
Copy link
Author

I have read it, and it doesn't help. Try using simple mode to define a new language, and you'll find it doesn't work.

@petetnt
Copy link
Collaborator

petetnt commented Jun 15, 2015

Similar to #10501

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@sprintr @kerabromsmu @petetnt and others