11 Commits

Author SHA1 Message Date
Le Tan
8679ffa051 PegMarkdownHighlighter: improve performance 2018-07-29 10:17:59 +08:00
Le Tan
0ae6b1a810 theme: refine styles for MARK 2018-07-25 21:19:20 +08:00
Le Tan
76554b63f4 PegHighlighter: bug fix for single format blocks 2018-07-20 20:07:07 +08:00
Le Tan
17b1a606d5 PegHighlighter: fix index-out-of-scope issue when parsing results
When user inserts many empty lines at once, the increated block number
may exceed the range of the parser result.
2018-07-20 20:06:36 +08:00
Le Tan
83f1909e84 fix compiler warnings 2018-07-20 07:15:11 +08:00
Le Tan
4d953542f2 VTextDocumentLayout: draw block background for HRULE 2018-07-17 20:43:43 +08:00
Le Tan
48db50fd5e PegHighlighter: refine fast parse
- Fast parse block range: look upward till the indentation is 0;
- Rehighlight all the fast-parsed blocks explicitly;
- Do not reset block user state by default;
- Pre highlight single format blocks to avoid jitter of line height;
2018-07-17 20:43:28 +08:00
Le Tan
abee597812 PegHighlighter: support fast parse 2018-07-14 12:45:15 +08:00
Le Tan
926e053d37 PegHighlighter: brush code block indentation 2018-07-13 20:32:34 +08:00
Le Tan
f5bbc1ccd7 PegHighlighter: support math 2018-07-13 20:32:22 +08:00
Le Tan
bb308a06d1 PegMarkdownHighlighter: multi-threads highlighter support 2018-07-12 20:19:23 +08:00