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
I'd be really useful if we could have multiple selections and toggle all of them at once.
How to reproduce
Select multiple lines with text
Highlight parts of each line
Use toggle highlight command to turn on the highlights
Desired behavior
All selections should be added as a highlights
What we see instead
Only first selected text is highlighted, all others are ignored.
Proposed solution
Add selections to TextEditor (lib/vscode/text-editor.ts) and use it in ToggleHighlightCommand (lib/commands/toggle-highlight.ts) to iterate through all active selections in execute().
The text was updated successfully, but these errors were encountered:
I'd be really useful if we could have multiple selections and toggle all of them at once.
How to reproduce
Desired behavior
All selections should be added as a highlights
What we see instead
Only first selected text is highlighted, all others are ignored.
Proposed solution
Add
selections
toTextEditor
(lib/vscode/text-editor.ts
) and use it inToggleHighlightCommand
(lib/commands/toggle-highlight.ts
) to iterate through all active selections inexecute()
.The text was updated successfully, but these errors were encountered: