Rewrite lexer from scratch

This commit is contained in:
Sinai
2021-05-10 15:58:49 +10:00
parent 06122fe8c9
commit caad39bb9a
20 changed files with 650 additions and 937 deletions

View File

@ -159,7 +159,7 @@ namespace UnityExplorer.UI.Panels
InputText = InputField.InputField.textComponent;
InputText.supportRichText = false;
InputText.color = new Color(1, 1, 1, 0.5f);
InputText.color = new Color(1, 1, 1, 0.65f);
var mainTextObj = InputText.gameObject;
var highlightTextObj = UIFactory.CreateUIObject("HighlightText", mainTextObj.gameObject);
@ -171,6 +171,7 @@ namespace UnityExplorer.UI.Panels
highlightTextRect.offsetMax = new Vector2(14, 0);
HighlightText = highlightTextObj.AddComponent<Text>();
HighlightText.color = Color.clear;
HighlightText.supportRichText = true;
HighlightText.fontSize = fontSize;