This project is mirrored from https://github.com/mantidproject/mantid.git.
Pull mirroring updated .
- Feb 21, 2020
-
-
Martyn Gigg authored
This implementation is based on the implementation in MantidPlot. A C++-based executor has been added that can execute Python code with the option of installing a trace function to update a progress marker on a given editor window. The old implementation attempted to chunk up the script into the smallest executable blocks and mark each of these as when they were executed. There were 2 issues: - the chunking of the scripts was error prone as it actually requires a good knowledge of how Python internally handles indentation etc. It was fairly easy to break and future internal updates to Python would have required unknown changes. - the progress reporting resolution was far poorer than MantidPlot as the actual line being executed was not reported but inferred by what block was being executed giving a false sense of progress through a script.
-
- Feb 13, 2020
-
-
Nick Draper authored
-
Nick Draper authored
Also corrects the line endings on the prefixed header and fixes so that Toggle Whitespace shows line endings in workbench
-
- Oct 25, 2019
-
-
Harry Saunders authored
This fixes an error when saving a script that contains unicode characters. The io module gives a Python 2/3 compatible way of writing to a file using utf8. re #27072
-
- Oct 07, 2019
-
-
Harry Saunders authored
Add completions for the modules if they are imported in the script.
-
- Oct 04, 2019
-
-
Harry Saunders authored
Re-factor 'get_function_spec' and 'generate_call_tips' out of the CodeCompleter class and into standalone functions.
-
- Oct 01, 2019
-
-
Harry Saunders authored
New CodeCompleter class contains the logic for populating QScintilla's completion API. It's CodeCompleter.update_completion_api is called whenever a script is successfully run.
-
- Apr 09, 2019
-
-
Dimitar Tasev authored
Re #24818
-
- Mar 28, 2019
-
-
Harry Saunders authored
Add unit tests for class re #24849
-
Dimitar Tasev authored
It was moved to `mantidqt.widgets.embedded_find_replace_dialog.presenter.visible` but I never deleted this variable.
-
Harry Saunders authored
re #24849
-
- Mar 12, 2019
-
-
Harry Saunders authored
-
- Mar 11, 2019
-
-
Harry Saunders authored
re #25115
-
Samuel Jones authored
-
- Mar 06, 2019
-
-
Dimitar Tasev authored
-
- Feb 28, 2019
-
-
Refs #24743
-
- Feb 27, 2019
-
-
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.
-
- Feb 26, 2019
-
-
Dimitar Tasev authored
-
- Feb 22, 2019
-
-
Dimitar Tasev authored
-
- Feb 21, 2019
-
-
Dimitar Tasev authored
-
- Feb 14, 2019
-
-
Dimitar Tasev authored
-
Dimitar Tasev authored
-
- Feb 13, 2019
-
-
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
-
- Feb 12, 2019
-
-
Dimitar Tasev authored
-
Dimitar Tasev authored
-
- Feb 11, 2019
-
-
Dimitar Tasev authored
-
Dimitar Tasev authored
-
Harry Saunders authored
Replace magic numbers in PythonFileInterpreter's replace tab/spaces functions with variable
-
- Feb 08, 2019
-
-
Dimitar Tasev authored
-
Dimitar Tasev authored
-
Dimitar Tasev authored
-
Dimitar Tasev authored
-
- Feb 07, 2019
-
-
Samuel Jones authored
-
Harry Saunders authored
Also enable C++ exceptions, and their messages, to be passed to Python via sip when using clear_key_binding function.
-
Samuel Jones authored
-
- Feb 06, 2019
-
-
Harry Saunders authored
Clearing an unbound keyboard shortcut in Scintilla would cause a segfault. This has been addressed and now an error is raised instead.
-
- Feb 01, 2019
-
-
Samuel Jones authored
-
Harry Saunders authored
Remove redundant import in ScriptEditor.cpp and redundant enum in _common.sip. Add docstring for clearKeyBinding method in ScriptEditor class.
-
- Jan 31, 2019
-
-
Harry Saunders authored
Block commenting can now be done with shortcut "Ctrl+/" that used to be overridden by a QScintilla shortcut. Some error catching still needs to be performed in the "clear_key_binding" method in PythonFileInterpreter.
-
- Jan 30, 2019
-
-
Harry Saunders authored
Also some clearer commenting in 'toggle_comment' method
-