22 Commits

Author SHA1 Message Date
Le Tan
1ce8c05da9 MdEditor: support copy in-place preview 2018-08-19 12:06:50 +08:00
Le Tan
968e74e1ca PreviewManager: refactor layout logics
- Bug fix: use cached image name in preview helpers;
- Only relayout necessary blocks;
2018-08-13 20:14:18 +08:00
Le Tan
10a1e9c1a8 Editor: support completion 2018-08-03 19:13:33 +08:00
Le Tan
ba0660de28 MdEditor: fix zoomPage() bug after setting style sheet 2018-07-25 06:39:31 +08:00
Le Tan
21e5aac024 VTextEdit: force to update() to show cursor while dragging text
This is a work-around.
2018-07-19 20:53:09 +08:00
Le Tan
0e724635b3 MdEditor: fix the font style issue
Font family may be constrained by QWidget style in qss file.
2018-07-14 07:00:45 +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
99cf497ddc preview: bug fix with no-update issue 2018-04-24 07:52:43 +08:00
Le Tan
a2ee5413a1 support search
- Ctrl+E C to toggle the search dock;
2018-03-13 20:45:44 +08:00
Le Tan
76ff1ff756 update block when changing cursor block mode 2018-02-22 19:44:03 +08:00
Le Tan
6d24f7e92b bug-fix: remove unnecessary NULL check before delete 2018-02-13 22:18:38 +08:00
Le Tan
45526cc0a8 bug-fix
- Caculate font height every time on painting line number area;
- Support specifying multiple fonts in font-family in qss;
- Add margin for "li ol" in CSS;
2018-01-16 21:05:35 +08:00
Le Tan
6808fac920 themes: refine 2017-12-17 11:05:38 +08:00
Le Tan
49811cabc0 VTextDocumentLayout: support cursor line block background 2017-12-08 19:31:19 +08:00
Le Tan
d14f4697b4 replace palette in clss VNote with VPalette 2017-12-05 19:45:04 +08:00
Le Tan
f429ffe3e5 vim-mode: support Visual mode with block cursor 2017-12-02 14:35:51 +08:00
Le Tan
0d6ed84228 bug-fix: vim mode cursor width 2017-12-01 23:24:21 +08:00
Le Tan
b2a435297d VTextEdit: support block cursor 2017-11-30 21:25:43 +08:00
Le Tan
4ec340a403 refactor preview logics
Use block user data to store preview info.
2017-11-29 21:45:20 +08:00
Le Tan
2186716655 disable rich text in VTextEdit 2017-11-04 08:18:19 +08:00
Le Tan
c59974744e draw a thin line to link preview image and its block
Add config preview-image-line-foreground in MDHL for the line color.
2017-11-03 19:49:58 +08:00
Le Tan
9de40e4d78 replace VPlainTextEdit with VTextEdit 2017-11-03 19:49:42 +08:00