diff options
author | nyamatongwe <unknown> | 2011-05-21 16:12:28 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-05-21 16:12:28 +1000 |
commit | e7c1c265802e5867c0c79ab31fecf05de99ba363 (patch) | |
tree | 8929319a392bd9d4d29b8137da7261d9bff11290 /src/PositionCache.h | |
parent | f1688f8e3c52c3ccd5a7039814d6fdfe6f2b4afd (diff) | |
download | scintilla-mirror-e7c1c265802e5867c0c79ab31fecf05de99ba363.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); }; |