diff options
| author | nyamatongwe <devnull@localhost> | 2000-04-10 03:29:08 +0000 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2000-04-10 03:29:08 +0000 | 
| commit | dba48e020c0a68a84f4f5f11d5600bba90598da3 (patch) | |
| tree | fb20ac39661cf0f95e9f1f2cf696fd2dcf545d4f /src/Editor.cxx | |
| parent | 78a323542a138be07f172742fcebce0eaf203a5d (diff) | |
| download | scintilla-mirror-dba48e020c0a68a84f4f5f11d5600bba90598da3.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; | 
