summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/typst/src/model/par.rs11
1 files changed, 7 insertions, 4 deletions
diff --git a/crates/typst/src/model/par.rs b/crates/typst/src/model/par.rs
index 32fc926f..15bad61f 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,
}