1064 Commits

Author SHA1 Message Date
Le Tan
284cba698f PegMarkdownHighlight: refine fast parse 2018-07-31 20:41:49 +08:00
Le Tan
bfac189cb7 PegMarkdownHighlighter: cache result for performance 2018-07-30 21:55:07 +08:00
Le Tan
24a20e60e9 Editor: improve trailing space highlight performance 2018-07-29 16:18:50 +08:00
Le Tan
8679ffa051 PegMarkdownHighlighter: improve performance 2018-07-29 10:17:59 +08:00
Le Tan
9b49de3ab5 MdEditOperations: Ctrl+U to delete till the space of block 2018-07-27 21:05:07 +08:00
Le Tan
2e7b2e1e5d TagPanel: add two configs to control the behavior
- max_tag_label_length
- max_num_of_tag_labels
2018-07-27 21:04:50 +08:00
Le Tan
47503fddfe TagExplorer: use RegularExpression instead of WholeWordOnly when searching for a tag
"\bc#\b" won't match a word. We use "^c#$" instead.
2018-07-25 21:54:36 +08:00
Le Tan
0ae6b1a810 theme: refine styles for MARK 2018-07-25 21:19:20 +08:00
Le Tan
5c7bc6d537 peg-markdown-highlight: update for pmh_MARK 2018-07-25 20:53:44 +08:00
Le Tan
6ab85e1c1c Outline: focus to edit area after item clicked or activated in Navigation mode 2018-07-25 07:25:56 +08:00
Le Tan
72fb0f18c6 flowchart.js: update to 1.11.3 2018-07-25 06:47:16 +08:00
Le Tan
ba0660de28 MdEditor: fix zoomPage() bug after setting style sheet 2018-07-25 06:39:31 +08:00
Le Tan
2b01a4ccd0 theme: refine styles 2018-07-24 21:04:32 +08:00
Le Tan
87169832be peg-markdown-highlight: update to fix pmh_NOTE 2018-07-24 21:04:17 +08:00
Le Tan
b4554e1be8 MainWindow: remember expanded state 2018-07-24 21:03:31 +08:00
Le Tan
dace19119f release v1.20 v1.20 2018-07-23 19:58:01 +08:00
Le Tan
794d77433f theme: refine styles 2018-07-23 19:55:15 +08:00
Le Tan
2c3672d2b8 refine Changes.md 2018-07-22 15:22:17 +08:00
Le Tan
918513bb7d refine Chinese translations 2018-07-20 21:05:11 +08:00
Le Tan
2356316d9b translations: fix typo of Qt translations 2018-07-20 20:26:23 +08:00
Le Tan
76554b63f4 PegHighlighter: bug fix for single format blocks 2018-07-20 20:07:07 +08:00
Le Tan
25ec41c3f0 WebView: fix context menu in preview mode 2018-07-20 20:06:55 +08:00
Le Tan
41bf2d9cec MdTab: fix reload() logic to re-load images 2018-07-20 20:06:46 +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
46738c7f6e theme: refine styles 2018-07-20 20:06:25 +08:00
Le Tan
83f1909e84 fix compiler warnings 2018-07-20 07:15:11 +08:00
Le Tan
21e5aac024 VTextEdit: force to update() to show cursor while dragging text
This is a work-around.
2018-07-19 20:53:09 +08:00
Le Tan
42fbdace55 VNoteFile: update config file after save() to update the modified time 2018-07-19 20:52:45 +08:00
Le Tan
6f1a0c6980 docs: add superscript and subscript description 2018-07-19 20:52:26 +08:00
Le Tan
dec308cbde editor: fix the style sheet issue 2018-07-19 20:52:07 +08:00
Le Tan
976f7ff403 theme: refine styles 2018-07-18 20:05:59 +08:00
Le Tan
1c7e91d26d Explorer: add Up button to go up to parent directory 2018-07-18 20:05:45 +08:00
Le Tan
2ae742cc07 UniversalEntry: U to search the content of notes in Explorer root directory 2018-07-18 20:05:27 +08:00
Le Tan
5f65dc95c5 VSearch: support searching Explorer directory 2018-07-18 20:04:57 +08:00
Le Tan
98f2238dd1 style: do not override background-color in VMdEditor 2018-07-17 20:43:56 +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
59efed94f3 config: add [global]/image_name_prefix for inserted images 2018-07-15 20:06:05 +08:00
Le Tan
40424b7931 docs: update markdown_guide 2018-07-14 13:16:20 +08:00
Le Tan
abee597812 PegHighlighter: support fast parse 2018-07-14 12:45:15 +08:00
Le Tan
0e724635b3 MdEditor: fix the font style issue
Font family may be constrained by QWidget style in qss file.
2018-07-14 07:00:45 +08:00
Le Tan
3e29a647ab MdTab: fix the synchronization between read and edit mode
Mute web view in edit mode.
2018-07-13 21:54:26 +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
d06dcc36f5 markdown-it-texmath: add constraint to the end of the block equation 2018-07-13 20:32:10 +08:00
Le Tan
d2e054994b peg-markdown-highlight: update to 7385865a6c1eff676f9e3624e0f88c2834bb6d8a 2018-07-13 20:31:34 +08:00
Le Tan
bb308a06d1 PegMarkdownHighlighter: multi-threads highlighter support 2018-07-12 20:19:23 +08:00
Le Tan
fbfc6c1dd6 highlighter: support Fenced Code Block 2018-07-12 20:19:07 +08:00
Le Tan
a20d306aab peg-markdown-highlight: update to c3fd99c8fe6a7041b3c01f607b602aba1aa36416
For fenced code block support.
2018-07-12 20:18:24 +08:00
Le Tan
a305b6872e highlighter: support Front Matter for YAML meta data 2018-07-09 20:19:49 +08:00