Le Tan
6c83f9bd04
refactor VCaptain to enable Captain mode with Input Method
2017-11-21 20:15:58 +08:00
Le Tan
141b404240
support file change check
2017-11-16 11:34:13 +08:00
Le Tan
0a97b2480d
snippet: support Ctrl+E S to insert snippets
2017-11-14 21:40:39 +08:00
Le Tan
6ac33d2bd0
support snippets
...
Shortcuts are not supported yet.
2017-11-11 08:09:22 +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
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
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
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
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
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
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
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
882faeb5eb
bugfix
...
1. Do not add additional actions if QTextEdit has selection;
2. Add Q_DECL_OVERRIDE to supress the warnings.
3. Fix getTemplateCssUrl().
2017-04-24 22:34:02 +08:00
Le Tan
ab824946e8
register VEditArea and VOutline for Navigation Mode
...
1. Register VEditArea and VOutline for Navigation mode;
2. Support Ctrl+J and Ctrl+K navigation in VOutline;
2017-04-06 19:39:52 +08:00
Le Tan
3406eab29c
Captain mode
2017-03-27 19:44:23 +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
eaab820d8b
add find and replace dialog
...
Logic is not implemented yet.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-01 14:43:28 +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
5ff46d6237
implement insert image menu action
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-12 23:14:53 +08:00
Le Tan
9a197b5087
refactor: add VNotebookSelector for notebook management
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-04 22:26:48 +08:00
Le Tan
02d5300821
support copy and paste directory
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-03 11:42:11 +08:00
Le Tan
e7c42ba5be
refactor: add VFile and VDirectory
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-30 22:58:00 +08:00
Le Tan
8e8d69c85f
refactor: VNote and VNotebook
...
regression: notebook renaming logics does not work for now
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-26 12:45:29 +08:00
Le Tan
3722e6cb71
close all files before closing app
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-21 22:07:01 +08:00
Le Tan
85d9456f02
support copy and paste notes
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-18 22:25:14 +08:00
Le Tan
62c75427e7
complete rename logics
...
1. Handle directory rename correctly;
2. Handle file rename correctly;
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-14 22:40:38 +08:00
Le Tan
5e97ca8060
display current file in window title
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-13 16:15:13 +08:00
Le Tan
454072c9ba
update current header in outline correctly
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-09 21:41:57 +08:00
Le Tan
849fdf05bd
support synchronization between preview page and outline
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-08 23:21:22 +08:00
Le Tan
ab91f755c0
add dock widget to display outline
...
1. Support displaying outline of Markdown in read mode;
2. Support navigating by outline using Marked;
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-07 21:53:33 +08:00
Le Tan
29a41e8285
change VEditor to VEditTab
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-06 14:12:09 +08:00
Le Tan
915c25e1a5
support spliting edit windows
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-06 13:03:16 +08:00