aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/DocumentAccessor.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2007-04-07 00:57:03 +0000
committernyamatongwe <devnull@localhost>2007-04-07 00:57:03 +0000
commit8ad28ca6790189274f7cb8066c125140b995e95a (patch)
tree855af185b33b67caf44e49c655059ff76782ef35 /src/DocumentAccessor.cxx
parent6912617ec0d5909de6ddfe1322836cbffa7392ad (diff)
downloadscintilla-mirror-8ad28ca6790189274f7cb8066c125140b995e95a.tar.gz
More decoration code, with modifications reported from document to views
although this isn't optimal. Some checking for null changes. Messages documented. Methods for changing indicators in Accessor so can be used by lexers.
Diffstat (limited to 'src/DocumentAccessor.cxx')
-rw-r--r--src/DocumentAccessor.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/DocumentAccessor.cxx b/src/DocumentAccessor.cxx
index afe4670a4..e28264f73 100644
--- a/src/DocumentAccessor.cxx
+++ b/src/DocumentAccessor.cxx
@@ -190,3 +190,7 @@ int DocumentAccessor::IndentAmount(int line, int *flags, PFNIsCommentLeader pfnI
return indent;
}
+void DocumentAccessor::IndicatorFill(int start, int end, int indicator, int value) {
+ pdoc->decorations.SetCurrentIndicator(indicator);
+ pdoc->DecorationFillRange(start, value, end - start);
+}