diff options
author | Neil <nyamatongwe@gmail.com> | 2017-04-07 17:28:01 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2017-04-07 17:28:01 +1000 |
commit | b9b6ef0c4617d99774df4b46c853469ef62cd7c1 (patch) | |
tree | c904443e3d9c224d9dd9d1fbf3ad847d06f73ee0 /src/PositionCache.h | |
parent | 32ae171da032fbdcfc94405877a49e1d3e3b0abb (diff) | |
download | scintilla-mirror-b9b6ef0c4617d99774df4b46c853469ef62cd7c1.tar.gz |
Use same parameter names in declarations and definitions.
Diffstat (limited to 'src/PositionCache.h')
-rw-r--r-- | src/PositionCache.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/PositionCache.h b/src/PositionCache.h index b80edd880..56018c141 100644 --- a/src/PositionCache.h +++ b/src/PositionCache.h @@ -83,7 +83,7 @@ public: void Invalidate(validLevel validity_); int LineStart(int line) const; int LineLastVisible(int line) const; - Range SubLineRange(int line) const; + Range SubLineRange(int subLine) const; bool InLine(int offset, int line) const; void SetLineStart(int line, int start); void SetBracesHighlight(Range rangeLine, const Sci::Position braces[], @@ -134,7 +134,7 @@ public: void Set(unsigned int styleNumber_, const char *s_, unsigned int len_, XYPOSITION *positions_, unsigned int clock_); void Clear(); bool Retrieve(unsigned int styleNumber_, const char *s_, unsigned int len_, XYPOSITION *positions_) const; - static unsigned int Hash(unsigned int styleNumber_, const char *s, unsigned int len); + static unsigned int Hash(unsigned int styleNumber_, const char *s, unsigned int len_); bool NewerThan(const PositionCacheEntry &other) const; void ResetClock(); }; @@ -194,7 +194,7 @@ public: enum { lengthStartSubdivision = 300 }; // Try to make each subdivided run lengthEachSubdivision or shorter. enum { lengthEachSubdivision = 100 }; - BreakFinder(const LineLayout *ll_, const Selection *psel, Range rangeLine_, Sci::Position posLineStart_, + BreakFinder(const LineLayout *ll_, const Selection *psel, Range lineRange_, Sci::Position posLineStart_, int xStart, bool breakForSelection, const Document *pdoc_, const SpecialRepresentations *preprs_, const ViewStyle *pvsDraw); ~BreakFinder(); TextSegment Next(); |