-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Summary
Make the TextView region Tab/Backtab navigation configurable. Currently builder/properties.go hardcodes a cycle of 3 regions; the presentation demo uses 9 regions. The count should be configurable or derived from the region tags in the text.
Background
Discovered while planning a tview presentation demo implementation via tviewyaml. The TextView2 slide uses 9 regions (["0"] through ["8"]); Tab/Backtab should cycle through all of them.
Demo Usage
Tab/Backtab in builder/properties.go hardcoded to 3; demo uses 9.
Proposed Approach
- Add
regionCount: Nto TextView config; if unset, derive from region tags in text (parse["X"]and take max+1) - Or: always derive dynamically from
GetHighlightsand available region IDs at runtime - Update
applyTextViewPropertiesregion navigation logic to use configurable count
Relevant Files
config/types.go– addregionCount(optional)builder/properties.go–applyTextViewPropertiesregion handlerdocs/tview-coverage.md– document once implemented
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels