mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #1028] Feature request: get TextView line count from buffer, with wrapping #746
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#746
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 @Retropaint on GitHub (Sep 29, 2024).
Original GitHub issue: https://github.com/rivo/tview/issues/1028
This is a successor to #648, which added a func to retrieve line count from buffer but without wrapping implied. I would like to have the option to imply wrapping as well, as currently our only option is a custom func to get the line count ourselves.
@rivo commented on GitHub (Nov 3, 2024):
The latest commit adds
GetWrappedLineCount()toTextView.