| LineNumberTracker Properties |
The LineNumberTracker type exposes the following members.
| Name | Description | |
|---|---|---|
| LastCharacterWasCR |
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.
| |
| Line |
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.
| |
| LineBeforeIncrement |
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.
| |
| Offset |
1-based index that expresses the number of line break characters that
have passed through the tag and text content of this processor.
| |
| OffsetBeforeIncrement |
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.
|