234 Commits

Author SHA1 Message Date
Le Tan
4a4e4ed377 add copy target Evernote 2018-02-23 19:53:44 +08:00
Le Tan
878a272777 add VTreeWidget with simple search and convert VDirectoryTree to it 2018-02-03 16:33:00 +08:00
Le Tan
0f6e9e1905 refactor VListWidget 2018-02-03 12:09:57 +08:00
Le Tan
4267ea54c8 do not print debug log in release mode
Add -d argument to print debug log in release mode.
2018-01-26 23:08:18 +08:00
Le Tan
97721f3e92 bug-fix: use en locale for help docs if user's locale is missing 2018-01-25 21:13:21 +08:00
Le Tan
b45f1d9518 fix font-family issue in WeChat Public Account editor
It could not recognize " in font-family.
2018-01-22 20:29:00 +08:00
Le Tan
06cac36412 support Vim command mode in read mode 2018-01-21 14:27:49 +08:00
Le Tan
333be910cc enalbe Vim cmd line for searching in read mode 2018-01-19 21:56:21 +08:00
Le Tan
0b885e1639 output built-in themes on startup 2018-01-16 21:05:35 +08:00
Le Tan
45526cc0a8 bug-fix
- Caculate font height every time on painting line number area;
- Support specifying multiple fonts in font-family in qss;
- Add margin for "li ol" in CSS;
2018-01-16 21:05:35 +08:00
Le Tan
a20ff08bb8 small fixes 2018-01-12 19:55:54 +08:00
Le Tan
632a007808 support copy as Web Editor 2018-01-10 21:24:31 +08:00
Le Tan
14df9e6e90 refine copy HTML logics 2018-01-10 10:39:45 +08:00
Le Tan
b9e8bc0eb4 enable MathJax in fenced code block 2018-01-07 19:14:29 +08:00
Le Tan
324d7cd444 VWebView: add css_color_mapping in palette file for copying HTMl
If the mapping is specified, we will replace the foreground color with
the mapping when the content is copied.
2018-01-05 19:36:40 +08:00
Le Tan
2bdad19253 vim-mode: fix % behovior in d/c command 2018-01-04 21:15:13 +08:00
Le Tan
7e1a254073 disable subscript and supscript in Markdown-it since the conflict with MathJax 2018-01-04 19:54:20 +08:00
Le Tan
2f1971476d VMdEditor: support copy selected text as HTML 2018-01-04 13:27:42 +08:00
Le Tan
c5afe0bef0 disable cursor line block if cursor line highlight is disabled 2018-01-02 20:42:22 +08:00
Le Tan
7986ebe475 VWebView: alter copied Html in VWebView to paste correctly in OneNote 2017-12-28 22:19:39 +08:00
Le Tan
00d7f5e013 bug-fix: loop to setMimeData to clipboard in Windows 2017-12-28 19:26:43 +08:00
Le Tan
be1827b0c4 change predefined_colors to custom_colors 2017-12-25 19:43:28 +08:00
Le Tan
c0c4b8602a add VTipsDialog to display hints about some actions 2017-12-22 19:33:42 +08:00
Le Tan
03122a24db bug-fix: fix images when cutting files
1. De-duplicate the images occur multiple times in the note;
2. Refresh the read mode and edit mode preview after the directory path
change;
3. Update init images and inserted images after the directory path
change;
2017-12-21 21:02:56 +08:00
Le Tan
d46917d6a9 vim-mode: fix movement with block cursor 2017-12-21 21:02:56 +08:00
Le Tan
2373a0326e vim-mode: amend cursor position after mouse release 2017-12-21 21:02:56 +08:00
Le Tan
4b32fca9b5 themes: add v_moonlight theme for dark mode 2017-12-16 20:18:51 +08:00
Le Tan
2c1e8e33fe vim-mode: support g0 (start of visual line) 2017-12-14 21:14:45 +08:00
Le Tan
70eb04ebd2 vim-mode: fix w/W/e/E/b/B/ge/gE movement with block cursor 2017-12-14 18:22:40 +08:00
Le Tan
1dcd65e7dd themes: bug fix 2017-12-11 20:48:18 +08:00
Le Tan
7b4117c737 theme: theme palette file could specify mdhl and css files 2017-12-10 21:46:30 +08:00
Le Tan
9f9cc553dd VUtils: set default button as special button 2017-12-09 17:48:36 +08:00
Le Tan
5ca9ea6b92 remove focus rectangle on Mac 2017-12-09 16:15:01 +08:00
Le Tan
1410c16280 add v_pure theme 2017-12-09 12:59:39 +08:00
Le Tan
49811cabc0 VTextDocumentLayout: support cursor line block background 2017-12-08 19:31:19 +08:00
Le Tan
bda61a994c support overriding icon color in theme 2017-12-06 20:35:01 +08:00
Le Tan
d14f4697b4 replace palette in clss VNote with VPalette 2017-12-05 19:45:04 +08:00
Le Tan
19323496d1 vim-mode: bug fix 2017-12-04 20:48:16 +08:00
Le Tan
24349f4cc7 fix VOpenedListMenu with new theme 2017-12-04 20:37:36 +08:00
Le Tan
7f230312df vim-mode: bug fix in block cursor mode 2017-12-03 16:21:00 +08:00
Le Tan
262c6acfd9 support themes 2017-12-03 16:14:13 +08:00
Le Tan
6fea8bf7dc vim-mode: fix cursor position after changing from Insert to Normal mode 2017-12-02 21:31:54 +08:00
Le Tan
cfbda92f67 vim-mode: amend the cursor position after executing a command 2017-12-02 21:27:20 +08:00
Le Tan
f429ffe3e5 vim-mode: support Visual mode with block cursor 2017-12-02 14:35:51 +08:00
Le Tan
0d6ed84228 bug-fix: vim mode cursor width 2017-12-01 23:24:21 +08:00
Le Tan
87af770612 vim-mode: support cursor block
Support cursor block in Normal and Insert mode.

TODO: need more fine-grain tuning of the behaviors.
2017-11-30 22:09:16 +08:00
Le Tan
3e7fa998ee bug-fix: retry to set clipboard after failure on Windows
On Windows, set data to clipboard may fail due to operating system's
design. We will repeatedly retry untin succeed.
2017-11-25 09:20:29 +08:00
Le Tan
d3ff787153 vim-mode: support = to auto indent selected blocks as previous block 2017-11-24 20:18:59 +08:00
Le Tan
94260b3df8 VSnippet: support auto indent 2017-11-24 19:57:23 +08:00
Le Tan
d79ad54822 refine header regular expression
Allow only spaces after #s.
2017-11-24 19:57:11 +08:00