56 Commits

Author SHA1 Message Date
Le Tan
4ec340a403 refactor preview logics
Use block user data to store preview info.
2017-11-29 21:45:20 +08:00
Le Tan
d943e58f13 bug-fix: headings
- Missing headings with special characters;
- Display only the starting block of headers across multiple blocks;
- HGMarkdownHighlighter:
    - Skip headers without spaces after #s;
    - Fix last-block-header issue;
2017-11-24 19:56:58 +08:00
Le Tan
e6ce66ec7d support backup file
Add configs:

- backup_directory
- backup_extension
- enable_backup_file
2017-11-17 19:49:14 +08:00
Le Tan
c59974744e draw a thin line to link preview image and its block
Add config preview-image-line-foreground in MDHL for the line color.
2017-11-03 19:49:58 +08:00
Le Tan
9de40e4d78 replace VPlainTextEdit with VTextEdit 2017-11-03 19:49:42 +08:00
Le Tan
404b5329a1 replace VEdit and VMdEdit with VEditor and VMdEditor 2017-10-26 19:36:12 +08:00