Skip to content

Releases

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 18:55

Added

  • .ft framework library for TextWrite: import "ft" (also import ".ft" / import "fast-text/ft") loads a built-in Fast Text framework module with helpers for commands, keybindings, hooks, editor actions, text transforms, and extension templates.
  • fast-text-ft crate: new framework crate for .ft extension packages, including manifest parsing (ft.toml), package discovery, main-script resolution, and extension scaffolding.
  • .ft extension package support: the TUI plugin manager discovers and loads .ft extension package directories alongside .rhai and .tw scripts; .ft script files are supported as TextWrite-compatible scripts.
  • 12 new first-party TextWrite plugins: line_tools, surround, uuid_tools, line_endings, html_tools, case_tools, markdown_links, sort_tools, whitespace_tools, frontmatter, unicode_tools, and text_wrap.

Changed

  • TUI keyboard handling: enables terminal keyboard enhancement flags when supported, restores terminal state on panic, and coalesces pending input events to reduce lag.
  • Command palette fallback: Ctrl+Shift+P also opens the command palette alongside Ctrl+Shift+C.

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 02:57

Added

  • Git integration (TUI): the status bar shows the current Git branch, the
    gutter shows diff markers for added/modified/deleted lines, and the command
    palette includes basic Git commands (Git: Refresh, Git: Status,
    Git: Diff file).
  • Focus mode: Toggle focus mode hides distracting panels (sidebar, tabs,
    console) for a cleaner writing/editing view.
  • Spell check: Toggle spell check underlines misspelled words in prose
    files (Plain/Markdown) using a built-in common-word dictionary.

v0.7.2

Choose a tag to compare

@github-actions github-actions released this 23 Nov 10:56

Changed

  • Command palette keybinding: the default command palette shortcut is now
    Ctrl+Shift+C (was Ctrl+Shift+P), with Ctrl+P kept for the fuzzy file
    finder.

Fixed

  • Buffer/pane display mismatch: opening a file, creating a new buffer, or
    switching tabs now updates the focused pane so the displayed content matches
    the selected file/tab instead of showing stale content from the previous
    buffer.

v0.7.1

Choose a tag to compare

@github-actions github-actions released this 21 Nov 14:13

Fixed

  • Command palette keybinding: Ctrl+Shift+P now reliably opens the command
    palette in the TUI, including terminals that report uppercase P, while
    Ctrl+P continues to open the file finder.
  • Paste/clipboard in TUI: added bracketed paste handling and system
    clipboard integration (arboard) so copy/cut/paste work with external text,
    not just the editor's internal register.

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 12:28

Added

  • Rusk syntax highlighting: .rk files are now recognized as Rusk and get
    built-in highlighting for Rusk keywords, types, constants, # comments, and
    string escapes through the shared fast-text-syntax highlighter.
  • Gojo built-in theme: a new dark gojo theme inspired by Gojo Satoru,
    available across the TUI, GUI, and shared theme schema.

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 20 Nov 17:45

Added

  • Six new first-party TextWrite plugins, bringing the catalog to 32:
    lorem (placeholder text), slugify (URL slugs and filename-safe text),
    escape (JSON/string escape, unescape and quoting), extract (emails,
    URLs, numbers and unique lines), number-base (decimal/hex/binary
    conversion and increment/decrement), and checklist (toggle checkboxes,
    bullets, and indent/outdent lines).
  • Updater progress bar: update checks/downloads now report staged progress,
    and the TUI and GUI update dialogs render a visual progress bar while an
    update is being downloaded, unpacked, and installed.
  • Configurable console shell per OS: config.toml gains a [console]
    section (windows, linux, macos) to choose which shell the terminal
    panel (Alt+C) launches. Windows can select the default shell, Command
    Prompt (cmd), Windows PowerShell, or PowerShell 7 (pwsh); macOS and
    Linux can select the default $SHELL or common shells. Command palette
    actions let you pick the console shell for the current platform and persist
    the choice to the config file.
  • Config access from the command palette: the config file can be opened
    directly from the command palette (Open config file), and the config
    template documents console shell and keybinding options.

Changed

  • The welcome buffer uses shorter lines and the help overlay wraps/adapts
    better so key hints remain readable in narrow terminals.

v0.5.1

Choose a tag to compare

@github-actions github-actions released this 19 Nov 16:49

Added

  • A real terminal emulator behind Alt+C: the console now attaches a
    persistent shell through a pseudo-terminal (portable-pty) and renders its
    ANSI output with a small vte-driven character grid. Colours, cursor keys,
    readline, and full-screen programs such as vim and htop work; the panel
    follows window resizes. A scrollbar on the panel's right edge shows where you
    are in 2000 lines of history; Ctrl+Up/Down (or Ctrl+PageUp/PageDown), the
    mouse wheel, and clicking the scrollbar all browse it. The old line editor
    remains as a fallback when no PTY is available, and no process is spawned in
    tests.
  • One SVG logo (assets/fast-text-logo.svg) used by both the README and
    the native GUI window icon. The GUI rasterizes the SVG at startup with
    resvg, so there is no second, drifting copy of the artwork.
  • ft --gui / fast-text --gui launches the native desktop frontend from
    the TUI CLI, forwarding file arguments to fast-text-gui.

