Repository navigation
Hint key assignment, hint label choice and activation meaning are declared here - #28
Merged
Merged
Conversation
…lared here HintKeyAssignment is the fork's HintSession alphabet and fixed-width key assignment, verbatim. HintLabelStyle says which part of a key a label shows and how much of it is typed; Textual renders that on its Content. PrimaryEffect and ContextEffect say what activating a control runs; Textual keeps finding the click target. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016gZLdupVQyBzHTmHBC9Cyn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The toolkit-free decisions behind click hints and activation move out of the Textual fork.
hint_keys.HintKeyAssignment: the alphabet and fixed-width key assignment fromwidgets/_hints.py:114-135, verbatim; Textual's HintSession inherits it.hint_keys.HintLabelStyle, NextLetterHints, FullKeyHints: which part of a hint's key its label shows and how many characters are already typed (shown). Textual'shint_labels.pyis deleted; HintLabel.caption renders the answer on Content. Toad's saved choice is stored by its declared name (full_key), so nothing carries.activation.PrimaryEffect,ContextEffect: what activating a control runs. Textual's PrimaryActivation and ContextActivation inherit them and keep finding the click target.Checks: toolkit guard passes; bindings dump identical; Textual hint tests 16 passed; Toad hint/activation tests pass except test_hints_reach_search_editor_disclosures_and_message_filters, which fails the same way on clean main.
🤖 Generated with Claude Code
https://claude.ai/code/session_016gZLdupVQyBzHTmHBC9Cyn