Gets dirty state of specified line.
Namespace: Sgry.AzukiAssembly: Azuki (in Azuki.dll) Version: 1.7.13.40248
Syntax
C# |
---|
public LineDirtyState GetLineDirtyState( int lineIndex ) |
Visual Basic |
---|
Public Function GetLineDirtyState ( lineIndex As Integer ) As LineDirtyState |
Parameters
- lineIndex
- Type: System..::..Int32
Index of the line that to get dirty state of.
Return Value
Type: LineDirtyStateDirty state of the specified line.
Remarks
This method gets dirty state of specified line. Dirty state of lines will changed as below.
- If a line was not modified yet, the dirty state of the line is LineDirtyState.Clean.
- If a line was modified, its dirty state will be changed to LineDirtyState.Dirty
- Setting false to Document.IsDirty property will set all states of modified lines to LineDirtyState.Cleaned.
- Calling Document.ClearHistory to reset all states of lines to LineDirtyState.Clean.