Le Tan
|
2adbd7c409
|
support font family settings in editor style
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-10-14 11:56:47 +08:00 |
|
Le Tan
|
d22f0124d3
|
add VStyleParser as a wrapper of pmh_styleparser
Use VStyleParser to read .mdhl style file for markdown highlighting.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-10-13 17:08:39 +08:00 |
|
Le Tan
|
321289c8e0
|
add VNote::editorAndBrowserFont for setting font in QTextEdit and QTextBrowser
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-10-09 22:37:45 +08:00 |
|
Le Tan
|
7bce2cb298
|
use QWebEngineView to display markdown files
Thanks to [marked JavaScript library](https://github.com/chjj/marked) by
Christopher Jeffrey. The
[style sheet](http://kevinburke.bitbucket.org/markdowncss/markdown.css)
was created by Kevin Burke.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-10-09 20:47:20 +08:00 |
|
Le Tan
|
e3e18d040c
|
use QStackedWidget to hold QTextBrowser and VEdit
Use QTextBrowser to display file in read mode and VEdit to display file
in edit mode.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-10-07 21:55:30 +08:00 |
|
Le Tan
|
3f8c87a325
|
add basic logics for handling html file
Add edit/read/save logics for html file.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-10-07 10:56:28 +08:00 |
|
Le Tan
|
504e3323cf
|
display selected file in a QTabWidget
Add VTabWidget and VEdit to display content of files.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
|
2016-10-06 22:33:55 +08:00 |
|