945 Commits

Author SHA1 Message Date
Le Tan
324d7cd444 VWebView: add css_color_mapping in palette file for copying HTMl
If the mapping is specified, we will replace the foreground color with
the mapping when the content is copied.
2018-01-05 19:36:40 +08:00
Le Tan
2bdad19253 vim-mode: fix % behovior in d/c command 2018-01-04 21:15:13 +08:00
Le Tan
044b3d3c29 add VLineEdit which supports Ctrl+H/W/U shortcuts 2018-01-04 20:16:12 +08:00
Le Tan
b19b1d8079 minor-fix
- Support repeat in title jump in read mode;
- Trim input in VInsertLinkDialog;
- Rename VLineEdit to VMetaWordLineEdit;
2018-01-04 19:54:32 +08:00
Le Tan
7e1a254073 disable subscript and supscript in Markdown-it since the conflict with MathJax 2018-01-04 19:54:20 +08:00
Le Tan
2f1971476d VMdEditor: support copy selected text as HTML 2018-01-04 13:27:42 +08:00
Le Tan
ce48c80cd0 release v1.11.1 v1.11.1 2018-01-02 21:15:35 +08:00
Le Tan
63b3975f14 refine Chinese translations 2018-01-02 21:07:59 +08:00
Le Tan
bfd25f0033 refine styles 2018-01-02 20:42:35 +08:00
Le Tan
c5afe0bef0 disable cursor line block if cursor line highlight is disabled 2018-01-02 20:42:22 +08:00
Le Tan
3f3a0e8513 VMdTab: do not change the cursor if it is below the right title when entering the read mode 2018-01-02 20:42:08 +08:00
Le Tan
6ba12f7932 bug-fix: add code block indentation in VTextBlockData to get a correct highlight
- Won't treat all the text to the end as code block once we add a new
line within a code block;
- Fix color column by adding the code block indentation bias.
2018-01-01 16:08:26 +08:00
Le Tan
968b674a50 docs: add table syntax in Markdown guide 2018-01-01 15:18:37 +08:00
Le Tan
9e5f3abb4b bug-fix: add some margin for jumping title 2018-01-01 12:22:38 +08:00
Le Tan
fffae253c5 VWebView: remove html in clipobard after copy image
When pasting in WeChat public account, if there is html with image data
in the clipboard, it could not recognize the image data.
2018-01-01 11:46:35 +08:00
Le Tan
dbba8edad6 update icons 2017-12-30 22:32:17 +08:00
Le Tan
e3eb4213f7 update icons 2017-12-30 21:54:33 +08:00
Le Tan
c4d72183b5 VWebView: add Copy All without Background action 2017-12-29 18:25:19 +08:00
Le Tan
db73ab6dfd VWebView: fix img src after copied
Add config web/fix_img_src_when_copied to control the behavior.
2017-12-29 18:25:04 +08:00
Le Tan
63825a27d0 add qt_zh_CN for Chinese translations 2017-12-29 18:24:49 +08:00
Le Tan
7986ebe475 VWebView: alter copied Html in VWebView to paste correctly in OneNote 2017-12-28 22:19:39 +08:00
Le Tan
00d7f5e013 bug-fix: loop to setMimeData to clipboard in Windows 2017-12-28 19:26:43 +08:00
Le Tan
bbfc12ab18 add Chinese translations for QWebEngineView and QDialogButtonBox 2017-12-28 19:26:31 +08:00
Le Tan
3432c02e83 fix build issue 2017-12-27 21:40:58 +08:00
Le Tan
1b6132db85 fix translations for QTextEdit and QPlainTextEdit 2017-12-27 20:36:18 +08:00
Le Tan
d193cd28a5 refine context menu of VWebView
- Hide unused actions.
2017-12-27 20:36:03 +08:00
Le Tan
58b57c2a86 refine VOpenedListMenu 2017-12-26 19:27:10 +08:00
Le Tan
2798ab8ea0 support reseting VNote in settings
Notebooks information will not be reset.
2017-12-26 19:26:52 +08:00
Le Tan
6ca70895ac update icon 2017-12-26 08:38:25 +08:00
Le Tan
cb8a1df337 support shortcuts for external programs
1. External editor format: name=program %0,<shortcut>
2. Add "OpenViaDefaultProgram" shortcut to call system's default program
to open current note. "F12" by default.
2017-12-25 19:44:12 +08:00
Le Tan
7b8c522a53 themes: fix QTabBar's padding 2017-12-25 19:43:52 +08:00
Le Tan
b0c5961552 support foreground for selected/searched word in MDHL 2017-12-25 19:43:40 +08:00
Le Tan
be1827b0c4 change predefined_colors to custom_colors 2017-12-25 19:43:28 +08:00
Le Tan
488fe2cc65 themes: fix typo 2017-12-23 13:06:08 +08:00
Le Tan
e6db71217a add config close_before_external_editor
Do not close the note when opening it with external editors if this is true.
2017-12-22 22:09:38 +08:00
Le Tan
b12f738edc remove VAvatar and use a tool bar button instead 2017-12-22 19:33:54 +08:00
Le Tan
c0c4b8602a add VTipsDialog to display hints about some actions 2017-12-22 19:33:42 +08:00
Le Tan
03122a24db bug-fix: fix images when cutting files
1. De-duplicate the images occur multiple times in the note;
2. Refresh the read mode and edit mode preview after the directory path
change;
3. Update init images and inserted images after the directory path
change;
2017-12-21 21:02:56 +08:00
Le Tan
7fd5ec26e5 bug-fix: restore header from edit mode after web side logic is ready 2017-12-21 21:02:56 +08:00
Le Tan
c5a17b210b v_moonlight: refine 2017-12-21 21:02:56 +08:00
Le Tan
d46917d6a9 vim-mode: fix movement with block cursor 2017-12-21 21:02:56 +08:00
Le Tan
f6cf98c827 do not highlight code blocks without lang specified by default 2017-12-21 21:02:56 +08:00
Le Tan
2373a0326e vim-mode: amend cursor position after mouse release 2017-12-21 21:02:56 +08:00
Grover Chou
0976d65923 Add install introduction for openSUSE (#79)
Add instruction for openSUSE. Thanks to GroverChouT!
2017-12-20 17:27:28 -06:00
Le Tan
cf3cd67734 fix macOS travisCI build 2017-12-17 14:06:20 +08:00
Le Tan
bd16451942 release v1.11 v1.11 2017-12-17 13:13:59 +08:00
Le Tan
d309766513 refine README 2017-12-17 13:09:23 +08:00
Le Tan
6808fac920 themes: refine 2017-12-17 11:05:38 +08:00
Le Tan
cbaa856903 refine Chinese translations 2017-12-17 10:48:04 +08:00
Le Tan
4b32fca9b5 themes: add v_moonlight theme for dark mode 2017-12-16 20:18:51 +08:00