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
Support multi-line decorations in the minimap #76133
Yep, something odd with \n and regex. If you search for text with trailing \n, the minimap shows the beginning non-matching part of the line highlighted, not the actual matched string.
changed the title [-]Searching for `\n` regular expression causes entire minimap to be highlighted[/-][+]Support multi-line decorations in the minimap[/+]on Jul 8, 2019
Activity
gregvanl commentedon Jun 25, 2019
Yep, something odd with \n and regex. If you search for text with trailing \n, the minimap shows the beginning non-matching part of the line highlighted, not the actual matched string.
RMacfarlane commentedon Jun 26, 2019
Nice catch! I'm not correctly handling multi-line decorations. Will defer this to next iteration, since the I think the fix will be more involved
[-]Searching for `\n` regular expression causes entire minimap to be highlighted[/-][+]Support multi-line decorations in the minimap[/+]