Stage 5c · Game loop and Options / 30 October 2026
Edit boxes and typing
Goal: give edit boxes the keyboard focus, typing, the editing keys, a highlight and a cursor, following the script order measured in game. Outcome: Blizzard's InputBoxTemplate and SearchBoxTemplate work, and all nine probe cases match.
What these pictures can't show
- The edit box work was committed two minutes after the picture (3c96cc8), so the build shown is the commit before it.
- A still picture cannot show typing or the blinking cursor.
- In the live window the highlight was missing at first (issue 12): the probe addon, loaded as one of the player's addons, took the focus at login. The sample now sets its focus a second after login.
The edit box sample
The stage 5c sample in the OAP window style: 'Hello world' in the Name box with 'world' highlighted, the Search box showing its grey instructions until something is typed, and the line 'Enter copies the name here.'
Runner (no window) · Captured during the work · · 1280 × 800