diff options
| author | nyamatongwe <unknown> | 2000-06-21 04:39:33 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2000-06-21 04:39:33 +0000 | 
| commit | b6aa84d73f7df6d3fa8dbe46c01aec9d8f307853 (patch) | |
| tree | cc863aeec05c0d357e84909dd2ed3f4b713d539a /src/Editor.cxx | |
| parent | e7729d12b8676528ab5bfecf58d586ac1fbafeb1 (diff) | |
| download | scintilla-mirror-b6aa84d73f7df6d3fa8dbe46c01aec9d8f307853.tar.gz | |
GetLineEndPosition exposed.
Diffstat (limited to 'src/Editor.cxx')
| -rw-r--r-- | src/Editor.cxx | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/src/Editor.cxx b/src/Editor.cxx index 8596eb8f9..e6ddd3874 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3493,7 +3493,7 @@ LRESULT Editor::WndProc(UINT iMessage, WPARAM wParam, LPARAM lParam) {  		return vs.viewIndentationGuides;  	case SCI_SETHIGHLIGHTGUIDE: -		if (highlightGuideColumn != wParam) { +		if ((highlightGuideColumn != static_cast<int>(wParam)) || (wParam > 0)) {  			highlightGuideColumn = wParam;  			Redraw();  		} @@ -3502,6 +3502,9 @@ LRESULT Editor::WndProc(UINT iMessage, WPARAM wParam, LPARAM lParam) {  	case SCI_GETHIGHLIGHTGUIDE:  		return highlightGuideColumn; +	case SCI_GETLINEENDPOSITION: +		return pdoc->LineEnd(wParam); +	  	case SCI_SETCODEPAGE:  		pdoc->dbcsCodePage = wParam;  		break; | 
