Le Tan
2a29456f45
use _vnote.json instead of .vnote.json as the directory config file
2017-04-25 22:55:59 +08:00
Le Tan
882faeb5eb
bugfix
...
1. Do not add additional actions if QTextEdit has selection;
2. Add Q_DECL_OVERRIDE to supress the warnings.
3. Fix getTemplateCssUrl().
2017-04-24 22:34:02 +08:00
Le Tan
30ee1e92d8
release v1.3
v1.3
2017-04-23 10:59:31 +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
c25c4298f7
bugfix
2017-04-22 19:34:36 +08:00
Le Tan
26d4fd8463
refine README.md
2017-04-22 19:11:10 +08:00
Le Tan
755d1beb02
update Chinese translations
2017-04-22 18:06:16 +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
022d3ae2f7
add Edit to context menu in read mode to edit current note
2017-04-20 22:46:49 +08:00
Le Tan
bcdfc90951
use Ctrl+<Num> instead of Ctrl+Alt+<Num> to insert title
2017-04-20 21:34:04 +08:00
Le Tan
bd7f0e6cdd
bugfix: abandon obsolete parsed highlight result when text has been changed
2017-04-19 22:32:58 +08:00
Le Tan
fc6aefc66f
do not indent empty lines when pressing tab
2017-04-19 22:04:47 +08:00
Le Tan
b7737aff61
change the blockquote style
...
Change the file format to unix style.
2017-04-19 21:52:08 +08:00
Le Tan
5757489723
refine title of QDockWidget
2017-04-19 21:41:52 +08:00
Le Tan
a0cd784c45
set icon-size of VNotebookSelector::QListWidget
2017-04-19 20:17:14 +08:00
Le Tan
05f7bcfcf0
bugfix: determine the base url by the file type
2017-04-19 20:05:28 +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
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
177e5495d8
debian packaging
2017-04-10 22:58:56 +08:00
Le Tan
9f91d35d34
bugfix: fix Mermaid error
2017-04-09 16:19:57 +08:00
Le Tan
14c7778dc7
update shortcuts doc
2017-04-09 12:34:36 +08:00
Le Tan
5486929a8d
change statusTip to toolTip
2017-04-09 12:20:58 +08:00
Le Tan
ed84e66bae
release v1.2
v1.2
2017-04-08 22:22:05 +08:00
Le Tan
6424948f69
refine Chinese translations
2017-04-08 21:50:59 +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
79de92238c
fix stylesheet of VOpenedListMenu
2017-04-06 20:09:52 +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
3ca968169f
enable Ctrl+J and Ctrl+K navigation in VDirectoryTree
2017-04-04 23:01:10 +08:00
Le Tan
6e0f1d38b4
register VDirectoryTree for Navigation Mode
2017-04-04 22:40:44 +08:00
Le Tan
4bd05739c0
enable Ctrl+J and Ctrl+K navigation in VNotebookSelector
2017-04-04 18:54:47 +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
f7f4bb1569
refine tab list menu by adding VOpenedListMenu
...
1. Group opened files by notebook and directory;
2. Type the sequence number to activate a certain item in the popup menu;
3. Ctrl+[, Ctrl+J, Ctrl+K
2017-04-04 13:26:21 +08:00
Le Tan
0a91037f71
Num keys in Captain mode to switch to given edit tab
...
1. Num keys 1 - 9 will activate the specified sequence edit tab;
2. Num key 0 will alternate between the current and last tab;
2017-04-04 13:21:51 +08:00
Le Tan
e1c09a83ec
add sequence to edit tab
2017-04-04 13:21:51 +08:00
Le Tan
9bc8f36733
define V_ASSERT()
...
Q_ASSERT() takes no effect in release mode. V_ASSERT() is still valid in
release mode.
2017-04-04 13:21:51 +08:00
Le Tan
584472f902
fix tab order and TOC level in edit mode
...
1. Fix tab order of left and right corner widgets;
2. Insert [EMPTY] header when header level is not continuous in edit mode.
2017-04-04 13:21:51 +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
acec514418
some minor refinement
...
1. Change the corner widget color;
2. Change the markdown.css's style to not let it wrap a line.
2017-04-04 13:21:51 +08:00
Le Tan
74419ba75d
Set theme jekyll-theme-cayman
2017-04-03 23:10:42 +08:00
Le Tan
4923bb54b6
refine button icons
2017-03-31 23:04:32 +08:00
Le Tan
9a26fb68b5
change Travis build config
2017-03-31 21:48:03 +08:00
Le Tan
db17c61423
eliminate build warning on Windows
2017-03-31 21:05:09 +08:00
Le Tan
c48fbe16da
refine editor style
...
1. Support editor-current-line and editor-selection style in MDHL;
2. Support vim-background in editor-current-line;
2017-03-31 20:44:30 +08:00
Le Tan
ee4bfb171a
try to adjust VNotebookSelector's popup's width to the content
2017-03-31 20:43:38 +08:00
Le Tan
ce1cefa793
allow user to zoom in/out Web page
...
1. Mouse wheel with Ctrl pressing will zoom in/out the Markdown Web
page;
2. Ctrl+-, Ctrl++ will zoom in/out the Markdown Web page;
3. Ctrl+0 recover the Web page zoom factor to 1.
2017-03-31 09:51:34 +08:00
Le Tan
1f845d5ba8
add config setting for Web zoom factor
2017-03-30 20:00:27 +08:00
Le Tan
6949de8723
bugfix: clean up after Mermaid render failure
2017-03-29 21:39:37 +08:00