Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/09/14 16:59:34 (10 years ago)
Author:
jkarder
Message:

#2262:

  • IEnumerable<T> extension methods are supported by the variables collection
  • INamedItem variables get the item's name per default
  • variables can be renamed by pressing F2
  • variables are removed faster
  • multiple variables can be selected
  • the code editor supports scrolling while scripts are executed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Scripting.Views/3.3/ScriptView.cs

    r11171 r11436  
    4545    }
    4646
     47    public override bool ReadOnly {
     48      get { return codeEditor.ReadOnly; }
     49      set { codeEditor.ReadOnly = value; }
     50    }
     51
     52    public override bool Locked {
     53      get { return codeEditor.ReadOnly; }
     54      set { codeEditor.ReadOnly = value; }
     55    }
     56
    4757    protected override void RegisterContentEvents() {
    4858      base.RegisterContentEvents();
     
    8393      base.SetEnabledStateOfControls();
    8494      compileButton.Enabled = Content != null && !Locked && !ReadOnly;
    85       codeEditor.Enabled = Content != null && !Locked && !ReadOnly;
     95      codeEditor.Enabled = Content != null;
    8696    }
    8797
Note: See TracChangeset for help on using the changeset viewer.