Le Tan
49811cabc0
VTextDocumentLayout: support cursor line block background
2017-12-08 19:31:19 +08:00
Le Tan
8e48b43cda
v_white theme: support scrollbar style
2017-12-07 20:34:53 +08:00
Le Tan
bda61a994c
support overriding icon color in theme
2017-12-06 20:35:01 +08:00
Le Tan
24349f4cc7
fix VOpenedListMenu with new theme
2017-12-04 20:37:36 +08:00
Le Tan
e6ce66ec7d
support backup file
...
Add configs:
- backup_directory
- backup_extension
- enable_backup_file
2017-11-17 19:49:14 +08:00
Le Tan
141b404240
support file change check
2017-11-16 11:34:13 +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
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
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
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
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
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
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
59d0e82e66
refactor retrivePath to fetchPath
2017-09-07 20:33:38 +08:00
Le Tan
73630448a6
move vconfig to a local variable
2017-08-29 09:40:28 +08:00
Le Tan
e88a41d4e3
minor-fix
2017-07-27 18:18:07 +08:00
Le Tan
8a6ce16db5
support drag and drop into edit area to open external files
2017-07-20 19:19:28 +08:00
Le Tan
0b9d259de6
support opening external files from context menu in system browser
2017-07-18 14:36:15 +08:00
Le Tan
e33ff1fede
add Info action to tab context menu
2017-07-17 10:10:18 +08:00
Le Tan
59cf0a9e33
bug-fix: re-connect signals about Vim status after moving split
2017-07-01 17:21:26 +08:00
Le Tan
bf8bf9cc4f
refine context menu of edit tab
...
1. "Move one split left/right" will create a new split if needed;
2. Add "Close Tab", "Close Other Tabs", and "Close Tabs To The Right" actions.
2017-06-26 22:26:03 +08:00
Le Tan
5c17f74641
add indicator in status bar for edit tab
2017-06-21 20:01:33 +08:00
Le Tan
d909091f46
vim-mode: add an indicator for Vim status in status bar
2017-06-19 15:56:12 +08:00
Le Tan
ffce4b9611
vim-mode: message for Vim mode
2017-06-18 09:44:11 +08:00
Le Tan
3b011cd8de
minor fix
2017-05-31 19:42:37 +08:00
Le Tan
306b3cca92
refactor VEditTab
...
1. Make VEditTab an abstract class.
2. Use VMdTab inheriting from VEditTab for Markdown file.
3. Use VHtmlTab inheriting from VEditTab for Html file.
2017-05-30 21:05:24 +08:00
Le Tan
4c63839c4d
bugfix: escape special symbols (&) in TOC during generation
2017-05-26 18:19:42 +08:00
Le Tan
f4708e427f
bugfix in VFileList and VEditArea
...
1. Clear selection before setting current item in VFileList;
2. Status change of non-active tabs shoud not be propagated upwards;
2017-05-23 19:26:12 +08:00
Le Tan
5486929a8d
change statusTip to toolTip
2017-04-09 12:20:58 +08:00
Le Tan
32a7adb8d4
support viewing external orphan file
...
1. Add VOrphanFile for external local file;
2. Add doc file for shortcuts;
3. Ctrl+E ? to open the shortcuts doc;
2017-04-08 21:28:25 +08:00
Le Tan
f7f4bb1569
refine tab list menu by adding VOpenedListMenu
...
1. Group opened files by notebook and directory;
2. Type the sequence number to activate a certain item in the popup menu;
3. Ctrl+[, Ctrl+J, Ctrl+K
2017-04-04 13:26:21 +08:00
Le Tan
0a91037f71
Num keys in Captain mode to switch to given edit tab
...
1. Num keys 1 - 9 will activate the specified sequence edit tab;
2. Num key 0 will alternate between the current and last tab;
2017-04-04 13:21:51 +08:00
Le Tan
e1c09a83ec
add sequence to edit tab
2017-04-04 13:21:51 +08:00
Le Tan
584472f902
fix tab order and TOC level in edit mode
...
1. Fix tab order of left and right corner widgets;
2. Insert [EMPTY] header when header level is not continuous in edit mode.
2017-04-04 13:21:51 +08:00
Le Tan
3406eab29c
Captain mode
2017-03-27 19:44:23 +08:00
Le Tan
aee1b9d571
bugfix: use QTabBar.mapToGlobal() in tabbarContextMenuRequested
2017-03-17 21:14:54 -07:00
Le Tan
94ad4adc1c
fix tabbar of the edit area in macOS
...
1. revert a3b83b7f81192bdbeabb1ba8a7eed57beb4 to avoid flashing;
2. Explicitly specify usesScrollButtons in VEditWindow;
2017-03-17 21:07:29 -07:00
Le Tan
238983ed0d
refine all messages
2017-02-27 22:30:35 +08:00
Le Tan
fb1a172acf
propagate key press event from QWebEngineView to VDocument
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-21 09:42:48 +08:00
Le Tan
901c477705
utilize ExtraSelection for special highlighting
...
1. Highlight current line;
2. Highlight selected word;
3. Highlight searched word;
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-12 21:00:06 +08:00
Le Tan
7ed92ed7eb
fix bug in VEditWindow
...
Bug: when we press the scroll button to the end and click the first/last
tab, it won't set current tab correctly.
We should not change anything related to current index in handling
tabbarClicked().
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-09 23:01:12 +08:00
Le Tan
3005d9bf5c
implement Find/Replace logics
...
Supports Find/Replace in both edit and preview modes.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-08 21:09:00 +08:00
Le Tan
c44928e1d8
remove Ctrl+Alt Vim mode
...
1. Remove Ctrl+ALT Vim mode. Now Ctrl+D will enter the Vim mode
tempararily and only expires after NOT hitting commands for a while;
2. Add d and dd to delete text. 'd2j' is not supported;
3. x will cut the selected text.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-27 09:59:26 +08:00
Le Tan
58c8506855
use different color of the corner icon in current window
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-24 15:52:05 +08:00
Le Tan
16858d7474
support moving tabs between windows
...
Add two menu item on the tab's context menu to move one split
left/right.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-24 15:02:14 +08:00
Le Tan
1aa264adc8
support locating current note
...
Support locating the notebook and directory of current note.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-24 13:09:19 +08:00