Blank Line Match in Single Line mode?

Apr 7, 2011 at 9:36 PM
Edited Apr 7, 2011 at 9:46 PM

If you set it to one match per line (ctrl+shift+L) and have a blank line that matches, theres no character to highlight on the line so the blank line doesn't get any attention...  Not sure how to fix it really, Just thought i'd point it out.  Maybe some sort of opaque arrow indicating a nonprintable match on the line or something? -

example pattern: ^(?!foo).*$

Text:

asdf
bar
foo

more random text

 This is 4 matches, but only 3 lines have visual indication of a match

Coordinator
Apr 8, 2011 at 12:33 AM

This is great feedback. Not sure how to fix it either ;)

I plan to use Scintilla-based editors in the next version instead of rich textboxes. Maybe we can add a visual glyph for zero-width matches.

Apr 8, 2011 at 1:59 AM

I envisioned a column to the left of the "text to match" (1-2 em wide) with glyphs or a match count or something like that (not sure if it would apply to multi-line match, maybe not).  Think like the breakpoint column in VS, but less ugly (think resharper where they do cool stuff in the left column to highlight line status - that could have some cool application to multi-line matches).