Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/mantidproject/mantid.git. Pull mirroring updated .
  1. Mar 30, 2020
    • David Fairbrother's avatar
      Re #28445 Create new tab names correctly on KDE · d3cb3bf1
      David Fairbrother authored
      Creates new tab names correctly on non-GNOME enrionvments for Ubuntu.
      KDE automatically binds keyboard shortcuts, which Qt represents with &x
      (where x is the shortcut). This breaks the name lookup as &New != New in
      "New Tab".
      
      We now strip out these characters when looking up the names fixing the
      names not incrementing correctly.
      d3cb3bf1
  2. Mar 20, 2020
  3. Oct 24, 2019
  4. Oct 23, 2019
  5. Sep 19, 2019
  6. Sep 18, 2019
    • Harry Saunders's avatar
      Rename "Filter by" context menu entry with script · b7f9a705
      Harry Saunders authored
      If a script is renamed this will be mimicked in the "Filter by" context
      menu. All the messages in the message history associated with that
      script, will have their "scriptName" attribute updated to reflect the
      change.
      
      Remove '*' from script names when reading the names from the tab titles.
      b7f9a705
    • Harry Saunders's avatar
      Add counter to titles of new script tabs · 9a7defb8
      Harry Saunders authored
      For example if creating two new tabs, the first would have title "New"
      and the second would have title "New (1)" and so on. This will
      distinguish the scripts in the message window "Filter by" context menu.
      9a7defb8
    • Harry Saunders's avatar
      Emit script's tab name if it has no path · 86871658
      Harry Saunders authored
      Unsaved scripts were emitting an emtpy file name when executed, this
      created an entry in the message window's "Filter by" context menu with
      no text.
      86871658
    • Harry Saunders's avatar
      Make MultiFileInterpreter emit signal on script exec · f91d6041
      Harry Saunders authored
      The signal carries the path of the script that is being executed.
      Hooking this signal up to the MessageDisplay will allow us to associate
      stdout and stderr messages with a Python script.
      f91d6041
  7. Jul 12, 2019
    • Dimitar Tasev's avatar
      Prevents rename_plot being triggered by unexpected focus grab · 642901e1
      Dimitar Tasev authored
      Plotting from script and changing the code editor tabs would cause the last plot's line edit in the plotselector widget to steal focus temporarily. On losing the focus it would trigger the `QLineEdit::editingFinished slot which would call `plotselector.view.rename_plot`. This also happened on Workbench closing, which would then try to update the name from the plotselector widget that has been deleted, and would throw the exception.
      
      Re #26305
      642901e1
  8. Apr 09, 2019
  9. Mar 11, 2019
  10. Mar 07, 2019
  11. Mar 06, 2019
  12. Feb 28, 2019
  13. Feb 27, 2019
    • Dimitar Tasev's avatar
      Remove asking to save too much, re #24812 · 9b18b453
      Dimitar Tasev authored
      9b18b453
    • Dimitar Tasev's avatar
      Add force_save option to interpreter.save, re #24812 · b195ac0d
      Dimitar Tasev authored
      If the user is being prompted to save files (option in the settings)
      then the prompt has the final decision whether to save or discard.
      
      If the user is NOT being prompted, then pressing File>Save Script or
      CTRL+S will force save, this has 2 outcomes:
      - Code editor contents already exist in a file, in which case the
      file is just saved
      - Code editor is a `New Tab`, in which case the user is prompted to select
      where to save.
      - If a code editor is closed via `X` or middle mouse click, the file is
      just discarded without notice.
      b195ac0d
  14. Feb 26, 2019
  15. Feb 22, 2019
  16. Feb 21, 2019
  17. Feb 18, 2019
  18. Feb 13, 2019
    • Dimitar Tasev's avatar
      Address comments from review, re #24531 · 4fa20272
      Dimitar Tasev authored
      Added "previous" button
      Next/Previous now have icons
      Made layout tighter
      Added X to close
      Added find/replace in Editor menu
      Added Escape to close find, only works if Find/Replace has focus
      Added Enter to search next, Shift+Enter to search previous,
      only works if Find/Replace has focus
      4fa20272
  19. Feb 11, 2019
  20. Feb 08, 2019
  21. Feb 07, 2019
  22. Feb 05, 2019
  23. Feb 01, 2019
Loading