Menu

#18 SynTokenMatch - matching based on tokens

open
nobody
None
5
2006-06-01
2006-06-01
No

Advanced token matching for SynEdit. Token matching
based on higlighter tokens.

You can use SynTokenMatch to inteligment match braces
(), [], {}, or even tokens like begin->end,
repeat->until, try->end, record->end.
Back token matching also works. For back token matching
code is scanned line by line (not all lines, only nececery)

See demo (exe and source code) for details :)

PS. There are some painting issues, but matching works
perfectly. If someone did better match token painting,
please email me.

Latest version here:
http://flatdev.dotgeek.org/downloads.php?project=2

Discussion

  • Krystian Bigaj

    Krystian Bigaj - 2006-06-13

    Logged In: YES
    user_id=1158522

    Updates:

    v1.3 - 10.06.2006
    * Fixed bug with matching brace on first line (only if
    highlighter reset range different from $00000000, for
    example TSynWebPhpSyn, TSynWebCssSyn, TSynWebEsSyn)

    v1.2 - 02.06.2006
    * Fixed style painting in demo (thx Jan Fiala)

    v1.1 - 02.06.2006
    * Fixed match token painting in demo

    Download:
    http://flatdev.dotgeek.org/downloads.php?project=2

     

Log in to post a comment.