aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-01-27 06:00:27 +0000
committernyamatongwe <unknown>2001-01-27 06:00:27 +0000
commitba22db923ee18c31a0a8797dbe1e6c6c3ec2e4e0 (patch)
tree0fc319c03b84a185c84e575c06740577857952f7 /src/Editor.h
parentf81b8719262437eeabe735ec377ce0250d356503 (diff)
downloadscintilla-mirror-ba22db923ee18c31a0a8797dbe1e6c6c3ec2e4e0.tar.gz
Much changed ScintillaGTK widget code that draws directly onto the
Scintilla widget with no wDraw drawing area. Signals handled directly through callbacks.
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/Editor.h b/src/Editor.h
index 52b3d7037..0a37c8b8f 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -1,6 +1,6 @@
// Scintilla source code edit control
// Editor.h - defines the main editor class
-// Copyright 1998-2000 by Neil Hodgson <neilh@scintilla.org>
+// Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
#ifndef EDITOR_H
@@ -48,11 +48,9 @@ class Editor : public DocWatcher {
Editor &operator=(const Editor &) { return *this; }
protected: // ScintillaBase subclass needs access to much of Editor
- // On GTK+, Scintilla is a container widget holding two scroll bars and a drawing area
+ // On GTK+, Scintilla is a container widget holding two scroll bars
// whereas on Windows there is just one window with both scroll bars turned on.
- // Therefore, on GTK+ the following are separate windows but only one window on Windows.
Window wMain; // The Scintilla parent window
- Window wDraw; // The text drawing area
// Style resources may be expensive to allocate so are cached between uses.
// When a style attribute is changed, this cache is flushed.
@@ -161,7 +159,7 @@ protected: // ScintillaBase subclass needs access to much of Editor
void RefreshStyleData();
void DropGraphics();
- PRectangle GetClientRectangle();
+ virtual PRectangle GetClientRectangle();
PRectangle GetTextRectangle();
int LinesOnScreen();