1167 Commits

Author SHA1 Message Date
Le Tan
8d600632b4 update MathJax CDN 2018-06-09 09:21:11 +08:00
Le Tan
988e8f2336 refine Chinese translations 2018-06-09 08:55:31 +08:00
Le Tan
ec8b7d8032 theme: scale QMenu 2018-06-08 23:38:04 +08:00
Le Tan
b0a10d4169 TabIndicator: fix the width of WordCountInfoPanel with scale factor 2018-06-08 23:20:34 +08:00
Le Tan
dceec24021 Utils: fix onlyHasImgInHtml() to consider <span> and <div> 2018-06-08 20:02:42 +08:00
Le Tan
a6e7d9fcac theme: refine QGroupBox styles 2018-06-08 20:02:00 +08:00
Le Tan
4549919e68 Editor: refine image-insert dialog 2018-06-08 20:01:37 +08:00
Le Tan
e59a23cda6 MainWindow: support hiding tool bar
ToolBar: Ctrl+E Shift+#
2018-06-08 20:01:19 +08:00
Le Tan
ecbed00467 EditArea: support maximize split or distribute splits evenly
MaximizeSplit: Ctrl+E Shift+|
DistributeSplits: Ctrl+E =
2018-06-08 20:00:59 +08:00
Le Tan
feea50d888 FileList: bug fix when importing the same note file in the same folder 2018-06-08 20:00:20 +08:00
Le Tan
88d719bb28 WebView: disable context menu in preview mode 2018-06-08 20:00:01 +08:00
Le Tan
6afc84fd04 theme: refine styles 2018-06-08 19:59:41 +08:00
Le Tan
85187fd53b theme: refine styles 2018-06-06 23:10:51 +08:00
Le Tan
04cf252c25 theme: add a dark theme v_detorte 2018-06-06 21:53:52 +08:00
Le Tan
f9c994b91c VTreeWidget: setCurrentItem with ClearAndSelect 2018-06-06 21:53:34 +08:00
Le Tan
a1bef71215 theme: refine v_moonlight 2018-06-06 21:53:19 +08:00
Le Tan
93b26f41e4 preview: support force background for previewed images
- Add [editor]/preview-image-background config in MDHL;
- Will fill background first before drawing an image if specified;
2018-06-06 21:53:02 +08:00
Le Tan
d59a1010c5 highlighter: bug fix about HTML comments inside a fenced code block 2018-06-04 20:50:59 +08:00
Le Tan
a2670903cf explorer: bug-fix about clicking items when no root entries 2018-06-04 20:50:50 +08:00
Le Tan
a5ada5310a release v1.17 2018-06-01 20:31:54 +08:00
Le Tan
3aacbb868f refine Chinese translations 2018-06-01 20:11:13 +08:00
Le Tan
8d3a7874d0 editor: support custom zoom delta 2018-06-01 19:37:45 +08:00
Le Tan
7f8075f0ca bug-fix: fix Command+-/= to zoom out/in in read mode on macOS 2018-06-01 17:46:42 +08:00
Le Tan
af8cd0d73b refine Info act 2018-06-01 16:58:50 +08:00
Le Tan
6212bb48bc UniversalEntry
1. Use VListWidget in VListFolderUE;
2. Add j to list history;
2018-06-01 16:26:00 +08:00
Le Tan
f9badfbb55 bug-fix: fix stay-on-top on Linux 2018-05-29 21:03:27 +08:00
Le Tan
4066ffb4f4 bug-fix: fix VExplorer 2018-05-29 20:10:05 +08:00
Le Tan
8ed4264097 theme: refine QTabBar style 2018-05-29 19:53:32 +08:00
Le Tan
a5271d409d support stay-on-top 2018-05-29 19:53:14 +08:00
Le Tan
b63e5def85 UniversalEntry: fix input method issue on macOS 2018-05-29 19:52:54 +08:00
Le Tan
c302cd3bfc AttachmentList: support Info action to rename an attachment
This will fix the input method issue on macOS.
2018-05-29 19:52:37 +08:00
Le Tan
69ebcd53e6 explorer: warn if directory does not exist 2018-05-28 20:36:28 +08:00
Le Tan
b433939ca8 bug-fix: escape HTML meta characters in title 2018-05-28 20:35:59 +08:00
Le Tan
4de97522a1 bug-fix: VTextEdit::visibleBlockRange() may get wrong range before updating document size after preview 2018-05-28 20:35:38 +08:00
Le Tan
d3a5642d06 fix paste image issue
- Will detect whether there is only <img> in html;
- Detect local file when handling text;
2018-05-27 12:12:24 +08:00
Le Tan
2ff9c607dd explorer: support exploring system's files 2018-05-26 13:26:59 +08:00
Le Tan
a98757643f VFileList: support specifying different view orders 2018-05-23 20:09:27 +08:00
Le Tan
89677c8261 notebook: support relative path (to app's directory) 2018-05-23 20:09:14 +08:00
Le Tan
3c8ac8094d VMetaWordManager: lazy initialization 2018-05-23 20:08:58 +08:00
Le Tan
b076e87509 EditWindow: lazy initialization of actions 2018-05-23 20:08:45 +08:00
Le Tan
f130c3dd98 bug-fix: enter press on an unknown file in file list should not close current tab 2018-05-23 20:08:29 +08:00
Le Tan
9718d1f727 AttachmentList: lazy initialization 2018-05-23 20:08:17 +08:00
Le Tan
43509d7022 SnippetList: lazy initialization 2018-05-23 20:08:05 +08:00
Le Tan
eae345d920 cart: lazy initialization 2018-05-23 20:07:53 +08:00
Le Tan
d92453ef82 FileList/DirectoryTree: lazy initialization for QAction 2018-05-23 20:07:41 +08:00
Le Tan
e048734414 editor: refine heading sequence 2018-05-19 10:20:00 +08:00
Xianzhong Wang
5eb8c4d224 [function] Support to remove header sequence when disable it (#243)
* [function] Support to remove header sequence when disable it

spec:
In edit mode:
- when click icon to enable auto sequence, add sequence immediately
- when click icon to disable auto sequence, remove already added sequence

In preview/read mode:
- auto sequence icon should be unchecked and disabled

For readonly file, always disable the auto sequence icon.

* [bugfix] Do not let auto sequence ruin the undo history

All the header sequence auto-update should be treated as one edit action.
So that user can undo auto-update by pressing undo twice.
(One undo for the auto-update change, and one for the original header change)

* Refactor and reformat according to PR feedback
2018-05-19 09:56:14 +08:00
Le Tan
d8cc69955d refine icons 2018-05-18 21:43:37 +08:00
Le Tan
07f1689e11 History: lazy initialization 2018-05-18 20:59:32 +08:00
Le Tan
18ee02d920 IconUtils: add cache to avoid redundant I/O 2018-05-18 20:58:10 +08:00