375 Commits

Author SHA1 Message Date
Le Tan
ae16b547e6 themes: refine danger button style 2017-12-12 21:04:37 +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
2bf2e7faaf themes: support menu checkbox and radiobutton 2017-12-10 10:55:52 +08:00
Le Tan
2933e0f44c v_white theme: fix QFindReplaceDialog's title style in Gnome 2017-12-09 16:39:51 +08:00
Le Tan
1410c16280 add v_pure theme 2017-12-09 12:59:39 +08:00
Le Tan
0d4a62626e VPalette: support referencing definition in the same group 2017-12-08 19:31:33 +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
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
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
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
262c6acfd9 support themes 2017-12-03 16:14:13 +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
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
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
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
Le Tan
6ac33d2bd0 support snippets
Shortcuts are not supported yet.
2017-11-11 08:09:22 +08:00
Le Tan
7131b483f3 refine default css style 2017-11-07 20:18:18 +08:00
Le Tan
1e15b37a83 vim-mode: support Ctrl+O in Insert mode
- Support Ctrl+O in Insert mode to enter Normal mode temporarily;
- Use Ctrl+K instead of Ctrl+O to insert inline code;
2017-11-07 19:52:36 +08:00
Le Tan
78a86cddc0 support note template
VNote will scan files in the template folder in the config folder as
template.

Template supports magic word.
2017-11-06 21:47:38 +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
cb4d32e95f bug-fix: shortcuts for ActivateNextTab and ActivatePreviousTab 2017-10-26 21:08:24 +08:00
Le Tan
ae19191917 support Ctrl+Shift+T to recover last closed files
Add config LastClosedFile in [shortcuts] of vnote.ini.
2017-10-22 14:23:53 +08:00
Le Tan
f01131caff refine Chinese translations 2017-10-22 12:32:15 +08:00
Le Tan
30dfc24a28 support Insert Code Block tool bar button
Ctrl+M to insert a code block.
2017-10-19 22:21:25 +08:00
Le Tan
e66b70b6ff support Insert Link tool bar button
Support Ctrl+L to insert a link.
2017-10-19 19:42:50 +08:00
Le Tan
92bc044cac metaword: support Ctrl+E M in editor to evaluate metawords
Add shortcut configuration MagicWord.
2017-10-19 19:41:57 +08:00
Le Tan
00feaa13e2 refactor Captain mode
- Configuration [shortcuts] and [captain_mode_shortcuts] for shortcuts
and shortcuts in Captain mode.
2017-10-18 19:54:15 +08:00
Le Tan
d5e3d47c27 bug-fix: style sheet qss 2017-10-13 07:48:31 +08:00
Le Tan
2b299ff9b7 refine heading sequence
1. add toolbar button to enable/disable heading sequence of current
note temporary;
2. Support independent configuration for external files;
3. Change enable_heading_sequence configuration to heading_sequence_type;
2017-10-13 07:23:25 +08:00
Le Tan
598e8144bb support custom startup pages
- Support continuing where user left off on startup;
    - Support recovering the edit/read mode and the anchor position;
- Support opening user-specified files on startup;
- Add config startup_page_type, startup_pages, and last_opened_files;
2017-10-11 10:44:18 +08:00
Le Tan
fa870f132e update icons
Use icons made by a326703305@qq.com.
2017-10-09 22:08:17 +08:00
Le Tan
01acd03a71 move some configs from vnote.ini to session.ini
VNote now will first check vnote.ini from the executable folder.
2017-10-07 16:37:13 +08:00
Le Tan
ace96c7ce2 support compact mode in main window
Add enable_compact_mode config.
2017-10-06 22:45:42 +08:00
Le Tan
95548a68e0 refine icons 2017-09-30 20:53:41 +08:00
Le Tan
06fc4d5831 support custom code block style of highlightjs
Add two config:
- template_code_block_css
- template_code_block_css_url
2017-09-30 19:01:21 +08:00