Le Tan
2a7a4f864e
WebView: do not set background color to transparent
...
Setting background color of a web engine page to transparent will force
it to render using grayscale antialiasing.
2018-10-25 21:03:41 +08:00
Le Tan
29c1c346a4
MdTab: handle non-exist file
2018-10-22 13:20:13 +08:00
Le Tan
74032f4a08
PlantUML: unify online PlantUML process
2018-09-13 19:59:47 +08:00
Le Tan
62c0f218df
MdTab: focus bug fix and find-in-page in expanded preview mode
2018-09-12 20:35:43 +08:00
Le Tan
a055d6e935
Editor: highlight matches of full-text search result in page
2018-09-12 20:34:43 +08:00
Le Tan
647807a918
Editor: refine find logics
2018-09-10 20:26:39 +08:00
Le Tan
d66b4752d4
MdTab: do not scroll editor when it is under the right header while entering edit mode
2018-09-06 21:12:17 +08:00
Le Tan
060c02297b
LivePreview: support bidirectional smart live preview
2018-09-05 20:16:05 +08:00
Le Tan
33c1229fb5
MdTab: remove the duplication check when current header change
2018-08-24 20:14:04 +08:00
Le Tan
dc1f1c4535
MdEditor: support pasting HTML as converted Markdown text via Turndown
2018-08-17 22:42:21 +08:00
Le Tan
10a1e9c1a8
Editor: support completion
2018-08-03 19:13:33 +08:00
Le Tan
41bf2d9cec
MdTab: fix reload() logic to re-load images
2018-07-20 20:06:46 +08:00
Le Tan
3e29a647ab
MdTab: fix the synchronization between read and edit mode
...
Mute web view in edit mode.
2018-07-13 21:54:26 +08:00
Le Tan
bb308a06d1
PegMarkdownHighlighter: multi-threads highlighter support
2018-07-12 20:19:23 +08:00
Le Tan
88d719bb28
WebView: disable context menu in preview mode
2018-06-08 20:00:01 +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
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
ccaaeeef87
bug-fix: VMdTab does not scroll to the correct header in edit mode
...
This is introduced after replacing QStackedLayout with QSplitter.
2018-05-04 20:37:57 +08:00
Le Tan
bab0140c9f
use QWebEnginePage::linkHovered instead
2018-05-04 20:37:40 +08:00
Le Tan
960426579b
show hovered link in status line in read mode
2018-04-27 20:35:58 +08:00
Le Tan
adacaef1c7
bug-fix: can not jump to the correct header when first enter edit mode
2018-04-27 20:35:45 +08:00
Le Tan
a4ab2ae671
restore current edit tab and cursor position info at startup
2018-04-20 19:55:42 +08:00
Le Tan
108ff1543c
make discard action the default one when DiscardAndExit
2018-04-18 20:55:28 +08:00
Le Tan
aa5960f974
preview non-codeblock MathJax
2018-04-18 20:55:14 +08:00
Le Tan
10e2bba7f6
support Mermaid and Flowchart.js preview
...
Mermaid preview is disabled for some issues.
2018-04-12 19:31:13 +08:00
Le Tan
cfcc7e5494
support in place preview and live preview of code blocks
2018-04-10 20:58:07 +08:00
Le Tan
c6b7561864
VMdTab: live preview
2018-04-10 20:58:07 +08:00
Le Tan
051088be31
VMdTab: use splitter instead of tab layout to hold editor and web view
...
Prepare for live preview.
2018-04-10 20:58:07 +08:00
Le Tan
26a7f40f36
VMdTab: discard backup file directly when it is identical
2018-04-02 20:38:13 +08:00
Le Tan
9710659a00
support word count
2018-03-06 19:33:40 +08:00
Le Tan
3bee0365e9
support SavePage action in reading mode
2018-03-01 20:19:38 +08:00
Le Tan
ed44ec4ee8
bug-fix: use second accuracy to detect file change outside
2018-02-26 19:30:44 +08:00
Le Tan
60635fe5e7
export: support custom background, style
2018-02-23 19:54:07 +08:00
Le Tan
06cac36412
support Vim command mode in read mode
2018-01-21 14:27:49 +08:00
Le Tan
333be910cc
enalbe Vim cmd line for searching in read mode
2018-01-19 21:56:21 +08:00
Le Tan
b927a525e2
decouple VVimIndicator and VVimCmdLineEdit
2018-01-19 19:29:34 +08:00
Le Tan
1d2183d44e
VMdEditor: support zoom in/out
2018-01-05 21:27:09 +08:00
Le Tan
2f1971476d
VMdEditor: support copy selected text as HTML
2018-01-04 13:27:42 +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
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
4b32fca9b5
themes: add v_moonlight theme for dark mode
2017-12-16 20:18:51 +08:00
Le Tan
49811cabc0
VTextDocumentLayout: support cursor line block background
2017-12-08 19:31:19 +08:00
Le Tan
23cae5a68c
show editor first before beginEdit()
2017-12-04 20:37:17 +08:00
Le Tan
262c6acfd9
support themes
2017-12-03 16:14:13 +08:00
Le Tan
cb6338ecf6
add heading tool button
2017-11-24 19:56:41 +08:00
Le Tan
8ab8b3d83a
bug-fix
...
- Set proper defalut focus of VInsertLinkDialog;
- Fix bug in snippet when selection mark is empty;
- Focus editor after double-click applying a snippet;
2017-11-20 19:29:14 +08:00
Le Tan
7e18374b93
fix build warnings
2017-11-19 14:55:31 +08:00
Le Tan
e6ce66ec7d
support backup file
...
Add configs:
- backup_directory
- backup_extension
- enable_backup_file
2017-11-17 19:49:14 +08:00