From 10cf4beef4d7293d6d382fe4b3216da48fa87fa1 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 25 Sep 2010 18:02:59 +1000 Subject: 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. --- src/Document.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Document.h') 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); -- cgit v1.2.3