Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/07/14 10:36:52 (10 years ago)
Author:
jkarder
Message:

#2136:

  • fixed tool tips
  • added Clear() method to remove all variables present in the VariableStore
  • the script cannot be compiled and started with the shortcuts anymore if it is already running
File:
1 edited

Legend:

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

    r10642 r10727  
    7676        ReadOnly = true;
    7777        startStopButton.Image = VSImageLibrary.Stop;
     78        toolTip.SetToolTip(startStopButton, "Stop (Shift+F5)");
    7879        infoTabControl.SelectedTab = outputTabPage;
    7980      }
     
    8687        ReadOnly = false;
    8788        startStopButton.Image = VSImageLibrary.Play;
     89        toolTip.SetToolTip(startStopButton, "Run (F5)");
    8890        running = false;
    8991        var ex = e.Value;
     
    156158      switch (keyData) {
    157159        case Keys.F5:
    158           if (Content != null && !Locked) {
     160          if (Content != null && !Locked && !running) {
    159161            if (Compile()) {
    160162              outputTextBox.Clear();
     
    168170          break;
    169171        case Keys.F6:
    170           Compile();
     172          if (!running) Compile();
    171173          break;
    172174      }
Note: See TracChangeset for help on using the changeset viewer.