diff options
author | nyamatongwe <unknown> | 2000-04-10 03:29:08 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-04-10 03:29:08 +0000 |
commit | ff3e9e7e239217ae5247b1519090a5137e056f80 (patch) | |
tree | fb20ac39661cf0f95e9f1f2cf696fd2dcf545d4f /src/Editor.cxx | |
parent | e138c0e643049ff9ac25bbd69eeb4f709c5547e5 (diff) | |
download | scintilla-mirror-ff3e9e7e239217ae5247b1519090a5137e056f80.tar.gz |
Tab size and indent size can now be different.
Indentation can contain either a mixture of tabs and spaces or only spaces.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 677013a00..ef6b4b450 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3365,6 +3365,25 @@ LRESULT Editor::WndProc(UINT iMessage, WPARAM wParam, LPARAM lParam) { InvalidateStyleRedraw(); break; + case SCI_GETTABWIDTH: + return pdoc->tabInChars; + + case SCI_SETINDENT: + pdoc->indentInChars = wParam; + InvalidateStyleRedraw(); + break; + + case SCI_GETINDENT: + return pdoc->indentInChars; + + case SCI_SETUSETABS: + pdoc->useTabs = wParam; + InvalidateStyleRedraw(); + break; + + case SCI_GETUSETABS: + return pdoc->useTabs; + case SCI_SETCODEPAGE: pdoc->dbcsCodePage = wParam; break; |