-
-
Notifications
You must be signed in to change notification settings - Fork 231
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
selection highlight in editor #977
Comments
I found the problem, thanks to @flaviocopes and his insistence. The problem relies in the contrast and highlight color used. Depending on color profile it's not working. I would suggest to use something closer to preview. Color profile for highlighting in preview seems to be fail-safe. u |
Ok the problem is, when something is selected, the cursor is not visible, right? |
No, the problem is that the selection does not appear highlighted. It's like working blind as you don't see selected characters, words, paragraphs distinguished from the rest of the content. Or to put it the other way around: It's normal that you don't see the input cursor when you select content chunks. A simple fix is to choose a color that conveys more to the standards for highlighting. I believe that codemirror uses a fixed color scheme right now and this color scheme does not work for example with the standard color scheme that comes with my monitors. |
@flaviocopes Thanks for looking into this. One more hint: As highlighting works for you, the screenshots work for you as well, you will see, even on my screenshots, the text chunks highlighted whereas on my monitors the screenshots do not show nearly a difference at all. |
This is now changed to use your OS native highlight colors. |
This has been reported before but from my experience: selection highlighting still does not work correctly in the codemirror instances out of the box. This is one of the biggest issues with the current editor implementation. I suggested StackEdit, but with highlighting resolved the current editor is a valid alternative.
The text was updated successfully, but these errors were encountered: