Add TestFrontend documentation and UndoSystem buffer reference update.

- Document `TestFrontend` for programmatic testing, including examples and usage details.
- Add `UpdateBufferReference` to `UndoSystem` to support updating buffer associations.
This commit is contained in:
2025-11-30 02:56:39 -08:00
parent 91bc986e51
commit 8c8e4e59a4
21 changed files with 5889 additions and 2531 deletions

View File

@@ -65,7 +65,10 @@ GUIFrontend::Init(Editor &ed)
height_ = h;
// Initialize GUI font from embedded default
LoadGuiFont_(nullptr, 16.f);
#ifndef KTE_FONT_SIZE
#define KTE_FONT_SIZE 16.0f
#endif
LoadGuiFont_(nullptr, (float) KTE_FONT_SIZE);
return true;
}