diff options
| author | nyamatongwe <unknown> | 2000-04-11 11:11:00 +0000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2000-04-11 11:11:00 +0000 |
| commit | 9e59273e1a91a77efd675b0f912e5e680ce300a6 (patch) | |
| tree | 564484e386da5487d93f1fd5619d3efc7e9b3436 /src/Document.h | |
| parent | eb61398745e2c57414a4a3a5fd5eae97dccdd277 (diff) | |
| download | scintilla-mirror-9e59273e1a91a77efd675b0f912e5e680ce300a6.tar.gz | |
Added smart indentation support code.
Diffstat (limited to 'src/Document.h')
| -rw-r--r-- | src/Document.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Document.h b/src/Document.h index af449ac73..15f8f1121 100644 --- a/src/Document.h +++ b/src/Document.h @@ -120,6 +120,10 @@ public: void EndUndoAction() { cb.EndUndoAction(); } void SetSavePoint(); bool IsSavePoint() { return cb.IsSavePoint(); } + + int GetLineIndentation(int line); + void SetLineIndentation(int line, int indent); + int GetLineIndentPosition(int line); void Indent(bool forwards, int lineBottom, int lineTop); void ConvertLineEnds(int eolModeSet); void SetReadOnly(bool set) { cb.SetReadOnly(set); } @@ -185,9 +189,6 @@ private: bool IsWordAt(int start, int end); void ModifiedAt(int pos); - int GetLineIndentation(int line); - int GetLineIndentPosition(int line); - void NotifyModifyAttempt(); void NotifySavePoint(bool atSavePoint); void NotifyModified(DocModification mh); |
