diff options
| author | nyamatongwe <devnull@localhost> | 2000-04-11 11:11:00 +0000 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2000-04-11 11:11:00 +0000 | 
| commit | 1435a1726aa20fdf07da2132e1e0f8f023120dcc (patch) | |
| tree | 564484e386da5487d93f1fd5619d3efc7e9b3436 /src/Editor.cxx | |
| parent | b9acd7e4a1277833de0559cf92baad5957018b10 (diff) | |
| download | scintilla-mirror-1435a1726aa20fdf07da2132e1e0f8f023120dcc.tar.gz | |
Added smart indentation support code.
Diffstat (limited to 'src/Editor.cxx')
| -rw-r--r-- | src/Editor.cxx | 10 | 
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; | 
