diff options
author | nyamatongwe <devnull@localhost> | 2011-05-21 16:12:28 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-05-21 16:12:28 +1000 |
commit | c360665cfde8b83dbfb4d11a09881f53d5233da2 (patch) | |
tree | 396f21f9026f3bb6f35c457750a8c22732dc5fc5 /src/PositionCache.h | |
parent | 266da35b8a6f77ecac222adac04a51844721e3d7 (diff) | |
download | scintilla-mirror-c360665cfde8b83dbfb4d11a09881f53d5233da2.tar.gz |
Type safety.
Diffstat (limited to 'src/PositionCache.h')
-rw-r--r-- | src/PositionCache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PositionCache.h b/src/PositionCache.h index 8bd4f1b43..6abec6e7e 100644 --- a/src/PositionCache.h +++ b/src/PositionCache.h @@ -136,7 +136,7 @@ public: enum { lengthStartSubdivision = 300 }; // Try to make each subdivided run lengthEachSubdivision or shorter. enum { lengthEachSubdivision = 100 }; - BreakFinder(LineLayout *ll_, int lineStart_, int lineEnd_, int posLineStart_, + BreakFinder(LineLayout *ll_, int lineStart_, int lineEnd_, int posLineStart_, int xStart, bool breakForSelection, Document *pdoc_); ~BreakFinder(); int First() const; @@ -153,7 +153,7 @@ public: ~PositionCache(); void Clear(); void SetSize(size_t size_); - int GetSize() const { return size; } + size_t GetSize() const { return size; } void MeasureWidths(Surface *surface, ViewStyle &vstyle, unsigned int styleNumber, const char *s, unsigned int len, int *positions, Document *pdoc); }; |