Le Tan
cd2ac10509
vim-mode: refine command line mode
...
1. Support `/` and `?` to search. `N` and `Shift+N` to find next/previous
occurence.
2. `Ctrl+N` and `Ctrl+Shift+N` to navigate through the command history.
3. `:nohlsearch` or `<leader><space>` to clear search highlight.
4. `#` and `*` to search current word under cursor.
2017-07-13 18:26:38 +08:00
Le Tan
ba84489c68
support custom shortcuts
2017-07-11 09:13:32 +08:00
Le Tan
4374f2d8f1
editor: add line number and editor-line-number config
2017-07-07 17:21:15 +08:00
Le Tan
6fd92f915b
toolbar: implement strikethrough and add shortcut tips
2017-07-06 20:40:23 +08:00
Le Tan
f9f7a365f8
add toolbar for text editing
...
Bold, italic, underline, strikethrough, inline code.
Underline and strikethrough are not implemented yet.
2017-07-04 14:07:48 +08:00
Le Tan
c48d646a55
vim-mode: auto disable input method in non-Insert mode
...
Add config "enable_smart_im_in_vim_mode".
2017-07-02 13:59:07 +08:00
Le Tan
f911c60c79
support flowchart.js
...
VNote supports flowchart.js in all for renderers.
2017-07-01 10:19:47 +08:00
Le Tan
96ac582253
bug-fix: set menu role for certain actions
...
On macOS, OS will try to merge some actions to the application menu by
text matching, which will be broken in Chinese. So we need to set these
actions' role specifically, including: settings, exit, about, about QT.
2017-06-25 22:22:45 +08:00
Le Tan
9f4ac1f260
bug-fix: add Q_OS_MAC for check
...
Qt 5.7 seems to use Q_OS_MAC instead of Q_OS_MACOS.
2017-06-25 18:36:05 +08:00
Le Tan
748dc36cac
release v1.6
2017-06-24 09:35:18 +08:00
Le Tan
34afc2731d
help-menu: add update check
2017-06-23 18:10:04 +08:00
Le Tan
78674efaa0
bug-fix: Ctrl+H does not work to delete one char
...
The shortcut of Replace action occupies Ctrl+H.
2017-06-21 21:30:49 +08:00
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