Search Unity

Draw error with EditorGUILayout.TextArea

Discussion in 'Immediate Mode GUI (IMGUI)' started by Player7, Apr 22, 2016.

  1. Player7

    Player7

    Joined:
    Oct 21, 2015
    Posts:
    1,533
    Code (CSharp):
    1. String too long for TextMeshGenerator. Cutting off characters.
    2. UnityEditor.EditorGUILayout:TextArea(String, GUILayoutOption[])
    3. E_Main:OnGUI() (at Assets/Interface/Editor/E_Main.cs:308)
    4. UnityEditor.DockArea:OnGUI()
    Code (CSharp):
    1. EditorGUILayout.BeginVertical();
    2.                         scrollOutput = EditorGUILayout.BeginScrollView(scrollOutput);
    3.             EditorGUILayout.TextArea(AuteGenClass, GUILayout.Height(position.height - 30));
    4.             EditorGUILayout.EndScrollView()
    AuteGenClass is about usually around 10000+ length ...it seems I can no longer use the TextArea to quickly gloss over the entire output now.. the scrollbars don't allow me to fully scroll the output, and it only shows around 4000length worth of characters... though I can select the textarea and ctrl+a and ctrl +c to get a full copy of the output.. not much good though.

    This is annoying hardcoded crap.. I've noticed even with viewing source files in the inspector window most get cut off at the bottom with ... <...etc...> I mean kinda S*** behavior no?, sometimes its just nice to be able to view things completely like that within the editor without having to load up something else right.