Text editing guides

Leave room between numbered steps in a maintenance checklist

·

A maintenance team needs labels it can quote over the radio. The list may gain steps after the first review, and a blank separator already splits two jobs. Use fixed-width numbers with gaps so the team can insert a label without renumbering the entire checklist.

Add Line Numbers

Number the three maintenance steps

Select Load example. The source contains Check fuse, an empty line, Test motor and أغلق الغطاء. Set Starting number to 8, Increment to 2 and Minimum digits to 3. Leave the separator as a period followed by a space.

Enable Skip blank lines without advancing the count and select Number lines. Expect 008. Check fuse, one blank line, 010. Test motor and 012. أغلق الغطاء. The status reports three of four lines numbered. You can add a future step under 009 without changing 010 or 012.

Match counts with the source document when needed

Clear the skip option and run the same input again. The separator line gets 010, Test motor gets 012, and the Arabic line gets 014. Use this setting when each physical line must have a label, for example when discussing changes in a review.

A long line that wraps in the browser still gets one number. The program reads line terminators in the text rather than measuring the editor width.

Check the file before sharing the labels

Set the blank-line option for your workflow and download numbered-lines.txt. Check the numbering in an editor set to UTF-8. The Arabic instruction remains in its original logical character order, even if the editor displays that line right to left.

Open the original through the file input to carry its stored CRLF, LF or CR line endings through the result. Editing the text in the browser can normalize newlines.

WHATWG HTML: textarea value and newline behavior

Common questions

Does the final newline get its own label?

A terminator ends the last line. It does not create an extra numbered line by itself.

What happens when a number exceeds the minimum width?

It grows to its full width. For a minimum of three digits, 9 becomes 009 and 1000 stays 1000.

Sources

Put it into practice.

Related guides