aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2007-06-02 05:52:09 +0000
committernyamatongwe <devnull@localhost>2007-06-02 05:52:09 +0000
commit79fb708b3ceb2c54baf061f4081e2fa2d87d7244 (patch)
treed4d1c49653b0e4f03f4df4e640e1bff5b2cba7e9
parent54ff7790908e2b31f976ba74ca353bc4507ea70d (diff)
downloadscintilla-mirror-79fb708b3ceb2c54baf061f4081e2fa2d87d7244.tar.gz
Increased segmentation parameters to more reasonable values.
-rw-r--r--src/PositionCache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PositionCache.h b/src/PositionCache.h
index fc261fbbc..b69956d2b 100644
--- a/src/PositionCache.h
+++ b/src/PositionCache.h
@@ -112,9 +112,9 @@ public:
class BreakFinder {
// If a whole run is longer than lengthStartSubdivision then subdivide
// into smaller runs at spaces or punctuation.
- enum { lengthStartSubdivision = 10 };
+ enum { lengthStartSubdivision = 300 };
// Try to make each subdivided run lengthEachSubdivision or shorter.
- enum { lengthEachSubdivision = 5 };
+ enum { lengthEachSubdivision = 100 };
LineLayout *ll;
int lineStart;
int lineEnd;