617 Commits

Author SHA1 Message Date
Le Tan
72970cd404 support reloading content of notebook and folder from disk 2017-09-06 19:23:58 +08:00
Le Tan
f33c7f86d3 minor-fix: Vim mode and VImagePreviewer
1. In Vim mode use the `undo()` and `redo()` slots of VMdEdit instead of
QTextDocument;
2. VImagePreviewer will clear the undo/redo stacks if it is empty
before;
3. Remove setLineDistanceHeight();
2017-09-06 19:23:14 +08:00
Le Tan
7a0a2c552b add shortcuts for note and folder management 2017-09-05 20:54:15 +08:00
Le Tan
36a0d1dd7e support custom line distance height by line_distance_height config 2017-09-05 20:54:15 +08:00
Le Tan
9523168fc3 vim-mode: support S, { and }
Thanks to xianzhon@github
2017-09-05 20:54:15 +08:00
Le Tan
bb7e6e196c make markdown highlight interval configurable via markdown_highlight_interval 2017-09-05 20:54:15 +08:00
Le Tan
639d1cb9e9 refactor VCodeBlockHighlightHelper
1. Use QVector instead of QList;
2. Use cache for highlight result;
2017-09-05 20:54:15 +08:00
Le Tan
c3408769b0 refactor VImagePreviewer 2017-09-05 20:54:15 +08:00
Le Tan
8b1d7e9841 bug-fix: Vim mode Paste action
Move cursor to the right position after paste.
2017-08-30 09:11:03 +08:00
Xianzhong Wang
78bb2d5c41 [bugfix] When paste from register, discard selected texts first (#37)
* [bugfix] When paste from register, discard selected texts first

* Additional fix for the paste command to follow vim spec

* Refactor the code for paste command to make it clear
2017-08-29 21:42:32 +08:00
Le Tan
73630448a6 move vconfig to a local variable 2017-08-29 09:40:28 +08:00
Le Tan
e1befc1038 bug-fix: do not free userSettings and defaultSettings in destructor
Freeing userSettings and defaultSettings in the destructor of
VConfigManager will cause crash in macOS.
2017-08-26 21:50:14 +08:00
Le Tan
b47982ab25 macOS: disable minimizing to system tray
In macOS, there is a "Quit" menu item in the Dock context menu. We can't
not distinguish it from the close button in the title bar. For now, we
just disable the ability to being minimized to system tray.
2017-08-26 21:04:36 +08:00
Le Tan
98ef7c2cfa fix fcitx input issue with linux appimage 2017-08-25 21:46:16 +08:00
Le Tan
1594ab203d change default Vim insert and normal background 2017-08-22 22:21:49 +08:00
Le Tan
1e6d5c533f refine README 2017-08-22 22:05:59 +08:00
Le Tan
c177dd89cb refine README 2017-08-22 21:54:41 +08:00
Xianzhong Wang
dc98b5ef00 [fix] show the default filename in 'Export As' dialog (#35) 2017-08-22 20:28:58 +08:00
Le Tan
1d0c80d5b5 use another source of qt5.7 2017-08-22 20:19:15 +08:00
Le Tan
5c6c6ccb36 package as AppImage for Linux 2017-08-22 10:15:01 +08:00
Le Tan
0a7e92483c try debian packaging 2017-08-20 14:16:36 +08:00
Le Tan
6c06e000af hoedown 2017-08-19 21:24:23 +08:00
Le Tan
94b671f505 vim-mode: support J and gJ to join lines 2017-08-18 19:24:15 +08:00
Le Tan
e594a13e96 release v1.8 v1.8 2017-08-17 20:06:16 +08:00
Le Tan
b64e5c7ffc bug-fix: VVimIndicator causes input method enabled in read mode 2017-08-17 18:31:54 +08:00
Le Tan
0ded620772 use smaller icon size for toolbar 2017-08-14 19:04:34 +08:00
Le Tan
96350d8a2f refine Chinese translations 2017-08-12 12:43:15 +08:00
Le Tan
b5646a2b34 support links to internal notes 2017-08-11 21:53:37 +08:00
Le Tan
2e7590de24 add Markdown guide 2017-08-11 20:02:54 +08:00
Le Tan
d01996288f flash current anchor in read mode when jumping into it 2017-08-09 20:45:09 +08:00
Le Tan
7c2f1a8927 vim-mode: scroll to center after Ctrl+O/I 2017-08-08 20:12:15 +08:00
Le Tan
91d33c3f5c make name of notebook/folder/note case-insensitive 2017-08-08 20:11:44 +08:00
Le Tan
c2fe857e3a open an external file as internal note if it is a note within VNote 2017-08-07 20:04:18 +08:00
Le Tan
dfaa7772df bug-fix: use the default suffix from markdown suffix list 2017-08-07 20:01:24 +08:00
Le Tan
f9f508c193 bug-fix: save state in close event only when main window is visible 2017-08-07 20:00:39 +08:00
Le Tan
d44549a43f bug-fix: spaces after # are needed for titles in edit mode 2017-08-06 15:33:19 +08:00
Le Tan
586f5c0994 support custom doc type suffixes
Add markdown_suffix config.
2017-08-06 15:26:50 +08:00
Le Tan
c2e1f14dfa refine default CSS style 2017-08-03 21:30:22 +08:00
Le Tan
8595d0a14f make all tool buttons always visible 2017-08-01 22:44:49 +08:00
Le Tan
e88a41d4e3 minor-fix 2017-07-27 18:18:07 +08:00
Le Tan
fc48d69fe0 change desktop file to let it be added to GNome context menu 2017-07-25 22:14:39 +08:00
Le Tan
8264ace8f8 single-instance: latter instances will ask the legal instance to show itself 2017-07-25 22:03:02 +08:00
Le Tan
60e65d1781 system-tray: support system tray icon 2017-07-25 21:41:32 +08:00
Le Tan
b2bae39715 README: add screencast for edit experience 2017-07-22 17:20:26 +08:00
Le Tan
b4873feb41 exporter: OK button to close dialog after exported 2017-07-22 12:21:48 +08:00
Le Tan
226263f77c bug-fix: save wrong geometry state in single panel view 2017-07-21 22:09:40 +08:00
Le Tan
365c0ce91f vim-mode: disable input method in Command type in command line edit 2017-07-20 19:20:04 +08:00
Le Tan
8a6ce16db5 support drag and drop into edit area to open external files 2017-07-20 19:19:28 +08:00
Le Tan
d0bcd7a2c6 vim-mode: make cursor block visible after actions 2017-07-19 20:25:28 +08:00
Le Tan
561cc91069 refine Chinese translations 2017-07-18 21:05:04 +08:00