93 Commits

Author SHA1 Message Date
Le Tan
33f4631f91 EditWindow: support middle click to close a tab 2018-08-15 19:55:02 +08:00
Le Tan
a53fdf27b6 EditWindow: bug fix of tag status update 2018-08-14 20:08:56 +08:00
Le Tan
d67ef089b6 Explorer: support drag&drop a directory to VNote to open it in Explorer 2018-07-04 19:49:21 +08:00
Le Tan
ecbed00467 EditArea: support maximize split or distribute splits evenly
MaximizeSplit: Ctrl+E Shift+|
DistributeSplits: Ctrl+E =
2018-06-08 20:00:59 +08:00
Le Tan
2ff9c607dd explorer: support exploring system's files 2018-05-26 13:26:59 +08:00
Le Tan
b076e87509 EditWindow: lazy initialization of actions 2018-05-23 20:08:45 +08:00
Le Tan
f6436bfabf support history navigation 2018-05-17 21:32:38 +08:00
Le Tan
108ff1543c make discard action the default one when DiscardAndExit 2018-04-18 20:55:28 +08:00
Le Tan
b09320e666 VEditArea: refine Navigation Mode 2018-03-28 19:36:18 +08:00
Le Tan
d421a8577c support Universal Entry
`Ctrl+G` to call out the Universal Entry.
2018-03-28 19:35:38 +08:00
Le Tan
2d3567e460 refine interface with shortcut hints 2018-02-26 19:30:20 +08:00
Le Tan
4bcb60e903 add config enable_auto_save which is false by default 2018-02-05 22:26:38 +08:00
Le Tan
30c69fc148 single click in file list to open file in current tab 2018-01-26 08:48:06 +08:00
Le Tan
14d0f1700c add Close All Tabs context menu 2018-01-22 20:29:14 +08:00
Le Tan
06cac36412 support Vim command mode in read mode 2018-01-21 14:27:49 +08:00
Le Tan
8dfcda0e51 add Cart to collect notes for further processing 2018-01-16 21:05:35 +08:00
Le Tan
7b8c522a53 themes: fix QTabBar's padding 2017-12-25 19:43:52 +08:00
Le Tan
03122a24db bug-fix: fix images when cutting files
1. De-duplicate the images occur multiple times in the note;
2. Refresh the read mode and edit mode preview after the directory path
change;
3. Update init images and inserted images after the directory path
change;
2017-12-21 21:02:56 +08:00
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