Click or drag to resize
LineNumberTracker Properties

The LineNumberTracker type exposes the following members.

Properties
  NameDescription
Public propertyLastCharacterWasCR
If true, the last processed character was a CR (0x0d). This flag is used to determine whether an LF character (0x0a) should increment the line count or not, since CR + LF is counted as a single line break character.
Public propertyLine
1-based value that expresses the number of characters that have passed through the tag and text content of this processor since the last line break.
Protected propertyLineBeforeIncrement
Accessor to the field holding the value that is set to the current line number before it is incremented in the IncrementLineAndOffsetNumbers(String) implementation. Implementations that override that method without calling the base class may need to set this property. The value is used in the implementation of GetLocationBeforeCurrentContent.
Public propertyOffset
1-based index that expresses the number of line break characters that have passed through the tag and text content of this processor.
Protected propertyOffsetBeforeIncrement
Accessor to the field holding the value that is set to the current offset number before it is incremented in the IncrementLineAndOffsetNumbers(String) implementation. Implementations that override that method without calling the base class may need to set this property. The value is used in the implementation of GetLocationBeforeCurrentContent.
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments