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
eba2556a3a
vim-mode: support DELETE action
...
Actions related to `d` and `x`.
2017-06-14 17:25:24 +08:00
Le Tan
a8c76d6742
support normal Vim mode
...
1. Support Insert/Normal/Visual/VisualLine modes:
- `V`, `v`, `I`, `i`, `A`, `a`, `s`, `Esc`, `Ctrl+[`, `o`, `O`;
2. Support movement commands (with Repeat support):
- `h`, `j`, `k`, `l`, `gj`, `gk`;
- `gg`, `G`;
- `^`, `0`, `$`;
- `Ctrl+U`, `Ctrl+D`, `PageUp`, `PageDown`, `Ctrl+B`;
2017-06-11 16:31:25 +08:00
Le Tan
cc1faba5d2
remove Q_COMPILER_INITIALIZER_LISTS flag to eliminate macro-redefinition warnings
2017-06-03 19:53:47 +08:00
AlbinZhang
77bbf7f907
fix compilation error with MSVC2013 ( #15 )
...
MSVC2013 support C99 incompletely, which causes build errors for C codes in peg-highlight module.
1. Move variable declarations at the front of code block;
2. Add compilation flag `Q_COMPILER_INITIALIZER_LISTS`;
2017-06-02 08:58:09 +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
0131569c02
support exporting note as PDF file
...
TODO: Currently the exported PDF does not have the outline which is
needed to fix via third-party utils.
2017-05-22 22:34:53 +08:00
Le Tan
871c53743f
add print action item
...
Print support of QWebEngineView is incomplete in Qt5.7. Need to figure
out another way to print documents.
Just hide the action Item.
2017-05-20 13:49:24 +08:00
Le Tan
a8614839d9
refactor image preview logics by adding VImagePreviewer
...
1. Support previewing non-relative local images;
2. Support previewing network images;
2017-05-06 12:25:18 +08:00
Le Tan
022d3ae2f7
add Edit to context menu in read mode to edit current note
2017-04-20 22:46:49 +08:00
Le Tan
44257913f7
support code block syntax highlihgt in edit mode
...
In edit mode, highlight code blocks via parsing the result of HighlightJS.
We only highlight fenced code blocks by token-matching.
Support custom style in MDHL file.
2017-04-19 15:08:26 +08:00
Le Tan
177e5495d8
debian packaging
2017-04-10 22:58:56 +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
6a5fecf8ef
Add Navigation Mode to Captain Mode
...
In Captain Mode, W will trigger the Navigation Mode. In this mode,
registered widgets will display some characters for hints and after user
pressing the the keys, corresponding widget will take action as response.
For now, only VNotebookSelector registers in the Navigation Mode.
2017-04-04 18:02:47 +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
3406eab29c
Captain mode
2017-03-27 19:44:23 +08:00
Le Tan
ee6fc69bb1
pop up a menu when inserting image or URL
2017-03-20 20:40:52 +08:00
Le Tan
1b52cd3362
support not deleting files from disk when deleting notebook
2017-03-19 11:42:43 +08:00
Le Tan
b27e6817b0
support MacOS build
2017-03-16 20:08:10 +08:00
Le Tan
22407e34a3
support installation on Linux
...
1. Add vnote.desktop and related icons for Linux;
2. Update app icon.
2017-03-05 13:04:27 +08:00
Le Tan
c83fcf6ce9
add settings dialog and language setting
...
Add VSettingsDialog to show a settings dialog.
For now, VNote supports setting of language.
Add imcomplete Chinese support.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-02-26 17:13:52 +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
a884991150
refactor: add VMdEdit to inherit VEdit for markdown edit
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-11 14:42:01 +08:00
Le Tan
edca922f5e
support avatar
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-10 11:21:08 +08:00
Le Tan
e32ee1fa90
refactor: VNotebookSelector
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-07 13:08:06 +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
e7c42ba5be
refactor: add VFile and VDirectory
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-30 22:58:00 +08:00
Le Tan
50db1a63ba
support single instance app
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-22 21:40:51 +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
fe4a2cdcc8
move peg-markdown-highlight as a lib to avoid warnings
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-11 23:09:42 +08:00
Le Tan
201d14116f
set app icon for windows
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-11 22:07:15 +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
Le Tan
435d47bb74
support downloading image from URL
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-01 22:58:19 +08:00
Le Tan
047c26b598
support pasting image in markdown
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-31 22:43:59 +08:00
Le Tan
49020d9fb2
do not inherit QListWidget in VFileList
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-30 17:44:21 +08:00
Le Tan
1f80fb8583
add VFileListPanel as a wrapper of VFileList
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-26 18:09:07 +08:00
Le Tan
6a3fdf63a2
implement dirInfoBtn logics
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-23 22:11:17 +08:00
Le Tan
be625f561c
implement notebookInfoBtn logics
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-23 18:07:05 +08:00
Le Tan
a983026552
add Hoedown for markdown convertion
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-23 10:35:31 +08:00
Le Tan
5fa07864a1
move source stuff into src subdir
...
Make it convenient to add third-party libraries.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-22 14:11:33 +08:00