TextEditor: Add mixins for font settings

You can only set one text style but in many cases like
Function and Declaration it would be nice if they could be merged.

Change-Id: Icda892057b79eef1bea2fa8b2c5f0f7cbc5f518a
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
Marco Bubke
2016-02-22 15:54:14 +01:00
parent d7a43eaa18
commit b21b5bb2ae
3 changed files with 72 additions and 3 deletions

View File

@@ -31,7 +31,7 @@
namespace TextEditor {
// Text color and style categories
enum TextStyle {
enum TextStyle : quint8 {
C_TEXT,
C_LINK,