44 skipped lines |
45 | | 45 | | currentPos(startPos), |
|
|
|
48 | | state(initStyle), | | 48 | | state(initStyle & chMask), // Mask off all bits which aren't in the chMask. |
|
|
|
52 skipped lines |
104 | | 104 | | return currentPos - styler.GetStartSegment(); |
|
|
106 | | 106 | | int GetRelative(int n) { |
|
107 | | return styler.SafeGetCharAt(currentPos+n); | | 107 | | return static_cast<unsigned char>(styler.SafeGetCharAt(currentPos+n)); |
|
109 | | 109 | | bool Match(char ch0) { |
|
110 | | 110 | | return ch == ch0; |
|
23 skipped lines |
|
|
136 | | 136 | | for (int n=2; *s; n++) { |
|
| | 137 | | if (*s != |
137 | | if (*s != tolower((styler.SafeGetCharAt(currentPos+n)))) | | 138 | | tolower(static_cast<unsigned char>(styler.SafeGetCharAt(currentPos+n)))) |
|
|
|
29 skipped lines |