Le Tan
7d77002c53
change the policy of resizing the buffer when highlighting
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-20 21:54:56 +08:00
Le Tan
29609f0b65
change HGMarkdownHighlighter to use QSyntaxHighlighter
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-19 22:49:45 +08:00
Le Tan
c8d9745253
highlight code block using regular expression
...
peg-markdown-highlight can't hanlde code blocks with "#" correctly. Use
regular expression to fix it to avoid mis-interpret the "#" line as a
heading.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-15 21:15:54 +08:00
Le Tan
2adbd7c409
support font family settings in editor style
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-14 11:56:47 +08:00
Le Tan
d22f0124d3
add VStyleParser as a wrapper of pmh_styleparser
...
Use VStyleParser to read .mdhl style file for markdown highlighting.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-13 17:08:39 +08:00
Le Tan
33f62915e1
clean up HGMarkdownHighlighter
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-12 21:05:41 +08:00
Le Tan
22bf96c6e3
add peg-markdown-highlight for markdown editing highlight
...
[peg-markdown-highlight](https://github.com/ali-rantakari/peg-markdown-highlight.git )
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-11 23:23:11 +08:00