Release Notes

Here are the release notes for the XUI desktop framework.

Version

2.2.0

2 January 2023

Happy new year everybody!

 

Changes

  • Renamed XUICESelectedColumns to XUISelectedColumns since both the code editor and inspector depend on this class. They have been moved into the Required folder in the navigator.

 

Improvements

  • Added XUITabBar.FirstTabIsFixed boolean property to enable forcing of the first tab of the tab bar to remain fixed in place.
  • Added XUIInspector.RemoveAllSections().
  • The XUIInspector itself, its sections and individual items can now store arbitrary Variant data.
  • Added XUITagCanvas.Lines() and XUITagCanvas.SetContents() methods. These allow the retrieval of the contents and the setting of the contents of a tag canvas,

    Fixed

    • The inspector control now correctly informs the Xojo framework that key commands have been handled by the inspector and should not be propagated.
    • Fixed a NilObject exception in the inspector text field renderer.

    Version

    2.1.1

    22 December 2022

    Two releases in one day. Wow.

     

    Improvements

    • Added support for back-tabbing (i.e. Shift-Tab) in the XUIInspector. This permits moving back to the previous item in the inspector with a keyboard shortcut.

      Fixed

      • Squashed a bug that prevented selecting a colour swatch if you had already previously dismissed its colour picker without selecting a colour.
      • Fixed a bug whereby cancelling a colour picker selection in the XUIColorPicker did not actually cancel the colour change.
      • Tabbing within the inspector now works much better on Windows.

      Version

      2.1

      22 December 2022

      New

      • Added XUIInspectorColorItem. This is a new item for XUIInspector for displaying a caption beside a colour swatch. Integrates effortlessly with the XUI colour picker control.
      • Added a XUIInspectorColorGroupItem which is another new item for the XUIInspector that allows the user to select a ColorGroup (i.e. a light and dark colour).
      • Added XUICodeEditor.CurrentSelectionAsString() method.

      Improvements

      • XUIColorPicker now sends less frequent notifications.
      • Added a new ToString() extension for the Xojo ColorGroup data type.
      • Text field items in the XUIInspector can now accept the focus via the tab key and you can tab between items in the inspector.
      • Greatly improved text field interactivity with the mouse in the XUIInspector. Added support for gestures such as double clicking to select the whole word, etc.
      • Consolidated XUICETextSelection and XUIInspectorTextSelection into one class – XUITextSelection.

      Fixed

      • Fixed an issue on macOS where scrollbars where overly intrusive if scrollbars were set to “always show” in system settings.
      • Horizontal scrollbar in macOS now works correctly.

      Version

      2

      18 December 2022

      New

      • Added XUIInspector, a brand new control that provides the functionality you commonly see in IDEs such as Xojo. You can add sections which contain multiple items. There are a variety of items varying from checkboxes to popup boxes and editable text fields.

      Improvements

      • Added String.Longest() extension.

      Fixed

      • The ObjoScript formatter now supports switch statements.
      • Better handling of unexpected out of bounds errors in the code editor.

      Version

      1.0.5

      18 November 2022

      New

      • Added XUICodeEditor.Clear() to clear the contents of the editor.
      • Added a XUICodeEditor.DebuggingLine property. Set this to a line number and the editor will highlight the text on the line in a special way to indicate that it is being “debugged”. Mimics how lines are highlighted in the Xojo debugger. The colour of the highlight can be set within the editor’s theme (see the included Nova theme for details).

      Improvements

      • The caret no longer blinks in XUICodeEditor if the code editor is in read-only mode.

      Fixed

      • The ObjoScript formatter now correctly tokenises semicolons as operators.
      • Squashed a bug with indentation following an operator in the ObjoScript formatter.
      • Line continuations now work in the ObjoScript formatter.
      • The ObjoScript formatter no longer permits leading whitespace on a line.
      • Added a workaround for an occasional OutOfBoundsException that could occur when getting characters from a line.

      Version

      1.0.4

      13 October 2022

      New

      • Added the string extension CompareCase() to perform a case sensitive comparison of two strings.
      • Added the string extension IsDigitOrUnderscore().
      • Updated the ObjoScript code editor formatter, removing print as keyword.
      • XUICodeEditor can now optionally close parentheses and square/curly brackets as you type.
      • Shift-Tab now inserts a tab into the code editor when the tab key is set as the autocomplete trigger key.

      Improvements

      • Exposed more options in the inspector panel in the IDE for XUICodeEditor.

      Version

      1.0.3

      11 October 2022

      New

      • Added a code editor formatter for ObjoScript, a new programming language designed by myself.

      Fixed

      • Fixed a critical bug in NSScrollViewCanvas (which is the superclass of the XUICodeEditor) which prevented more than one instance of the editor in an app.
      • Fixed an embarrassing bug that was causing the first line of source code in the Wren formatter to disappear when additional lines of source code were entered into the editor.

      Version

      1.0.2

      29 September 2022

      New

      • Added SourceList.SelectItemAtRow() method to programmactically select an item at a row index.

      Version

      1.0.1

      28 July 2022

      Fixed

      • Fixed a “failure to compile” error caused by the addition of a new String.Contains() method in the Xojo framework introduced in Xojo 2022 r2.

      Version

      1

      9 June 2022

      It’s all new!