JetBrains / markdown

Markdown parser written in kotlin
Apache License 2.0
682 stars 75 forks source link

Add explicit state field and reset method to MarkdownLexer #62

Closed FirstTimeInForever closed 3 years ago

FirstTimeInForever commented 3 years ago

Expose reset() and getState() of the underlying JFlex lexer, so they can be used by MarkdownLexerAdaptor in Markdown Plugin for IntelliJ, as they are needed for implementing lazy parsable elements and a lightweight syntax highlighter.