mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[code] Use named colors
This commit is contained in:
committed by
EmilieNumworks
parent
6cd18cca89
commit
b52590e2f7
@@ -92,8 +92,8 @@ void PythonTextArea::ContentView::drawLine(KDContext * ctx, int line, const char
|
||||
fromColumn,
|
||||
text + fromColumn,
|
||||
min(length - fromColumn, toColumn - fromColumn),
|
||||
KDColorBlack,
|
||||
KDColorWhite
|
||||
StringColor,
|
||||
BackgroundColor
|
||||
);
|
||||
return;
|
||||
}
|
||||
@@ -129,7 +129,7 @@ void PythonTextArea::ContentView::drawLine(KDContext * ctx, int line, const char
|
||||
text + tokenFrom, // text
|
||||
tokenLength, // length
|
||||
tokenColor,
|
||||
KDColorWhite
|
||||
BackgroundColor
|
||||
);
|
||||
|
||||
mp_lexer_to_next(lex);
|
||||
@@ -144,7 +144,7 @@ void PythonTextArea::ContentView::drawLine(KDContext * ctx, int line, const char
|
||||
text + tokenFrom, // text
|
||||
length - tokenFrom, // length
|
||||
CommentColor,
|
||||
KDColorWhite
|
||||
BackgroundColor
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user