Le Tan
18ed9b761a
VAttachmentList: check missing attachments when showing the list
2017-09-29 19:57:21 +08:00
Le Tan
58e7cdca4b
refactor VFileList
...
- Refine note deletion logics;
- Refine note copy/paste logics;
- Refine note sorting logics;
2017-09-29 19:56:38 +08:00
Le Tan
4668bd581a
double click on a tab to close it
...
Add configuration double_click_close_tab.
2017-09-26 21:30:35 +08:00
Le Tan
ffd0cc8e6e
refine DocType
...
- Use *.html suffix for rich text file;
- For unknown DocType, open it using system's default app;
- Add "Open Via External Program" item in context menu of VFileList;
2017-09-26 19:28:11 +08:00
Le Tan
fb4e818e20
refine attachment list
...
- Add shortcut Ctrl+E A to show attachment list;
- Add Vim-like navigation shortcut to attachment list;
- Support drag-and-drop to add attachments;
- Add bubble to indicate the number of attachments at the right top corner;
2017-09-26 19:27:47 +08:00
Le Tan
e5cd014762
support recycle bin folder for extern files
...
1. Add external_recycle_bin_folder config;
2. By default, each external file will use _v_recycle_bin in the same
directory as its recycle bin folder to hold deleted images;
2017-09-26 19:27:11 +08:00
Le Tan
6f1cab39ba
update highlight.js with more complete language support
2017-09-25 19:42:58 +08:00
Le Tan
197e064a1a
bug-fix: VFile and document() may have different modification state
2017-09-24 14:46:32 +08:00
Le Tan
37058b04df
bug-fix: add attachment name check
2017-09-24 14:39:19 +08:00
Le Tan
04fa3654a4
bug-fix: do not cancel auto-indentation if cursor is not at block end
2017-09-24 12:04:35 +08:00
Le Tan
d955dedcb7
add config mathjax_javascript for Mathjax location and configuration
2017-09-24 10:18:55 +08:00
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