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
dcb6227d3b
vim-mode: share registers among all tabs
2017-10-18 19:55:25 +08:00
Le Tan
ad082d3ba0
restore tab order after toggling Compact mode
2017-10-18 19:55:03 +08:00
Le Tan
5aa5864ced
bug-fix: update status after edit tab got focus
2017-10-18 19:54:38 +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
34aa9e0083
use empty title by default when inserting new image
2017-10-17 19:49:48 +08:00
Le Tan
ce2a572211
bug-fix: locating to current file should not always change to two panels view
2017-10-17 19:49:18 +08:00
Le Tan
787c61a5af
support meta word
...
- Add VLineEdit as a QLineEdit with meta data support;
- support custom magic words through [magic_words];
- add %help% for all magic words information;
2017-10-17 19:47:57 +08:00
Le Tan
f1f6980921
refactor VNotebookSelector
2017-10-14 15:30:36 +08:00
Le Tan
ea05c268b3
remove obsolete title mark when inserting title mark
2017-10-13 19:40:35 +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
183b24915a
refactor outline logics
2017-10-13 07:10:04 +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
893c0b2823
bug-fix: use completeBaseName() when adding sequence to file name
...
- When adding attachments, if the name conflicts, we add sequence after
the base name. "abc.tar.gz" to "abc_001.tar.gz".
- When handling notes and folders, if the name conflicts, we add
sequence after the complete base name. "abc.5.9.1.md" to
"abc.5.9.1_001.md".
2017-10-09 21:25:30 +08:00
Le Tan
cff6a1e49a
bug-fix: do not change mode when clicking an item in VFileList to open an already opened note
2017-10-09 21:25:30 +08:00
Le Tan
11537972f3
add V_FALLTHROUGH for explicit fallthrough
2017-10-09 21:25:30 +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
2f61ded269
migrate to Qt 5.9.1
2017-10-03 08:53:08 +08:00
Le Tan
b3c8213e1a
release v1.9
v1.9
2017-10-02 10:38:48 +08:00
Le Tan
93a218655d
refine Chinese translations
2017-10-01 10:37:17 +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
Le Tan
3724eb35dd
refactor VDirectoryTree
...
- Refine folder deletion logics;
- Refine folder copy/paste logics;
- Add folder sort logics;
2017-09-30 09:51:40 +08:00
Le Tan
f9080db71c
minor-fix: scale images keeping aspect ration when previewing images in dialogs
2017-09-29 19:57:52 +08:00
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