mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 05:07:00 -04:00
Working on the keywords panel;
Correct styling data now shown on style panel git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@259 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -160,7 +160,7 @@ void KeywordReminderTextValue::highlight(const String& code) {
|
||||
size_t end = code.find_first_not_of(_("0123456789"), pos + 5);
|
||||
if (end == String::npos) end = code.size();
|
||||
String param = code.substr(pos, end-pos);
|
||||
new_value += _("<") + param + _(">") + param + _("</") + param + _(">");
|
||||
new_value += _("<ref-") + param + _(">") + param + _("</ref-") + param + _(">");
|
||||
pos = end;
|
||||
} else {
|
||||
new_value += c;
|
||||
|
||||
Reference in New Issue
Block a user