diff options
| author | nyamatongwe <devnull@localhost> | 2000-06-21 04:39:33 +0000 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2000-06-21 04:39:33 +0000 | 
| commit | 7b0e16f00f59aeec2d38fd71d5279e7bd6f1a3b5 (patch) | |
| tree | cc863aeec05c0d357e84909dd2ed3f4b713d539a /src/Editor.cxx | |
| parent | 6d3878dca546f21822b087d70bea23db9437c0a9 (diff) | |
| download | scintilla-mirror-7b0e16f00f59aeec2d38fd71d5279e7bd6f1a3b5.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; | 
