Le Tan
5c038e1f76
support Markdown-it option configs
2017-09-16 14:55:42 +08:00
Le Tan
6addbbfedb
remove CloseNote tool bar button
2017-09-16 14:55:42 +08:00
Le Tan
156a73ff8c
vfilelist: add two context menu items
2017-09-16 14:55:42 +08:00
Le Tan
f178b1c634
support custom base level for heading sequence by heading_sequence_base_level
2017-09-16 14:55:42 +08:00
Le Tan
ae706fb066
add created_time and modified_time to file
2017-09-16 14:55:42 +08:00
Le Tan
7a384b1592
change default style and config tool bar icon size by tool_bar_icon_size
2017-09-16 14:55:42 +08:00
Le Tan
a36b512e94
do not allow changing type of note
2017-09-16 14:55:42 +08:00
Xianzhong Wang
1ae30b645e
Fix the serious bug of pressing Y in vim normal mode ( #42 )
2017-09-16 14:34:27 +08:00
Le Tan
84d1648fe4
bug-fix: move cursor to the end after creating new note
...
focusWidget() is NULL in Linux.
2017-09-12 21:16:47 +08:00
Le Tan
7fd2273aad
support line number in code block in both read and edit mode
2017-09-12 20:28:40 +08:00
Le Tan
e9238c921e
support color column in fenced code block by config color_column
2017-09-12 08:46:39 +08:00
Le Tan
2eb6476c3d
support auto heading sequence by config enable_heading_sequence
2017-09-11 19:49:30 +08:00
Le Tan
ed4044061f
bug-fix: move to the end of document after inserting title when creating a new note
2017-09-11 19:49:00 +08:00
Le Tan
07e8f27776
optimize VImagePreviewer by flags
2017-09-08 21:41:46 +08:00
Le Tan
e55b0af00e
bug-fix: QTextDocument.clearUndoRedoStacks() will crash in VImagePreviewer
2017-09-08 21:41:19 +08:00
Le Tan
f050d7d814
support custom mode to open a note by config note_open_mode
2017-09-08 21:40:55 +08:00
Le Tan
d2ef9608fc
bug-fix: use platform-specific text of QKeySequence in context menu
2017-09-08 21:40:31 +08:00
Le Tan
d6ca4245d9
minor-fix: VFileList and VNotebookSelector
...
1. Bug fix: after deleting last folder, the file list won't be cleared;
2. Move cursor one line down after inserting title automatically;
3. Prompt user to create a root folder after creating a notebook;
4. Autocomplete the folder name from the chosen path when creating a
notebook;
5. Add "Open Notebook Location" action in the context menu of
VNotebookSelector;
2017-09-08 21:40:11 +08:00
Le Tan
4ad79e4d92
vim-mode: <leader>w to save note
2017-09-07 20:35:41 +08:00
Le Tan
3daa463a6d
refactor VDirInfoDialog and VNewDirDialog
2017-09-07 20:35:01 +08:00
Le Tan
59d0e82e66
refactor retrivePath to fetchPath
2017-09-07 20:33:38 +08:00
Le Tan
803af89dde
support inserting note name as title when creating a note
2017-09-07 20:32:29 +08:00
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
1594ab203d
change default Vim insert and normal background
2017-08-22 22:21:49 +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
94b671f505
vim-mode: support J and gJ to join lines
2017-08-18 19:24:15 +08:00
Le Tan
e594a13e96
release 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