Efficiently remove all characters within a specified range using the Range Delete method. Simplify your text editing tasks effortlessly!... Write ( "Section 2." ); Assert . That ( doc . GetText...EqualTo ( "Section 1. \fSection 2." )); // Remove the first section...
Node.range property. Returns a [Range](../../range/) object that represents the portion of a document that is contained in this node.... write ( "Section 2." ); expect ( doc . getText ()...toEqual ( "Section 1. \fSection 2." ); // Remove the first section...
Node.range property. Returns a [Range](../../range/) object that represents the portion of a document that is contained in this node....'Section 2.' ) self . assertEqual ( 'Section 1. \x0c Section 2.' ,...self . assertEqual ( 'Section 2.' , doc . get_text () . strip...
ParagraphFormat.is_heading property. True when the paragraph style is one of the built-in Heading styles....serve as TOC entries of levels 1, 2, and then 3. builder . paragraph_format...builder . writeln ( 'Heading 1.2' ) builder . paragraph_format...