From 3e9f42661ed19464f1a33c279b315dae8d1e6e83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laurenz=20M=C3=A4dje?= Date: Sun, 2 Jun 2019 18:58:37 +0200 Subject: =?UTF-8?q?Move=20to=20top-left=20default=20positioning=20?= =?UTF-8?q?=F0=9F=93=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/doc.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/doc.rs') diff --git a/src/doc.rs b/src/doc.rs index a7d44897..304b4936 100644 --- a/src/doc.rs +++ b/src/doc.rs @@ -27,6 +27,8 @@ pub struct Page { /// A text layouting action. #[derive(Debug, Clone)] pub enum TextAction { + /// Move to an absolute position. + MoveAbsolute(Position), /// Move from the _start_ of the current line by an (x, y) offset. MoveNewline(Position), /// Write text starting at the current position. -- cgit v1.2.3