diff options
author | nyamatongwe <devnull@localhost> | 2010-09-25 18:02:59 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-09-25 18:02:59 +1000 |
commit | 37d3d30561e4bb5740aac4977a8191a7bb29959a (patch) | |
tree | a2bfaf25a52ce4c3061f4eb1c409ef8cb57df6ef /src/Document.h | |
parent | 18dd7b2eaa6d7228328a6a5dbac3306305841ad6 (diff) | |
download | scintilla-mirror-37d3d30561e4bb5740aac4977a8191a7bb29959a.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); |