aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2002-04-07 02:24:40 +0000
committernyamatongwe <unknown>2002-04-07 02:24:40 +0000
commit8c291f052e31556079a02eb55777709633c468a5 (patch)
treec4a4656a5cf4fdf8eeb37bf82ce19710a8d76dc3 /src/Editor.h
parent244af93fb13a0c2ddc3cf9c620a6210d6d61079f (diff)
downloadscintilla-mirror-8c291f052e31556079a02eb55777709633c468a5.tar.gz
Added ZOOM notification. Added TextWidth method to allow clients to determine width of text items such as width needed for line numbers.
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h2
1 files changed, 2 insertions, 0 deletions
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);