| 176 | class Document; |
| 177 | |
| 178 | class LexInterface { |
| 179 | protected: |
| 180 | Document *pdoc; |
| 181 | ILexer *instance; |
| 182 | bool performingStyle; ///< Prevent reentrance |
| 183 | public: |
| 184 | LexInterface(Document *pdoc_) : pdoc(pdoc_), instance(0), performingStyle(false) { |
| 185 | } |
| 186 | virtual ~LexInterface() { |
| 187 | } |
| 188 | void Colourise(int start, int end); |
| 189 | int LineEndTypesSupported(); |
| 190 | bool UseContainerLexing() const { |
| 191 | return instance == 0; |
| 192 | } |
| 193 | }; |
| 194 | |
| 195 | /** |
| 196 | */ |
nothing calls this directly
no outgoing calls
no test coverage detected