From ef5b2192b86405b14f7cc45f6d48b9f9889eedbe Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 7 Apr 2002 02:24:40 +0000 Subject: Added ZOOM notification. Added TextWidth method to allow clients to determine width of text items such as width needed for line numbers. --- src/Editor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Editor.h') diff --git a/src/Editor.h b/src/Editor.h index ba35c83c3..5a82f32ff 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -343,6 +343,7 @@ protected: // ScintillaBase subclass needs access to much of Editor PRectangle rcLine, LineLayout *ll, int subLine=0); void Paint(Surface *surfaceWindow, PRectangle rcArea); long FormatRange(bool draw, RangeToFormat *pfr); + int TextWidth(int style, const char *text); virtual void SetVerticalScrollPos() = 0; virtual void SetHorizontalScrollPos() = 0; @@ -384,6 +385,7 @@ protected: // ScintillaBase subclass needs access to much of Editor bool NotifyMarginClick(Point pt, bool shift, bool ctrl, bool alt); void NotifyNeedShown(int pos, int len); void NotifyDwelling(Point pt, bool state); + void NotifyZoom(); void NotifyModifyAttempt(Document *document, void *userData); void NotifySavePoint(Document *document, void *userData, bool atSavePoint); -- cgit v1.2.3