프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Start |
메소드 | 설명 | |
---|---|---|
Equals ( object obj ) : bool |
Compares equality between this object and another TextLocation.
|
|
FromByteOffset ( int offset ) : |
Find the text location for a byte offset. If the offset happens to land in the middle of a multi-byte character, this function will return a text location pointing to the character that begins just prior to the offset. If the offset is before the start of the document (a negative number), then a location pointing to the start of the document will be returned. If the offset is after the end of the document, then a location pointing to the end of the document will be returned. |
|
GetHashCode ( ) : int |
Returns a hash code for this object.
|
|
TextLocation ( |
Copies a text location object.
|
|
TextLocation ( int line, int charPos ) : System.Linq |
Creates a text location object with a specific line and column.
|
|
ToString ( ) : string |
Returns a string representation of this location.
|
|
operator ( ) : |
Moves the text location by a specified number of characters.
|
|
operator ( ) : bool |
Compares inequality between two TextLocation objects.
|
public Equals ( object obj ) : bool | ||
obj | object | The object that will be compared. |
리턴 | bool |
public static FromByteOffset ( int offset ) : |
||
offset | int | The zero-based byte offset to find. |
리턴 |
public TextLocation ( |
||
c | The location to be copied. | |
리턴 | System.Linq |
public TextLocation ( int line, int charPos ) : System.Linq | ||
line | int | The one-based line number. |
charPos | int | The one-based character position. |
리턴 | System.Linq |