add syntax highlighting (WIP)
This commit is contained in:
@@ -357,6 +357,9 @@ static std::shared_ptr<UINode> readTextBox(UiXmlReader& reader, const xml::xmlel
|
||||
}
|
||||
textbox->setText(text);
|
||||
|
||||
if (element->has("syntax")) {
|
||||
textbox->setSyntax(element->attr("syntax").getText());
|
||||
}
|
||||
if (element->has("multiline")) {
|
||||
textbox->setMultiline(element->attr("multiline").asBool());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user