diff options
author | nyamatongwe <devnull@localhost> | 2002-04-07 02:24:40 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2002-04-07 02:24:40 +0000 |
commit | ef5b2192b86405b14f7cc45f6d48b9f9889eedbe (patch) | |
tree | c4a4656a5cf4fdf8eeb37bf82ce19710a8d76dc3 /src/Editor.h | |
parent | dbae5814b486802378c41ca4c095d0aa6dfcff86 (diff) | |
download | scintilla-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.h | 2 |
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); |