diff options
author | nyamatongwe <devnull@localhost> | 2009-05-03 08:45:26 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2009-05-03 08:45:26 +0000 |
commit | 7f12d35ec024bca1dea42067678dfd8ead0d1b67 (patch) | |
tree | d0ba622e6ceb3efaa9cecb5c094e7e84379e1cd4 /src/Editor.h | |
parent | 37f710d4eea40efa99d8c1973f69f0fcf3e07aec (diff) | |
download | scintilla-mirror-7f12d35ec024bca1dea42067678dfd8ead0d1b67.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); |