diff options
| author | nyamatongwe <unknown> | 2009-05-03 08:45:26 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2009-05-03 08:45:26 +0000 | 
| commit | fcd6000ae9db0766a65cc0ab1b7da2cfa2b2f30f (patch) | |
| tree | d0ba622e6ceb3efaa9cecb5c094e7e84379e1cd4 /src/Editor.h | |
| parent | 3337bd8eeec8eec42e9f6900cc74c7068c07be71 (diff) | |
| download | scintilla-mirror-fcd6000ae9db0766a65cc0ab1b7da2cfa2b2f30f.tar.gz | |
Added CharPositionFromPoint and CharPositionFromPointClose and merged the
implementation for these and PositionFromPoint and PositionFromPointClose
into a single function with flags for the different modes.
Diffstat (limited to 'src/Editor.h')
| -rw-r--r-- | src/Editor.h | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/src/Editor.h b/src/Editor.h index 3b15920ff..d37606d5a 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -260,8 +260,7 @@ protected:	// ScintillaBase subclass needs access to much of Editor  	int MaxScrollPos();  	Point LocationFromPosition(int pos);  	int XFromPosition(int pos); -	int PositionFromLocation(Point pt); -	int PositionFromLocationClose(Point pt); +	int PositionFromLocation(Point pt, bool canReturnInvalid=false, bool charPosition=false);  	int PositionFromLineX(int line, int x);  	int LineFromLocation(Point pt);  	void SetTopLine(int topLineNew); | 
