mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2026-10-11 01:48:07 +08:00
(C# Console) Only update autocomplete and indent if they are enabled
This commit is contained in:
1 parent
77878ddd94
commit
a9fbea7c96
1 file changed
+4
-2
@@ -284,14 +284,16 @@ The following helper methods are available:
|
||||
return;
|
||||
}
|
||||
|
||||
UpdateIndent(newText);
|
||||
if (EnableAutoIndent)
|
||||
UpdateIndent(newText);
|
||||
|
||||
if (!forceUpdate && string.IsNullOrEmpty(newText))
|
||||
inputHighlightText.text = string.Empty;
|
||||
else
|
||||
inputHighlightText.text = SyntaxHighlightContent(newText);
|
||||
|
||||
UpdateAutocompletes();
|
||||
if (EnableAutocompletes)
|
||||
UpdateAutocompletes();
|
||||
}
|
||||
|
||||
private void UpdateIndent(string newText)
|
||||
|
||||
Reference in new issue
Block a user