Improved docs for par.line.numbering-scope (#5250)

Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
This commit is contained in:
Andrew Voynov 2024-10-22 16:09:51 +03:00 committed by GitHub
parent 838dabc84c
commit 33b9d1c7db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -380,13 +380,16 @@ impl Construct for ParLine {
/// Possible line numbering scope options, indicating how often the line number /// Possible line numbering scope options, indicating how often the line number
/// counter should be reset. /// counter should be reset.
///
/// Note that, currently, manually resetting the line number counter is not
/// supported.
#[derive(Debug, Cast, Clone, Copy, PartialEq, Eq, Hash)] #[derive(Debug, Cast, Clone, Copy, PartialEq, Eq, Hash)]
pub enum LineNumberingScope { pub enum LineNumberingScope {
/// Indicates the line number counter spans the whole document, that is, /// Indicates that the line number counter spans the whole document, i.e.,
/// is never automatically reset. /// it's never automatically reset.
Document, Document,
/// Indicates the line number counter should be reset at the start of every /// Indicates that the line number counter should be reset at the start of
/// new page. /// every new page.
Page, Page,
} }