aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-04-11 11:11:00 +0000
committernyamatongwe <unknown>2000-04-11 11:11:00 +0000
commit9e59273e1a91a77efd675b0f912e5e680ce300a6 (patch)
tree564484e386da5487d93f1fd5619d3efc7e9b3436 /src/Editor.cxx
parenteb61398745e2c57414a4a3a5fd5eae97dccdd277 (diff)
downloadscintilla-mirror-9e59273e1a91a77efd675b0f912e5e680ce300a6.tar.gz
Added smart indentation support code.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index ef6b4b450..a4ac0be17 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -3384,6 +3384,16 @@ LRESULT Editor::WndProc(UINT iMessage, WPARAM wParam, LPARAM lParam) {
case SCI_GETUSETABS:
return pdoc->useTabs;
+ case SCI_SETLINEINDENTATION:
+ pdoc->SetLineIndentation(wParam, lParam);
+ break;
+
+ case SCI_GETLINEINDENTATION:
+ return pdoc->GetLineIndentation(wParam);
+
+ case SCI_GETLINEINDENTPOSITION:
+ return pdoc->GetLineIndentPosition(wParam);
+
case SCI_SETCODEPAGE:
pdoc->dbcsCodePage = wParam;
break;