Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Editor/UI/CodeArea.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ public static void Draw(ref string rawText, ref string highlightedText, SyntaxHi
editor.SaveBackup();
editor.controlID = controlId;
editor.position = rect;
#if UNITY_2023_1_OR_NEWER
editor.isMultiline = true;
#else
editor.multiline = true;
#endif
editor.style = style;
editor.DetectFocusChange();
HandleTextFieldEvent(rect, controlId, content, ref highlightedText, theme, style, editor);
Expand Down