mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-17 00:16:02 +00:00
No behavior change — functionally identical to the shipped inline-texture feature. This captures what a long investigation established and removes the temporary debug instrumentation added during it. Comments (src/text/InlineTexture.cpp): - The tokenizer's `flags & 0x40` gate is load-bearing for RENDER, not just measure: a suppressed editbox delegates to the ORIGINAL emitter, which re-enters the tokenizer to lay out glyphs, so bit 0x40 (EDITABLE) must make the tokenizer stand down or the macro editor draws BLANK instead of raw. - bit 6 (NodeEditable) and the focus global (InputFocused) are COMPLEMENTARY, not redundant: bit 6 catches the un-focused macro editor; the focus global is the only signal for single-line focused inputs (chat box, pfChatCopyBox), whose nodes lack bit 6 (0x0D/0x20D, indistinguishable from display). - Removed the tokenizer call/pipe/span counters and the ZZWIDTH TokCap capture (debug-only), and the now-unused g_lastFocused/g_lastMono stats fields. Docs (docs/InlineTextureEscapes.md): - Editbox exclusion: two complementary signals, and VERIFIED against retail — typing `|T` into a chat box or macro editor shows raw there too; only addon/system text renders. Our editbox-raw + display-renders split matches. - Measure gap: added the focus-time caveat (icon ~0 width unfocused; counts the literal path text while an editbox is focused — the editbox-raw tradeoff). - Vertex-colour tint documented in the descriptor-fields section.