Skip to content

Focus 0.3.1

Compare
Choose a tag to compare
@focus-editor focus-editor released this 27 Jan 09:49
· 548 commits to main since this release
  • New features:
    • New options: save_current_buffer_on_build and save_all_file_backed_buffers_on_build. Enable to auto-save files before running build commands (thanks @jlami)
    • Zig highlighting
  • Bug fixes:
    • Previewing themes will now change window border color as well as it should (thanks @jmpstar)
    • Regex search should no longer crash the editor on certain inputs
    • Close current editor when animations are disabled should now focus the remaining editor
    • Binary files should now be auto-ignored again
    • Fixed a memcpy-related memory corruption bug which manifested in some rare Linux distros
  • Other changes:
    • Various theme improvements (thanks @jmpstar, @leonader, @maxamundsen)
    • Crash reports now print stack traces in release mode where possible (thanks @Sanian-Creations)
    • Upgraded to Jai 0.1.83+ (thanks @valignatev)
    • C highlighting improvements
    • Linux: the editor now uses libxcb to interact with an X11 server by default. The old X11 backend (Xlib) is still around and can be activated by running the editor with FOCUS_LD_BACKEND=x11 set in the environment
      • NOTE: the xcb backend is currently missing drag-and-drop support. If that is important to you please use the old Xlib backend as described above.
    • Platform support enhancements for macOS:
      • the editor no longer consumes CPU when idle
      • implemented the refresh timer (2024, year of the blinking cursor)
      • smoother trackpad scrolling
      • the maximize_on_start option now actually maximizes the main window instead of making it full-screen