From 7c7c50a602db8e4192071fc2c1b80ddbdfac2140 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 1 Jul 2000 13:34:28 +0000 Subject: Making Drawline less context dependent by moving state from Editor to LineLayout and ViewStyle. Helps avoid attributes leaking into printing. --- src/Editor.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Editor.h') diff --git a/src/Editor.h b/src/Editor.h index d1074073e..456fdd1ea 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -33,6 +33,9 @@ public: int numCharsInLine; int xHighlightGuide; bool highlightColumn; + int selStart; + int selEnd; + int edgeColumn; char chars[maxLineLength]; char styles[maxLineLength]; char indicators[maxLineLength]; @@ -106,7 +109,6 @@ protected: // ScintillaBase subclass needs access to much of Editor int bracesMatchStyle; int highlightGuideColumn; - int edgeState; int theEdge; enum { notPainting, painting, paintAbandoned } paintState; -- cgit v1.2.3