Skip to content
New issue

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

The editor shouldn't stop highlighting as soon as it finds a highlighted line #4

Closed
marijnh opened this issue Feb 8, 2011 · 2 comments

Comments

@marijnh
Copy link
Member

marijnh commented Feb 8, 2011

The line's meaning might have changed because of changes above it (think adding a quote, causing the next line to be string).

@mishoo
Copy link

mishoo commented Feb 8, 2011

I thought of a similar optimization for Ymacs but never did it as it seemed too tricky. (not just adding a quote, let's say we could catch that event, but pasting some code that contains, say, unbalanced quotes or comment markers; not to say it could break indentation for the following lines).

On the other hand, it might be a pretty good compromise in general.

@marijnh
Copy link
Member Author

marijnh commented Feb 18, 2011

This was done in a3a607c

mb-crt referenced this issue in mb-crt/CodeMirror2 Apr 26, 2012
alltom pushed a commit to alltom/CodeMirror that referenced this issue Aug 23, 2012
Get rid of outer scrollbar on IE8/9
davidmehren referenced this issue in hedgedoc/CodeMirror Oct 31, 2020
Copy text to clipboard with */" registers in vim mode
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants