From 7ee60fc25a08dac31ccdfb77068aae852860cc37 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 26 Oct 2016 08:27:35 +1100 Subject: Moved location to margin code from Editor to ViewStyle. --- src/ViewStyle.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ViewStyle.h') diff --git a/src/ViewStyle.h b/src/ViewStyle.h index 3b812693e..82c176c87 100644 --- a/src/ViewStyle.h +++ b/src/ViewStyle.h @@ -184,6 +184,7 @@ public: void SetStyleFontName(int styleIndex, const char *name); bool ProtectionActive() const; int ExternalMarginWidth() const; + int MarginFromLocation(Point pt) const; bool ValidStyle(size_t styleIndex) const; void CalcLargestMarkerHeight(); ColourOptional Background(int marksOfLine, bool caretActive, bool lineContainsCaret) const; -- cgit v1.2.3