Method | Description | |
---|---|---|
CalculateAbsoluteNodeCoordinates ( |
Calculates a absolute node coordinates
|
|
CalculateAbsoluteNodeCoordinates ( |
Calculates a absolute node coordinates
|
|
CalculateAbsoluteNodeCoordinates ( |
Calculates a absolute node coordinates
|
|
CalculateLineBreakCount ( string sourceCode, int &lineBreakCount, int &charRemainderCount ) : void |
Calculates a line break count
|
|
CalculateLineBreakCount ( string sourceCode, int fragmentStartPosition, int &lineBreakCount, int &charRemainderCount ) : void |
Calculates a line break count
|
|
CalculateLineBreakCount ( string sourceCode, int fragmentStartPosition, int fragmentLength, int &lineBreakCount, int &charRemainderCount ) : void |
Calculates a line break count
|
|
CalculateNodeCoordinates ( string sourceCode, int nodePosition ) : SourceCodeNodeCoordinates |
Calculates a node coordinates
|
|
GetCurrentLine ( string sourceCode, int currentPosition, int &startLinePosition, int &endLinePosition ) : string |
Gets a current line content
|
|
GetSourceFragment ( string sourceCode, SourceCodeNodeCoordinates nodeCoordinates, byte tabSize = DEFAULT_TAB_SIZE, int maxFragmentLength = DEFAULT_MAX_FRAGMENT_LENGTH ) : string |
Gets a source fragment
|
|
GetSourceFragment ( string sourceCode, int nodePosition, byte tabSize = DEFAULT_TAB_SIZE, int maxFragmentLength = DEFAULT_MAX_FRAGMENT_LENGTH ) : string |
Gets a source fragment
|
Method | Description | |
---|---|---|
CalculateCutPositions ( string line, int columnNumber, int maxFragmentLength, int &fragmentStartPosition, int &fragmentLength ) : void |
Calculates a cut positions
|
|
FindNextLineBreak ( string sourceCode, int startPosition, int &lineBreakPosition, int &lineBreakLength ) : void |
Finds a next line break
|
|
FindNextLineBreak ( string sourceCode, int startPosition, int length, int &lineBreakPosition, int &lineBreakLength ) : void |
Finds a next line break
|
|
FindPreviousLineBreak ( string sourceCode, int startPosition, int &lineBreakPosition, int &lineBreakLength ) : void |
Finds a previous line break
|
|
FormatSourceCodeLine ( string line, SourceCodeNodeCoordinates nodeCoordinates, int lineNumberSize, int fragmentStartPosition, int fragmentLength, byte tabSize = 4 ) : string |
Formats a line of source code
|
public static CalculateAbsoluteNodeCoordinates ( |
||
baseNodeCoordinates | Base node coordinates | |
relativeNodeCoordinates | Relative node coordinates | |
return |
public static CalculateAbsoluteNodeCoordinates ( |
||
baseNodeCoordinates | Base node coordinates | |
lineBreakCount | int | Number of line breaks |
charRemainderCount | int | Number of characters left |
return |
public static CalculateAbsoluteNodeCoordinates ( |
||
baseNodeCoordinates | Base node coordinates | |
additionalContent | string | Additional content |
return |
public static CalculateLineBreakCount ( string sourceCode, int &lineBreakCount, int &charRemainderCount ) : void | ||
sourceCode | string | Source code |
lineBreakCount | int | Number of line breaks |
charRemainderCount | int | Number of characters left |
return | void |
public static CalculateLineBreakCount ( string sourceCode, int fragmentStartPosition, int &lineBreakCount, int &charRemainderCount ) : void | ||
sourceCode | string | Source code |
fragmentStartPosition | int | Start position of fragment |
lineBreakCount | int | Number of line breaks |
charRemainderCount | int | Number of characters left |
return | void |
public static CalculateLineBreakCount ( string sourceCode, int fragmentStartPosition, int fragmentLength, int &lineBreakCount, int &charRemainderCount ) : void | ||
sourceCode | string | Source code |
fragmentStartPosition | int | Start position of fragment |
fragmentLength | int | Length of fragment |
lineBreakCount | int | Number of line breaks |
charRemainderCount | int | Number of characters left |
return | void |
public static CalculateNodeCoordinates ( string sourceCode, int nodePosition ) : SourceCodeNodeCoordinates | ||
sourceCode | string | Source code |
nodePosition | int | Current node position |
return | SourceCodeNodeCoordinates |
public static GetCurrentLine ( string sourceCode, int currentPosition, int &startLinePosition, int &endLinePosition ) : string | ||
sourceCode | string | Source code |
currentPosition | int | Current position |
startLinePosition | int | Start position of line |
endLinePosition | int | End position of line |
return | string |
public static GetSourceFragment ( string sourceCode, SourceCodeNodeCoordinates nodeCoordinates, byte tabSize = DEFAULT_TAB_SIZE, int maxFragmentLength = DEFAULT_MAX_FRAGMENT_LENGTH ) : string | ||
sourceCode | string | Source code |
nodeCoordinates | SourceCodeNodeCoordinates | Node coordinates |
tabSize | byte | Number of spaces in the tab |
maxFragmentLength | int | Maximum length of the source fragment |
return | string |
public static GetSourceFragment ( string sourceCode, int nodePosition, byte tabSize = DEFAULT_TAB_SIZE, int maxFragmentLength = DEFAULT_MAX_FRAGMENT_LENGTH ) : string | ||
sourceCode | string | Source code |
nodePosition | int | Current node position |
tabSize | byte | Number of spaces in the tab |
maxFragmentLength | int | Maximum length of the source fragment |
return | string |