Le Tan
11bb7b4df9
remove the width constraints in markdown rendering
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-12 21:01:03 +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
3769ac5311
support search wrap
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-10 23:52:54 +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
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
72fdf399bc
change app icon
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-29 21:26:39 +08:00
Le Tan
becd4a320f
support Vim key bindings in preview mode
...
1. h, j, k, l to navigate;
2. gg, G to go to the start and end of the document;
3. Ctrl+D, Ctrl+U to go down and up half page;
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-29 20:52:18 +08:00
Le Tan
3b442f55a9
highlight curren cursor line
...
Add configuration "highlight_cursor_line" in vnote.ini.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-25 20:31:59 +08:00
Le Tan
58c8506855
use different color of the corner icon in current window
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-24 15:52:05 +08:00
Le Tan
16858d7474
support moving tabs between windows
...
Add two menu item on the tab's context menu to move one split
left/right.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-24 15:02:14 +08:00
Le Tan
1aa264adc8
support locating current note
...
Support locating the notebook and directory of current note.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-24 13:09:19 +08:00
Le Tan
b14d15e266
add icon to indicate the read/edit mode of tab
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-24 09:32:56 +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
a0a558d62d
change the size of the down-arrow in VNotebookSelector
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-10 17:49:14 +08:00
Le Tan
f36ed97694
change stylesheet
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-10 16:41:13 +08:00
Le Tan
5d028e29fb
change icon
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-10 13:03:57 +08:00
Le Tan
edca922f5e
support avatar
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-10 11:21:08 +08:00
Le Tan
8f866f34ff
stylesheet
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-09 21:08:38 +08:00
Le Tan
f0428f7b90
change markdown.css
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-08 23:11:14 +08:00
Le Tan
9413ef875b
modify stylesheet
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-08 22:42:34 +08:00
Le Tan
6c72267788
add padding to QTreeWidgetItem and QListWidgetItem
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-07 22:01:58 +08:00
Le Tan
e32ee1fa90
refactor: VNotebookSelector
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-07 13:08:06 +08:00
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
85d9456f02
support copy and paste notes
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-18 22:25:14 +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
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
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
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
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
99353c37bd
fix highlihgtjs highlight using Hoedown
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-10 22:01:51 +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
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
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
915c25e1a5
support spliting edit windows
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-06 13:03:16 +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
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
ec7850685e
update a more friendly toolbar
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-30 22:43:30 +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
Le Tan
0c3fc3b006
support changing background color of editor
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-27 22:41:41 +08:00
Le Tan
8960358feb
expand tab to spaces
...
Add configuration "tab_stop_width" and "is_expand_tab". Expand tab to
tab_stop_width spaces if is_expand_tab is true.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-27 10:23:38 +08:00
Le Tan
1f80fb8583
add VFileListPanel as a wrapper of VFileList
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-26 18:09:07 +08:00
Le Tan
51d0eedcb2
fix HGMarkdownHighlighter regular expression
...
Change the default markdown.css.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-25 10:21:31 +08:00