|
| 1 | +.. py:currentmodule:: larray_editor |
| 2 | + |
| 3 | +New features |
| 4 | +^^^^^^^^^^^^ |
| 5 | + |
| 6 | +* added support for Python 3.10. |
| 7 | + |
| 8 | +* the initial column width is now set depending on the content and resized automatically when changing the number of |
| 9 | + digits (closes :editor_issue:`145`). |
| 10 | + |
| 11 | + |
| 12 | +Miscellaneous improvements |
| 13 | +^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 14 | + |
| 15 | +* plot windows title now include the expression used to make the plot (the name of the array |
| 16 | + in most cases) (closes :editor_issue:`233`). |
| 17 | + |
| 18 | +* when displaying an expression (computed array), the window title includes the actual expression |
| 19 | + instead of using '<expr>'. |
| 20 | + |
| 21 | +* :py:obj:`compare()` can now take filepaths as argument (and will load them as a Session) to make |
| 22 | + comparing a in-memory Session with an earlier Session saved on the disk. Those filepaths |
| 23 | + can be given as both str or Path objects. Closes :editor_issue:`229`. |
| 24 | + |
| 25 | +* added support for Path objects (in addition to str representing paths) in :py:obj:`view()` and :py:obj:`edit()`. |
| 26 | + See :issue:`896`. |
| 27 | + |
| 28 | +* when the editor displays currently defined variables (via :py:obj:`debug()` :py:obj:`edit()` or |
| 29 | + :py:obj:`view()` without argument within user code or via an exception when run_editor_on_exception is active), |
| 30 | + LArray functions are not made available systematically in the console anymore (what is available in the console is |
| 31 | + really what was available in the users code). This closes :editor_issue:`199`. |
| 32 | + |
| 33 | +* added support for incomplete slices in "save command history", like in Python slices. |
| 34 | + For example, one can save from line 10 onwards by using "10:" or "10..", i.e. without specifying the last line. |
| 35 | + See :editor_issue:`225`. |
| 36 | + |
| 37 | + |
| 38 | +Fixes |
| 39 | +^^^^^ |
| 40 | + |
| 41 | +* fixed :py:obj:`run_editor_on_exception()` so that the larray editor is not opened when trying to stop a program |
| 42 | + (via Ctrl-C or the IDE stop button). Closes :editor_issue:`231`. |
| 43 | + |
| 44 | +* improved the situation when trying to stop a program (via `Ctrl-C` or the IDE stop button) with an LArray Editor |
| 45 | + window open. It used to ignore such events altogether, forcing the IDE to send a "kill" event when pressing the |
| 46 | + button a second time, which could leave some ressource open (e.g Excel instances). Now, the LArray Editor will |
| 47 | + close itself when its parent program is asked to stop *but* so far, it will only do so when the window is active |
| 48 | + again. This makes for an odd behavior but at least cleans up the program properly (closes :editor_issue:`231`). |
| 49 | + |
| 50 | +* when save command history fails, do not do so silently. Closes :editor_issue:`225`. |
| 51 | + |
| 52 | +* fixed saving command history to a path containing spaces. Closes :editor_issue:`244`. |
| 53 | + |
| 54 | +* fixed compare() background color being red for two equal integer arrays instead of white |
| 55 | + (closes :editor_issue:`246`). |
0 commit comments