Enhanced C#
Language of your choice: library documentation
|
Represents a text file with a file name and its textual content, plus the data necessary to convert between line-column positions and 0-based integer indexes. More...
Represents a text file with a file name and its textual content, plus the data necessary to convert between line-column positions and 0-based integer indexes.
Properties | |
ICharSource | Text [get] |
string | FileName [get] |
Additional Inherited Members | |
Public Member Functions inherited from Loyc.Syntax.IIndexPositionMapper | |
int | LineToIndex (int lineNo) |
Returns the index in a source file of the beginning of the specified line, where the first line is number 1, not 0. More... | |
int | LineToIndex (LineAndCol pos) |
Public Member Functions inherited from Loyc.Syntax.IIndexToLine | |
SourcePos | IndexToLine (int index) |
Returns the position in a source file of the specified index. More... | |