Le Tan
5c17f74641
add indicator in status bar for edit tab
2017-06-21 20:01:33 +08:00
Le Tan
5953954786
vim-mode: support undo/redo and zt/zz/zb
...
Change SaveAndRead from Ctrl+R to Ctrl+T.
2017-06-19 21:44:17 +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
1c7e4576a4
do not add icon for menu items in menu bar on macOS
2017-06-11 21:48:02 +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
85c09c296d
refine VNote's log file in release mode
...
1. Add menu item "View Log" to view log file;
2. Add Captain mode shortcut "Ctrl+E ," to flush the log file;
2017-06-03 10:17:44 +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
73530355fd
support highlighting trailing space
2017-05-25 19:52:10 +08:00
Le Tan
c8ec95eb3d
refine English names of notebooks, folders
2017-05-24 22:15:35 +08:00
Le Tan
9bf3f9394f
support custom image folder for both global scope and notebook scope
2017-05-24 19:54:58 +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
f43f9c4afc
add Showdown renderer
2017-05-18 21:40:02 +08:00
Le Tan
5bb692bcc5
support centering the images and insert the alt text as caption
...
Add config enable_image_caption.
2017-05-17 21:03:42 +08:00
Le Tan
a154e568de
constrain the width of images in read mode
2017-05-10 19:36:07 +08:00
Le Tan
2bdf388c7b
constrain the width of previewed images to the eidt window's width
2017-05-06 19:13:58 +08:00
Le Tan
8649f4f66f
add menu item to enable the image preview
...
Not visible because we now could not handle the undo history very well.
2017-05-06 12:27:09 +08:00
Le Tan
d0e43db5ad
more user friendly messages
2017-05-03 21:39:18 +08:00
Le Tan
2425d90b37
refine custom style logics
...
Scan and build the menu automatically.
2017-04-23 10:06:04 +08:00
Le Tan
d9185d3352
support custom editor style by mdhl files
2017-04-22 17:45:43 +08:00
Le Tan
d0d4e1443d
support custom CSS styles
...
VNote will find CSS files in the "styles" folder under the config folder.
2017-04-22 15:39:12 +08:00
Le Tan
c642d60757
add SaveAndRead and DiscardAndRead to the context menu in edit mode
2017-04-22 11:43:26 +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
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
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
611a695cb1
register VFileList for Navigation Mode
...
Support Ctrl+J and Ctrl+K navigation in VFileList.
2017-04-05 23:36:16 +08:00
Le Tan
6e0f1d38b4
register VDirectoryTree for Navigation Mode
2017-04-04 22:40:44 +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
b0d3e42647
refine edit mode
...
1. Support "Ctrl+Alt+<N>" to insert title in Markdown;
2. Support Auto Indent;
3. Support Auto List;
2017-04-04 13:21:51 +08:00
Le Tan
3406eab29c
Captain mode
2017-03-27 19:44:23 +08:00
Le Tan
1894606c10
bugfix: add custom Exit action in menubar for macOS
...
Qt will create a default exit action for macOS which will crash the app.
2017-03-24 20:29:05 +08:00
Le Tan
a9b34955ee
support MathJax
...
Work well with Hoedown and Markdown-it.
2017-03-23 20:57:31 +08:00
Le Tan
b9f8144f29
bugfix for "locate to directory"
2017-03-23 14:14:44 +08:00
Le Tan
7c7db3fbb8
release v1.1
2017-03-22 21:58:08 +08:00
Le Tan
bed6a0d234
support mermaid diagram
2017-03-22 14:18:00 +08:00
Le Tan
7a51ee5b3d
add Markdown renderer markdown-it
2017-03-21 15:43:54 +08:00
Le Tan
fdb8c3bb3a
toggle m_importNoteAct according to current directory state
2017-03-18 18:12:36 +08:00
Le Tan
85a5ea6054
open two panels view after locating file
2017-03-18 17:51:00 +08:00
Le Tan
f46b023d1b
refine more messages to use tr()
2017-03-04 14:28:09 +08:00
Le Tan
38b18af4ab
refine Chinese translations
2017-03-04 13:49:22 +08:00
Le Tan
238983ed0d
refine all messages
2017-02-27 22:30:35 +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
46988f5bef
refine editing shortcuts
...
1. Ctrl+[ behaves exactly like ESC;
2. Ctrl+W should delete the selected text if there has one.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-19 23:48:00 +08:00
Le Tan
59611872d4
use "image" as the default image title
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-14 09:26: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
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
768c1632b0
save and restore the sate of the main splitter
...
Add a config "main_splitter_state" to store the state of the main
splitter.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-02 10:00:59 +08:00
Le Tan
41abbb21d0
refactor VMainWindow
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-01 15:46:57 +08:00