mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #941] Bug in TextView demo: no highlighted regions in view #688
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#688
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ok-go on GitHub (Jan 19, 2024).
Original GitHub issue: https://github.com/rivo/tview/issues/941
First case:
Run demo -> Press Enter.
Expected: first region highlighted.
Actual: nothing happens
Second case:
Run demo -> Click on to first region -> First region highlighted -> Press Tab
Expected: jump to next region
Actual: highlights disappeared
Bug is reproduced in both cases when text fits into the view and doesn't.
Fix in demo: remove ScrollToHighlight call or disable scrolling on TextView
tview version:
742cf08619macOS: 14.1.1
app: iTerm2
@rivo commented on GitHub (Jan 20, 2024):
Thanks for notifying me of this. I made a mistake in a commit yesterday. This should be fixed now.