aboutsummaryrefslogtreecommitdiffhomepage
path: root/qt/ScintillaEdit/ScintillaEdit.h.template
diff options
context:
space:
mode:
Diffstat (limited to 'qt/ScintillaEdit/ScintillaEdit.h.template')
-rw-r--r--qt/ScintillaEdit/ScintillaEdit.h.template11
1 files changed, 11 insertions, 0 deletions
diff --git a/qt/ScintillaEdit/ScintillaEdit.h.template b/qt/ScintillaEdit/ScintillaEdit.h.template
index 32c8a7726..052d87c74 100644
--- a/qt/ScintillaEdit/ScintillaEdit.h.template
+++ b/qt/ScintillaEdit/ScintillaEdit.h.template
@@ -51,6 +51,17 @@ public:
return get_text_range(start, end);
}
+ // Exposing the FORMATRANGE api with both underscore & qt style names
+ long format_range(bool draw, QPaintDevice* target, QPaintDevice* measure,
+ const QRect& print_rect, const QRect& page_rect,
+ long range_start, long range_end);
+ long formatRange(bool draw, QPaintDevice* target, QPaintDevice* measure,
+ const QRect& print_rect, const QRect& page_rect,
+ long range_start, long range_end) {
+ return format_range(draw, target, measure, print_rect, page_rect,
+ range_start, range_end);
+ }
+
/* ++Autogenerated -- start of section automatically generated from Scintilla.iface */
/* --Autogenerated -- end of section automatically generated from Scintilla.iface */