A simple, high performance text editor.
The caret was drawn unconditionally, so it kept showing in the main edit window while key focus sat in the find bar's search input — reading as if the editor still had focus. drawWrappedText now takes the field's focus state and draws the caret only when the field is focused (editorElem.Focused follows FocusedElementID, which is find_bar while the find bar is open); the caret returns when focus comes back on close. e2e: the editor TextField reports unfocused while the find bar is open and focused again after close. |
||
|---|---|---|
| .qwen | ||
| cmd/pad | ||
| doc | ||
| internal | ||
| scripts | ||
| .DS_Store | ||
| .gitignore | ||
| go.mod | ||
| go.sum | ||