| 69 | } |
| 70 | |
| 71 | int LexInterface::LineEndTypesSupported() { |
| 72 | if (instance) { |
| 73 | int interfaceVersion = instance->Version(); |
| 74 | if (interfaceVersion >= lvSubStyles) { |
| 75 | ILexerWithSubStyles *ssinstance = static_cast<ILexerWithSubStyles *>(instance); |
| 76 | return ssinstance->LineEndTypesSupported(); |
| 77 | } |
| 78 | } |
| 79 | return 0; |
| 80 | } |
| 81 | |
| 82 | Document::Document() { |
| 83 | refCount = 0; |