clarkio / vscode-twitch-highlighter

This is a VS Code extension that will allow your Twitch chat to highlight a line of code via a command message. Example: `!line 8 server.js`. See master branch README.md for more details
https://clarkio.com
203 stars 14 forks source link

highlights don't travel with new lines #88

Closed NickLarsen closed 3 years ago

NickLarsen commented 5 years ago
!line 10

Once a line is highlighted, adding some newlines above it will not shift the highlight down with it. Instead it leaves an empty line highlight which will highlight the next thing that ends up passing through that line number.

Expected behavior, when new lines are added above a highlight, the highlight travels with the new lines, and in the case of multi line highlights, the size of the highlight expands to include the added lines.

clarkio commented 3 years ago

Fixed in #125