Flag of Sweden
Andreas Rejbrand’s Website

Rejbrand Text Editor 3.1

Yesterday I released version 3.1 of my text editor. Compared to version released on 31 January 2017, version 3.1 contains a number of new features, improvements to old features, and a few bug fixes.

New Features

  • Tab Management

    • It is now possible to drag and drop tabs to reorder them within a single Rejbrand Text Editor window. It is also possible to use drag and drop to move a tab to a different Rejbrand Text Editor window.

    • A new Rejbrand Text Editor window can be created using File/New window (Shift+Ctrl+N); this will create a new window with a single, new text file tab.

    • The current tab can be detached using Tab context menu/Detach (F6). This will create a new Rejbrand Text Editor window with only this tab.

    • It is now possible to navigate between tabs within a single window using Ctrl+PgDn and Ctrl+PgUp in addition to the usual Ctrl+Tab and Shift+Ctrl+Tab combinations.

    • The tab context menu now contains a “Copy file name” command.

    • If the tab list is not visible (because there is only a single tab in the current window), it will become temporarily visible and obtain keyboard focus when you press F6. (Then you can, for instance, press the Menu key and the “y” accelerator to invoke the “Copy file name” command.)

    • You can close all tabs but the active one using the File/Close all other command (Shift+Ctrl+Alt+W).

  • Editing and Searching

    • Rejbrand Text Editor now supports OLE drag and drop. This means that you may now drag and drop text between Rejbrand Text Editor and other OLE-enabled applications. For instance, you can drag text to and from Microsoft Word, from your favourite web browser, or to a text field in the browser.

      Typically, a simple drag and drop operation from a source that is not read-only will move the text, while the addition of the Ctrl modifier will cause a copy operation instead. If you right-drag a text to Rejbrand Text Editor, a context menu will appear asking you for the desired action.

    • The Home key has been enhanced. Pressing it will put the caret on the first column of the row, if the caret isn’t already there. If it already is there, the caret will instead move to the first non-whitespace character on that line. Similarly, Shift+Home will alternatingly extend the selection to the first column and the first non-whitespace column. This new behaviour is often hugely convenient.

    • The Edit/Transformations menu (and the selection context menu) now contains a “Reverse text” command.

    • When the caret is inside a word, pressing Ctrl+E will search the document for it. All matches will immediately be highlighted (the view or the caret will not move). You may use F2 and F3 to go between the matches. Pressing Ctrl+E again (when the caret is inside a match) will cancel the search and remove the highlighting.

      If Ctrl+E is pressed with a selection, the selected text will be search instead of the current word.

      Shift+Ctrl+E works just like Ctrl+E, but will consider the underscore character (_, U+005F: LOW LINE) a part of a “word”. Hence, if the caret is found in “alpha_bet|a” at the indicated location, Ctrl+E will search for and highlight “beta” while Shift+Ctrl+E will search for and highlight “alpha_beta”.

    • Ctrl+H is now a synonym for Backspace (since H is the 8th letter of the English alphabet).

    • Ctrl+J now inserts a single horizontal tab character (U+0009: CHARACTER TABULATION).

  • File Dialogs

    • The Open dialog has been enhanced to support multi select.

    • The Open dialog has been enhanced with an option to open the file(s) in read-only mode.

    • The Save dialog has been enhanced with custom controls for choosing encoding.

  • Miscellaneous

    • The XML formatting processor now supports CDATA sections.

    • The editor zoom level is now a per-tab setting.

Improvements to Existing Features

  • The Replace dialog box is no longer modal (which was occasionally very inconvenient).

  • The Undo/Redo operations now make sure that the new caret position is not at the very edge of the editor window.

  • The Find feature now makes sure that the new caret position is not at the very edge of the editor window.

  • The File/Revert feature (Shift+Ctrl+O) has been renamed Reload and is now enabled even if the editor buffer is not modified. This allows the feature to reload the document from file if the file system file has been modified.

    Before I used to make a dummy change to the buffer just to enable the Revert command if I wanted to reload the file from disk (when the on-disk file had changed). Now I don’t have to do that anymore.

Bug Fixes

  • Alt+F4 is no longer stolen by the main window. Now it can close even non-modal accessory windows.

  • Ctrl+A/Z/X/C/V are no longer restricted to the main editor if enabled, but work in every control.

  • If you try to open or save to a locked file, a nice error message is now displayed instead of the unknown error dialog.

  • Instant search highlighting is no longer slow in very large files with interactive formatting enabled. This was a hugely annoying bug.

  • Additional minor bugs fixed:

    • The cursor is now updated if you use the scroll wheel to scroll the text and the new text beneath the cursor demands a different cursor.

    • The character box size is now updated correctly when you change the zoom level in a document with line classes.

    • The character box size is now updated correctly if you change the zoom level in one tab and then go back to a tab with line classes.

Show all news items.

Only show the most recent news items.