aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2018-03-28 14:22:20 +1100
committerNeil Hodgson <nyamatongwe@gmail.com>2018-03-28 14:22:20 +1100
commitc24f59f3751d199b83b854eb190c2f1318f0cf82 (patch)
tree1ccabaa6087e4e881d00b43174bedb74dd3ec0a9
parent15be99cd0c446d74f71e9cf05ec3aa1c033a2370 (diff)
downloadscintilla-mirror-c24f59f3751d199b83b854eb190c2f1318f0cf82.tar.gz
Backport: Change '.' to '->' as Document::decorations was changed to a pointer by last set.
Backport of changeset 6659:bb434e6d3f9b.
-rw-r--r--qt/ScintillaEdit/ScintillaDocument.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/qt/ScintillaEdit/ScintillaDocument.cpp b/qt/ScintillaEdit/ScintillaDocument.cpp
index d19fcc683..ee55236f9 100644
--- a/qt/ScintillaEdit/ScintillaDocument.cpp
+++ b/qt/ScintillaEdit/ScintillaDocument.cpp
@@ -232,7 +232,7 @@ void ScintillaDocument::ensure_styled_to(int position) {
}
void ScintillaDocument::set_current_indicator(int indic) {
- (static_cast<Document *>(pdoc))->decorations.SetCurrentIndicator(indic);
+ (static_cast<Document *>(pdoc))->decorations->SetCurrentIndicator(indic);
}
void ScintillaDocument::decoration_fill_range(int position, int value, int fillLength) {
@@ -240,15 +240,15 @@ void ScintillaDocument::decoration_fill_range(int position, int value, int fillL
}
int ScintillaDocument::decorations_value_at(int indic, int position) {
- return (static_cast<Document *>(pdoc))->decorations.ValueAt(indic, position);
+ return (static_cast<Document *>(pdoc))->decorations->ValueAt(indic, position);
}
int ScintillaDocument::decorations_start(int indic, int position) {
- return (static_cast<Document *>(pdoc))->decorations.Start(indic, position);
+ return (static_cast<Document *>(pdoc))->decorations->Start(indic, position);
}
int ScintillaDocument::decorations_end(int indic, int position) {
- return (static_cast<Document *>(pdoc))->decorations.End(indic, position);
+ return (static_cast<Document *>(pdoc))->decorations->End(indic, position);
}
int ScintillaDocument::get_code_page() {