From 33b9d1c7db460e0ecb24762c08a8d3a085ba4e63 Mon Sep 17 00:00:00 2001 From: Andrew Voynov <37143421+Andrew15-5@users.noreply.github.com> Date: Tue, 22 Oct 2024 16:09:51 +0300 Subject: [PATCH] Improved docs for `par.line.numbering-scope` (#5250) Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com> --- crates/typst/src/model/par.rs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/crates/typst/src/model/par.rs b/crates/typst/src/model/par.rs index 32fc926fd..15bad61f0 100644 --- a/crates/typst/src/model/par.rs +++ b/crates/typst/src/model/par.rs @@ -380,13 +380,16 @@ impl Construct for ParLine { /// Possible line numbering scope options, indicating how often the line number /// counter should be reset. +/// +/// Note that, currently, manually resetting the line number counter is not +/// supported. #[derive(Debug, Cast, Clone, Copy, PartialEq, Eq, Hash)] pub enum LineNumberingScope { - /// Indicates the line number counter spans the whole document, that is, - /// is never automatically reset. + /// Indicates that the line number counter spans the whole document, i.e., + /// it's never automatically reset. Document, - /// Indicates the line number counter should be reset at the start of every - /// new page. + /// Indicates that the line number counter should be reset at the start of + /// every new page. Page, }