diff options
| author | nyamatongwe <unknown> | 2011-05-13 10:27:30 +1000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2011-05-13 10:27:30 +1000 |
| commit | ef61afe500f7ba58b1fcefaa1ab0205ccb66b5c2 (patch) | |
| tree | 1ec46b88ebe5ce2651a1bd1642a5e6cf77c53c02 /src/Document.h | |
| parent | 67e0bd9337d9592fbc1199e3ab6f063ea1e62b45 (diff) | |
| download | scintilla-mirror-ef61afe500f7ba58b1fcefaa1ab0205ccb66b5c2.tar.gz | |
Break measurement of text into reasonable sized segments similar
to drawing. Drawing will now always be broken up at a character
boundary even when there is a large number of alphabetic characters.
Fixes bug #3165743.
Diffstat (limited to 'src/Document.h')
| -rw-r--r-- | src/Document.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Document.h b/src/Document.h index 274aa0baa..7858db727 100644 --- a/src/Document.h +++ b/src/Document.h @@ -275,6 +275,7 @@ public: bool NextCharacter(int &pos, int moveDir); // Returns true if pos changed int SCI_METHOD CodePage() const; bool SCI_METHOD IsDBCSLeadByte(char ch) const; + int SafeSegment(const char *text, int length, int lengthSegment); // Gateways to modifying document void ModifiedAt(int pos); |
