aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2002-04-07 02:24:40 +0000
committernyamatongwe <devnull@localhost>2002-04-07 02:24:40 +0000
commitef5b2192b86405b14f7cc45f6d48b9f9889eedbe (patch)
treec4a4656a5cf4fdf8eeb37bf82ce19710a8d76dc3 /src/Editor.h
parentdbae5814b486802378c41ca4c095d0aa6dfcff86 (diff)
downloadscintilla-mirror-ef5b2192b86405b14f7cc45f6d48b9f9889eedbe.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);