Le Tan
da64b8c12f
add config confirm_reload_folder to check whether prompt for uer when reloading folder
2017-09-24 09:46:30 +08:00
Le Tan
d20dc4a0b0
bug-fix: image links in reference format will cause crashes
2017-09-23 14:56:53 +08:00
Le Tan
b04a44f82d
vim-mode: bug-fix for s, d, c in visual mode
2017-09-23 10:38:50 +08:00
Le Tan
73ede805d1
bug-fix: respect the open mode even if the file has been opened
2017-09-23 09:42:54 +08:00
Le Tan
01788a5301
support attachments
...
Support attachments to internal note file.
- Add/Delete/Clear/Sort;
- Support custom attachment folder for each notebook (read-only);
- Support renaming attachment;
2017-09-22 23:30:49 +08:00
Le Tan
a64d01ea86
refactor VFile and VOrphanFile
...
1. Make VFile a real abstract class;
2. Use VNoteFile for internal note file;
3. Use VOrphanFile for external orphan file;
2017-09-21 19:33:37 +08:00
Le Tan
eb24360aa9
vim-mode: fix Y and D action in Visual mode
2017-09-17 16:39:50 +08:00
Le Tan
26d14f81d5
bug-fix: findFirstVisibleBlock() return invalid block when fails
...
A huge block as the last block may lead to failure to find first visible
block.
2017-09-16 15:07:31 +08:00
Le Tan
2b78711eb4
confirm when cleaning up unused images
...
Add config confirm_images_clean_up.
2017-09-16 14:55:42 +08:00
Le Tan
cdcab4884a
use HGMarkdownParser to fetch image links from Markdown file
2017-09-16 14:55:42 +08:00
Le Tan
35fa0a46f6
add recycle bin to each notebook
2017-09-16 14:55:42 +08:00
Le Tan
4626673925
support created_time of notebook and folder
2017-09-16 14:55:42 +08:00
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
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