Fixed

  • Persistent undo now records and compares canonical paths. A document
    opened through a symlink or macOS's /var alias restores its history
    reliably on macOS and Windows; the restored document also keeps its path.
  • The welcome buffer uses short lines so it stays readable in narrow terminals.
  • CI retries Ubuntu apt setup three times to absorb transient mirror drops.

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 12:22

Added

  • One shared theme schema (fast-text-theme): ten built-in TOML palettes —
    dark, light, one-dark, monokai, dracula, nord, gruvbox,
    tokyo-night, solarized-dark, solarized-light — read by the TUI, GUI and
    WASM frontends. Colors accept #RRGGBB, 0xRRGGBB and #RGB; missing keys
    fall back to dark, unknown keys warn instead of failing. User themes in
    ~/.config/fast-text/themes/*.toml extend the list, and the web build exposes
    themeCss() / themeColors().
  • One shared keymap (fast-text-plugin::keymap): the terminal, desktop and
    web frontends resolve keys through the same EditorCommand table, with Cmd
    / Super translated to Ctrl on macOS. Ctrl+P opens a fuzzy file finder,
    Ctrl+Shift+P the command palette, F3 / Shift+F3 find next / previous,
    and Alt+T cycles themes.
  • Persistent undo: fast-text-core serialises up to 200 transactions per
    absolute path into the cache directory (FNV-1a keyed) and writes them
    atomically, so undo survives a restart. Document also gained snapshot,
    restore, mark_dirty, replace_range and multi-cursor support.
  • Nested split panes: ft -O file1 file2 (or --split) opens files as
    panes instead of tabs. PaneLayout is a binary tree over editor indices;
    the palette offers Split pane right/down, Focus next/previous and Close
    pane
    , with Ctrl + arrows moving focus when more than one pane exists.
  • Script hooks and a richer bridge: on_buffer_open() and
    on_buffer_save() run for all loaded scripts, with recursion guards.
    EditorAction::SetStatus, set_status() and clear_status() let a script
    own the right-hand status line; transient messages still take precedence.
    The palette can restore the default status line.
  • Plugin registry: an embedded index of 26 entries, user overrides in
    ~/.config/fast-text/registry.json, and ft plugin list|search|install|remove|help
    plus the ft install NAME... [--force] shorthand. Bundled plugins install
    offline; only non-bundled entries fetch their source.
  • Vim layer (TUI): Alt+V or [editor] vim = true toggles Normal, Insert,
    Visual and Visual-line modes with motions, d/y/c operators, v/V
    selections and a status-line mode label. A bare : in Normal mode, or
    Alt+: from anywhere, opens a : command bar with :w, :q, :q!, :wq,
    :e, :theme, :set, :help and :ls.
  • True mouse editing (TUI): click to place the caret, drag or Shift-click
    to select, and scroll with the wheel; free scrolling is independent of the
    caret.
  • Inline floating diagnostics: when enabled (default), LSP messages appear
    on a row under each affected line as ↳ severity: message. :set diagnostics
    / :set nodiagnostics toggles them at runtime.
  • LSP install consent: missing-server hints for Rust, JavaScript,
    TypeScript, Python, Shell, Go and Ruby appear in a dialog with the exact
    package-manager command and documentation link. Nothing is spawned until the
    user accepts; declines and failures are remembered, and Retry language
    server
    re-probes PATH.
  • Eight new first-party TextWrite scripts, bringing the catalog to 26:
    Smart brackets (brackets.tw), Markdown preview
    (markdown_preview.tw), Status formats (status_line.tw), Linked TOC
    (toc.tw), Brace formatter (brace_format.tw), SQL casing
    (sql_case.tw), Markdown tables (markdown_tables.tw) and Log
    summary
    (log_summary.tw). Each ships with behavior tests and a registry
    entry.
  • docs/scripting.md: a dedicated guide to the ScriptHost bridge —
    context globals, queued actions, selected_text and selection replacement,
    every host function, commands/keys/hooks, themes, the status line, error
    channels, imports, automations and language gotchas.
  • Showcase GIFs in assets/ generated locally, plus a reworked README with
    a workspace tree, current key table, config sample, registry CLI examples and
    frontend design notes.

Changed

  • The catalog is written entirely in TextWrite and all 26 plugins load together
    in one interpreter; each has a unique prefix to avoid top-level name clashes.
    The plugin-catalog README lists every script.
  • Workspace dependencies declare fast-text-plugin without Rhai by default;
    the TUI, GUI and fast-text-textwrite crates opt into the rhai feature so
    the WASM build no longer pulls in Rhai.
  • CI continues to enforce cargo fmt --check and strict clippy, and runs an
    explicit crate test list that excludes fast-text-wasm; tests never touch the
    network or spawn processes. Release archives are version-less
    fast-text-<target>.tar.gz (.zip on Windows) for five standard triples.

Fixed

  • Ctrl + arrows no longer override word motion in a single-pane layout; they
    only move pane focus when a split is present.
  • The help overlay and welcome buffer now distinguish Ctrl+P (fuzzy file
    finder) from Ctrl+Shift+P (command palette), and document the : command
    bar and Vim toggle.
  • Closing a pane collapses its split and restores a single buffer cleanly;
    removing a leaf from a layout shifts later editor indices.

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 23 Oct 16:13

Added

  • Terminal panel (TUI): Alt+C now opens a real working terminal prompt.
    It keeps a working directory with a Kali-style two-line prompt,
    ┌──(user㉿host)-[~/dir] / └─$, so cd persists: every command starts in
    the directory the previous one ended in, and the prompt follows along. ↑/↓
    walk the command history, Ctrl+W deletes a word, Ctrl+U clears the line,
    Ctrl+L clears the scrollback, and the terminal cursor sits at the end of the
    input. Each command still runs with sh -c (variables and aliases do not
    persist); output stays text-only and is capped at 1000 lines. If the tracked
    directory disappears, the panel falls back to $HOME and says so.
  • Six new catalog plugins, written in TextWrite, bringing the catalog to
    eighteen: Box drawing (boxes.tw, single/rounded/double/heavy frames),
    Align (align.tw, line up on =, :, => or |), Ciphers
    (cipher.tw, ROT13 and Atbash), TODO report (todo_report.tw, grouped
    markers with line numbers), Wrap (wrap.tw, reflow to 72/80 columns or
    unwrap paragraphs) and Path tools (path_tools.tw, separators, base
    names, directories, quoting).
  • Console tests for prompt shortening, the shell's cwd sentinel, history
    navigation, the Ctrl+W/Ctrl+U/Ctrl+L shortcuts and prompt rendering,
    plus behavior tests for every new catalog plugin (ROT13 output, box padding,
    alignment, wrapping, TODO line numbers and path handling).
  • Termux/Android support in install.sh: it detects Termux and builds from
    source instead of downloading a glibc Linux archive, which installs but
    cannot execute on Android's bionic libc. The installer also falls back to
    ~/.cache when /tmp does not exist, as on Android. CI covers both paths.

Changed

  • The Alt+C panel is now titled Terminal (help text, README and welcome
    buffer updated); its scrollback is rendered without soft wrapping so the
    prompt always stays on the last two rows.

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 20 Oct 13:33

Added

  • Top bar (TUI): a nano-style bar across the top of the window showing
    fast-text v<version> in the accent colour, so the running build is always
    visible.
  • Console panel (TUI): Alt+C toggles a VS Code-style console at the
    bottom of the window. Type any command and press Enter to run it with
    sh -c; stdout, stderr and a non-zero exit code are captured under the
    prompt and up to 1000 lines are kept. Esc or Alt+C closes it; the panel
    takes keys from the editor only while it is open, and every modal (update
    dialog, help, plugin manager, picker, prompt) still outranks it.
    (The old Alt+C toggle comment binding moved — commenting stays on
    Ctrl+/.)
  • New file / new folder in the explorer (TUI): with the folder explorer
    open, n starts an inline prompt for a new file and N for a new
    folder
    next to the highlighted row. Names must be a single path component
    (no /, no ./..), existing names are rejected with an error, and a file
    created this way opens immediately. Esc cancels.
  • Six new catalog plugins, written in TextWrite and bundled with the
    editor alongside the first six — the plugin manager's Available tab now
    lists twelve: Comments (comments.tw), CSV tools (csv_tools.tw),
    Markdown extras (markdown_extras.tw), Date converter
    (date_time.tw), Identifier cases (identifier_case.tw) and Word
    frequency
    (word_frequency.tw).
  • Installer CI coverage for the fixes below: git-less/cargo-less dry runs for
    both installers, pinned-version records, GUI retention on pinned updates and
    uninstall cleanup.

Fixed

  • install.sh: Ctrl-C during an install cleaned up the temp directory but
    did not stop the script — the traps now exit (130/143) and leave the
    cleanup to EXIT.
  • install.sh: --dry-run demanded git, cargo and a real checkout before
    reaching its own dry-run guard, so it died on exactly the machines it is for;
    it now prints the whole plan instead.
  • install.sh: a pinned --version vX.Y.Z install whose binary probe failed
    recorded the newest release, so a later --check/--update wrongly said
    "up to date"; it now records the version it installed.
  • install.sh: --uninstall left behind an installed-version file that
    older manifests never listed, plus the emptied share/fast-text directory.
  • install.ps1: -DryRun from a non-checkout actually cloned the repo
    (and required git/cargo); the clone, the tool checks and the checkout
    checks are now skipped under -DryRun.
  • install.ps1: -Update -Version vX.Y.Z silently dropped a previously
    installed GUI app that install.sh kept — it now consults the manifest like
    the shell installer does.
  • install.ps1: -Version could never be seen by Write-VersionFile — the
    local $version = $null wiped the script's $Version parameter (PowerShell
    names are case-insensitive), so pinned installs recorded the wrong version.