Le Tan
|
0298b8bfe1
|
change the look of the notebook combobox
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-20 16:15:27 +08:00 |
|
Le Tan
|
e77c10df36
|
add icon for notebook and directory items
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-20 13:22:35 +08:00 |
|
Le Tan
|
de8b54afa7
|
add elapsed time to the image name
Add elapsed time to the image name when inserting an image.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-20 11:29:54 +08:00 |
|
Le Tan
|
3ae3462597
|
save/restore window state and geometry
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-20 11:12:15 +08:00 |
|
Le Tan
|
ed785e12d3
|
a more comfortable context menu in VFileList
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-19 09:55:43 +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
|
810d2f02f4
|
judge if equal in VOutline when updating curHeader
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-16 23:01:06 +08:00 |
|
Le Tan
|
4fcdba7a11
|
display star in tab if modified
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-16 22:29:46 +08:00 |
|
Le Tan
|
af38e491ba
|
change corner widget icons
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-16 22:09:01 +08:00 |
|
Le Tan
|
eee2d5342a
|
fix outline navigation in edit mode
Jump to EndOfBlock instead of EndOfLine.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-16 22:02:26 +08:00 |
|
Le Tan
|
00982eaacc
|
fix images inserting when images folder does not exist
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-16 21:54:52 +08:00 |
|
Le Tan
|
0306256863
|
delete local images when deleting markdown file
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-16 21:53:55 +08:00 |
|
Le Tan
|
a6e7a7e42d
|
change default markdown.css
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-15 22:32:00 +08:00 |
|
Le Tan
|
c7259c307e
|
add delete note button in tool bar
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-15 22:17:15 +08:00 |
|
Le Tan
|
a6c2416cc8
|
add note info button in tool bar
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-15 14:48:16 +08:00 |
|
Le Tan
|
62c75427e7
|
complete rename logics
1. Handle directory rename correctly;
2. Handle file rename correctly;
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-14 22:40:38 +08:00 |
|
Le Tan
|
5e97ca8060
|
display current file in window title
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-13 16:15:13 +08:00 |
|
Le Tan
|
dcc7e6a0f7
|
add vnote.qss for style sheet
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-13 08:05:43 +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
|
5f8073eeec
|
modify code style in default markdown.css
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-11 22:46:24 +08:00 |
|
Le Tan
|
d77b333343
|
fix outline bug in edit mode
Avoid taking the # in code block as a header by mistake.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-11 22:08:03 +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
|
550a3707a5
|
remove buttons in directory tree
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-10 23:02:09 +08:00 |
|
Le Tan
|
3d6778e1fe
|
fix highlightjs bug with code block
We should distinguish <code> and <pre><code>.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-10 22:39:57 +08:00 |
|
Le Tan
|
dce6396874
|
remove buttons in VFileList
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-10 22:31:04 +08:00 |
|
Le Tan
|
99353c37bd
|
fix highlihgtjs highlight using Hoedown
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-10 22:01:51 +08:00 |
|
Le Tan
|
1a77056f4a
|
support outline in edit mode
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-10 21:59:37 +08:00 |
|
Le Tan
|
8a214831e3
|
fix outline navigation bug using Hoedown
Use a fixed base html and update the body using VDocument.html like
Marked does.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-09 21:43:11 +08:00 |
|
Le Tan
|
454072c9ba
|
update current header in outline correctly
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-09 21:41:57 +08:00 |
|
Le Tan
|
849fdf05bd
|
support synchronization between preview page and outline
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-08 23:21:22 +08:00 |
|
Le Tan
|
fe3d16ba3b
|
change Marked's renderer to be identical with Hoedown
Change the style of the header to align with what Hoedown does (use id
as anchor).
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-08 22:08:18 +08:00 |
|
Le Tan
|
d1a3a9c386
|
support navigating by outline using Hoedown
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-07 22:40:43 +08:00 |
|
Le Tan
|
ae0130aa26
|
fix html toc parsing
Handle wrong notation such as header 3 under header 1 directly.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-07 22:12:16 +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
|
db0797a538
|
add left corner widget to VEditWindow to display a list of tab
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-06 15:36:30 +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
|
d8aa464653
|
add removeSplitAct to context menu of VEditWindow
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-06 13:34:00 +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
|
1bc95bcea0
|
disable newNoteAct if FileList's directory is not set
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-03 21:39:46 +08:00 |
|
Le Tan
|
a69bd43e5a
|
disable editNoteAct instead of set it invisible
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-03 21:31:38 +08:00 |
|
Le Tan
|
a6647bb113
|
add toolbuttons for changing view
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-03 21:21:02 +08:00 |
|
Le Tan
|
de44760cf3
|
use virtual destructor in VEditOperations
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-02 22:16:56 +08:00 |
|
Le Tan
|
2bbffb9002
|
change icons from png to svg
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-11-02 22:09:31 +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
|
ec7850685e
|
update a more friendly toolbar
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-10-30 22:43:30 +08:00 |
|
Le Tan
|
a6774fdf49
|
handle nokebook renaming correctly
We do not allow modifying the path of an existing notebook.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-10-30 18:02:41 +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
|
35f8d7350c
|
VEdit set the modified to false when saving file
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-10-30 17:19:02 +08:00 |
|
Le Tan
|
53bce98db6
|
support changing rendering background color
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-10-28 21:06:26 +08:00 |
|