aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Platform.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-05-30 13:49:50 +1000
committerNeil <nyamatongwe@gmail.com>2018-05-30 13:49:50 +1000
commitd5deb0bf992e06645983ed7e081e2646fc304b86 (patch)
treef4a86002cceb5a02cc61fb907153ee135a07d3c8 /include/Platform.h
parent5d4ab626a50baab56084cbc61510280ddae174a6 (diff)
downloadscintilla-mirror-d5deb0bf992e06645983ed7e081e2646fc304b86.tar.gz
Add TabPositionAfter method to IScreenLine as this calculation is needed on each
platform and it allows extension to custom tab stops.
Diffstat (limited to 'include/Platform.h')
-rw-r--r--include/Platform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Platform.h b/include/Platform.h
index 8c5032596..30f05d88a 100644
--- a/include/Platform.h
+++ b/include/Platform.h
@@ -328,6 +328,7 @@ public:
virtual XYPOSITION TabWidthMinimumPixels() const = 0;
virtual const Font *FontOfPosition(size_t position) const = 0;
virtual XYPOSITION RepresentationWidth(size_t position) const = 0;
+ virtual XYPOSITION TabPositionAfter(XYPOSITION xPosition) const = 0;
};
struct Interval {