Interactive Recognition Patterns

Thorsten Haude yoo at vranx.de
Wed Nov 22 13:46:52 CET 2006


Hi,

* John M Church wrote (2006-11-21 08:17):
>I want to label/highlight/backlight all the file at once so the user can 
>easily scroll back-n-forth, split panes, etc. to see all the switches 
>that match.  Can macros do this?

This looks certainly doable with macros. Let the user pick a word they
want to highlight (or a line, ...), find all occurrences of that word
and add it to a colored rangeset.

You can also detect some more complicated pattern around the word
picked and add different parts of the text to different rangesets. I
still don't understand your data files, so think C for an example:
- put mouse cursor in 'if',
- activate macro,
- mark all ifs dark green, all if blocks light green, all elses dark
  red, all else blocks ligth red.


Thorsten                                                Radiohead: Let Down
-- 
The ability to quote is a serviceable substitute for wit.
    - Somerset Maugham
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.nedit.org/pipermail/discuss/attachments/20061122/a8dd3314/attachment.bin


More information about the Discuss mailing list