820 Commits

Author SHA1 Message Date
Le Tan
49811cabc0 VTextDocumentLayout: support cursor line block background 2017-12-08 19:31:19 +08:00
Le Tan
27be40a454 v_white theme: support checkbox and radiobutton style 2017-12-08 19:31:05 +08:00
Le Tan
ce1c042337 refine v_white theme 2017-12-07 22:03:34 +08:00
Le Tan
f428ba19f7 bug-fix: do not save state of main splitter in compact mode 2017-12-07 20:41:40 +08:00
Le Tan
8e48b43cda v_white theme: support scrollbar style 2017-12-07 20:34:53 +08:00
Le Tan
7611d7a350 refine v_white theme 2017-12-06 22:13:40 +08:00
Le Tan
bda61a994c support overriding icon color in theme 2017-12-06 20:35:01 +08:00
Le Tan
ae48d18688 fix v_white theme 2017-12-05 22:06:55 +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
5e323cd9ab fix VCaptain to change avatar's border color on mode change 2017-12-04 20:39:14 +08:00
Le Tan
24349f4cc7 fix VOpenedListMenu with new theme 2017-12-04 20:37:36 +08:00
Le Tan
23cae5a68c show editor first before beginEdit() 2017-12-04 20:37:17 +08:00
Le Tan
d49433f91d bug-fix: fix heading toolbar button 2017-12-04 20:37:02 +08:00
Le Tan
9f0963eace refine default theme 2017-12-03 19:21:41 +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
00f3665c1c VTextDocumentLayout: fix hitTest() in cursor block mode 2017-12-01 23:24:40 +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
b2a435297d VTextEdit: support block cursor 2017-11-30 21:25:43 +08:00
Le Tan
72946d0e15 Markdown Highlighter: more speed 2017-11-30 21:25:28 +08:00
Le Tan
4ec340a403 refactor preview logics
Use block user data to store preview info.
2017-11-29 21:45:20 +08:00
Le Tan
c7cb95d18b Markdown Highlighter: speed up at first parse 2017-11-29 21:45:06 +08:00
Le Tan
d2ee3e66d6 VTextEdit: support previewing inline images 2017-11-29 21:44:01 +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
fcbd591b69 bug-fix: no more than 6 numbersigns in headings in edit mode 2017-11-24 20:12:37 +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
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
cb6338ecf6 add heading tool button 2017-11-24 19:56:41 +08:00
Le Tan
1f0ee88770 refactor edit operations
- Ctrl+B/I/K/D/M: Revert if content between the markers is empty.
- Ctrl+7: delete title mark.
2017-11-24 19:56:25 +08:00
Le Tan
ce48cdafd6 change compact mode to the default mode 2017-11-21 22:02:37 +08:00
Le Tan
d739fa5de8 refactor log file
- Append to existing log file when the file size does not exceed the limit;
- Put log file beside the vnote.ini configuration file;
2017-11-21 21:55:07 +08:00
Le Tan
6c83f9bd04 refactor VCaptain to enable Captain mode with Input Method 2017-11-21 20:15:58 +08:00
Le Tan
8d568e6e23 support Flash Page
Ctrl+Alt+L to edit Flash Page. Config flash_page gives the path of the
flash page.
2017-11-21 08:38:34 +08:00
Le Tan
c2973d9e23 vim-mode: add vim_exemption_keys config for Ctrl+C/V
Add vim_exemption_keys config to control the behaviors of Ctrl+C and
Ctrl+V in Vim mode.
2017-11-20 19:29:46 +08:00
Le Tan
32aa68dc78 support custom external editors
Define [external_editors] section for custom external editors.
2017-11-20 19:29:31 +08:00
Le Tan
8ab8b3d83a bug-fix
- Set proper defalut focus of VInsertLinkDialog;
- Fix bug in snippet when selection mark is empty;
- Focus editor after double-click applying a snippet;
2017-11-20 19:29:14 +08:00
Le Tan
4ffd6a5ef4 fix appveyor: use 5.9 instead of 5.9.1 2017-11-19 15:28:14 +08:00
Le Tan
941672a07c release v1.10 v1.10 2017-11-19 14:55:31 +08:00
Le Tan
7e18374b93 fix build warnings 2017-11-19 14:55:31 +08:00
Le Tan
6e43002a8e refine Chinese translations 2017-11-19 14:31:08 +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
141b404240 support file change check 2017-11-16 11:34:13 +08:00
Le Tan
0a97b2480d snippet: support Ctrl+E S to insert snippets 2017-11-14 21:40:39 +08:00