You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to have a lineNumber for a mode stream object (aka "StringStream").
I'm trying to implement a feature to highlight all occurrences of selected word except the one being selected via addOverlay method, and I definitely lack the line number on the stream object.
Thanks!
The text was updated successfully, but these errors were encountered:
This is not going to happen, since is extremely problematic: highlighting information produced for line when it was line 10 may be reused when someone presses enter a few times above it, making it line 12. Also, the more we tie modes to their context, the harder they will be to reuse (in multiplexing modes or things like runMode).
In your use case, one solution would be to put a marker on the current match which cancels the styling done by the overlay (using css precedence or !important).
It would be great to have a lineNumber for a mode stream object (aka "StringStream").
I'm trying to implement a feature to highlight all occurrences of selected word except the one being selected via addOverlay method, and I definitely lack the line number on the stream object.
Thanks!
The text was updated successfully, but these errors were encountered: