Le Tan
07e8f27776
optimize VImagePreviewer by flags
2017-09-08 21:41:46 +08:00
Le Tan
e55b0af00e
bug-fix: QTextDocument.clearUndoRedoStacks() will crash in VImagePreviewer
2017-09-08 21:41:19 +08:00
Le Tan
f33c7f86d3
minor-fix: Vim mode and VImagePreviewer
...
1. In Vim mode use the `undo()` and `redo()` slots of VMdEdit instead of
QTextDocument;
2. VImagePreviewer will clear the undo/redo stacks if it is empty
before;
3. Remove setLineDistanceHeight();
2017-09-06 19:23:14 +08:00
Le Tan
c3408769b0
refactor VImagePreviewer
2017-09-05 20:54:15 +08:00
Le Tan
7a4d86eca9
bugfix: VImagePreviewer to preview images with optional title
...
Do not preview images in code block.
2017-05-09 19:35:51 +08:00
Le Tan
2bdf388c7b
constrain the width of previewed images to the eidt window's width
2017-05-06 19:13:58 +08:00
Le Tan
a8614839d9
refactor image preview logics by adding VImagePreviewer
...
1. Support previewing non-relative local images;
2. Support previewing network images;
2017-05-06 12:25:18 +08:00