aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PositionCache.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-07-08 16:35:34 +1000
committerNeil <nyamatongwe@gmail.com>2014-07-08 16:35:34 +1000
commit1e8908c6d5fd998e9d8a9408a6b86ef4a2ff64e8 (patch)
tree71c71ca48b7324b12ace12b9feecbe15a1f1feae /src/PositionCache.h
parente34a993a93ef59b13eb32b6fd5b53d8e95b75f0e (diff)
downloadscintilla-mirror-1e8908c6d5fd998e9d8a9408a6b86ef4a2ff64e8.tar.gz
Split parts of Editor class off into EditModel, MarginView, and EditView classes.
Diffstat (limited to 'src/PositionCache.h')
-rw-r--r--src/PositionCache.h5
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();