phr3ak - 2018-12-26

Hello

I'm trying to understand how the syntax highlighing works and I have some problems with it.

My question is why doesn't it turn into test2 state if I type two "a" letters at the begining?

Thank you

Here is my test jsf file from the scratch:

=Idle
=Bad            bold red
=Preproc        blue
=Define         bold blue
=Comment        green
=IncLocal       cyan
=IncSystem      bold cyan
=Constant       cyan
=Escape         bold cyan
=Type           bold
=Keyword        bold
=CppKeyword     bold
=Brace          magenta
=Control

:test1  Idle
        *       test1 strings
        "aa"    test2
done
        "c"     test3

:test2  Comment
        *       test2
        "b"     test3 noeat

:test3  Bad
        *       test3
        "a"     test2 noeat
 

Last edit: phr3ak 2018-12-26