# Text Editor 42.alpha2

This is our second Alpha release as we progress towards GNOME 42. Please take
some time and test the application and submit bug reports. Distributions are
encouraged to package GNOME Text Editor so that we can fix any lingering
integration issues before the Beta releases.

 • Mnemonics for the primary menu have be updated to reduce duplicates.
 • Restoring windows from the session now uses `gtk_window_set_default_size()`
   and `gtk_window_get_default_size()` to improve the chances we get the
   proper size restored. There may still be issues on Xorg with GTK 4, but
   that needs to be addressed in GTK 4.
 • Paths are now properly expanded/collapsed for `wordexp()` when directories
   with spaces are used.
 • A new document properties dialog has been added to get information about
   the document such as number of words, characters, and lines.
 • Regex search from the search bar works again.
 • Spellchecking will now use the `def:misspelled-word` style from the
   GtkSourceStyleScheme when available, allowing schemes to override styling.
 • Fix the default style scheme to be Adwaita in gsettings.
 • You can now navigate and select style schemes with the keyboard in
   the Preferences dialog.
 • Always show the current style scheme in Preferences.
 • Style schemes in Preferences are now sorted in lexicographic form along
   with the presence of an alternate light/dark style. This should result in
   similar placement of schemes across application changes to light/dark.
 • The open popover empty state design has been improved.
 • Track monospace-font-name from desktop preferences.
 • Improve recoloring for some style schemes with metadata overrides.
 • Various macOS build and runtime fixes.
 • Add light and dark schemes for both Builder and Peninsula.
 • You can now restore closed pages with Ctrl+Shift+t.
 • Improve printing support for various fonts, sizing, margins, and more.
 • Prune discard drafts when cleaning up session.
 • CSS fixes for integrating with libadwaita and GtkSourceView.
 • Various Vim emulation improvements.
 • Text Editor will now prefer "python3" over "python2" when a documents
   content-type matches `text/x-python`, as that is overwhelmingly what
   is found in files today.
 • When windows are restored, they will no longer restore empty drafts, even
   if they were modified previously (added text then undo/deleted).
 • The about dialog show now include proper git commit hashes for development
   builds (`meson configure -Ddevelopment=true`) to aid in users and
   distributions submitting helpful bug reports.
 • Translation updates.

# Text Editor 42.alpha1

 • Use libadwaita for access to desktop light/dark modes.
 • New interface to jump to a given line number.
 • New keyboard shortcut for delete-current-line, jump-to-line,
   select-current-line, zooming, and preferences.
 • The open popover no longer displays document mtimes, but they are used
   for sorting results.
 • Tab menus are fixed within the document editor.
 • Tabs may now be dragged into new windows.
 • DnD of multiple files into the editor has been restored.
 • Text Editor can no differntiate between indentation and tab size.
 • Application startup has been vastly improved.
 • The session manager now truncates the number of bookmarks to 100.
 • Numerous crash and bug fixes.
 • Guess a reasonable filename for Save As dialog.
 • Deleted text is copied into the primary clipboard when using the
   delete-lines command.
 • A new custom GMenuModel is used for spelling corrections to allow
   for faster updates of menus.
 • Zoom with keybindings and scroll-wheell is now supported.
 • Text Editor will try to discover if style schemes are light or dark
   and only show them when appropriate in preferences.
 • Menus have been significantly tweaked based on usage and feedback.
 • Text Editor can no follow the system dark-mode preference.
 • Ensure window is raised when a document is reopened, possibly through an
   external application such as Nautilus.
 • Overview map style improvements.
 • Improved keyboard navigation to and from the open popover.
 • Text Editor will now restyle it's windows based on the selected
   GtkSourceStyleScheme.
 • A new gsetting for how to draw whitespace has been added.
 • A new gestting to disable window restyling has been added.
 • Text Editor now has a Vim emulation layer that may be enabled using
   the org.gnome.TextEditor keybindings gsetting.
 • A statusbar has been added when the Vim emulation is in use only.
 • A new and improved preferences dialog which supports previewing the
   preferences changes without leaving the dialog.
 • Search and Replace has been improved and restyled.
 • A new preference to enable restoring the session at startup was added.
 • A new preference to enable automatically discovering file settings
   using modelines, editorconfig, and more has been added.
 • Improved font styling within the application.
 • Performance and style improvements to the spell checking engine.
 • Fixed navigation using Up/Down from search bar.
 • Disabled use of DBusActivatable=true in .desktop file due to breakage with
   opening command line arguments without the desktop portal.
 • Improvements to accessibility labels.
 • Translation updates.

