diff --git a/scripts/nodeValue_drawer/nodeValue_drawer.yy b/scripts/nodeValue_drawer/nodeValue_drawer.yy index 343f1ad0b..1256cbe59 100644 --- a/scripts/nodeValue_drawer/nodeValue_drawer.yy +++ b/scripts/nodeValue_drawer/nodeValue_drawer.yy @@ -1,5 +1,5 @@ { - "$GMScript":"v1", + "$GMScript":"", "%Name":"nodeValue_drawer", "isCompatibility":false, "isDnD":false, diff --git a/scripts/panel_text_editor/panel_text_editor.gml b/scripts/panel_text_editor/panel_text_editor.gml index 0b740cbc2..5977590c1 100644 --- a/scripts/panel_text_editor/panel_text_editor.gml +++ b/scripts/panel_text_editor/panel_text_editor.gml @@ -56,12 +56,18 @@ function Panel_Text_Editor(_textArea, _inputFunc, _context) : PanelContent() con var tw = w - ui(8 + 8); var th = h - ui(4 + 36 + 8); - var _text = inputFunc(); + var _text = inputFunc(); + var _prevBox = _textArea.boxColor; + _textArea.setMaxHieght(th); _textArea.register(); _textArea.setFocusHover(pFOCUS, pHOVER); _textArea.shift_new_line = shift_new_line; - _textArea.drawParam(new widgetParam(tx, ty, tw, th, _text,, [mx, my], x, y)); + _textArea.boxColor = CDEF.main_ltgrey; + + _textArea.drawParam(new widgetParam(tx, ty, tw, th, _text, {}, [ mx, my ], x, y)); + + _textArea.boxColor = _prevBox; } static checkClosable = function() { diff --git a/scripts/textArea/textArea.gml b/scripts/textArea/textArea.gml index e2906479d..e4b3c59b2 100644 --- a/scripts/textArea/textArea.gml +++ b/scripts/textArea/textArea.gml @@ -46,17 +46,6 @@ function textArea(_input, _onModify) : textInput(_input, _onModify) constructor code_line_width = 48; - parser_server = noone; - - autocomplete_delay = 0; - autocomplete_modi = false; - use_autocomplete = true; - autocomplete_server = noone; - autocomplete_object = noone; - autocomplete_context = {}; - - function_guide_server = noone; - shift_new_line = true; show_line_number = true; diff --git a/scripts/textArea/textArea.yy b/scripts/textArea/textArea.yy index 651f6136f..6fa5beeb6 100644 --- a/scripts/textArea/textArea.yy +++ b/scripts/textArea/textArea.yy @@ -1,5 +1,5 @@ { - "$GMScript":"v1", + "$GMScript":"", "%Name":"textArea", "isCompatibility":false, "isDnD":false, diff --git a/scripts/textInput/textInput.gml b/scripts/textInput/textInput.gml index f7e0ccbde..c395131b1 100644 --- a/scripts/textInput/textInput.gml +++ b/scripts/textInput/textInput.gml @@ -5,6 +5,17 @@ function textInput(_input, _onModify) : widget() constructor { typing = false; + parser_server = noone; + + autocomplete_delay = 0; + autocomplete_modi = false; + use_autocomplete = true; + autocomplete_server = noone; + autocomplete_object = noone; + autocomplete_context = {}; + + function_guide_server = noone; + static _resetFocus = function() { resetFocus(); } static onKey = function(key) {}