1021 Commits

Author SHA1 Message Date
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 v1.17 2018-06-01 20:31:54 +08:00
Le Tan
58a0a16991 refine changes.md 2018-06-01 20:23:55 +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
Le Tan
52546e4664 theme: refine sytle of tab bar 2018-05-18 20:57:50 +08:00
Le Tan
c6cc69e176 refine QDockWidget title icon 2018-05-17 22:10:21 +08:00
Le Tan
f6436bfabf support history navigation 2018-05-17 21:32:38 +08:00
Le Tan
4284d20dea preview: add cache for code block in-place preview 2018-05-15 21:24:08 +08:00
Le Tan
f2afe4b4e2 preview: add cache for mathjax in-place preview 2018-05-15 20:12:12 +08:00
Le Tan
d0c38add94 preview: refine scaling in-place preview of diagrams 2018-05-15 20:12:00 +08:00
Le Tan
d681fdebd9 theme: refine height of QTabBar 2018-05-14 22:35:21 +08:00
Le Tan
14070ab67a preview: scaled in-place preview of diagrams 2018-05-14 22:24:30 +08:00
Le Tan
423cc76ee5 use smooth transformation for previewed images 2018-05-14 21:42:25 +08:00
Le Tan
b5fde4cda9 MainWindow: refine layout 2018-05-14 21:30:12 +08:00
Le Tan
925833d590 export: support copying exported file's content 2018-05-14 20:42:17 +08:00
Le Tan
b355872c5f export: support %4 for code block css style url 2018-05-14 20:42:02 +08:00
Le Tan
8f24d38bf8 export: remove <title> in embedded SVGs
Pandoc will take it as the title of the document by mistake.
2018-05-14 20:41:44 +08:00