Closed notmedia closed 1 year ago
@jaywcjlove Hey! Try to select text on active line, you may see that selection is invisible there
I fixed it. @notmedia Upgrade v4.14.2
@jaywcjlove Hi! Thank you, but I found another bug here. If you define selection color and lineHighlight color then selection is also invisible on active line. So the lineHighlight overrides it.
I created a new codemirror
example to test it. Looks fine.
selection word, lineHighlight hides
Maybe I didn't understand your question.
@notmedia
@jaywcjlove I took a video
I understand, I see the official solution is to set the transparent background color.
@notmedia
@jaywcjlove But on official webpage it works as expected(
@notmedia using a transparent color
@jaywcjlove Yeah, it works! Thank you :)
I think the bug here is that if the text is selected... the activeLine class should be removed. This bug was introduced after 4.11.6
No, because you need to see active line in selection if you select multiple lines
if we set activeLine to transparent to see the highlight or selection then we dont see which line is active ever
Hi! The problem here is that when you setup selection color it doesn't highlight selection on active line. For default theme it works.
In this example I selected
'#4D4D4C',
string, you can see that match selection worked.