Le Tan
7871965bf8
vim-mode: support f/F/t/T movement
...
Support `;` and `,` to repeat last find movement.
2017-06-17 14:33:49 +08:00
Le Tan
5047e19b24
vim-mode: support Copy/Paste/Change/Indent/UnIndent/ToLower/ToUpper action
2017-06-17 11:26:51 +08:00
Le Tan
f6a91d04a8
vim-mode: Ctrl+O to support autoindent and autolist
2017-06-15 11:16:04 +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
88fa722868
dragging mouse with Ctrl and left button pressed to scroll in read and edit mode
2017-06-13 16:24:48 +08:00
Le Tan
71ea514bfa
vim-mode: support registers
2017-06-13 15:48:03 +08:00
Le Tan
cbf207d9ed
vim-mode: support word-related movement
...
- `w`, `W`, `e`, `E`, `b`, `B`, `ge`, and `gE`.
2017-06-12 20:20:04 +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
b7f2690e96
vim-mode: reset to Normal mode when edit begins
2017-06-11 21:05:33 +08:00
Le Tan
41fef0ed88
do not show icons in menu on macOS
...
There is something wrong in the icon resource path on macOS. The icons
in menu could not be displayed correctly.
2017-06-11 20:57:05 +08:00
Le Tan
c15908a724
support highlighting current line by whole block in Vim non-Insert mode
2017-06-11 19:58:43 +08:00
Le Tan
a44259e66c
bugfix: implement focusChild() of VMdTab and VHtmlTab to fix focus issue
2017-06-11 17:46:34 +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
224a7253ce
support subscript, superscript and footnote in markdown-it
...
Subscript: H~2~O
Superscript: 2^2^=4
Footnote: This is a footnote[^1].\n[^1]: Here is the footnote.
2017-06-04 12:42:57 +08:00
Le Tan
cc1faba5d2
remove Q_COMPILER_INITIALIZER_LISTS flag to eliminate macro-redefinition warnings
2017-06-03 19:53:47 +08:00
Le Tan
443ee772a7
make cursor visible after highlight completed
...
Highlight may turn originlly visible cursor partially visible. We make
it visible in this case.
2017-06-03 15:55:00 +08:00
Le Tan
4730d67393
bugfix: fix nested fenced code block issue
...
The opening ``` and closing ``` should have the same indentation.
2017-06-03 13:23:04 +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
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
5b150a3634
handle HTML comment correctly
2017-06-01 22:05:02 +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
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
6a10c7ab3c
refactor DocType
2017-05-29 18:56:43 +08:00
Le Tan
0631b1c30e
refactor VDirectory and VNotebook
2017-05-29 12:14:57 +08:00
Le Tan
4c63839c4d
bugfix: escape special symbols (&) in TOC during generation
2017-05-26 18:19:42 +08:00
Le Tan
7d05f96f94
release v1.5
v1.5
2017-05-25 22:27:50 +08:00
Le Tan
c54bc9c680
refine Chinese translations
2017-05-25 22:24:58 +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
19b15b55f4
refine README.md and changes.md for new release
2017-05-24 21:26:26 +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
03c0fdc49d
add Open File Location in directory tree and file list
2017-05-23 19:59:05 +08:00
Le Tan
f7f9ed7157
add open file location button in VExporter
2017-05-23 19:44:35 +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
5b4984f59a
bugfix: wait for images loaded before exporting PDF
2017-05-23 19:22:49 +08:00
Le Tan
1370272424
change default style
2017-05-22 23:37:43 +08:00
Le Tan
c2c70368da
restore last active item in directory tree after switching notebook
2017-05-22 22:47:43 +08:00
Le Tan
de4e5fef8e
let Shift+Enter to insert two spaces and a new line
2017-05-22 22:46:24 +08:00
Le Tan
58bc995924
always override the default style
2017-05-22 22:39:51 +08:00
Le Tan
78d57415c4
add image caption for those images which are adjacent with <br>
2017-05-22 22:38:30 +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
0cc1841827
add default highlightjs style vnote.css
2017-05-17 21:01:40 +08:00
Le Tan
1b59afbdf2
bugfix: add margin to the <hr> in default.css
2017-05-16 18:11:34 +08:00
Le Tan
df40ac2db0
bugfix: fix Marked highlihgt option
2017-05-11 19:54:36 +08:00
Le Tan
a154e568de
constrain the width of images in read mode
2017-05-10 19:36:07 +08:00
Le Tan
e5021f4501
refactor local image folder
...
Treat those images which have relative path and locate in directories
that have the same parent directory as the file as internal images.
VNote will only manage the internal images.
2017-05-10 15:53:33 +08:00