diff options
Diffstat (limited to 'src/PositionCache.h')
| -rw-r--r-- | src/PositionCache.h | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/src/PositionCache.h b/src/PositionCache.h index 05005e9ac..c81740ee3 100644 --- a/src/PositionCache.h +++ b/src/PositionCache.h @@ -148,8 +148,7 @@ struct TextSegment {  // Class to break a line of text into shorter runs at sensible places.  class BreakFinder {  	const LineLayout *ll; -	int lineStart; -	int lineEnd; +	Range lineRange;  	int posLineStart;  	int nextBreak;  	std::vector<int> selAndEdge; @@ -168,7 +167,7 @@ public:  	enum { lengthStartSubdivision = 300 };  	// Try to make each subdivided run lengthEachSubdivision or shorter.  	enum { lengthEachSubdivision = 100 }; -	BreakFinder(const LineLayout *ll_, const Selection *psel, int lineStart_, int lineEnd_, int posLineStart_, +	BreakFinder(const LineLayout *ll_, const Selection *psel, Range rangeLine_, int posLineStart_,  		int xStart, bool breakForSelection, const Document *pdoc_, const SpecialRepresentations *preprs_);  	~BreakFinder();  	TextSegment Next(); | 
