| 122 | } |
| 123 | |
| 124 | int PrintScriptingIndicatorOffset(Accessor &styler, Sci_PositionU start, Sci_PositionU end) { |
| 125 | int iResult = 0; |
| 126 | std::string s = GetStringSegment(styler, start, end); |
| 127 | if (0 == strncmp(s.c_str(), "php", 3)) { |
| 128 | iResult = 3; |
| 129 | } |
| 130 | return iResult; |
| 131 | } |
| 132 | |
| 133 | script_type ScriptOfState(int state) { |
| 134 | if ((state >= SCE_HP_START) && (state <= SCE_HP_IDENTIFIER)) { |