mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-01-08 10:33:52 +08:00
(C# Console) Only update autocomplete and indent if they are enabled
This commit is contained in:
parent
77878ddd94
commit
a9fbea7c96
@ -284,6 +284,7 @@ The following helper methods are available:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (EnableAutoIndent)
|
||||||
UpdateIndent(newText);
|
UpdateIndent(newText);
|
||||||
|
|
||||||
if (!forceUpdate && string.IsNullOrEmpty(newText))
|
if (!forceUpdate && string.IsNullOrEmpty(newText))
|
||||||
@ -291,6 +292,7 @@ The following helper methods are available:
|
|||||||
else
|
else
|
||||||
inputHighlightText.text = SyntaxHighlightContent(newText);
|
inputHighlightText.text = SyntaxHighlightContent(newText);
|
||||||
|
|
||||||
|
if (EnableAutocompletes)
|
||||||
UpdateAutocompletes();
|
UpdateAutocompletes();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user