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
{{ message }}
Repository navigation
Can we highlight multiple lines as specified? #100
In certain scenarios, I would like to highlight specific lines, for example, if a line contains particular information, highlighting can provide better prompts for the user. However, I haven’t found an available API for this. How can I achieve this requirement?
Activity
heckmon commentedon Jan 17, 2026
@GreenLim
You can use this editor.
It provides a decoration API in the controller that can be used to highlight a line:
Also there's another API to scroll to a specific line:
controller.scrollToLine(int line)Both of these provide a better line/lines highlighting.