Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/13/14 13:57:53 (10 years ago)
Author:
jkarder
Message:

#2136: added prototype of a scripting environment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HLScript/HeuristicLab.CodeEditor/3.3/CodeEditor.cs

    r5287 r10332  
    140140      if (TextEditorValidated != null)
    141141        TextEditorValidated(this, EventArgs.Empty);
     142    }
     143
     144    public event EventHandler TextEditorTextChanged;
     145
     146    protected void OnTextEditorTextChanged() {
     147      if (TextEditorTextChanged != null)
     148        TextEditorTextChanged(this, EventArgs.Empty);
    142149    }
    143150
     
    188195
    189196      textEditor.Validated += (s, a) => { OnTextEditorValidated(); };
     197      textEditor.TextChanged += (s, a) => { OnTextEditorTextChanged(); };
    190198      InitializeImageList();
    191199    }
Note: See TracChangeset for help on using the changeset viewer.