We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In Brackets, we'd love to react to electric chars in order to remove possible trailing whitespace (for more background, see adobe/brackets#8395 and [the code that currently handles the common chars ]{})](https://github.com/adobe/brackets/blob/97ed87bb8597a859c3fd3def860cc1a97d1bb4bf/src/editor/Editor.js#L436-L454)), but unfortunately, there's no way to do so right now. I suggest CodeMirror should fire an event (like electricCharIndent) in such cases. Any objections?
electricCharIndent
The text was updated successfully, but these errors were encountered:
f6e516f
Sounds useful. Implemented in attached patch.
Sorry, something went wrong.
No branches or pull requests
In Brackets, we'd love to react to electric chars in order to remove possible trailing whitespace (for more background, see adobe/brackets#8395 and [the code that currently handles the common chars ]{})](https://github.com/adobe/brackets/blob/97ed87bb8597a859c3fd3def860cc1a97d1bb4bf/src/editor/Editor.js#L436-L454)), but unfortunately, there's no way to do so right now.
I suggest CodeMirror should fire an event (like
electricCharIndent
) in such cases. Any objections?The text was updated successfully, but these errors were encountered: