Commit Graph
3 Commits
Author SHA1 Message Date
kyleandClaude Opus 5.5 bcefbc978f kge: : font sticks; one font per frame from the focused window
`: font NAME` was reverted on the next frame because the per-window
chooser re-applied the config's code/writing font, and with two windows
in different modes the font flipped every frame.

Fonts per edit mode now live on the primary Editor (EditorFonts),
shared with secondary windows like the buffer list. `: font` sets the
font for the current buffer's mode, and the frontend picks one font per
frame from the window with keyboard focus.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 11:36:38 -08:00
kyleandClaude Opus 5.5 6dcfaa93ef Documentation scrub
README now covers fetching, building, installing and using kte/kge.
The man pages are rewritten against KKeymap.cc and the command
registry: missing bindings and prompt commands, +N, kte --gui exiting
with status 2, real FILES, the theme list, and a full kge.toml
reference including the [font] keys. CONFIG.md, themes.md, swap.md,
syntax.md, the developer guide and the in-editor help are corrected
where they had drifted from the code. ke.md is labelled as the
predecessor's manual.

: font is left out of the docs: the per-frame edit-mode font switch
in ImGuiFrontend.cc reloads the configured font right after it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 15:02:51 -08:00
kyleandClaude Opus 4.6 23f04e4357 Add proportional fonts, edit modes, and TOML config
- Add three proportional serif fonts: Crimson Pro, ET Book, Spectral
- Fix text rendering for variable-width fonts: selection, cursor,
  mouse click mapping, search highlights, and syntax-colored text
  now use pixel-accurate measurement via ImGui::CalcTextSize()
- Add per-buffer edit mode (code/writing) with auto-detection from
  file extension (.txt, .md, .rst, .org, .tex default to writing)
- Add C-k m keybinding and :mode command to toggle edit modes
- Switch config format from INI to TOML (kge.toml), with legacy
  INI fallback; vendor toml++ v3.4.0
- New config keys: font.code and font.writing for per-mode defaults
- Add font tab completion for ImGui builds
- Add tab completion for :mode command
- Update help text, themes.md, and add CONFIG.md
- Bump version to 1.10.0

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 23:05:56 -07:00