diff options
author | nyamatongwe <unknown> | 2010-09-25 18:02:59 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-09-25 18:02:59 +1000 |
commit | 10cf4beef4d7293d6d382fe4b3216da48fa87fa1 (patch) | |
tree | 07d01bea7f3d55860a7b45d500a5901f4d5b63d4 /src/Document.h | |
parent | 16b604e76efd53716623978c94069fd6194c7005 (diff) | |
download | scintilla-mirror-10cf4beef4d7293d6d382fe4b3216da48fa87fa1.tar.gz |
Optimization of line layout by minimizing calls in Editor::LayoutLine and avoiding
case force processing unless at least one style uses a case force option.
Diffstat (limited to 'src/Document.h')
-rw-r--r-- | src/Document.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Document.h b/src/Document.h index d58c5efe5..78f00a766 100644 --- a/src/Document.h +++ b/src/Document.h @@ -278,6 +278,9 @@ public: cb.GetCharRange(buffer, position, lengthRetrieve); } char SCI_METHOD StyleAt(int position) const { return cb.StyleAt(position); } + void GetStyleRange(unsigned char *buffer, int position, int lengthRetrieve) const { + cb.GetStyleRange(buffer, position, lengthRetrieve); + } int GetMark(int line); int AddMark(int line, int markerNum); void AddMarkSet(int line, int valueSet); |