From d5deb0bf992e06645983ed7e081e2646fc304b86 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 30 May 2018 13:49:50 +1000 Subject: Add TabPositionAfter method to IScreenLine as this calculation is needed on each platform and it allows extension to custom tab stops. --- include/Platform.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 { -- cgit v1.2.3