summaryrefslogtreecommitdiff
path: root/src/doc.rs
diff options
context:
space:
mode:
authorLaurenz Mädje <laurmaedje@gmail.com>2019-06-02 18:58:37 +0200
committerLaurenz Mädje <laurmaedje@gmail.com>2019-06-02 19:15:45 +0200
commit3e9f42661ed19464f1a33c279b315dae8d1e6e83 (patch)
treec45356f99080a8ba451a88ecd1eb7bf4b53889d6 /src/doc.rs
parent221934df4b586250b0063282ef8885c475dec7a7 (diff)
Move to top-left default positioning 📐
Diffstat (limited to 'src/doc.rs')
-rw-r--r--src/doc.rs2
1 files changed, 2 insertions, 0 deletions
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.