Skip to content

Support multi-line decorations in the minimap #76133

Closed

Description

@mjbvz

Testing #76030

Repo

  1. Enable minimap
  2. Open a file
  3. Search for \n with regular expressions enabled

bug
The entire minimap becomes orange:

Screen Shot 2019-06-25 at 12 00 43 PM

Activity

  1. gregvanl commented on Jun 25, 2019

    @gregvanl

    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.

    image

  2. RMacfarlane commented on Jun 26, 2019

    @RMacfarlane

    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

  3. 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
  4. added
    editor-minimap
    verification-needed
    on Jul 8, 2019
  5. locked and limited conversation to collaborators on Aug 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

editor-minimapverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions