Function to reident selected /whole code #33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In CodeMirror1 there was a useful function reindent(). How to achieve the same functionality in CM2? Would be handy to have such a feature.
I think this should work:
(Or, to clarify, I don't think this warrants a separate API function, if it's so easy to do through the existing API.)
Thank's for clarification!
Works like a charm!