From dba48e020c0a68a84f4f5f11d5600bba90598da3 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 10 Apr 2000 03:29:08 +0000 Subject: Tab size and indent size can now be different. Indentation can contain either a mixture of tabs and spaces or only spaces. --- src/Editor.cxx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/Editor.cxx') 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; -- cgit v1.2.3