diff options
Diffstat (limited to 'src/tui/text.hh')
| -rw-r--r-- | src/tui/text.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tui/text.hh b/src/tui/text.hh index eb0a2bb..99fd7c9 100644 --- a/src/tui/text.hh +++ b/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 {}; |
