1 // Scintilla source code edit control
3 ** Defines the editor state that must be visible to EditorView.
5 // Copyright 1998-2014 by Neil Hodgson <neilh@scintilla.org>
6 // The License.txt file describes the conditions under which this software may be distributed.
27 // Private so EditModel objects can not be copied
28 explicit EditModel(const EditModel
&);
29 EditModel
&operator=(const EditModel
&);
33 int xOffset
; ///< Horizontal scrolled amount in pixels
36 SpecialRepresentations reprs
;
38 SelectionPosition posDrag
;
41 int highlightGuideColumn
;
43 bool primarySelection
;
45 enum IMEInteraction
{ imeWindowed
, imeInline
} imeInteraction
;
48 int foldDisplayTextStyle
;
52 int hoverIndicatorPos
;
61 virtual int TopLineOfMain() const = 0;
62 virtual Point
GetVisibleOriginInMain() const = 0;
63 virtual int LinesOnScreen() const = 0;
64 virtual Range
GetHotSpotRange() const = 0;