aboutsummaryrefslogtreecommitdiff
path: root/ricochet/src/tui/text.hh
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-10-26 23:25:13 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-10-26 23:25:13 +0800
commitbdefdb301db843e87aee8c6c35808d295bb66ee5 (patch)
tree7a1658ca487b8eabe9517d4cfd8ace6d5b499f85 /ricochet/src/tui/text.hh
parente138e537bfb18a48391a973723940eec544dd8e1 (diff)
downloadrcc-project-bdefdb301db843e87aee8c6c35808d295bb66ee5.tar.gz
rcc-project-bdefdb301db843e87aee8c6c35808d295bb66ee5.tar.xz
feat(tui): integrate address input and navigation requests
Diffstat (limited to 'ricochet/src/tui/text.hh')
-rw-r--r--ricochet/src/tui/text.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/ricochet/src/tui/text.hh b/ricochet/src/tui/text.hh
index eb0a2bb..99fd7c9 100644
--- a/ricochet/src/tui/text.hh
+++ b/ricochet/src/tui/text.hh
@@ -57,6 +57,8 @@ struct Grapheme
struct TextAnalysis
{
std::vector<Grapheme> graphemes {};
+ // All codepoints, including combining marks; an empty input is whitespace-only.
+ bool whitespace_only { true };
// Vim-style reading units: letters/numbers/underscore, punctuation runs,
// individual ideographs. Whitespace is excluded; offsets remain UTF-8 bytes.
std::vector<ByteRange> words {};