21 Commits

Author SHA1 Message Date
Le Tan
6ab85e1c1c Outline: focus to edit area after item clicked or activated in Navigation mode 2018-07-25 07:25:56 +08:00
Le Tan
5ebc7b8243 Outline: support increase/decrease the expanded level
Add config [global]/outline_expanded_level (6 by default).
2018-07-04 19:07:43 +08:00
Le Tan
7de9eab039 UniversalEntry: add y to list and search outline of current note 2018-03-30 22:23:37 +08:00
Le Tan
8158d22bb4 convert VOutline to VTreeWidget to support simple search 2018-02-03 16:37:09 +08:00
Le Tan
5ca9ea6b92 remove focus rectangle on Mac 2017-12-09 16:15:01 +08:00
Le Tan
6ac33d2bd0 support snippets
Shortcuts are not supported yet.
2017-11-11 08:09:22 +08:00
Le Tan
183b24915a refactor outline logics 2017-10-13 07:10:04 +08:00
Le Tan
73630448a6 move vconfig to a local variable 2017-08-29 09:40:28 +08:00
Le Tan
97051badf0 refactor TOC logics 2017-06-01 13:21:17 +08:00
Le Tan
3b011cd8de minor fix 2017-05-31 19:42:37 +08:00
Le Tan
1370272424 change default style 2017-05-22 23:37:43 +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
76bd2c7d64 support more Vim key bindings
1. Esc or Ctrl + [ to clear selection or exit Vim mode;
2. v to enter visual mode;
3. y to copy selected text; "y2j" is not supported yet;

Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-25 11:24:49 +08:00
Le Tan
66c1d543c2 synchronize current header in read and edit mode
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-12 21:58:53 +08:00
Le Tan
3ecae78262 add tooltip in VOutline
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-08 23:20:19 +08:00
Le Tan
fe4fb25105 VOutline: change current anchor when current item changed
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-03 20:26:05 +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
810d2f02f4 judge if equal in VOutline when updating curHeader
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-16 23:01:06 +08:00
Le Tan
1a77056f4a support outline in edit mode
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-10 21:59:37 +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