Help save net neutrality! Learn more.
Close

Diff of /lexers/LexSTTXT.cxx [109ff8] .. [b74b4a]  Maximize  Restore

Switch to unified view

a/lexers/LexSTTXT.cxx b/lexers/LexSTTXT.cxx
...
...
83
                if(!setNumber.Contains(sc.ch))
83
                if(!setNumber.Contains(sc.ch))
84
                    sc.SetState(SCE_STTXT_DEFAULT);
84
                    sc.SetState(SCE_STTXT_DEFAULT);
85
                break;
85
                break;
86
            }
86
            }
87
            case SCE_STTXT_HEXNUMBER: {
87
            case SCE_STTXT_HEXNUMBER: {
88
                if(setHexNumber.Contains(sc.ch))
88
                if (setHexNumber.Contains(sc.ch))
89
                    continue;
89
                    continue;
90
                else if(setDataTime.Contains(sc.ch))
90
                else if(setDataTime.Contains(sc.ch))
91
                    sc.SetState(SCE_STTXT_DATETIME);
91
                    sc.ChangeState(SCE_STTXT_DATETIME);
92
              else if(setWord.Contains(sc.ch))
93
                  sc.ChangeState(SCE_STTXT_DEFAULT);
92
                else
94
                else
93
                    sc.SetState(SCE_STTXT_DEFAULT);
95
                    sc.SetState(SCE_STTXT_DEFAULT);
94
95
                break;
96
                break;
96
            }
97
            }
97
            case SCE_STTXT_DATETIME: {
98
            case SCE_STTXT_DATETIME: {
98
                if(!setDataTime.Contains(sc.ch))
99
                if (setDataTime.Contains(sc.ch))
100
                  continue;
101
              else if(setWord.Contains(sc.ch))
102
                  sc.ChangeState(SCE_STTXT_DEFAULT);
103
              else
99
                    sc.SetState(SCE_STTXT_DEFAULT);
104
                    sc.SetState(SCE_STTXT_DEFAULT);
100
                break;
105
                break;
101
            }
106
            }
102
            case SCE_STTXT_OPERATOR: {
107
            case SCE_STTXT_OPERATOR: {
103
                sc.SetState(SCE_STTXT_DEFAULT);
108
                sc.SetState(SCE_STTXT_DEFAULT);