764 Commits

Author SHA1 Message Date
Le Tan
78a86cddc0 support note template
VNote will scan files in the template folder in the config folder as
template.

Template supports magic word.
2017-11-06 21:47:38 +08:00
Le Tan
2186716655 disable rich text in VTextEdit 2017-11-04 08:18:19 +08:00
Le Tan
83119e860c add WeChat public account in README 2017-11-04 08:11:01 +08:00
Le Tan
fe0bc465b0 add openssl version check 2017-11-03 23:00:08 +08:00
Le Tan
945d29f576 vim-mode: fix left/right/up/down key in macOS 2017-11-03 22:28:52 +08:00
Le Tan
48981e09ab bug-fix: fix compilation error in macOS 2017-11-03 22:14:47 +08:00
Le Tan
490a87bb53 bug-fix: fix horizontal scrollbar in wrong case 2017-11-03 20:28:05 +08:00
Le Tan
c59974744e draw a thin line to link preview image and its block
Add config preview-image-line-foreground in MDHL for the line color.
2017-11-03 19:49:58 +08:00
Le Tan
9de40e4d78 replace VPlainTextEdit with VTextEdit 2017-11-03 19:49:42 +08:00
Le Tan
cb4d32e95f bug-fix: shortcuts for ActivateNextTab and ActivatePreviousTab 2017-10-26 21:08:24 +08:00
Le Tan
404b5329a1 replace VEdit and VMdEdit with VEditor and VMdEditor 2017-10-26 19:36:12 +08:00
Le Tan
5abcb1a8d9 add VPlainTextEdit with custom layout
- Support block images;
- Support line number;
- Do NOT support line distance height due to constraint of QPlainTextEdit.
2017-10-24 20:00:24 +08:00
Le Tan
a265aed035 bug-fix: insert code block inline if it is at the end of a space block 2017-10-23 21:49:53 +08:00
Le Tan
73ee02d3b2 support editing read-only files 2017-10-22 21:26:39 +08:00
Le Tan
ae19191917 support Ctrl+Shift+T to recover last closed files
Add config LastClosedFile in [shortcuts] of vnote.ini.
2017-10-22 14:23:53 +08:00
Le Tan
f01131caff refine Chinese translations 2017-10-22 12:32:15 +08:00
Le Tan
d7224380d1 Merge remote-tracking branch 'origin/dev' 2017-10-22 11:31:19 +08:00
Le Tan
1028c9a4ad bug-fix: prompt for new notebook after mainwindow is shown 2017-10-22 11:21:36 +08:00
Le Tan
be5f7d2b6b bug-fix: fix auto heading sequence regular expression 2017-10-20 19:45:57 +08:00
Le Tan
83071e8501 bug-fix: fix auto heading sequence regular expression 2017-10-20 19:45:41 +08:00
Le Tan
a5e7fc18ab bug-fix: skip system file when saving opened files before close 2017-10-20 19:45:26 +08:00
Le Tan
30dfc24a28 support Insert Code Block tool bar button
Ctrl+M to insert a code block.
2017-10-19 22:21:25 +08:00
Le Tan
e66b70b6ff support Insert Link tool bar button
Support Ctrl+L to insert a link.
2017-10-19 19:42:50 +08:00
Le Tan
da027e9fd9 minor-fix
- Move Insert Image to tool bar;
- Fix Captain mode MagicWrod;
2017-10-19 19:42:31 +08:00
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
94c5934f2d bug-fix: do not change mode when clicking an item in VFileList to open an already opened note 2017-10-09 19:41:57 +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