summaryrefslogtreecommitdiff
path: root/core/surface.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/surface.zig')
-rw-r--r--core/surface.zig4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/surface.zig b/core/surface.zig
index 5b381958..98696721 100644
--- a/core/surface.zig
+++ b/core/surface.zig
@@ -130,9 +130,11 @@ pub const Region = struct {
/// A notice's index in its pane's `notices`.
notice: u8 = 0,
/// A body's view: the first line it shows (a file's scroll, a
- /// terminal's grid offset), and the text it shows (`draw.place`'s doc:
+ /// terminal's grid offset) and which of that line's wrapped rows its
+ /// first row is (File.Top), and the text it shows (`draw.place`'s doc:
/// 0 for a terminal or a picture), which a frontend's glide follows.
line: i32 = 0,
+ row: u32 = 0,
doc: u64 = 0,
/// A body drawn as a strip of pictures (a PDF): how far down the strip
/// it shows, in pixels. Its placements are laid at the whole pixel; a