Le Tan
9923feea14
InsertImageDialog: support scaling image
2018-09-30 23:01:11 +08:00
Le Tan
5cc8d6c8f1
MdEditor: support downloading images to local when Parse&Paste
2018-09-30 23:00:58 +08:00
Le Tan
69c14394ac
refine image insert selection logics
2018-03-06 19:33:13 +08:00
Le Tan
cb6338ecf6
add heading tool button
2017-11-24 19:56:41 +08:00
Le Tan
1f0ee88770
refactor edit operations
...
- Ctrl+B/I/K/D/M: Revert if content between the markers is empty.
- Ctrl+7: delete title mark.
2017-11-24 19:56:25 +08:00
Le Tan
404b5329a1
replace VEdit and VMdEdit with VEditor and VMdEditor
2017-10-26 19:36:12 +08:00
Le Tan
a265aed035
bug-fix: insert code block inline if it is at the end of a space block
2017-10-23 21:49:53 +08:00
Le Tan
30dfc24a28
support Insert Code Block tool bar button
...
Ctrl+M to insert a code block.
2017-10-19 22:21:25 +08:00
Le Tan
e66b70b6ff
support Insert Link tool bar button
...
Support Ctrl+L to insert a link.
2017-10-19 19:42:50 +08:00
Le Tan
ea05c268b3
remove obsolete title mark when inserting title mark
2017-10-13 19:40:35 +08:00
Le Tan
8a56dc8b87
support editing external files
2017-07-15 12:46:04 +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
4b1e256308
vim-mode: going back to Normal mode from insert mode will clear auto indent and auto list
2017-06-28 22:04:54 +08:00
Le Tan
f6a91d04a8
vim-mode: Ctrl+O to support autoindent and autolist
2017-06-15 11:16:04 +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
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
Le Tan
8899a374a8
change auto list seq to 1 after indented or unindented
2017-04-26 18:53:08 +08:00
Le Tan
f1c101b1d8
refine auto indent and auto list
...
1. Enter will cancel the auto indent and auto list;
2. Tab/Shift+Tab will increase or descrease the indentation of auto list;
2017-04-10 23:06:17 +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
ee6fc69bb1
pop up a menu when inserting image or URL
2017-03-20 20:40:52 +08:00
Le Tan
336d9ad109
add shortcut Ctrl+O to insert backquotes
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-19 23:47:01 +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
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
059e8dacd2
change cursorline color in Vim mode
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-29 22:23:20 +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
52af2ef9e9
add more Vim mode key bindings
...
1. x, w, e, b;
2. gg, G;
2. 0, $, ^;
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-22 22:33:16 +08:00
Le Tan
26016dd44a
support Vim mode key bindings
...
After hitting `Ctrl+D` or keeping pressing `Ctrl+Alt`, VNote will enter Vim
normal pending mode.
1. Support <num>h,j,k,l to move cursor around;
TODO: Design a finite state machine to handle more Vim commands
elegantly.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-20 22:23:41 +08:00
Le Tan
d2f61bc605
add shortcuts
...
1. `Ctrl + W`, `Ctrl + R`, `Ctrl + Q`, `Ctrl + S` for edit and view mode;
2. `Ctrl + E` to toggle expand view;
3. `Ctrl + N` to create note in current directory;
4. `Ctrl + H` in edit mode to delete previous char;
5. `Ctrl + W` in edit mode to delete till the start of previous word;
6. `Ctrl + U` in edit mode to delete till the start of current line;
7. `Tab`, `Shift + Tab` to indent or unindent selected lines;
8. `Ctrl + B`, `Ctrl + I` to make selected text bold or italic;
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-18 22:26:01 +08:00
Le Tan
5ff46d6237
implement insert image menu action
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-12 23:14:53 +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
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