Fixed
- Markdown documents with the same source but different styles no longer share
styled blocks (#1000). The per-window block cache was keyed only on the
source hash, while the cached blocks hold resolved run styles. A second
document with the same source drew with the first one's faces, sizes and
colors, and restyling a document with an unchanged source kept the old blocks.
The key now carries a fingerprint of the fullMarkdownStyle(plus the code
highlighter's identity), so each source-and-style pair parses separately and
identical pairs still share. - Select: hovering an option highlights only that option (#1004). Since
v0.87.0, moving the pointer from one dropdown option to another left the old
option washed beside the new one. Hover moves the keyboard highlight during
arrange, after generation had painted the old one, and the idle-move skip
(#973) meant no later move inside the option rebuilt the frame. The option now
asks for a rebuild when its hover moves the highlight, so the frame on screen
shows one highlighted option. - Windows: right Shift, Ctrl and Alt report the right side (#1007). Win32
key messages name only the generic Shift, Ctrl and Alt keys, and the backend
mapped each to the left side. Right Shift arrived asKeyLeftShift, right
Ctrl asKeyLeftControland right Alt (AltGr) asKeyLeftAlt. The backend
now reads the side from the message's scancode and extended-key bit, so apps
that treat the two sides differently get the key that was pressed, on key-down
and key-up. Two Win32 quirks are handled the way GLFW handles them. With both
Shift keys held, Windows sends no key-up for the first release; both sides are
now released, and a key that is physically up gets its key-up with the next
message. The Win key, whose key-up Windows drops after the Win+V hotkey, gets
the same check. AltGr no longer sends a fake left Ctrl key-down and key-up
ahead of right Alt. Losing focus releases a held Shift or Win key.
What's Changed
Other changes
- fix(gui): select hover highlights only the hovered option (#1004) by @mike-ward in #1008
- fix(gl): Win32 right Shift/Ctrl/Alt report the right side (#1007) by @mike-ward in #1009
- build: make check runs on Windows without Python or long command lines by @mike-ward in #1010
- Fix markdown block cache ignoring MarkdownCfg.Style (#1000) by @mike-ward in #1011
- changelog: add v0.88.2 (markdown cache, select hover, Win32 keys) by @mike-ward in #1012
Full Changelog: v0.88.1...v0.88.2