메소드 | 설명 | |
---|---|---|
AddCustomLine ( int lineNr, Color customColor, bool readOnly ) : void |
Set Custom Line at the line lineNr |
|
AddCustomLine ( int startLineNr, int endLineNr, Color customColor, bool readOnly ) : void |
Add Custom Lines from the line startLineNr to the line endLineNr |
|
Clear ( ) : void | Clears all custom lines | |
CustomLineManager ( ILineManager lineTracker ) : System |
Creates a new instance of CustomLineManager
|
|
GetCustomColor ( int lineNr, Color defaultColor ) : Color |
Returns the Color if the line lineNr has custom bg color otherwise returns defaultColor |
|
IsReadOnly ( ISelection selection, bool defaultReadOnly ) : bool |
Returns true if selection is read only |
|
IsReadOnly ( int lineNr, bool defaultReadOnly ) : bool |
Returns the ReadOnly if the line lineNr is custom otherwise returns default |
|
RemoveCustomLine ( int lineNr ) : void |
Remove Custom Line at the line lineNr |
메소드 | 설명 | |
---|---|---|
MoveIndices ( object sender, |
This method moves all indices from index upward count lines (useful for deletion/insertion of text)
|
|
OnBeforeChanged ( ) : void | ||
OnChanged ( ) : void |
public AddCustomLine ( int lineNr, Color customColor, bool readOnly ) : void | ||
lineNr | int | |
customColor | Color | |
readOnly | bool | |
리턴 | void |
public AddCustomLine ( int startLineNr, int endLineNr, Color customColor, bool readOnly ) : void | ||
startLineNr | int | |
endLineNr | int | |
customColor | Color | |
readOnly | bool | |
리턴 | void |
public CustomLineManager ( ILineManager lineTracker ) : System | ||
lineTracker | ILineManager | |
리턴 | System |
public GetCustomColor ( int lineNr, Color defaultColor ) : Color | ||
lineNr | int | |
defaultColor | Color | |
리턴 | Color |
public IsReadOnly ( ISelection selection, bool defaultReadOnly ) : bool | ||
selection | ISelection | |
defaultReadOnly | bool | |
리턴 | bool |
public IsReadOnly ( int lineNr, bool defaultReadOnly ) : bool | ||
lineNr | int | |
defaultReadOnly | bool | |
리턴 | bool |