geany  1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Scintilla::Editor Class Referenceabstract

#include <Editor.h>

Inheritance diagram for Scintilla::Editor:
[legend]
Collaboration diagram for Scintilla::Editor:
[legend]

Classes

struct  XYScrollPosition
 

Public Member Functions

 ~Editor () override
 
bool IsUnicodeMode () const noexcept
 
virtual sptr_t WndProc (unsigned int iMessage, uptr_t wParam, sptr_t lParam)
 
- Public Member Functions inherited from Scintilla::EditModel
 EditModel ()
 
 EditModel (const EditModel &)=delete
 
 EditModel (EditModel &&)=delete
 
EditModeloperator= (const EditModel &)=delete
 
EditModeloperator= (EditModel &&)=delete
 
virtual ~EditModel ()
 
virtual Sci::Line TopLineOfMain () const =0
 
virtual Point GetVisibleOriginInMain () const =0
 
virtual Sci::Line LinesOnScreen () const =0
 
virtual Range GetHotSpotRange () const noexcept=0
 
void SetDefaultFoldDisplayText (const char *text)
 
const char * GetDefaultFoldDisplayText () const noexcept
 
const char * GetFoldDisplayText (Sci::Line lineDoc) const noexcept
 
- Public Member Functions inherited from Scintilla::DocWatcher
virtual ~DocWatcher ()
 
virtual void NotifyModifyAttempt (Document *doc, void *userData)=0
 
virtual void NotifySavePoint (Document *doc, void *userData, bool atSavePoint)=0
 
virtual void NotifyModified (Document *doc, DocModification mh, void *userData)=0
 
virtual void NotifyDeleted (Document *doc, void *userData) noexcept=0
 
virtual void NotifyStyleNeeded (Document *doc, void *userData, Sci::Position endPos)=0
 
virtual void NotifyLexerChanged (Document *doc, void *userData)=0
 
virtual void NotifyErrorOccurred (Document *doc, void *userData, int status)=0
 

Public Attributes

int ctrlID
 
int errorStatus
 
- Public Attributes inherited from Scintilla::EditModel
bool inOverstrike
 
int xOffset
 Horizontal scrolled amount in pixels. More...
 
bool trackLineWidth
 
SpecialRepresentations reprs
 
Caret caret
 
SelectionPosition posDrag
 
Sci::Position braces [2]
 
int bracesMatchStyle
 
int highlightGuideColumn
 
Selection sel
 
bool primarySelection
 
enum Scintilla::EditModel::IMEInteraction imeInteraction
 
int foldFlags
 
int foldDisplayTextStyle
 
UniqueString defaultFoldDisplayText
 
std::unique_ptr< IContractionStatepcs
 
Range hotspot
 
Sci::Position hoverIndicatorPos
 
int wrapWidth
 
Documentpdoc
 

Protected Types

enum  { autoScrollDelay = 200 }
 
enum class  TextUnit { character , word , subLine , wholeLine }
 
enum  { ddNone , ddInitial , ddDragging }
 
enum  { notPainting , painting , paintAbandoned }
 
enum class  AddNumber { one , each }
 
enum  XYScrollOptions { xysUseMargin =0x1 , xysVertical =0x2 , xysHorizontal =0x4 , xysDefault =xysUseMargin|xysVertical|xysHorizontal }
 
enum class  WrapScope { wsAll , wsVisible , wsIdle }
 
enum  PasteShape { pasteStream =0 , pasteRectangular = 1 , pasteLine = 2 }
 
enum  { cmSame , cmUpper , cmLower }
 
enum  TickReason {
  tickCaret , tickScroll , tickWiden , tickDwell ,
  tickPlatform
}
 

Protected Member Functions

 Editor ()
 
 Editor (const Editor &)=delete
 
 Editor (Editor &&)=delete
 
Editoroperator= (const Editor &)=delete
 
Editoroperator= (Editor &&)=delete
 
virtual void Initialise ()=0
 
virtual void Finalise ()
 
void InvalidateStyleData ()
 
void InvalidateStyleRedraw ()
 
void RefreshStyleData ()
 
void SetRepresentations ()
 
void DropGraphics (bool freeObjects)
 
void AllocateGraphics ()
 
Point GetVisibleOriginInMain () const override
 
PointDocument DocumentPointFromView (Point ptView) const
 
Sci::Line TopLineOfMain () const override
 
virtual PRectangle GetClientRectangle () const
 
virtual PRectangle GetClientDrawingRectangle ()
 
PRectangle GetTextRectangle () const
 
Sci::Line LinesOnScreen () const override
 
Sci::Line LinesToScroll () const
 
Sci::Line MaxScrollPos () const
 
SelectionPosition ClampPositionIntoDocument (SelectionPosition sp) const
 
Point LocationFromPosition (SelectionPosition pos, PointEnd pe=peDefault)
 
Point LocationFromPosition (Sci::Position pos, PointEnd pe=peDefault)
 
int XFromPosition (SelectionPosition sp)
 
SelectionPosition SPositionFromLocation (Point pt, bool canReturnInvalid=false, bool charPosition=false, bool virtualSpace=true)
 
Sci::Position PositionFromLocation (Point pt, bool canReturnInvalid=false, bool charPosition=false)
 
SelectionPosition SPositionFromLineX (Sci::Line lineDoc, int x)
 Find the document position corresponding to an x coordinate on a particular document line. More...
 
Sci::Position PositionFromLineX (Sci::Line lineDoc, int x)
 
Sci::Line LineFromLocation (Point pt) const
 
void SetTopLine (Sci::Line topLineNew)
 
virtual bool AbandonPaint ()
 If painting then abandon the painting because a wider redraw is needed. More...
 
virtual void RedrawRect (PRectangle rc)
 
virtual void DiscardOverdraw ()
 
virtual void Redraw ()
 
void RedrawSelMargin (Sci::Line line=-1, bool allAfter=false)
 
PRectangle RectangleFromRange (Range r, int overlap)
 
void InvalidateRange (Sci::Position start, Sci::Position end)
 
bool UserVirtualSpace () const noexcept
 
Sci::Position CurrentPosition () const
 
bool SelectionEmpty () const noexcept
 
SelectionPosition SelectionStart ()
 
SelectionPosition SelectionEnd ()
 
void SetRectangularRange ()
 
void ThinRectangularRange ()
 
void InvalidateSelection (SelectionRange newMain, bool invalidateWholeSelection=false)
 
void InvalidateWholeSelection ()
 
SelectionRange LineSelectionRange (SelectionPosition currentPos_, SelectionPosition anchor_) const
 
void SetSelection (SelectionPosition currentPos_, SelectionPosition anchor_)
 
void SetSelection (Sci::Position currentPos_, Sci::Position anchor_)
 
void SetSelection (SelectionPosition currentPos_)
 
void SetSelection (int currentPos_)
 
void SetEmptySelection (SelectionPosition currentPos_)
 
void SetEmptySelection (Sci::Position currentPos_)
 
void MultipleSelectAdd (AddNumber addNumber)
 
bool RangeContainsProtected (Sci::Position start, Sci::Position end) const noexcept
 
bool SelectionContainsProtected () const
 
Sci::Position MovePositionOutsideChar (Sci::Position pos, Sci::Position moveDir, bool checkLineEnd=true) const
 Asks document to find a good position and then moves out of any invisible positions. More...
 
SelectionPosition MovePositionOutsideChar (SelectionPosition pos, Sci::Position moveDir, bool checkLineEnd=true) const
 
void MovedCaret (SelectionPosition newPos, SelectionPosition previousPos, bool ensureVisible, CaretPolicies policies)
 
void MovePositionTo (SelectionPosition newPos, Selection::selTypes selt=Selection::noSel, bool ensureVisible=true)
 
void MovePositionTo (Sci::Position newPos, Selection::selTypes selt=Selection::noSel, bool ensureVisible=true)
 
SelectionPosition MovePositionSoVisible (SelectionPosition pos, int moveDir)
 
SelectionPosition MovePositionSoVisible (Sci::Position pos, int moveDir)
 
Point PointMainCaret ()
 
void SetLastXChosen ()
 Choose the x position that the caret will try to stick to as it moves up and down. More...
 
void ScrollTo (Sci::Line line, bool moveThumb=true)
 
virtual void ScrollText (Sci::Line linesToMove)
 
void HorizontalScrollTo (int xPos)
 
void VerticalCentreCaret ()
 
void MoveSelectedLines (int lineDelta)
 
void MoveSelectedLinesUp ()
 
void MoveSelectedLinesDown ()
 
void MoveCaretInsideView (bool ensureVisible=true)
 
Sci::Line DisplayFromPosition (Sci::Position pos)
 
XYScrollPosition XYScrollToMakeVisible (const SelectionRange &range, const XYScrollOptions options, CaretPolicies policies)
 Ensure the caret is reasonably visible in context. More...
 
void SetXYScroll (XYScrollPosition newXY)
 
void EnsureCaretVisible (bool useMargin=true, bool vert=true, bool horiz=true)
 
void ScrollRange (SelectionRange range)
 
void ShowCaretAtCurrentPosition ()
 
void DropCaret ()
 
void CaretSetPeriod (int period)
 
void InvalidateCaret ()
 
virtual void NotifyCaretMove ()
 
virtual void UpdateSystemCaret ()
 
bool Wrapping () const noexcept
 
void NeedWrapping (Sci::Line docLineStart=0, Sci::Line docLineEnd=WrapPending::lineLarge)
 
bool WrapOneLine (Surface *surface, Sci::Line lineToWrap)
 
bool WrapLines (WrapScope ws)
 
void LinesJoin ()
 
void LinesSplit (int pixelWidth)
 
void PaintSelMargin (Surface *surfaceWindow, const PRectangle &rc)
 
void RefreshPixMaps (Surface *surfaceWindow)
 
void Paint (Surface *surfaceWindow, PRectangle rcArea)
 
Sci::Position FormatRange (bool draw, const Sci_RangeToFormat *pfr)
 
long TextWidth (uptr_t style, const char *text)
 
virtual void SetVerticalScrollPos ()=0
 
virtual void SetHorizontalScrollPos ()=0
 
virtual bool ModifyScrollBars (Sci::Line nMax, Sci::Line nPage)=0
 
virtual void ReconfigureScrollBars ()
 
void SetScrollBars ()
 
void ChangeSize ()
 
void FilterSelections ()
 
Sci::Position RealizeVirtualSpace (Sci::Position position, Sci::Position virtualSpace)
 
SelectionPosition RealizeVirtualSpace (const SelectionPosition &position)
 
void AddChar (char ch)
 
virtual void InsertCharacter (const char *s, unsigned int len, CharacterSource charSource)
 
void ClearBeforeTentativeStart ()
 
void InsertPaste (const char *text, Sci::Position len)
 
void InsertPasteShape (const char *text, Sci::Position len, PasteShape shape)
 
void ClearSelection (bool retainMultipleSelections=false)
 
void ClearAll ()
 
void ClearDocumentStyle ()
 
virtual void Cut ()
 
void PasteRectangular (SelectionPosition pos, const char *ptr, Sci::Position len)
 
virtual void Copy ()=0
 
void CopyAllowLine ()
 
virtual bool CanPaste ()
 
virtual void Paste ()=0
 
void Clear ()
 
virtual void SelectAll ()
 
virtual void Undo ()
 
virtual void Redo ()
 
void DelCharBack (bool allowLineStartDeletion)
 
virtual void ClaimSelection ()=0
 
virtual void NotifyChange ()=0
 
virtual void NotifyFocus (bool focus)
 
virtual void SetCtrlID (int identifier)
 
virtual int GetCtrlID ()
 
virtual void NotifyParent (SCNotification scn)=0
 
virtual void NotifyStyleToNeeded (Sci::Position endStyleNeeded)
 
void NotifyChar (int ch, CharacterSource charSource)
 
void NotifySavePoint (bool isSavePoint)
 
void NotifyModifyAttempt ()
 
virtual void NotifyDoubleClick (Point pt, int modifiers)
 
void NotifyHotSpotClicked (Sci::Position position, int modifiers)
 
void NotifyHotSpotDoubleClicked (Sci::Position position, int modifiers)
 
void NotifyHotSpotReleaseClick (Sci::Position position, int modifiers)
 
bool NotifyUpdateUI ()
 
void NotifyPainted ()
 
void NotifyIndicatorClick (bool click, Sci::Position position, int modifiers)
 
bool NotifyMarginClick (Point pt, int modifiers)
 
bool NotifyMarginRightClick (Point pt, int modifiers)
 
void NotifyNeedShown (Sci::Position pos, Sci::Position len)
 
void NotifyDwelling (Point pt, bool state)
 
void NotifyZoom ()
 
void NotifyModifyAttempt (Document *document, void *userData) override
 
void NotifySavePoint (Document *document, void *userData, bool atSavePoint) override
 
void CheckModificationForWrap (DocModification mh)
 
void NotifyModified (Document *document, DocModification mh, void *userData) override
 
void NotifyDeleted (Document *document, void *userData) noexcept override
 
void NotifyStyleNeeded (Document *doc, void *userData, Sci::Position endStyleNeeded) override
 
void NotifyLexerChanged (Document *doc, void *userData) override
 
void NotifyErrorOccurred (Document *doc, void *userData, int status) override
 
void NotifyMacroRecord (unsigned int iMessage, uptr_t wParam, sptr_t lParam)
 
void ContainerNeedsUpdate (int flags) noexcept
 
void PageMove (int direction, Selection::selTypes selt=Selection::noSel, bool stuttered=false)
 Force scroll and keep position relative to top of window. More...
 
virtual std::string CaseMapString (const std::string &s, int caseMapping)
 
void ChangeCaseOfSelection (int caseMapping)
 
void LineTranspose ()
 
void LineReverse ()
 
void Duplicate (bool forLine)
 
virtual void CancelModes ()
 
void NewLine ()
 
SelectionPosition PositionUpOrDown (SelectionPosition spStart, int direction, int lastX)
 
void CursorUpOrDown (int direction, Selection::selTypes selt)
 
void ParaUpOrDown (int direction, Selection::selTypes selt)
 
Range RangeDisplayLine (Sci::Line lineVisible)
 
Sci::Position StartEndDisplayLine (Sci::Position pos, bool start)
 
Sci::Position VCHomeDisplayPosition (Sci::Position position)
 
Sci::Position VCHomeWrapPosition (Sci::Position position)
 
Sci::Position LineEndWrapPosition (Sci::Position position)
 
int HorizontalMove (unsigned int iMessage)
 
int DelWordOrLine (unsigned int iMessage)
 
virtual int KeyCommand (unsigned int iMessage)
 
virtual int KeyDefault (int, int)
 
int KeyDownWithModifiers (int key, int modifiers, bool *consumed)
 
void Indent (bool forwards)
 
virtual CaseFolderCaseFolderForEncoding ()
 
Sci::Position FindText (uptr_t wParam, sptr_t lParam)
 Search of a text in the document, in the given range. More...
 
void SearchAnchor ()
 Relocatable search support : Searches relative to current selection point and sets the selection to the found text range with each search. More...
 
Sci::Position SearchText (unsigned int iMessage, uptr_t wParam, sptr_t lParam)
 Find text from current search anchor: Must call SearchAnchor first. More...
 
Sci::Position SearchInTarget (const char *text, Sci::Position length)
 Search for text in the target range of the document. More...
 
void GoToLine (Sci::Line lineNo)
 
virtual void CopyToClipboard (const SelectionText &selectedText)=0
 
std::string RangeText (Sci::Position start, Sci::Position end) const
 
void CopySelectionRange (SelectionText *ss, bool allowLineCopy=false)
 
void CopyRangeToClipboard (Sci::Position start, Sci::Position end)
 
void CopyText (size_t length, const char *text)
 
void SetDragPosition (SelectionPosition newPos)
 
virtual void DisplayCursor (Window::Cursor c)
 
virtual bool DragThreshold (Point ptStart, Point ptNow)
 
virtual void StartDrag ()
 
void DropAt (SelectionPosition position, const char *value, size_t lengthValue, bool moving, bool rectangular)
 
void DropAt (SelectionPosition position, const char *value, bool moving, bool rectangular)
 
bool PositionInSelection (Sci::Position pos)
 PositionInSelection returns true if position in selection. More...
 
bool PointInSelection (Point pt)
 
bool PointInSelMargin (Point pt) const
 
Window::Cursor GetMarginCursor (Point pt) const noexcept
 
void TrimAndSetSelection (Sci::Position currentPos_, Sci::Position anchor_)
 
void LineSelection (Sci::Position lineCurrentPos_, Sci::Position lineAnchorPos_, bool wholeLine)
 
void WordSelection (Sci::Position pos)
 
void DwellEnd (bool mouseMoved)
 
void MouseLeave ()
 
virtual void ButtonDownWithModifiers (Point pt, unsigned int curTime, int modifiers)
 
virtual void RightButtonDownWithModifiers (Point pt, unsigned int curTime, int modifiers)
 
void ButtonMoveWithModifiers (Point pt, unsigned int curTime, int modifiers)
 
void ButtonUpWithModifiers (Point pt, unsigned int curTime, int modifiers)
 
bool Idle ()
 
virtual void TickFor (TickReason reason)
 
virtual bool FineTickerRunning (TickReason reason)
 
virtual void FineTickerStart (TickReason reason, int millis, int tolerance)
 
virtual void FineTickerCancel (TickReason reason)
 
virtual bool SetIdle (bool)
 
virtual void SetMouseCapture (bool on)=0
 
virtual bool HaveMouseCapture ()=0
 
void SetFocusState (bool focusState)
 
Sci::Position PositionAfterArea (PRectangle rcArea) const
 
void StyleToPositionInView (Sci::Position pos)
 
Sci::Position PositionAfterMaxStyling (Sci::Position posMax, bool scrolling) const
 
void StartIdleStyling (bool truncatedLastStyling)
 
void StyleAreaBounded (PRectangle rcArea, bool scrolling)
 
bool SynchronousStylingToVisible () const noexcept
 
void IdleStyling ()
 
virtual void IdleWork ()
 
virtual void QueueIdleWork (WorkNeeded::workItems items, Sci::Position upTo=0)
 
virtual bool PaintContains (PRectangle rc)
 
bool PaintContainsMargin ()
 
void CheckForChangeOutsidePaint (Range r)
 
void SetBraceHighlight (Sci::Position pos0, Sci::Position pos1, int matchStyle)
 
void SetAnnotationHeights (Sci::Line start, Sci::Line end)
 
virtual void SetDocPointer (Document *document)
 
void SetAnnotationVisible (int visible)
 
void SetEOLAnnotationVisible (int visible)
 
Sci::Line ExpandLine (Sci::Line line)
 Recursively expand a fold, making lines visible except where they have an unexpanded parent. More...
 
void SetFoldExpanded (Sci::Line lineDoc, bool expanded)
 
void FoldLine (Sci::Line line, int action)
 
void FoldExpand (Sci::Line line, int action, int level)
 
Sci::Line ContractedFoldNext (Sci::Line lineStart) const
 
void EnsureLineVisible (Sci::Line lineDoc, bool enforcePolicy)
 Recurse up from this line to find any folds that prevent this line from being visible and unfold them all. More...
 
void FoldChanged (Sci::Line line, int levelNow, int levelPrev)
 
void NeedShown (Sci::Position pos, Sci::Position len)
 
void FoldAll (int action)
 
Sci::Position GetTag (char *tagValue, int tagNumber)
 
Sci::Position ReplaceTarget (bool replacePatterns, const char *text, Sci::Position length=-1)
 
bool PositionIsHotspot (Sci::Position position) const
 
bool PointIsHotspot (Point pt)
 
void SetHotSpotRange (const Point *pt)
 
Range GetHotSpotRange () const noexcept override
 
void SetHoverIndicatorPosition (Sci::Position position)
 
void SetHoverIndicatorPoint (Point pt)
 
int CodePage () const noexcept
 
virtual bool ValidCodePage (int) const
 
Sci::Line WrapCount (Sci::Line line)
 
void AddStyledText (const char *buffer, Sci::Position appendLength)
 
virtual sptr_t DefWndProc (unsigned int iMessage, uptr_t wParam, sptr_t lParam)=0
 
bool ValidMargin (uptr_t wParam) const noexcept
 
void StyleSetMessage (unsigned int iMessage, uptr_t wParam, sptr_t lParam)
 
sptr_t StyleGetMessage (unsigned int iMessage, uptr_t wParam, sptr_t lParam)
 
void SetSelectionNMessage (unsigned int iMessage, uptr_t wParam, sptr_t lParam)
 
template<typename T >
bool SetAppearance (T &variable, T value)
 

Static Protected Member Functions

static int ModifierFlags (bool shift, bool ctrl, bool alt, bool meta=false, bool super=false) noexcept
 
static const char * StringFromEOLMode (int eolMode) noexcept
 
static void * PtrFromSPtr (sptr_t lParam) noexcept
 
static const char * ConstCharPtrFromSPtr (sptr_t lParam) noexcept
 
static const unsigned char * ConstUCharPtrFromSPtr (sptr_t lParam) noexcept
 
static char * CharPtrFromSPtr (sptr_t lParam) noexcept
 
static unsigned char * UCharPtrFromSPtr (sptr_t lParam) noexcept
 
static void * PtrFromUPtr (uptr_t wParam) noexcept
 
static const char * ConstCharPtrFromUPtr (uptr_t wParam) noexcept
 
static sptr_t StringResult (sptr_t lParam, const char *val) noexcept
 
static sptr_t BytesResult (sptr_t lParam, const unsigned char *val, size_t len) noexcept
 

Protected Attributes

Window wMain
 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. More...
 
Window wMargin
 May be separate when using a scroll view for wMain. More...
 
bool stylesValid
 Style resources may be expensive to allocate so are cached between uses. More...
 
ViewStyle vs
 
int technology
 
Point sizeRGBAImage
 
float scaleRGBAImage
 
MarginView marginView
 
EditView view
 
int cursorMode
 
bool hasFocus
 
bool mouseDownCaptures
 
bool mouseWheelCaptures
 
int xCaretMargin
 Ensure this many pixels visible on both sides of caret. More...
 
bool horizontalScrollBarVisible
 
int scrollWidth
 
bool verticalScrollBarVisible
 
bool endAtLastLine
 
int caretSticky
 
int marginOptions
 
bool mouseSelectionRectangularSwitch
 
bool multipleSelection
 
bool additionalSelectionTyping
 
int multiPasteMode
 
int virtualSpaceOptions
 
KeyMap kmap
 
Timer timer
 
Timer autoScrollTimer
 
Idler idler
 
Point lastClick
 
unsigned int lastClickTime
 
Point doubleClickCloseThreshold
 
int dwellDelay
 
int ticksToDwell
 
bool dwelling
 
enum Scintilla::Editor::TextUnit selectionUnit
 
Point ptMouseLast
 
enum Scintilla::Editor:: { ... }  inDragDrop
 
bool dropWentOutside
 
SelectionPosition posDrop
 
Sci::Position hotSpotClickPos
 
int lastXChosen
 
Sci::Position lineAnchorPos
 
Sci::Position originalAnchorPos
 
Sci::Position wordSelectAnchorStartPos
 
Sci::Position wordSelectAnchorEndPos
 
Sci::Position wordSelectInitialCaretPos
 
SelectionSegment targetRange
 
int searchFlags
 
Sci::Line topLine
 
Sci::Position posTopLine
 
Sci::Position lengthForEncode
 
int needUpdateUI
 
enum Scintilla::Editor:: { ... }  paintState
 
bool paintAbandonedByStyling
 
PRectangle rcPaint
 
bool paintingAllText
 
bool willRedrawAll
 
WorkNeeded workNeeded
 
int idleStyling
 
bool needIdleStyling
 
int modEventMask
 
bool commandEvents
 
SelectionText drag
 
CaretPolicies caretPolicies
 
CaretPolicy visiblePolicy
 
Sci::Position searchAnchor
 
bool recordingMacro
 
int foldAutomatic
 
WrapPending wrapPending
 
ActionDuration durationWrapOneLine
 
bool convertPastes
 

Friends

class AutoSurface
 

Additional Inherited Members

- Public Types inherited from Scintilla::EditModel
enum  IMEInteraction { imeWindowed , imeInline }
 
enum class  CharacterSource { directInput , tentativeInput , imeResult }
 

Detailed Description

Definition at line 160 of file Editor.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
autoScrollDelay 

Definition at line 203 of file Editor.h.

◆ anonymous enum

anonymous enum
protected
Enumerator
ddNone 
ddInitial 
ddDragging 

Definition at line 215 of file Editor.h.

◆ anonymous enum

anonymous enum
protected
Enumerator
notPainting 
painting 
paintAbandoned 

Definition at line 233 of file Editor.h.

◆ anonymous enum

anonymous enum
protected
Enumerator
cmSame 
cmUpper 
cmLower 

Definition at line 460 of file Editor.h.

◆ AddNumber

enum class Scintilla::Editor::AddNumber
strongprotected
Enumerator
one 
each 

Definition at line 329 of file Editor.h.

◆ PasteShape

Enumerator
pasteStream 
pasteRectangular 
pasteLine 

Definition at line 407 of file Editor.h.

◆ TextUnit

enum class Scintilla::Editor::TextUnit
strongprotected
Enumerator
character 
word 
subLine 
wholeLine 

Definition at line 213 of file Editor.h.

◆ TickReason

Enumerator
tickCaret 
tickScroll 
tickWiden 
tickDwell 
tickPlatform 

Definition at line 518 of file Editor.h.

◆ WrapScope

enum class Scintilla::Editor::WrapScope
strongprotected
Enumerator
wsAll 
wsVisible 
wsIdle 

Definition at line 382 of file Editor.h.

◆ XYScrollOptions

Enumerator
xysUseMargin 
xysVertical 
xysHorizontal 
xysDefault 

Definition at line 362 of file Editor.h.

Constructor & Destructor Documentation

◆ Editor() [1/3]

Editor::Editor ( )
protected

◆ Editor() [2/3]

Scintilla::Editor::Editor ( const Editor )
protecteddelete

◆ Editor() [3/3]

Scintilla::Editor::Editor ( Editor &&  )
protecteddelete

◆ ~Editor()

Editor::~Editor ( )
override

Member Function Documentation

◆ AbandonPaint()

bool Editor::AbandonPaint ( )
protectedvirtual

If painting then abandon the painting because a wider redraw is needed.

Returns
true if calling code should stop drawing.

Reimplemented in Scintilla::ScintillaGTK.

Definition at line 454 of file Editor.cxx.

References paintAbandoned, painting, paintingAllText, and paintState.

Referenced by CheckForChangeOutsidePaint(), Paint(), RedrawSelMargin(), and SetScrollBars().

◆ AddChar()

void Editor::AddChar ( char  ch)
protected

Definition at line 1894 of file Editor.cxx.

References Scintilla::EditModel::directInput, and InsertCharacter().

Referenced by KeyCommand().

◆ AddStyledText()

◆ AllocateGraphics()

void Editor::AllocateGraphics ( )
protected

◆ ButtonDownWithModifiers()

void Editor::ButtonDownWithModifiers ( Point  pt,
unsigned int  curTime,
int  modifiers 
)
protectedvirtual

Reimplemented in Scintilla::ScintillaBase.

Definition at line 4518 of file Editor.cxx.

References AllowVirtualSpace(), Scintilla::SelectionRange::anchor, character, Scintilla::Selection::Clear(), Close(), Scintilla::Selection::Count(), ddInitial, ddNone, doubleClickCloseThreshold, Scintilla::Platform::DoubleClickTime(), Scintilla::Selection::Empty(), Scintilla::Document::ExtendWordSelect(), FineTickerStart(), hotSpotClickPos, inDragDrop, InvalidateSelection(), InvalidateWholeSelection(), Sci::invalidPosition, Scintilla::Document::IsLineEndPosition(), Scintilla::Selection::IsRectangular(), lastClick, lastClickTime, lastXChosen, lineAnchorPos, Scintilla::Document::LineFromPosition(), LineSelection(), Scintilla::Document::LineStart(), Scintilla::Selection::MainAnchor(), Scintilla::Selection::MainCaret(), marginOptions, MovePositionOutsideChar(), Scintilla::Document::MovePositionOutsideChar(), multipleSelection, NotifyDoubleClick(), NotifyHotSpotClicked(), NotifyHotSpotDoubleClicked(), NotifyIndicatorClick(), NotifyMarginClick(), originalAnchorPos, Scintilla::EditModel::pdoc, PointInSelection(), PointInSelMargin(), PointIsHotspot(), Scintilla::SelectionPosition::Position(), PositionFromLocation(), PositionIsHotspot(), ptMouseLast, Scintilla::Selection::RangeMain(), Scintilla::Selection::Rectangular(), Redraw(), SC_MARGINOPTION_SUBLINESELECT, SCI_ALT, SCI_CTRL, SCI_SHIFT, Scintilla::EditModel::sel, SelectAll(), SelectionEmpty(), selectionUnit, Scintilla::Selection::selRectangle, Scintilla::Selection::selStream, Scintilla::Selection::selType, SetDragPosition(), SetEmptySelection(), SetHoverIndicatorPoint(), SetMouseCapture(), Scintilla::Selection::SetMoveExtends(), SetRectangularRange(), SetSelection(), ShowCaretAtCurrentPosition(), SPositionFromLocation(), subLine, Scintilla::Selection::TentativeSelection(), tickScroll, virtualSpaceOptions, wholeLine, word, wordSelectAnchorEndPos, wordSelectAnchorStartPos, wordSelectInitialCaretPos, WordSelection(), Wrapping(), Scintilla::Point::x, and Scintilla::EditModel::xOffset.

Referenced by Scintilla::ScintillaBase::ButtonDownWithModifiers().

◆ ButtonMoveWithModifiers()

void Editor::ButtonMoveWithModifiers ( Point  pt,
unsigned int  curTime,
int  modifiers 
)
protected

Definition at line 4773 of file Editor.cxx.

References AllowVirtualSpace(), Scintilla::SelectionRange::anchor, autoScrollDelay, autoScrollTimer, Scintilla::PRectangle::bottom, character, Scintilla::PRectangle::Contains(), CopySelectionRange(), Scintilla::Selection::Count(), Scintilla::Window::cursorArrow, Scintilla::Window::cursorHand, Scintilla::Window::cursorText, ddInitial, ddNone, DisplayCursor(), DisplayFromPosition(), drag, DragThreshold(), dwellDelay, DwellEnd(), EnsureCaretVisible(), FineTickerCancel(), FineTickerStart(), Scintilla::ViewStyle::fixedColumnWidth, GetClientRectangle(), GetMarginCursor(), GetVisibleOriginInMain(), HaveMouseCapture(), Scintilla::EditModel::hotspot, hotSpotClickPos, Scintilla::EditModel::hoverIndicatorPos, inDragDrop, INVALID_POSITION, InvalidateSelection(), Sci::invalidPosition, Scintilla::Selection::IsRectangular(), Scintilla::SelectionPosition::IsValid(), lineAnchorPos, LineSelection(), LinesOnScreen(), Scintilla::Selection::MainCaret(), mouseSelectionRectangularSwitch, Scintilla::PRectangle::Move(), MovePositionOutsideChar(), PointInSelection(), PointInSelMargin(), PointIsHotspot(), Scintilla::EditModel::posDrag, Scintilla::SelectionPosition::Position(), PositionFromLocation(), ptMouseLast, Scintilla::Selection::RangeMain(), Scintilla::Selection::Rectangular(), Redraw(), SC_TIME_FOREVER, SCI_ALT, ScrollTo(), Scintilla::EditModel::sel, SelectionEmpty(), selectionUnit, Scintilla::Selection::selRectangle, Scintilla::Selection::selStream, Scintilla::Selection::selType, SetDragPosition(), SetHotSpotRange(), SetHoverIndicatorPoint(), SetHoverIndicatorPosition(), SetMouseCapture(), SetSelection(), SPositionFromLocation(), StartDrag(), Scintilla::Selection::TentativeSelection(), tickDwell, tickScroll, Scintilla::Timer::tickSize, Scintilla::Timer::ticksToWait, timer, Scintilla::PRectangle::top, Scintilla::Range::Valid(), virtualSpaceOptions, vs, wholeLine, word, wordSelectInitialCaretPos, WordSelection(), and Scintilla::Point::y.

Referenced by Scintilla::ScintillaGTK::Motion(), and TickFor().

◆ ButtonUpWithModifiers()

void Editor::ButtonUpWithModifiers ( Point  pt,
unsigned int  curTime,
int  modifiers 
)
protected

Definition at line 4900 of file Editor.cxx.

References Scintilla::SelectionPosition::Add(), AllowVirtualSpace(), Scintilla::SelectionRange::anchor, character, Scintilla::SelectionText::Clear(), Scintilla::Selection::CommitTentative(), Scintilla::Selection::Count(), Scintilla::Window::cursorText, Scintilla::SelectionText::Data(), ddDragging, ddInitial, ddNone, Scintilla::Document::DeleteChars(), DisplayCursor(), drag, EnsureCaretVisible(), FineTickerCancel(), GetMarginCursor(), HaveMouseCapture(), hotSpotClickPos, Scintilla::EditModel::hoverIndicatorPos, inDragDrop, Scintilla::Document::InsertString(), INVALID_POSITION, InvalidateRange(), InvalidateWholeSelection(), Scintilla::Selection::IsRectangular(), lastClick, lastClickTime, lastXChosen, Scintilla::SelectionText::Length(), Scintilla::Selection::MainCaret(), MovePositionOutsideChar(), NotifyHotSpotReleaseClick(), NotifyIndicatorClick(), originalAnchorPos, Scintilla::EditModel::pdoc, PointInSelMargin(), PointIsHotspot(), Scintilla::SelectionPosition::Position(), ptMouseLast, Scintilla::Selection::Range(), Scintilla::Selection::RangeMain(), SCI_CTRL, Scintilla::EditModel::sel, SelectionEnd(), SelectionStart(), selectionUnit, Scintilla::Selection::selStream, Scintilla::Selection::selType, SetEmptySelection(), SetHotSpotRange(), SetLastXChosen(), SetMouseCapture(), SetRectangularRange(), SetSelection(), SPositionFromLocation(), tickScroll, virtualSpaceOptions, Scintilla::Point::x, and Scintilla::EditModel::xOffset.

Referenced by Scintilla::ScintillaGTK::MouseRelease().

◆ BytesResult()

sptr_t Editor::BytesResult ( sptr_t  lParam,
const unsigned char *  val,
size_t  len 
)
staticprotectednoexcept

Definition at line 5812 of file Editor.cxx.

References ptr.

Referenced by WndProc().

◆ CancelModes()

void Editor::CancelModes ( )
protectedvirtual

◆ CanPaste()

bool Editor::CanPaste ( )
protectedvirtual

◆ CaretSetPeriod()

void Editor::CaretSetPeriod ( int  period)
protected

◆ CaseFolderForEncoding()

CaseFolder * Editor::CaseFolderForEncoding ( )
protectedvirtual

Reimplemented in Scintilla::ScintillaGTK.

Definition at line 4053 of file Editor.cxx.

Referenced by FindText(), MultipleSelectAdd(), SearchInTarget(), and SearchText().

◆ CaseMapString()

std::string Editor::CaseMapString ( const std::string &  s,
int  caseMapping 
)
protectedvirtual

Reimplemented in Scintilla::ScintillaGTK.

Definition at line 4141 of file Editor.cxx.

References cmLower, cmUpper, Scintilla::MakeLowerCase(), and Scintilla::MakeUpperCase().

Referenced by ChangeCaseOfSelection().

◆ ChangeCaseOfSelection()

◆ ChangeSize()

◆ CharPtrFromSPtr()

static char * Scintilla::Editor::CharPtrFromSPtr ( sptr_t  lParam)
inlinestaticprotectednoexcept

◆ CheckForChangeOutsidePaint()

◆ CheckModificationForWrap()

◆ ClaimSelection()

virtual void Scintilla::Editor::ClaimSelection ( )
protectedpure virtual

◆ ClampPositionIntoDocument()

◆ Clear()

◆ ClearAll()

◆ ClearBeforeTentativeStart()

◆ ClearDocumentStyle()

◆ ClearSelection()

◆ CodePage()

int Editor::CodePage ( ) const
protectednoexcept

◆ ConstCharPtrFromSPtr()

static const char * Scintilla::Editor::ConstCharPtrFromSPtr ( sptr_t  lParam)
inlinestaticprotectednoexcept

Definition at line 588 of file Editor.h.

Referenced by WndProc(), and Scintilla::ScintillaBase::WndProc().

◆ ConstCharPtrFromUPtr()

static const char * Scintilla::Editor::ConstCharPtrFromUPtr ( uptr_t  wParam)
inlinestaticprotectednoexcept

◆ ConstUCharPtrFromSPtr()

static const unsigned char * Scintilla::Editor::ConstUCharPtrFromSPtr ( sptr_t  lParam)
inlinestaticprotectednoexcept

Definition at line 591 of file Editor.h.

Referenced by WndProc(), and Scintilla::ScintillaBase::WndProc().

◆ ContainerNeedsUpdate()

void Editor::ContainerNeedsUpdate ( int  flags)
protectednoexcept

◆ ContractedFoldNext()

Sci::Line Editor::ContractedFoldNext ( Sci::Line  lineStart) const
protected

◆ Copy()

virtual void Scintilla::Editor::Copy ( )
protectedpure virtual

Implemented in Scintilla::ScintillaGTK.

Referenced by Cut(), and WndProc().

◆ CopyAllowLine()

void Editor::CopyAllowLine ( )
protected

Definition at line 2148 of file Editor.cxx.

References CopySelectionRange(), and CopyToClipboard().

Referenced by WndProc().

◆ CopyRangeToClipboard()

◆ CopySelectionRange()

◆ CopyText()

void Editor::CopyText ( size_t  length,
const char *  text 
)
protected

◆ CopyToClipboard()

virtual void Scintilla::Editor::CopyToClipboard ( const SelectionText selectedText)
protectedpure virtual

◆ CurrentPosition()

◆ CursorUpOrDown()

◆ Cut()

◆ DefWndProc()

virtual sptr_t Scintilla::Editor::DefWndProc ( unsigned int  iMessage,
uptr_t  wParam,
sptr_t  lParam 
)
protectedpure virtual

Implemented in Scintilla::ScintillaGTK.

Referenced by WndProc().

◆ DelCharBack()

◆ DelWordOrLine()

◆ DiscardOverdraw()

void Editor::DiscardOverdraw ( )
protectedvirtual

Definition at line 480 of file Editor.cxx.

Referenced by StyleToPositionInView().

◆ DisplayCursor()

void Editor::DisplayCursor ( Window::Cursor  c)
protectedvirtual

◆ DisplayFromPosition()

Sci::Line Editor::DisplayFromPosition ( Sci::Position  pos)
protected

Definition at line 1097 of file Editor.cxx.

References Scintilla::EditView::DisplayFromPosition(), pos, view, and vs.

Referenced by ButtonMoveWithModifiers(), and XYScrollToMakeVisible().

◆ DocumentPointFromView()

◆ DragThreshold()

bool Editor::DragThreshold ( Point  ptStart,
Point  ptNow 
)
protectedvirtual

Reimplemented in Scintilla::ScintillaGTK.

Definition at line 4289 of file Editor.cxx.

References Scintilla::Point::x, and Scintilla::Point::y.

Referenced by ButtonMoveWithModifiers().

◆ DropAt() [1/2]

void Editor::DropAt ( SelectionPosition  position,
const char *  value,
bool  moving,
bool  rectangular 
)
protected

Definition at line 4363 of file Editor.cxx.

References DropAt(), and position.

◆ DropAt() [2/2]

◆ DropCaret()

void Editor::DropCaret ( )
protected

◆ DropGraphics()

void Editor::DropGraphics ( bool  freeObjects)
protected

◆ Duplicate()

◆ DwellEnd()

◆ EnsureCaretVisible()

◆ EnsureLineVisible()

◆ ExpandLine()

Sci::Line Editor::ExpandLine ( Sci::Line  line)
protected

Recursively expand a fold, making lines visible except where they have an unexpanded parent.

Definition at line 5323 of file Editor.cxx.

References ExpandLine(), Scintilla::Document::GetLastChild(), Scintilla::Document::GetLevel(), line, Scintilla::EditModel::pcs, Scintilla::EditModel::pdoc, and SC_FOLDLEVELHEADERFLAG.

Referenced by EnsureLineVisible(), ExpandLine(), and FoldLine().

◆ FilterSelections()

◆ Finalise()

void Editor::Finalise ( )
protectedvirtual

Reimplemented in Scintilla::ScintillaGTK, and Scintilla::ScintillaBase.

Definition at line 201 of file Editor.cxx.

References CancelModes(), and SetIdle().

Referenced by Scintilla::ScintillaBase::Finalise().

◆ FindText()

Sci::Position Editor::FindText ( uptr_t  wParam,
sptr_t  lParam 
)
protected

Search of a text in the document, in the given range.

Returns
The position of the found text, -1 if not found.

< Sci_TextToFind structure: The text to search for in the given range.

Parameters
wParamSearch modes : SCFIND_MATCHCASE, SCFIND_WHOLEWORD, SCFIND_WORDSTART, SCFIND_REGEXP or SCFIND_POSIX.

Definition at line 4062 of file Editor.cxx.

References CaseFolderForEncoding(), Sci_TextToFind::chrg, Sci_TextToFind::chrgText, Sci_CharacterRange::cpMax, Sci_CharacterRange::cpMin, errorStatus, Scintilla::Document::FindText(), Scintilla::Document::HasCaseFolder(), Sci_TextToFind::lpstrText, Scintilla::EditModel::pdoc, pos, PtrFromSPtr(), SC_STATUS_WARN_REGEX, and Scintilla::Document::SetCaseFolder().

Referenced by WndProc().

◆ FineTickerCancel()

void Editor::FineTickerCancel ( TickReason  reason)
protectedvirtual

◆ FineTickerRunning()

bool Editor::FineTickerRunning ( TickReason  reason)
protectedvirtual

Reimplemented in Scintilla::ScintillaGTK.

Definition at line 5044 of file Editor.cxx.

Referenced by Paint().

◆ FineTickerStart()

void Editor::FineTickerStart ( TickReason  reason,
int  millis,
int  tolerance 
)
protectedvirtual

◆ FoldAll()

◆ FoldChanged()

◆ FoldExpand()

◆ FoldLine()

◆ FormatRange()

Sci::Position Editor::FormatRange ( bool  draw,
const Sci_RangeToFormat pfr 
)
protected

◆ GetClientDrawingRectangle()

PRectangle Editor::GetClientDrawingRectangle ( )
protectedvirtual

Definition at line 326 of file Editor.cxx.

References GetClientRectangle().

Referenced by RectangleFromRange(), and StyleToPositionInView().

◆ GetClientRectangle()

◆ GetCtrlID()

virtual int Scintilla::Editor::GetCtrlID ( )
inlineprotectedvirtual

◆ GetHotSpotRange()

Range Editor::GetHotSpotRange ( ) const
overrideprotectedvirtualnoexcept

Implements Scintilla::EditModel.

Definition at line 4769 of file Editor.cxx.

References Scintilla::EditModel::hotspot.

◆ GetMarginCursor()

Window::Cursor Editor::GetMarginCursor ( Point  pt) const
protectednoexcept

◆ GetTag()

Sci::Position Editor::GetTag ( char *  tagValue,
int  tagNumber 
)
protected

Definition at line 5583 of file Editor.cxx.

References name, Scintilla::EditModel::pdoc, Scintilla::Document::SubstituteByPosition(), and text.

Referenced by WndProc().

◆ GetTextRectangle()

◆ GetVisibleOriginInMain()

◆ GoToLine()

◆ HaveMouseCapture()

virtual bool Scintilla::Editor::HaveMouseCapture ( )
protectedpure virtual

◆ HorizontalMove()

int Editor::HorizontalMove ( unsigned int  iMessage)
protected

Definition at line 3377 of file Editor.cxx.

References additionalSelectionTyping, Scintilla::SelectionRange::anchor, Scintilla::SelectionRange::caret, caretPolicies, Scintilla::Selection::Count(), Scintilla::Selection::DropAdditionalRanges(), Scintilla::SelectionRange::Empty(), Scintilla::SelectionSegment::end, Scintilla::SelectionRange::End(), Scintilla::Document::GetColumn(), INVALID_POSITION, InvalidateWholeSelection(), Scintilla::Document::IsLineEndPosition(), Scintilla::Selection::IsRectangular(), Scintilla::Selection::Limits(), Scintilla::Document::LineEndPosition(), LineEndWrapPosition(), Scintilla::Document::LineFromPosition(), Scintilla::Document::LineStart(), Scintilla::Selection::MainCaret(), MovedCaret(), Scintilla::Selection::MoveExtends(), MovePositionSoVisible(), multipleSelection, Scintilla::Document::NextWordEnd(), Scintilla::Document::NextWordStart(), Scintilla::EditModel::pdoc, PLATFORM_ASSERT, Scintilla::SelectionPosition::Position(), Scintilla::Selection::Range(), Scintilla::Selection::RangeMain(), Scintilla::Selection::Rectangular(), Scintilla::Selection::RemoveDuplicates(), SCI_CHARLEFT, SCI_CHARLEFTEXTEND, SCI_CHARLEFTRECTEXTEND, SCI_CHARRIGHT, SCI_CHARRIGHTEXTEND, SCI_CHARRIGHTRECTEXTEND, SCI_HOME, SCI_HOMEDISPLAY, SCI_HOMEDISPLAYEXTEND, SCI_HOMEEXTEND, SCI_HOMERECTEXTEND, SCI_HOMEWRAP, SCI_HOMEWRAPEXTEND, SCI_LINEEND, SCI_LINEENDDISPLAY, SCI_LINEENDDISPLAYEXTEND, SCI_LINEENDEXTEND, SCI_LINEENDRECTEXTEND, SCI_LINEENDWRAP, SCI_LINEENDWRAPEXTEND, SCI_VCHOME, SCI_VCHOMEDISPLAY, SCI_VCHOMEDISPLAYEXTEND, SCI_VCHOMEEXTEND, SCI_VCHOMERECTEXTEND, SCI_VCHOMEWRAP, SCI_VCHOMEWRAPEXTEND, SCI_WORDLEFT, SCI_WORDLEFTEND, SCI_WORDLEFTENDEXTEND, SCI_WORDLEFTEXTEND, SCI_WORDPARTLEFT, SCI_WORDPARTLEFTEXTEND, SCI_WORDPARTRIGHT, SCI_WORDPARTRIGHTEXTEND, SCI_WORDRIGHT, SCI_WORDRIGHTEND, SCI_WORDRIGHTENDEXTEND, SCI_WORDRIGHTEXTEND, SCVS_NOWRAPLINESTART, SCVS_RECTANGULARSELECTION, SCVS_USERACCESSIBLE, Scintilla::EditModel::sel, Scintilla::Selection::selLines, Scintilla::Selection::selRectangle, Scintilla::Selection::selStream, Scintilla::Selection::selType, SetLastXChosen(), SetRectangularRange(), Scintilla::Selection::SetSelection(), Scintilla::SelectionPosition::SetVirtualSpace(), Scintilla::SelectionSegment::start, Scintilla::SelectionRange::Start(), StartEndDisplayLine(), Scintilla::Selection::TrimOtherSelections(), VCHomeDisplayPosition(), Scintilla::Document::VCHomePosition(), VCHomeWrapPosition(), Scintilla::SelectionPosition::VirtualSpace(), virtualSpaceOptions, Scintilla::Document::WordPartLeft(), and Scintilla::Document::WordPartRight().

Referenced by KeyCommand().

◆ HorizontalScrollTo()

◆ Idle()

◆ IdleStyling()

◆ IdleWork()

◆ Indent()

◆ Initialise()

virtual void Scintilla::Editor::Initialise ( )
protectedpure virtual

Implemented in Scintilla::ScintillaBase.

◆ InsertCharacter()

void Editor::InsertCharacter ( const char *  s,
unsigned int  len,
CharacterSource  charSource 
)
protectedvirtual

◆ InsertPaste()

◆ InsertPasteShape()

◆ InvalidateCaret()

◆ InvalidateRange()

◆ InvalidateSelection()

◆ InvalidateStyleData()

◆ InvalidateStyleRedraw()

void Editor::InvalidateStyleRedraw ( )
protected

◆ InvalidateWholeSelection()

◆ IsUnicodeMode()

◆ KeyCommand()

int Editor::KeyCommand ( unsigned int  iMessage)
protectedvirtual

Reimplemented in Scintilla::ScintillaBase.

Definition at line 3692 of file Editor.cxx.

References AddChar(), CancelModes(), caretSticky, ChangeCaseOfSelection(), cmLower, cmUpper, ContainerNeedsUpdate(), CopyRangeToClipboard(), Scintilla::Selection::Count(), CursorUpOrDown(), Cut(), DelCharBack(), Scintilla::Document::DeleteChars(), DelWordOrLine(), Scintilla::Selection::DropAdditionalRanges(), Duplicate(), EnsureCaretVisible(), HorizontalMove(), Indent(), Scintilla::EditModel::inOverstrike, InvalidateStyleRedraw(), InvalidateWholeSelection(), Scintilla::Selection::IsRectangular(), Scintilla::Document::Length(), line, LineReverse(), Scintilla::Document::LineStart(), LineTranspose(), Scintilla::Selection::MainCaret(), MaxScrollPos(), MoveCaretInsideView(), MovePositionTo(), NewLine(), Scintilla::Selection::noSel, NotifyZoom(), PageMove(), ParaUpOrDown(), Scintilla::EditModel::pdoc, SC_CARETSTICKY_OFF, SC_CARETSTICKY_WHITESPACE, SC_UPDATE_SELECTION, SCI_BACKTAB, SCI_CANCEL, SCI_CHARLEFT, SCI_CHARLEFTEXTEND, SCI_CHARLEFTRECTEXTEND, SCI_CHARRIGHT, SCI_CHARRIGHTEXTEND, SCI_CHARRIGHTRECTEXTEND, SCI_DELETEBACK, SCI_DELETEBACKNOTLINE, SCI_DELLINELEFT, SCI_DELLINERIGHT, SCI_DELWORDLEFT, SCI_DELWORDRIGHT, SCI_DELWORDRIGHTEND, SCI_DOCUMENTEND, SCI_DOCUMENTENDEXTEND, SCI_DOCUMENTSTART, SCI_DOCUMENTSTARTEXTEND, SCI_EDITTOGGLEOVERTYPE, SCI_FORMFEED, SCI_HOME, SCI_HOMEDISPLAY, SCI_HOMEDISPLAYEXTEND, SCI_HOMEEXTEND, SCI_HOMERECTEXTEND, SCI_HOMEWRAP, SCI_HOMEWRAPEXTEND, SCI_LINECOPY, SCI_LINECUT, SCI_LINEDELETE, SCI_LINEDOWN, SCI_LINEDOWNEXTEND, SCI_LINEDOWNRECTEXTEND, SCI_LINEDUPLICATE, SCI_LINEEND, SCI_LINEENDDISPLAY, SCI_LINEENDDISPLAYEXTEND, SCI_LINEENDEXTEND, SCI_LINEENDRECTEXTEND, SCI_LINEENDWRAP, SCI_LINEENDWRAPEXTEND, SCI_LINEREVERSE, SCI_LINESCROLLDOWN, SCI_LINESCROLLUP, SCI_LINETRANSPOSE, SCI_LINEUP, SCI_LINEUPEXTEND, SCI_LINEUPRECTEXTEND, SCI_LOWERCASE, SCI_NEWLINE, SCI_PAGEDOWN, SCI_PAGEDOWNEXTEND, SCI_PAGEDOWNRECTEXTEND, SCI_PAGEUP, SCI_PAGEUPEXTEND, SCI_PAGEUPRECTEXTEND, SCI_PARADOWN, SCI_PARADOWNEXTEND, SCI_PARAUP, SCI_PARAUPEXTEND, SCI_SCROLLTOEND, SCI_SCROLLTOSTART, SCI_SELECTIONDUPLICATE, SCI_STUTTEREDPAGEDOWN, SCI_STUTTEREDPAGEDOWNEXTEND, SCI_STUTTEREDPAGEUP, SCI_STUTTEREDPAGEUPEXTEND, SCI_TAB, SCI_UPPERCASE, SCI_VCHOME, SCI_VCHOMEDISPLAY, SCI_VCHOMEDISPLAYEXTEND, SCI_VCHOMEEXTEND, SCI_VCHOMERECTEXTEND, SCI_VCHOMEWRAP, SCI_VCHOMEWRAPEXTEND, SCI_WORDLEFT, SCI_WORDLEFTEND, SCI_WORDLEFTENDEXTEND, SCI_WORDLEFTEXTEND, SCI_WORDPARTLEFT, SCI_WORDPARTLEFTEXTEND, SCI_WORDPARTRIGHT, SCI_WORDPARTRIGHTEXTEND, SCI_WORDRIGHT, SCI_WORDRIGHTEND, SCI_WORDRIGHTENDEXTEND, SCI_WORDRIGHTEXTEND, SCI_ZOOMIN, SCI_ZOOMOUT, Scintilla::Document::SciLineFromPosition(), ScrollTo(), Scintilla::EditModel::sel, SelectionEnd(), SelectionStart(), Scintilla::Selection::selRectangle, Scintilla::Selection::selStream, SetIdle(), SetLastXChosen(), SetSelection(), ShowCaretAtCurrentPosition(), topLine, vs, and Scintilla::ViewStyle::zoomLevel.

Referenced by Scintilla::ScintillaBase::KeyCommand(), and WndProc().

◆ KeyDefault()

int Editor::KeyDefault ( int  ,
int   
)
protectedvirtual

Reimplemented in Scintilla::ScintillaGTK.

Definition at line 3945 of file Editor.cxx.

Referenced by KeyDownWithModifiers().

◆ KeyDownWithModifiers()

int Editor::KeyDownWithModifiers ( int  key,
int  modifiers,
bool *  consumed 
)
protected

Definition at line 3949 of file Editor.cxx.

References DwellEnd(), Scintilla::KeyMap::Find(), KeyDefault(), kmap, and WndProc().

Referenced by Scintilla::ScintillaGTK::KeyThis().

◆ LineEndWrapPosition()

Sci::Position Editor::LineEndWrapPosition ( Sci::Position  position)
protected

◆ LineFromLocation()

Sci::Line Editor::LineFromLocation ( Point  pt) const
protected

◆ LineReverse()

◆ LineSelection()

◆ LineSelectionRange()

◆ LinesJoin()

◆ LinesOnScreen()

◆ LinesSplit()

◆ LinesToScroll()

Sci::Line Editor::LinesToScroll ( ) const
protected

Definition at line 344 of file Editor.cxx.

References LinesOnScreen().

Referenced by Scintilla::ScintillaGTK::ModifyScrollBars(), and PageMove().

◆ LineTranspose()

◆ LocationFromPosition() [1/2]

Point Editor::LocationFromPosition ( Sci::Position  pos,
PointEnd  pe = peDefault 
)
protected

Definition at line 387 of file Editor.cxx.

References LocationFromPosition(), and pos.

◆ LocationFromPosition() [2/2]

◆ MaxScrollPos()

Sci::Line Editor::MaxScrollPos ( ) const
protected

◆ ModifierFlags()

int Editor::ModifierFlags ( bool  shift,
bool  ctrl,
bool  alt,
bool  meta = false,
bool  super = false 
)
staticprotectednoexcept

◆ ModifyScrollBars()

virtual bool Scintilla::Editor::ModifyScrollBars ( Sci::Line  nMax,
Sci::Line  nPage 
)
protectedpure virtual

Implemented in Scintilla::ScintillaGTK.

Referenced by SetScrollBars().

◆ MouseLeave()

void Editor::MouseLeave ( )
protected

◆ MoveCaretInsideView()

◆ MovedCaret()

◆ MovePositionOutsideChar() [1/2]

Sci::Position Editor::MovePositionOutsideChar ( Sci::Position  pos,
Sci::Position  moveDir,
bool  checkLineEnd = true 
) const
protected

Asks document to find a good position and then moves out of any invisible positions.

Definition at line 817 of file Editor.cxx.

References MovePositionOutsideChar(), and pos.

Referenced by ButtonDownWithModifiers(), ButtonMoveWithModifiers(), ButtonUpWithModifiers(), DropAt(), MovePositionOutsideChar(), MovePositionSoVisible(), MovePositionTo(), PositionInSelection(), and SetDragPosition().

◆ MovePositionOutsideChar() [2/2]

◆ MovePositionSoVisible() [1/2]

SelectionPosition Editor::MovePositionSoVisible ( Sci::Position  pos,
int  moveDir 
)
protected

Definition at line 932 of file Editor.cxx.

References MovePositionSoVisible(), and pos.

◆ MovePositionSoVisible() [2/2]

◆ MovePositionTo() [1/2]

void Editor::MovePositionTo ( Sci::Position  newPos,
Selection::selTypes  selt = Selection::noSel,
bool  ensureVisible = true 
)
protected

Definition at line 907 of file Editor.cxx.

References MovePositionTo().

◆ MovePositionTo() [2/2]

◆ MoveSelectedLines()

◆ MoveSelectedLinesDown()

void Editor::MoveSelectedLinesDown ( )
protected

Definition at line 1076 of file Editor.cxx.

References MoveSelectedLines().

Referenced by WndProc().

◆ MoveSelectedLinesUp()

void Editor::MoveSelectedLinesUp ( )
protected

Definition at line 1072 of file Editor.cxx.

References MoveSelectedLines().

Referenced by WndProc().

◆ MultipleSelectAdd()

◆ NeedShown()

◆ NeedWrapping()

◆ NewLine()

◆ NotifyCaretMove()

void Editor::NotifyCaretMove ( )
protectedvirtual

Definition at line 1463 of file Editor.cxx.

Referenced by MovedCaret().

◆ NotifyChange()

virtual void Scintilla::Editor::NotifyChange ( )
protectedpure virtual

Implemented in Scintilla::ScintillaGTK.

Referenced by NotifyModified().

◆ NotifyChar()

void Editor::NotifyChar ( int  ch,
CharacterSource  charSource 
)
protected

◆ NotifyDeleted()

void Editor::NotifyDeleted ( Document document,
void *  userData 
)
overrideprotectedvirtualnoexcept

Implements Scintilla::DocWatcher.

Definition at line 2743 of file Editor.cxx.

◆ NotifyDoubleClick()

void Editor::NotifyDoubleClick ( Point  pt,
int  modifiers 
)
protectedvirtual

◆ NotifyDwelling()

◆ NotifyErrorOccurred()

void Editor::NotifyErrorOccurred ( Document doc,
void *  userData,
int  status 
)
overrideprotectedvirtual

Implements Scintilla::DocWatcher.

Definition at line 2346 of file Editor.cxx.

References errorStatus.

◆ NotifyFocus()

void Editor::NotifyFocus ( bool  focus)
protectedvirtual

◆ NotifyHotSpotClicked()

void Editor::NotifyHotSpotClicked ( Sci::Position  position,
int  modifiers 
)
protected

◆ NotifyHotSpotDoubleClicked()

void Editor::NotifyHotSpotDoubleClicked ( Sci::Position  position,
int  modifiers 
)
protected

◆ NotifyHotSpotReleaseClick()

void Editor::NotifyHotSpotReleaseClick ( Sci::Position  position,
int  modifiers 
)
protected

◆ NotifyIndicatorClick()

◆ NotifyLexerChanged()

void Editor::NotifyLexerChanged ( Document doc,
void *  userData 
)
overrideprotectedvirtual

Implements Scintilla::DocWatcher.

Reimplemented in Scintilla::ScintillaBase.

Definition at line 2343 of file Editor.cxx.

◆ NotifyMacroRecord()

void Editor::NotifyMacroRecord ( unsigned int  iMessage,
uptr_t  wParam,
sptr_t  lParam 
)
protected

Definition at line 2747 of file Editor.cxx.

References Sci_NotifyHeader::code, SCNotification::lParam, SCNotification::message, SCNotification::nmhdr, NotifyParent(), SCI_ADDTEXT, SCI_APPENDTEXT, SCI_BACKTAB, SCI_CANCEL, SCI_CHARLEFT, SCI_CHARLEFTEXTEND, SCI_CHARLEFTRECTEXTEND, SCI_CHARRIGHT, SCI_CHARRIGHTEXTEND, SCI_CHARRIGHTRECTEXTEND, SCI_CLEAR, SCI_CLEARALL, SCI_COPY, SCI_COPYALLOWLINE, SCI_CUT, SCI_DELETEBACK, SCI_DELETEBACKNOTLINE, SCI_DELLINELEFT, SCI_DELLINERIGHT, SCI_DELWORDLEFT, SCI_DELWORDRIGHT, SCI_DELWORDRIGHTEND, SCI_DOCUMENTEND, SCI_DOCUMENTENDEXTEND, SCI_DOCUMENTSTART, SCI_DOCUMENTSTARTEXTEND, SCI_EDITTOGGLEOVERTYPE, SCI_FORMFEED, SCI_GOTOLINE, SCI_GOTOPOS, SCI_HOME, SCI_HOMEDISPLAY, SCI_HOMEDISPLAYEXTEND, SCI_HOMEEXTEND, SCI_HOMERECTEXTEND, SCI_HOMEWRAP, SCI_HOMEWRAPEXTEND, SCI_INSERTTEXT, SCI_LINECOPY, SCI_LINECUT, SCI_LINEDELETE, SCI_LINEDOWN, SCI_LINEDOWNEXTEND, SCI_LINEDOWNRECTEXTEND, SCI_LINEDUPLICATE, SCI_LINEEND, SCI_LINEENDDISPLAY, SCI_LINEENDDISPLAYEXTEND, SCI_LINEENDEXTEND, SCI_LINEENDRECTEXTEND, SCI_LINEENDWRAP, SCI_LINEENDWRAPEXTEND, SCI_LINEREVERSE, SCI_LINESCROLLDOWN, SCI_LINESCROLLUP, SCI_LINETRANSPOSE, SCI_LINEUP, SCI_LINEUPEXTEND, SCI_LINEUPRECTEXTEND, SCI_LOWERCASE, SCI_MOVESELECTEDLINESDOWN, SCI_MOVESELECTEDLINESUP, SCI_NEWLINE, SCI_PAGEDOWN, SCI_PAGEDOWNEXTEND, SCI_PAGEDOWNRECTEXTEND, SCI_PAGEUP, SCI_PAGEUPEXTEND, SCI_PAGEUPRECTEXTEND, SCI_PARADOWN, SCI_PARADOWNEXTEND, SCI_PARAUP, SCI_PARAUPEXTEND, SCI_PASTE, SCI_REPLACESEL, SCI_SCROLLTOEND, SCI_SCROLLTOSTART, SCI_SEARCHANCHOR, SCI_SEARCHNEXT, SCI_SEARCHPREV, SCI_SELECTALL, SCI_SELECTIONDUPLICATE, SCI_SETSELECTIONMODE, SCI_STUTTEREDPAGEDOWN, SCI_STUTTEREDPAGEDOWNEXTEND, SCI_STUTTEREDPAGEUP, SCI_STUTTEREDPAGEUPEXTEND, SCI_TAB, SCI_UPPERCASE, SCI_VCHOME, SCI_VCHOMEDISPLAY, SCI_VCHOMEDISPLAYEXTEND, SCI_VCHOMEEXTEND, SCI_VCHOMERECTEXTEND, SCI_VCHOMEWRAP, SCI_VCHOMEWRAPEXTEND, SCI_VERTICALCENTRECARET, SCI_WORDLEFT, SCI_WORDLEFTEND, SCI_WORDLEFTENDEXTEND, SCI_WORDLEFTEXTEND, SCI_WORDPARTLEFT, SCI_WORDPARTLEFTEXTEND, SCI_WORDPARTRIGHT, SCI_WORDPARTRIGHTEXTEND, SCI_WORDRIGHT, SCI_WORDRIGHTEND, SCI_WORDRIGHTENDEXTEND, SCI_WORDRIGHTEXTEND, SCN_MACRORECORD, and SCNotification::wParam.

Referenced by InsertCharacter(), NewLine(), and WndProc().

◆ NotifyMarginClick()

◆ NotifyMarginRightClick()

◆ NotifyModified()

void Editor::NotifyModified ( Document document,
DocModification  mh,
void *  userData 
)
overrideprotectedvirtual

Implements Scintilla::DocWatcher.

Definition at line 2566 of file Editor.cxx.

References SCNotification::annotationLinesAdded, Scintilla::DocModification::annotationLinesAdded, Scintilla::ViewStyle::annotationVisible, Scintilla::EditModel::braces, CheckForChangeOutsidePaint(), CheckModificationForWrap(), Scintilla::LineLayout::checkTextAndStyle, Sci_NotifyHeader::code, commandEvents, ContainerNeedsUpdate(), Scintilla::Document::ContainsLineEnd(), Scintilla::ViewStyle::eolAnnotationVisible, foldAutomatic, FoldChanged(), SCNotification::foldLevelNow, Scintilla::DocModification::foldLevelNow, SCNotification::foldLevelPrev, Scintilla::DocModification::foldLevelPrev, Scintilla::Document::GetLastChild(), Scintilla::MarginView::highlightDelimiter, Scintilla::Document::IncrementStyleClock(), Scintilla::LineLayoutCache::Invalidate(), InvalidateRange(), Scintilla::HighlightDelimiter::isEnabled, SCNotification::length, Scintilla::Document::Length(), Scintilla::DocModification::length, line, SCNotification::line, Scintilla::DocModification::line, Scintilla::Document::LineEnd(), SCNotification::linesAdded, Scintilla::DocModification::linesAdded, Scintilla::EditView::LinesAddedOrRemoved(), Scintilla::Document::LineStart(), Scintilla::EditView::llc, marginView, MaxScrollPos(), modEventMask, SCNotification::modificationType, Scintilla::DocModification::modificationType, Scintilla::Selection::MovePositions(), NeedShown(), SCNotification::nmhdr, NotifyChange(), NotifyParent(), notPainting, PaintContainsMargin(), painting, paintState, Scintilla::EditModel::pcs, Scintilla::EditModel::pdoc, SCNotification::position, Scintilla::DocModification::position, posTopLine, QueueIdleWork(), Redraw(), RedrawSelMargin(), SC_AUTOMATICFOLD_CHANGE, SC_MOD_BEFOREDELETE, SC_MOD_BEFOREINSERT, SC_MOD_CHANGEANNOTATION, SC_MOD_CHANGEEOLANNOTATION, SC_MOD_CHANGEFOLD, SC_MOD_CHANGEINDICATOR, SC_MOD_CHANGELINESTATE, SC_MOD_CHANGEMARGIN, SC_MOD_CHANGEMARKER, SC_MOD_CHANGESTYLE, SC_MOD_CHANGETABSTOPS, SC_MOD_DELETETEXT, SC_MOD_INSERTTEXT, SC_MOD_LEXERSTATE, SC_UPDATE_CONTENT, Scintilla::Document::SciLineFromPosition(), SCN_MODIFIED, Scintilla::EditModel::sel, SetScrollBars(), SetTopLine(), SetVerticalScrollPos(), SynchronousStylingToVisible(), SCNotification::text, Scintilla::DocModification::text, SCNotification::token, Scintilla::DocModification::token, topLine, view, vs, willRedrawAll, and Scintilla::WorkNeeded::workStyle.

Referenced by WndProc().

◆ NotifyModifyAttempt() [1/2]

void Editor::NotifyModifyAttempt ( )
protected

◆ NotifyModifyAttempt() [2/2]

void Editor::NotifyModifyAttempt ( Document document,
void *  userData 
)
overrideprotectedvirtual

Implements Scintilla::DocWatcher.

Definition at line 2515 of file Editor.cxx.

References NotifyModifyAttempt().

◆ NotifyNeedShown()

void Editor::NotifyNeedShown ( Sci::Position  pos,
Sci::Position  len 
)
protected

◆ NotifyPainted()

void Editor::NotifyPainted ( )
protected

Definition at line 2419 of file Editor.cxx.

References Sci_NotifyHeader::code, SCNotification::nmhdr, NotifyParent(), and SCN_PAINTED.

Referenced by Paint().

◆ NotifyParent()

◆ NotifySavePoint() [1/2]

void Editor::NotifySavePoint ( bool  isSavePoint)
protected

◆ NotifySavePoint() [2/2]

void Editor::NotifySavePoint ( Document document,
void *  userData,
bool  atSavePoint 
)
overrideprotectedvirtual

Implements Scintilla::DocWatcher.

Definition at line 2520 of file Editor.cxx.

References NotifySavePoint().

◆ NotifyStyleNeeded()

void Editor::NotifyStyleNeeded ( Document doc,
void *  userData,
Sci::Position  endStyleNeeded 
)
overrideprotectedvirtual

Implements Scintilla::DocWatcher.

Definition at line 2339 of file Editor.cxx.

References NotifyStyleToNeeded().

◆ NotifyStyleToNeeded()

void Editor::NotifyStyleToNeeded ( Sci::Position  endStyleNeeded)
protectedvirtual

◆ NotifyUpdateUI()

bool Editor::NotifyUpdateUI ( )
protected

◆ NotifyZoom()

void Editor::NotifyZoom ( )
protected

Definition at line 2508 of file Editor.cxx.

References Sci_NotifyHeader::code, SCNotification::nmhdr, NotifyParent(), and SCN_ZOOM.

Referenced by KeyCommand(), and WndProc().

◆ operator=() [1/2]

Editor & Scintilla::Editor::operator= ( const Editor )
protecteddelete

◆ operator=() [2/2]

Editor & Scintilla::Editor::operator= ( Editor &&  )
protecteddelete

◆ PageMove()

void Editor::PageMove ( int  direction,
Selection::selTypes  selt = Selection::noSel,
bool  stuttered = false 
)
protected

◆ Paint()

◆ PaintContains()

bool Editor::PaintContains ( PRectangle  rc)
protectedvirtual

◆ PaintContainsMargin()

bool Editor::PaintContainsMargin ( )
protected

◆ PaintSelMargin()

◆ ParaUpOrDown()

◆ Paste()

virtual void Scintilla::Editor::Paste ( )
protectedpure virtual

Implemented in Scintilla::ScintillaGTK.

Referenced by WndProc().

◆ PasteRectangular()

◆ PointInSelection()

◆ PointInSelMargin()

◆ PointIsHotspot()

bool Editor::PointIsHotspot ( Point  pt)
protected

◆ PointMainCaret()

◆ PositionAfterArea()

◆ PositionAfterMaxStyling()

◆ PositionFromLineX()

Sci::Position Editor::PositionFromLineX ( Sci::Line  lineDoc,
int  x 
)
protected

Definition at line 434 of file Editor.cxx.

References Scintilla::SelectionPosition::Position(), and SPositionFromLineX().

Referenced by PasteRectangular().

◆ PositionFromLocation()

Sci::Position Editor::PositionFromLocation ( Point  pt,
bool  canReturnInvalid = false,
bool  charPosition = false 
)
protected

◆ PositionInSelection()

bool Editor::PositionInSelection ( Sci::Position  pos)
protected

PositionInSelection returns true if position in selection.

Returns
true if given position is inside the selection,

Definition at line 4370 of file Editor.cxx.

References Scintilla::SelectionRange::Contains(), Scintilla::Selection::Count(), Scintilla::Selection::MainCaret(), MovePositionOutsideChar(), pos, Scintilla::Selection::Range(), and Scintilla::EditModel::sel.

Referenced by Scintilla::ScintillaGTK::DragMotionThis(), and DropAt().

◆ PositionIsHotspot()

bool Editor::PositionIsHotspot ( Sci::Position  position) const
protected

◆ PositionUpOrDown()

◆ PtrFromSPtr()

static void * Scintilla::Editor::PtrFromSPtr ( sptr_t  lParam)
inlinestaticprotectednoexcept

Definition at line 585 of file Editor.h.

Referenced by FindText(), and WndProc().

◆ PtrFromUPtr()

static void * Scintilla::Editor::PtrFromUPtr ( uptr_t  wParam)
inlinestaticprotectednoexcept

Definition at line 600 of file Editor.h.

◆ QueueIdleWork()

void Editor::QueueIdleWork ( WorkNeeded::workItems  items,
Sci::Position  upTo = 0 
)
protectedvirtual

◆ RangeContainsProtected()

◆ RangeDisplayLine()

Range Editor::RangeDisplayLine ( Sci::Line  lineVisible)
protected

Definition at line 3236 of file Editor.cxx.

References Scintilla::EditView::RangeDisplayLine(), RefreshStyleData(), view, and vs.

◆ RangeText()

◆ RealizeVirtualSpace() [1/2]

SelectionPosition Editor::RealizeVirtualSpace ( const SelectionPosition position)
protected

Definition at line 1889 of file Editor.cxx.

References position, and RealizeVirtualSpace().

◆ RealizeVirtualSpace() [2/2]

◆ ReconfigureScrollBars()

void Editor::ReconfigureScrollBars ( )
protectedvirtual

Reimplemented in Scintilla::ScintillaGTK.

Definition at line 1834 of file Editor.cxx.

Referenced by WndProc().

◆ RectangleFromRange()

◆ Redo()

void Editor::Redo ( )
protectedvirtual

◆ Redraw()

◆ RedrawRect()

◆ RedrawSelMargin()

◆ RefreshPixMaps()

◆ RefreshStyleData()

◆ ReplaceTarget()

◆ RightButtonDownWithModifiers()

void Editor::RightButtonDownWithModifiers ( Point  pt,
unsigned int  curTime,
int  modifiers 
)
protectedvirtual

Reimplemented in Scintilla::ScintillaBase.

Definition at line 4699 of file Editor.cxx.

References NotifyMarginRightClick().

Referenced by Scintilla::ScintillaBase::RightButtonDownWithModifiers().

◆ ScrollRange()

void Editor::ScrollRange ( SelectionRange  range)
protected

Definition at line 1410 of file Editor.cxx.

References caretPolicies, SetXYScroll(), XYScrollToMakeVisible(), and xysDefault.

Referenced by MultipleSelectAdd(), and WndProc().

◆ ScrollText()

void Editor::ScrollText ( Sci::Line  linesToMove)
protectedvirtual

Reimplemented in Scintilla::ScintillaGTK.

Definition at line 979 of file Editor.cxx.

References Redraw().

Referenced by ScrollTo().

◆ ScrollTo()

◆ SearchAnchor()

void Editor::SearchAnchor ( )
protected

Relocatable search support : Searches relative to current selection point and sets the selection to the found text range with each search.

Anchor following searches at current selection start: This allows multiple incremental interactive searches to be macro recorded while still setting the selection to found text so the find/select operation is self-contained.

Definition at line 4100 of file Editor.cxx.

References Scintilla::SelectionPosition::Position(), searchAnchor, and SelectionStart().

Referenced by WndProc().

◆ SearchInTarget()

◆ SearchText()

Sci::Position Editor::SearchText ( unsigned int  iMessage,
uptr_t  wParam,
sptr_t  lParam 
)
protected

Find text from current search anchor: Must call SearchAnchor first.

Used for next text and previous text requests.

Returns
The position of the found text, -1 if not found.

< The text to search for.

Parameters
iMessageAccepts both SCI_SEARCHNEXT and SCI_SEARCHPREV.
wParamSearch modes : SCFIND_MATCHCASE, SCFIND_WHOLEWORD, SCFIND_WORDSTART, SCFIND_REGEXP or SCFIND_POSIX.

Definition at line 4109 of file Editor.cxx.

References CaseFolderForEncoding(), CharPtrFromSPtr(), errorStatus, Scintilla::Document::FindText(), Scintilla::Document::HasCaseFolder(), INVALID_POSITION, Scintilla::Document::Length(), Scintilla::EditModel::pdoc, pos, SC_STATUS_WARN_REGEX, SCI_SEARCHNEXT, searchAnchor, Scintilla::Document::SetCaseFolder(), and SetSelection().

Referenced by WndProc().

◆ SelectAll()

void Editor::SelectAll ( )
protectedvirtual

◆ SelectionContainsProtected()

◆ SelectionEmpty()

bool Editor::SelectionEmpty ( ) const
protectednoexcept

◆ SelectionEnd()

◆ SelectionStart()

◆ SetAnnotationHeights()

◆ SetAnnotationVisible()

◆ SetAppearance()

template<typename T >
bool Scintilla::Editor::SetAppearance ( T &  variable,
value 
)
inlineprotected

Definition at line 613 of file Editor.h.

Referenced by WndProc().

◆ SetBraceHighlight()

void Editor::SetBraceHighlight ( Sci::Position  pos0,
Sci::Position  pos1,
int  matchStyle 
)
protected

◆ SetCtrlID()

void Editor::SetCtrlID ( int  identifier)
protectedvirtual

Definition at line 2328 of file Editor.cxx.

References ctrlID.

Referenced by WndProc().

◆ SetDocPointer()

◆ SetDragPosition()

◆ SetEmptySelection() [1/2]

void Editor::SetEmptySelection ( Sci::Position  currentPos_)
protected

Definition at line 731 of file Editor.cxx.

References SetEmptySelection().

◆ SetEmptySelection() [2/2]

◆ SetEOLAnnotationVisible()

void Editor::SetEOLAnnotationVisible ( int  visible)
protected

Definition at line 5313 of file Editor.cxx.

References Scintilla::ViewStyle::eolAnnotationVisible, Redraw(), and vs.

Referenced by WndProc().

◆ SetFocusState()

void Editor::SetFocusState ( bool  focusState)
protected

◆ SetFoldExpanded()

void Editor::SetFoldExpanded ( Sci::Line  lineDoc,
bool  expanded 
)
protected

Definition at line 5341 of file Editor.cxx.

References Scintilla::EditModel::pcs, and RedrawSelMargin().

Referenced by FoldAll(), FoldExpand(), and WndProc().

◆ SetHorizontalScrollPos()

virtual void Scintilla::Editor::SetHorizontalScrollPos ( )
protectedpure virtual

◆ SetHotSpotRange()

◆ SetHoverIndicatorPoint()

void Editor::SetHoverIndicatorPoint ( Point  pt)
protected

◆ SetHoverIndicatorPosition()

◆ SetIdle()

virtual bool Scintilla::Editor::SetIdle ( bool  )
inlineprotectedvirtual

Reimplemented in Scintilla::ScintillaGTK.

Definition at line 523 of file Editor.h.

Referenced by Finalise(), KeyCommand(), NeedWrapping(), StartIdleStyling(), WndProc(), and WrapLines().

◆ SetLastXChosen()

void Editor::SetLastXChosen ( )
protected

Choose the x position that the caret will try to stick to as it moves up and down.

Definition at line 944 of file Editor.cxx.

References lastXChosen, PointMainCaret(), Scintilla::Point::x, and Scintilla::EditModel::xOffset.

Referenced by Scintilla::ScintillaBase::AutoCompleteCompleted(), ButtonUpWithModifiers(), DelWordOrLine(), HorizontalMove(), InsertCharacter(), KeyCommand(), NewLine(), and WndProc().

◆ SetMouseCapture()

virtual void Scintilla::Editor::SetMouseCapture ( bool  on)
protectedpure virtual

◆ SetRectangularRange()

◆ SetRepresentations()

◆ SetScrollBars()

◆ SetSelection() [1/4]

void Editor::SetSelection ( int  currentPos_)
protected

Definition at line 709 of file Editor.cxx.

References SetSelection().

◆ SetSelection() [2/4]

void Editor::SetSelection ( Sci::Position  currentPos_,
Sci::Position  anchor_ 
)
protected

Definition at line 679 of file Editor.cxx.

References SetSelection().

◆ SetSelection() [3/4]

◆ SetSelection() [4/4]

◆ SetSelectionNMessage()

◆ SetTopLine()

◆ SetVerticalScrollPos()

virtual void Scintilla::Editor::SetVerticalScrollPos ( )
protectedpure virtual

◆ SetXYScroll()

◆ ShowCaretAtCurrentPosition()

◆ SPositionFromLineX()

SelectionPosition Editor::SPositionFromLineX ( Sci::Line  lineDoc,
int  x 
)
protected

Find the document position corresponding to an x coordinate on a particular document line.

Ensure is between whole characters when document is in multi-byte or UTF-8 mode. This method is used for rectangular selections and does not work on wrapped lines.

Definition at line 425 of file Editor.cxx.

References Scintilla::Document::Length(), Scintilla::Document::LinesTotal(), Scintilla::EditModel::pdoc, RefreshStyleData(), Scintilla::EditView::SPositionFromLineX(), view, and vs.

Referenced by PositionFromLineX().

◆ SPositionFromLocation()

◆ StartDrag()

void Editor::StartDrag ( )
protectedvirtual

Reimplemented in Scintilla::ScintillaGTK.

Definition at line 4295 of file Editor.cxx.

Referenced by ButtonMoveWithModifiers().

◆ StartEndDisplayLine()

Sci::Position Editor::StartEndDisplayLine ( Sci::Position  pos,
bool  start 
)
protected

◆ StartIdleStyling()

void Editor::StartIdleStyling ( bool  truncatedLastStyling)
protected

◆ StringFromEOLMode()

const char * Editor::StringFromEOLMode ( int  eolMode)
staticprotectednoexcept

Definition at line 1618 of file Editor.cxx.

References SC_EOL_CR, and SC_EOL_CRLF.

Referenced by Duplicate(), InsertPasteShape(), LinesSplit(), MoveSelectedLines(), and NewLine().

◆ StringResult()

sptr_t Editor::StringResult ( sptr_t  lParam,
const char *  val 
)
staticprotectednoexcept

Definition at line 5800 of file Editor.cxx.

References ptr.

Referenced by StyleGetMessage(), WndProc(), and Scintilla::ScintillaBase::WndProc().

◆ StyleAreaBounded()

void Editor::StyleAreaBounded ( PRectangle  rcArea,
bool  scrolling 
)
protected

◆ StyleGetMessage()

◆ StyleSetMessage()

◆ StyleToPositionInView()

◆ SynchronousStylingToVisible()

bool Scintilla::Editor::SynchronousStylingToVisible ( ) const
inlineprotectednoexcept

Definition at line 533 of file Editor.h.

References SC_IDLESTYLING_AFTERVISIBLE, and SC_IDLESTYLING_NONE.

Referenced by NotifyModified(), and PositionAfterMaxStyling().

◆ TextWidth()

long Editor::TextWidth ( uptr_t  style,
const char *  text 
)
protected

◆ ThinRectangularRange()

◆ TickFor()

◆ TopLineOfMain()

Sci::Line Editor::TopLineOfMain ( ) const
overrideprotectedvirtual

Implements Scintilla::EditModel.

Definition at line 315 of file Editor.cxx.

References Scintilla::Window::GetID(), topLine, and wMargin.

Referenced by PositionAfterArea(), and RectangleFromRange().

◆ TrimAndSetSelection()

void Editor::TrimAndSetSelection ( Sci::Position  currentPos_,
Sci::Position  anchor_ 
)
protected

◆ UCharPtrFromSPtr()

static unsigned char * Scintilla::Editor::UCharPtrFromSPtr ( sptr_t  lParam)
inlinestaticprotectednoexcept

Definition at line 597 of file Editor.h.

Referenced by WndProc().

◆ Undo()

void Editor::Undo ( )
protectedvirtual

◆ UpdateSystemCaret()

void Editor::UpdateSystemCaret ( )
protectedvirtual

Definition at line 1466 of file Editor.cxx.

Referenced by InvalidateCaret(), and SetXYScroll().

◆ UserVirtualSpace()

bool Scintilla::Editor::UserVirtualSpace ( ) const
inlineprotectednoexcept

◆ ValidCodePage()

virtual bool Scintilla::Editor::ValidCodePage ( int  ) const
inlineprotectedvirtual

Reimplemented in Scintilla::ScintillaGTK.

Definition at line 572 of file Editor.h.

Referenced by WndProc().

◆ ValidMargin()

bool Editor::ValidMargin ( uptr_t  wParam) const
protectednoexcept

Definition at line 5668 of file Editor.cxx.

Referenced by WndProc().

◆ VCHomeDisplayPosition()

Sci::Position Editor::VCHomeDisplayPosition ( Sci::Position  position)
protected

◆ VCHomeWrapPosition()

Sci::Position Editor::VCHomeWrapPosition ( Sci::Position  position)
protected

◆ VerticalCentreCaret()

◆ WndProc()

sptr_t Editor::WndProc ( unsigned int  iMessage,
uptr_t  wParam,
sptr_t  lParam 
)
virtual

Reimplemented in Scintilla::ScintillaGTK, and Scintilla::ScintillaBase.

Definition at line 5824 of file Editor.cxx.

References Scintilla::Document::actualIndentInChars, Scintilla::ViewStyle::additionalCaretColour, Scintilla::EditView::additionalCaretsBlink, Scintilla::EditView::additionalCaretsVisible, additionalSelectionTyping, Scintilla::Document::AddMark(), Scintilla::Document::AddMarkSet(), Scintilla::ViewStyle::AddMultiEdge(), Scintilla::Document::AddRef(), Scintilla::Selection::AddSelection(), AddStyledText(), Scintilla::EditView::AddTabstop(), Scintilla::Document::AddUndoAction(), Scintilla::Document::Allocate(), Scintilla::ViewStyle::AllocateExtendedStyles(), Scintilla::Document::AllocateLineCharacterIndex(), Scintilla::ViewStyle::alwaysShowCaretLineBackground, Scintilla::SelectionRange::anchor, Scintilla::Document::AnnotationClearAll(), Scintilla::Document::AnnotationLines(), Scintilla::Document::AnnotationSetStyle(), Scintilla::Document::AnnotationSetStyles(), Scintilla::Document::AnnotationSetText(), Scintilla::Document::AnnotationStyledText(), Scintilla::ViewStyle::annotationStyleOffset, Scintilla::ViewStyle::annotationVisible, Scintilla::ColourDesired::AsInteger(), Scintilla::KeyMap::AssignCmdKey(), Scintilla::ForeBackColours::back, Scintilla::Document::backspaceUnindents, Scintilla::Document::BeginUndoAction(), Scintilla::ViewStyle::braceBadLightIndicator, Scintilla::ViewStyle::braceBadLightIndicatorSet, Scintilla::ViewStyle::braceHighlightIndicator, Scintilla::ViewStyle::braceHighlightIndicatorSet, Scintilla::Document::BraceMatch(), Scintilla::EditView::bufferedDraw, Scintilla::Document::BufferPointer(), BytesResult(), Scintilla::ViewStyle::CalcLargestMarkerHeight(), CancelModes(), CanPaste(), Scintilla::Document::CanRedo(), Scintilla::Document::CanUndo(), Scintilla::EditModel::caret, Scintilla::SelectionRange::caret, Scintilla::ViewStyle::caretcolour, Scintilla::ViewStyle::caretLineAlpha, Scintilla::ViewStyle::caretLineBackground, Scintilla::ViewStyle::caretLineFrame, caretPolicies, CaretSetPeriod(), caretSticky, Scintilla::ViewStyle::caretStyle, CARETSTYLE_BLOCK, CARETSTYLE_BLOCK_AFTER, CARETSTYLE_LINE, CARETSTYLE_OVERSTRIKE_BLOCK, Scintilla::ViewStyle::caretWidth, Scintilla::CharClassify::ccPunctuation, Scintilla::CharClassify::ccSpace, Scintilla::CharClassify::ccWord, Scintilla::Document::ChangeInsertion(), Scintilla::Document::ChangeLexerState(), Scintilla::Document::CharacterCategoryOptimization(), Scintilla::Document::CharAt(), CharPtrFromSPtr(), Sci_TextRange::chrg, Clear(), Scintilla::Selection::Clear(), Scintilla::KeyMap::Clear(), ClearAll(), ClearDocumentStyle(), Scintilla::SpecialRepresentations::ClearRepresentation(), ClearSelection(), Scintilla::ViewStyle::ClearStyles(), Scintilla::EditView::ClearTabstops(), Scintilla::EdgeProperties::colour, Scintilla::PrintParameters::colourMode, Scintilla::EdgeProperties::column, commandEvents, ConstCharPtrFromSPtr(), ConstCharPtrFromUPtr(), ConstUCharPtrFromSPtr(), ContainerNeedsUpdate(), ContractedFoldNext(), Scintilla::ContractionStateCreate(), Scintilla::ViewStyle::controlCharSymbol, Scintilla::Document::ConvertLineEnds(), convertPastes, Copy(), CopyAllowLine(), CopyRangeToClipboard(), CopySelectionRange(), CopyText(), Scintilla::Selection::Count(), Scintilla::Document::CountCharacters(), Scintilla::Document::CountUTF16(), Sci_CharacterRange::cpMax, Sci_CharacterRange::cpMin, CurrentPosition(), cursorMode, Scintilla::Window::cursorText, Cut(), Scintilla::SelectionText::Data(), Scintilla::Document::dbcsCodePage, Scintilla::Document::DecorationFillRange(), Scintilla::Document::decorations, Scintilla::Document::DecorationSetCurrentIndicator(), DefWndProc(), Scintilla::Document::DeleteAllMarks(), Scintilla::Document::DeleteChars(), Scintilla::Document::DeleteMark(), Scintilla::Document::DeleteMarkFromHandle(), Scintilla::Document::DeleteUndoHistory(), DisplayCursor(), Scintilla::Selection::DropSelection(), dwellDelay, each, Scintilla::ViewStyle::edgeState, Scintilla::Selection::Empty(), Scintilla::SelectionSegment::end, Scintilla::SelectionRange::End(), endAtLastLine, Scintilla::Document::EndUndoAction(), EnsureCaretVisible(), EnsureLineVisible(), Scintilla::ViewStyle::EnsureStyle(), Scintilla::Document::EOLAnnotationClearAll(), Scintilla::Document::EOLAnnotationSetStyle(), Scintilla::Document::EOLAnnotationSetText(), Scintilla::Document::EOLAnnotationStyledText(), Scintilla::ViewStyle::eolAnnotationStyleOffset, Scintilla::ViewStyle::eolAnnotationVisible, Scintilla::Document::eolMode, errorStatus, Scintilla::Document::ExtendWordSelect(), Scintilla::ViewStyle::ExternalMarginWidth(), Scintilla::ViewStyle::extraAscent, Scintilla::ViewStyle::extraDescent, Scintilla::ViewStyle::extraFontFlag, Scintilla::Document::FindColumn(), FindText(), Scintilla::ViewStyle::fixedColumnWidth, FoldAll(), foldAutomatic, Scintilla::EditModel::foldDisplayTextStyle, FoldExpand(), Scintilla::EditModel::foldFlags, FoldLine(), Scintilla::ViewStyle::foldmarginColour, Scintilla::ViewStyle::foldmarginHighlightColour, Scintilla::ForeBackColours::fore, FormatRange(), Scintilla::Point::FromInts(), Scintilla::Document::GapPosition(), Scintilla::Document::GetCharRange(), Scintilla::Document::GetCharsOfClass(), Scintilla::Document::GetColumn(), GetCtrlID(), Scintilla::EditModel::GetDefaultFoldDisplayText(), Scintilla::Document::GetEndStyled(), Scintilla::Document::GetFoldParent(), Scintilla::Document::GetLastChild(), Scintilla::LineLayoutCache::GetLevel(), Scintilla::Document::GetLevel(), Scintilla::Document::GetLineEndTypesActive(), Scintilla::Document::GetLineEndTypesAllowed(), Scintilla::Document::GetLineIndentation(), Scintilla::Document::GetLineIndentPosition(), Scintilla::Document::GetLineState(), Scintilla::Document::GetMark(), Scintilla::Document::GetMaxLineState(), Scintilla::EditView::GetNextTabstop(), Scintilla::Document::GetRelativePosition(), Scintilla::Document::GetRelativePositionUTF16(), Scintilla::PositionCache::GetSize(), GetTag(), GoToLine(), hasFocus, Scintilla::EditView::hideSelection, Scintilla::MarginView::highlightDelimiter, Scintilla::EditModel::highlightGuideColumn, horizontalScrollBarVisible, HorizontalScrollTo(), Scintilla::ViewStyle::hotspotColours, Scintilla::ViewStyle::hotspotSingleLine, Scintilla::ViewStyle::hotspotUnderline, idleStyling, if(), Scintilla::EditModel::imeInteraction, Scintilla::Document::indentInChars, Scintilla::Document::IndexLineStart(), INDICATOR_MAX, Scintilla::ViewStyle::indicators, Scintilla::EditModel::inOverstrike, Scintilla::Document::InsertString(), Scintilla::SelectionRange::Intersect(), INVALID_POSITION, InvalidateCaret(), InvalidateSelection(), InvalidateStyleData(), InvalidateStyleRedraw(), InvalidateWholeSelection(), Scintilla::Document::IsCollectingUndo(), Scintilla::HighlightDelimiter::isEnabled, Scintilla::Document::IsLarge(), Scintilla::Document::IsReadOnly(), Scintilla::Selection::IsRectangular(), Scintilla::Document::IsSavePoint(), Scintilla::SelectionPosition::IsValid(), Scintilla::Document::IsWordAt(), KeyCommand(), kmap, lastXChosen, Scintilla::ViewStyle::leftMarginWidth, Scintilla::StyledText::length, Scintilla::SelectionText::Length(), Scintilla::Document::Length(), lengthForEncode, Scintilla::SelectionText::LengthWithTerminator(), Scintilla::Selection::LimitsForRectangularElseMain(), Scintilla::Document::LineCharacterIndex(), Scintilla::Document::LineEnd(), Scintilla::Document::LineFromHandle(), Scintilla::Document::LineFromPosition(), Scintilla::Document::LineFromPositionIndex(), Scintilla::ViewStyle::lineHeight, LinesJoin(), LinesOnScreen(), LinesSplit(), Scintilla::Document::LineStart(), Scintilla::Document::LinesTotal(), Scintilla::EditView::lineWidthMaxSeen, Scintilla::EditView::llc, LocationFromPosition(), Sci_TextRange::lpstrText, Scintilla::PrintParameters::magnification, Scintilla::Selection::Main(), Scintilla::Selection::MainAnchor(), Scintilla::Selection::MainCaret(), Scintilla::Document::MarginClearAll(), marginOptions, Scintilla::Document::MarginSetStyle(), Scintilla::Document::MarginSetStyles(), Scintilla::Document::MarginSetText(), Scintilla::Document::MarginStyledText(), Scintilla::ViewStyle::marginStyleOffset, marginView, MARKER_MAX, Scintilla::Document::MarkerHandleFromLine(), Scintilla::Document::MarkerNext(), Scintilla::Document::MarkerNumberFromLine(), Scintilla::ViewStyle::markers, max, modEventMask, mouseDownCaptures, mouseSelectionRectangularSwitch, mouseWheelCaptures, MoveCaretInsideView(), Scintilla::Selection::MoveExtends(), Scintilla::Document::MovePositionOutsideChar(), MoveSelectedLinesDown(), MoveSelectedLinesUp(), Scintilla::ViewStyle::ms, multiPasteMode, MultipleSelectAdd(), multipleSelection, Scintilla::none, NotifyMacroRecord(), NotifyModified(), NotifyZoom(), one, Scintilla::Document::Options(), Paste(), Scintilla::EditModel::pcs, Scintilla::EditModel::pdoc, Scintilla::Caret::period, Scintilla::EditView::phasesDraw, Scintilla::EditView::phasesTwo, PLATFORM_ASSERT, Scintilla::EditView::posCache, Scintilla::SelectionPosition::Position(), PositionFromLocation(), Scintilla::EditView::printParameters, ptr, PtrFromSPtr(), Scintilla::Selection::Range(), Scintilla::Selection::RangeMain(), Scintilla::Document::RangePointer(), RangeText(), ReconfigureScrollBars(), recordingMacro, Scintilla::Selection::Rectangular(), Redo(), Redraw(), RedrawSelMargin(), RefreshStyleData(), Scintilla::ViewStyle::ReleaseAllExtendedStyles(), Scintilla::Document::ReleaseLineCharacterIndex(), ReplaceTarget(), Scintilla::SpecialRepresentations::RepresentationFromCharacter(), Scintilla::EditModel::reprs, Scintilla::ViewStyle::ResetDefaultStyle(), Scintilla::ViewStyle::rightMarginWidth, Scintilla::Selection::RotateMain(), SC_ACCESSIBILITY_DISABLED, SC_CARETSTICKY_OFF, SC_CARETSTICKY_WHITESPACE, SC_EFF_QUALITY_MASK, SC_FOLDACTION_EXPAND, SC_FOLDACTION_TOGGLE, SC_MOD_CHANGETABSTOPS, SC_SEL_LINES, SC_SEL_RECTANGLE, SC_SEL_STREAM, SC_SEL_THIN, SC_STATUS_FAILURE, SC_UPDATE_H_SCROLL, SC_UPDATE_SELECTION, SC_WRAP_WORD, scaleRGBAImage, SCI_ADDREFDOCUMENT, SCI_ADDSELECTION, SCI_ADDSTYLEDTEXT, SCI_ADDTABSTOP, SCI_ADDTEXT, SCI_ADDUNDOACTION, SCI_ALLOCATE, SCI_ALLOCATEEXTENDEDSTYLES, SCI_ALLOCATELINECHARACTERINDEX, SCI_ANNOTATIONCLEARALL, SCI_ANNOTATIONGETLINES, SCI_ANNOTATIONGETSTYLE, SCI_ANNOTATIONGETSTYLEOFFSET, SCI_ANNOTATIONGETSTYLES, SCI_ANNOTATIONGETTEXT, SCI_ANNOTATIONGETVISIBLE, SCI_ANNOTATIONSETSTYLE, SCI_ANNOTATIONSETSTYLEOFFSET, SCI_ANNOTATIONSETSTYLES, SCI_ANNOTATIONSETTEXT, SCI_ANNOTATIONSETVISIBLE, SCI_APPENDTEXT, SCI_ASSIGNCMDKEY, SCI_BACKTAB, SCI_BEGINUNDOACTION, SCI_BRACEBADLIGHT, SCI_BRACEBADLIGHTINDICATOR, SCI_BRACEHIGHLIGHT, SCI_BRACEHIGHLIGHTINDICATOR, SCI_BRACEMATCH, SCI_BRACEMATCHNEXT, SCI_CANCEL, SCI_CANPASTE, SCI_CANREDO, SCI_CANUNDO, SCI_CHANGEINSERTION, SCI_CHANGELEXERSTATE, SCI_CHARLEFT, SCI_CHARLEFTEXTEND, SCI_CHARLEFTRECTEXTEND, SCI_CHARPOSITIONFROMPOINT, SCI_CHARPOSITIONFROMPOINTCLOSE, SCI_CHARRIGHT, SCI_CHARRIGHTEXTEND, SCI_CHARRIGHTRECTEXTEND, SCI_CHOOSECARETX, SCI_CLEAR, SCI_CLEARALL, SCI_CLEARALLCMDKEYS, SCI_CLEARCMDKEY, SCI_CLEARDOCUMENTSTYLE, SCI_CLEARREPRESENTATION, SCI_CLEARSELECTIONS, SCI_CLEARTABSTOPS, SCI_CONTRACTEDFOLDNEXT, SCI_CONVERTEOLS, SCI_COPY, SCI_COPYALLOWLINE, SCI_COPYRANGE, SCI_COPYTEXT, SCI_COUNTCHARACTERS, SCI_COUNTCODEUNITS, SCI_CREATEDOCUMENT, SCI_CREATELOADER, SCI_CUT, SCI_DELETEBACK, SCI_DELETEBACKNOTLINE, SCI_DELETERANGE, SCI_DELLINELEFT, SCI_DELLINERIGHT, SCI_DELWORDLEFT, SCI_DELWORDRIGHT, SCI_DELWORDRIGHTEND, SCI_DOCLINEFROMVISIBLE, SCI_DOCUMENTEND, SCI_DOCUMENTENDEXTEND, SCI_DOCUMENTSTART, SCI_DOCUMENTSTARTEXTEND, SCI_DROPSELECTIONN, SCI_EDITTOGGLEOVERTYPE, SCI_EMPTYUNDOBUFFER, SCI_ENDUNDOACTION, SCI_ENSUREVISIBLE, SCI_ENSUREVISIBLEENFORCEPOLICY, SCI_EOLANNOTATIONCLEARALL, SCI_EOLANNOTATIONGETSTYLE, SCI_EOLANNOTATIONGETSTYLEOFFSET, SCI_EOLANNOTATIONGETTEXT, SCI_EOLANNOTATIONGETVISIBLE, SCI_EOLANNOTATIONSETSTYLE, SCI_EOLANNOTATIONSETSTYLEOFFSET, SCI_EOLANNOTATIONSETTEXT, SCI_EOLANNOTATIONSETVISIBLE, SCI_EXPANDCHILDREN, SCI_FINDCOLUMN, SCI_FINDTEXT, SCI_FOLDALL, SCI_FOLDCHILDREN, SCI_FOLDDISPLAYTEXTGETSTYLE, SCI_FOLDDISPLAYTEXTSETSTYLE, SCI_FOLDLINE, SCI_FORMATRANGE, SCI_FORMFEED, SCI_GETACCESSIBILITY, SCI_GETADDITIONALCARETFORE, SCI_GETADDITIONALCARETSBLINK, SCI_GETADDITIONALCARETSVISIBLE, SCI_GETADDITIONALSELALPHA, SCI_GETADDITIONALSELECTIONTYPING, SCI_GETALLLINESVISIBLE, SCI_GETANCHOR, SCI_GETAUTOMATICFOLD, SCI_GETBACKSPACEUNINDENTS, SCI_GETBUFFEREDDRAW, SCI_GETCARETFORE, SCI_GETCARETLINEBACK, SCI_GETCARETLINEBACKALPHA, SCI_GETCARETLINEFRAME, SCI_GETCARETLINEVISIBLE, SCI_GETCARETLINEVISIBLEALWAYS, SCI_GETCARETPERIOD, SCI_GETCARETSTICKY, SCI_GETCARETSTYLE, SCI_GETCARETWIDTH, SCI_GETCHARACTERCATEGORYOPTIMIZATION, SCI_GETCHARACTERPOINTER, SCI_GETCHARAT, SCI_GETCODEPAGE, SCI_GETCOLUMN, SCI_GETCOMMANDEVENTS, SCI_GETCONTROLCHARSYMBOL, SCI_GETCURLINE, SCI_GETCURRENTPOS, SCI_GETCURSOR, SCI_GETDEFAULTFOLDDISPLAYTEXT, SCI_GETDOCPOINTER, SCI_GETDOCUMENTOPTIONS, SCI_GETEDGECOLOUR, SCI_GETEDGECOLUMN, SCI_GETEDGEMODE, SCI_GETENDATLASTLINE, SCI_GETENDSTYLED, SCI_GETEOLMODE, SCI_GETEXTRAASCENT, SCI_GETEXTRADESCENT, SCI_GETFIRSTVISIBLELINE, SCI_GETFOCUS, SCI_GETFOLDEXPANDED, SCI_GETFOLDLEVEL, SCI_GETFOLDPARENT, SCI_GETFONTQUALITY, SCI_GETGAPPOSITION, SCI_GETHIGHLIGHTGUIDE, SCI_GETHOTSPOTACTIVEBACK, SCI_GETHOTSPOTACTIVEFORE, SCI_GETHOTSPOTACTIVEUNDERLINE, SCI_GETHOTSPOTSINGLELINE, SCI_GETHSCROLLBAR, SCI_GETIDENTIFIER, SCI_GETIDLESTYLING, SCI_GETIMEINTERACTION, SCI_GETINDENT, SCI_GETINDENTATIONGUIDES, SCI_GETINDICATORCURRENT, SCI_GETINDICATORVALUE, SCI_GETLASTCHILD, SCI_GETLAYOUTCACHE, SCI_GETLENGTH, SCI_GETLINE, SCI_GETLINECHARACTERINDEX, SCI_GETLINECOUNT, SCI_GETLINEENDPOSITION, SCI_GETLINEENDTYPESACTIVE, SCI_GETLINEENDTYPESALLOWED, SCI_GETLINEINDENTATION, SCI_GETLINEINDENTPOSITION, SCI_GETLINESELENDPOSITION, SCI_GETLINESELSTARTPOSITION, SCI_GETLINESTATE, SCI_GETLINEVISIBLE, SCI_GETMAINSELECTION, SCI_GETMARGINBACKN, SCI_GETMARGINCURSORN, SCI_GETMARGINLEFT, SCI_GETMARGINMASKN, SCI_GETMARGINOPTIONS, SCI_GETMARGINRIGHT, SCI_GETMARGINS, SCI_GETMARGINSENSITIVEN, SCI_GETMARGINTYPEN, SCI_GETMARGINWIDTHN, SCI_GETMAXLINESTATE, SCI_GETMODEVENTMASK, SCI_GETMODIFY, SCI_GETMOUSEDOWNCAPTURES, SCI_GETMOUSEDWELLTIME, SCI_GETMOUSESELECTIONRECTANGULARSWITCH, SCI_GETMOUSEWHEELCAPTURES, SCI_GETMOVEEXTENDSSELECTION, SCI_GETMULTIEDGECOLUMN, SCI_GETMULTIPASTE, SCI_GETMULTIPLESELECTION, SCI_GETNEXTTABSTOP, SCI_GETOVERTYPE, SCI_GETPASTECONVERTENDINGS, SCI_GETPHASESDRAW, SCI_GETPOSITIONCACHE, SCI_GETPRINTCOLOURMODE, SCI_GETPRINTMAGNIFICATION, SCI_GETPRINTWRAPMODE, SCI_GETPUNCTUATIONCHARS, SCI_GETRANGEPOINTER, SCI_GETREADONLY, SCI_GETRECTANGULARSELECTIONANCHOR, SCI_GETRECTANGULARSELECTIONANCHORVIRTUALSPACE, SCI_GETRECTANGULARSELECTIONCARET, SCI_GETRECTANGULARSELECTIONCARETVIRTUALSPACE, SCI_GETREPRESENTATION, SCI_GETSCROLLWIDTH, SCI_GETSCROLLWIDTHTRACKING, SCI_GETSEARCHFLAGS, SCI_GETSELALPHA, SCI_GETSELECTIONEMPTY, SCI_GETSELECTIONEND, SCI_GETSELECTIONMODE, SCI_GETSELECTIONNANCHOR, SCI_GETSELECTIONNANCHORVIRTUALSPACE, SCI_GETSELECTIONNCARET, SCI_GETSELECTIONNCARETVIRTUALSPACE, SCI_GETSELECTIONNEND, SCI_GETSELECTIONNENDVIRTUALSPACE, SCI_GETSELECTIONNSTART, SCI_GETSELECTIONNSTARTVIRTUALSPACE, SCI_GETSELECTIONS, SCI_GETSELECTIONSTART, SCI_GETSELEOLFILLED, SCI_GETSELTEXT, SCI_GETSTATUS, SCI_GETSTYLEAT, SCI_GETSTYLEDTEXT, SCI_GETTABDRAWMODE, SCI_GETTABINDENTS, SCI_GETTABMINIMUMWIDTH, SCI_GETTABWIDTH, SCI_GETTAG, SCI_GETTARGETEND, SCI_GETTARGETENDVIRTUALSPACE, SCI_GETTARGETSTART, SCI_GETTARGETSTARTVIRTUALSPACE, SCI_GETTARGETTEXT, SCI_GETTECHNOLOGY, SCI_GETTEXT, SCI_GETTEXTLENGTH, SCI_GETTEXTRANGE, SCI_GETTWOPHASEDRAW, SCI_GETUNDOCOLLECTION, SCI_GETUSETABS, SCI_GETVIEWEOL, SCI_GETVIEWWS, SCI_GETVIRTUALSPACEOPTIONS, SCI_GETVSCROLLBAR, SCI_GETWHITESPACECHARS, SCI_GETWHITESPACESIZE, SCI_GETWORDCHARS, SCI_GETWRAPINDENTMODE, SCI_GETWRAPMODE, SCI_GETWRAPSTARTINDENT, SCI_GETWRAPVISUALFLAGS, SCI_GETWRAPVISUALFLAGSLOCATION, SCI_GETXOFFSET, SCI_GETZOOM, SCI_GOTOLINE, SCI_GOTOPOS, SCI_HIDELINES, SCI_HIDESELECTION, SCI_HOME, SCI_HOMEDISPLAY, SCI_HOMEDISPLAYEXTEND, SCI_HOMEEXTEND, SCI_HOMERECTEXTEND, SCI_HOMEWRAP, SCI_HOMEWRAPEXTEND, SCI_INDEXPOSITIONFROMLINE, SCI_INDICATORALLONFOR, SCI_INDICATORCLEARRANGE, SCI_INDICATOREND, SCI_INDICATORFILLRANGE, SCI_INDICATORSTART, SCI_INDICATORVALUEAT, SCI_INDICGETALPHA, SCI_INDICGETFLAGS, SCI_INDICGETFORE, SCI_INDICGETHOVERFORE, SCI_INDICGETHOVERSTYLE, SCI_INDICGETOUTLINEALPHA, SCI_INDICGETSTYLE, SCI_INDICGETUNDER, SCI_INDICSETALPHA, SCI_INDICSETFLAGS, SCI_INDICSETFORE, SCI_INDICSETHOVERFORE, SCI_INDICSETHOVERSTYLE, SCI_INDICSETOUTLINEALPHA, SCI_INDICSETSTYLE, SCI_INDICSETUNDER, SCI_INSERTTEXT, SCI_ISRANGEWORD, SCI_LINECOPY, SCI_LINECUT, SCI_LINEDELETE, SCI_LINEDOWN, SCI_LINEDOWNEXTEND, SCI_LINEDOWNRECTEXTEND, SCI_LINEDUPLICATE, SCI_LINEEND, SCI_LINEENDDISPLAY, SCI_LINEENDDISPLAYEXTEND, SCI_LINEENDEXTEND, SCI_LINEENDRECTEXTEND, SCI_LINEENDWRAP, SCI_LINEENDWRAPEXTEND, SCI_LINEFROMINDEXPOSITION, SCI_LINEFROMPOSITION, SCI_LINELENGTH, SCI_LINEREVERSE, SCI_LINESCROLL, SCI_LINESCROLLDOWN, SCI_LINESCROLLUP, SCI_LINESJOIN, SCI_LINESONSCREEN, SCI_LINESSPLIT, SCI_LINETRANSPOSE, SCI_LINEUP, SCI_LINEUPEXTEND, SCI_LINEUPRECTEXTEND, SCI_LOWERCASE, SCI_MARGINGETSTYLE, SCI_MARGINGETSTYLEOFFSET, SCI_MARGINGETSTYLES, SCI_MARGINGETTEXT, SCI_MARGINSETSTYLE, SCI_MARGINSETSTYLEOFFSET, SCI_MARGINSETSTYLES, SCI_MARGINSETTEXT, SCI_MARGINTEXTCLEARALL, SCI_MARKERADD, SCI_MARKERADDSET, SCI_MARKERDEFINE, SCI_MARKERDEFINEPIXMAP, SCI_MARKERDEFINERGBAIMAGE, SCI_MARKERDELETE, SCI_MARKERDELETEALL, SCI_MARKERDELETEHANDLE, SCI_MARKERENABLEHIGHLIGHT, SCI_MARKERGET, SCI_MARKERHANDLEFROMLINE, SCI_MARKERLINEFROMHANDLE, SCI_MARKERNEXT, SCI_MARKERNUMBERFROMLINE, SCI_MARKERPREVIOUS, SCI_MARKERSETALPHA, SCI_MARKERSETBACK, SCI_MARKERSETBACKSELECTED, SCI_MARKERSETFORE, SCI_MARKERSYMBOLDEFINED, SCI_MOVECARETINSIDEVIEW, SCI_MOVESELECTEDLINESDOWN, SCI_MOVESELECTEDLINESUP, SCI_MULTIEDGEADDLINE, SCI_MULTIEDGECLEARALL, SCI_MULTIPLESELECTADDEACH, SCI_MULTIPLESELECTADDNEXT, SCI_NEWLINE, SCI_NULL, SCI_PAGEDOWN, SCI_PAGEDOWNEXTEND, SCI_PAGEDOWNRECTEXTEND, SCI_PAGEUP, SCI_PAGEUPEXTEND, SCI_PAGEUPRECTEXTEND, SCI_PARADOWN, SCI_PARADOWNEXTEND, SCI_PARAUP, SCI_PARAUPEXTEND, SCI_PASTE, SCI_POINTXFROMPOSITION, SCI_POINTYFROMPOSITION, SCI_POSITIONAFTER, SCI_POSITIONBEFORE, SCI_POSITIONFROMLINE, SCI_POSITIONFROMPOINT, SCI_POSITIONFROMPOINTCLOSE, SCI_POSITIONRELATIVE, SCI_POSITIONRELATIVECODEUNITS, SCI_REDO, SCI_RELEASEALLEXTENDEDSTYLES, SCI_RELEASEDOCUMENT, SCI_RELEASELINECHARACTERINDEX, SCI_REPLACESEL, SCI_REPLACETARGET, SCI_REPLACETARGETRE, SCI_RGBAIMAGESETHEIGHT, SCI_RGBAIMAGESETSCALE, SCI_RGBAIMAGESETWIDTH, SCI_ROTATESELECTION, SCI_SCROLLCARET, SCI_SCROLLRANGE, SCI_SCROLLTOEND, SCI_SCROLLTOSTART, SCI_SEARCHANCHOR, SCI_SEARCHINTARGET, SCI_SEARCHNEXT, SCI_SEARCHPREV, SCI_SELECTALL, SCI_SELECTIONDUPLICATE, SCI_SELECTIONISRECTANGLE, SCI_SETACCESSIBILITY, SCI_SETADDITIONALCARETFORE, SCI_SETADDITIONALCARETSBLINK, SCI_SETADDITIONALCARETSVISIBLE, SCI_SETADDITIONALSELALPHA, SCI_SETADDITIONALSELBACK, SCI_SETADDITIONALSELECTIONTYPING, SCI_SETADDITIONALSELFORE, SCI_SETANCHOR, SCI_SETAUTOMATICFOLD, SCI_SETBACKSPACEUNINDENTS, SCI_SETBUFFEREDDRAW, SCI_SETCARETFORE, SCI_SETCARETLINEBACK, SCI_SETCARETLINEBACKALPHA, SCI_SETCARETLINEFRAME, SCI_SETCARETLINEVISIBLE, SCI_SETCARETLINEVISIBLEALWAYS, SCI_SETCARETPERIOD, SCI_SETCARETSTICKY, SCI_SETCARETSTYLE, SCI_SETCARETWIDTH, SCI_SETCHARACTERCATEGORYOPTIMIZATION, SCI_SETCHARSDEFAULT, SCI_SETCODEPAGE, SCI_SETCOMMANDEVENTS, SCI_SETCONTROLCHARSYMBOL, SCI_SETCURRENTPOS, SCI_SETCURSOR, SCI_SETDEFAULTFOLDDISPLAYTEXT, SCI_SETDOCPOINTER, SCI_SETEDGECOLOUR, SCI_SETEDGECOLUMN, SCI_SETEDGEMODE, SCI_SETEMPTYSELECTION, SCI_SETENDATLASTLINE, SCI_SETEOLMODE, SCI_SETEXTRAASCENT, SCI_SETEXTRADESCENT, SCI_SETFIRSTVISIBLELINE, SCI_SETFOCUS, SCI_SETFOLDEXPANDED, SCI_SETFOLDFLAGS, SCI_SETFOLDLEVEL, SCI_SETFOLDMARGINCOLOUR, SCI_SETFOLDMARGINHICOLOUR, SCI_SETFONTQUALITY, SCI_SETHIGHLIGHTGUIDE, SCI_SETHOTSPOTACTIVEBACK, SCI_SETHOTSPOTACTIVEFORE, SCI_SETHOTSPOTACTIVEUNDERLINE, SCI_SETHOTSPOTSINGLELINE, SCI_SETHSCROLLBAR, SCI_SETIDENTIFIER, SCI_SETIDLESTYLING, SCI_SETIMEINTERACTION, SCI_SETINDENT, SCI_SETINDENTATIONGUIDES, SCI_SETINDICATORCURRENT, SCI_SETINDICATORVALUE, SCI_SETLAYOUTCACHE, SCI_SETLENGTHFORENCODE, SCI_SETLINEENDTYPESALLOWED, SCI_SETLINEINDENTATION, SCI_SETLINESTATE, SCI_SETMAINSELECTION, SCI_SETMARGINBACKN, SCI_SETMARGINCURSORN, SCI_SETMARGINLEFT, SCI_SETMARGINMASKN, SCI_SETMARGINOPTIONS, SCI_SETMARGINRIGHT, SCI_SETMARGINS, SCI_SETMARGINSENSITIVEN, SCI_SETMARGINTYPEN, SCI_SETMARGINWIDTHN, SCI_SETMODEVENTMASK, SCI_SETMOUSEDOWNCAPTURES, SCI_SETMOUSEDWELLTIME, SCI_SETMOUSESELECTIONRECTANGULARSWITCH, SCI_SETMOUSEWHEELCAPTURES, SCI_SETMULTIPASTE, SCI_SETMULTIPLESELECTION, SCI_SETOVERTYPE, SCI_SETPASTECONVERTENDINGS, SCI_SETPHASESDRAW, SCI_SETPOSITIONCACHE, SCI_SETPRINTCOLOURMODE, SCI_SETPRINTMAGNIFICATION, SCI_SETPRINTWRAPMODE, SCI_SETPUNCTUATIONCHARS, SCI_SETREADONLY, SCI_SETRECTANGULARSELECTIONANCHOR, SCI_SETRECTANGULARSELECTIONANCHORVIRTUALSPACE, SCI_SETRECTANGULARSELECTIONCARET, SCI_SETRECTANGULARSELECTIONCARETVIRTUALSPACE, SCI_SETREPRESENTATION, SCI_SETSAVEPOINT, SCI_SETSCROLLWIDTH, SCI_SETSCROLLWIDTHTRACKING, SCI_SETSEARCHFLAGS, SCI_SETSEL, SCI_SETSELALPHA, SCI_SETSELBACK, SCI_SETSELECTION, SCI_SETSELECTIONEND, SCI_SETSELECTIONMODE, SCI_SETSELECTIONNANCHOR, SCI_SETSELECTIONNANCHORVIRTUALSPACE, SCI_SETSELECTIONNCARET, SCI_SETSELECTIONNCARETVIRTUALSPACE, SCI_SETSELECTIONNEND, SCI_SETSELECTIONNSTART, SCI_SETSELECTIONSTART, SCI_SETSELEOLFILLED, SCI_SETSELFORE, SCI_SETSTATUS, SCI_SETSTYLING, SCI_SETSTYLINGEX, SCI_SETTABDRAWMODE, SCI_SETTABINDENTS, SCI_SETTABMINIMUMWIDTH, SCI_SETTABWIDTH, SCI_SETTARGETEND, SCI_SETTARGETENDVIRTUALSPACE, SCI_SETTARGETRANGE, SCI_SETTARGETSTART, SCI_SETTARGETSTARTVIRTUALSPACE, SCI_SETTECHNOLOGY, SCI_SETTEXT, SCI_SETTWOPHASEDRAW, SCI_SETUNDOCOLLECTION, SCI_SETUSETABS, SCI_SETVIEWEOL, SCI_SETVIEWWS, SCI_SETVIRTUALSPACEOPTIONS, SCI_SETVISIBLEPOLICY, SCI_SETVSCROLLBAR, SCI_SETWHITESPACEBACK, SCI_SETWHITESPACECHARS, SCI_SETWHITESPACEFORE, SCI_SETWHITESPACESIZE, SCI_SETWORDCHARS, SCI_SETWRAPINDENTMODE, SCI_SETWRAPMODE, SCI_SETWRAPSTARTINDENT, SCI_SETWRAPVISUALFLAGS, SCI_SETWRAPVISUALFLAGSLOCATION, SCI_SETXCARETPOLICY, SCI_SETXOFFSET, SCI_SETYCARETPOLICY, SCI_SETZOOM, SCI_SHOWLINES, SCI_STARTRECORD, SCI_STARTSTYLING, SCI_STOPRECORD, SCI_STUTTEREDPAGEDOWN, SCI_STUTTEREDPAGEDOWNEXTEND, SCI_STUTTEREDPAGEUP, SCI_STUTTEREDPAGEUPEXTEND, SCI_STYLECLEARALL, SCI_STYLEGETBACK, SCI_STYLEGETBOLD, SCI_STYLEGETCASE, SCI_STYLEGETCHANGEABLE, SCI_STYLEGETCHARACTERSET, SCI_STYLEGETEOLFILLED, SCI_STYLEGETFONT, SCI_STYLEGETFORE, SCI_STYLEGETHOTSPOT, SCI_STYLEGETITALIC, SCI_STYLEGETSIZE, SCI_STYLEGETSIZEFRACTIONAL, SCI_STYLEGETUNDERLINE, SCI_STYLEGETVISIBLE, SCI_STYLEGETWEIGHT, SCI_STYLERESETDEFAULT, SCI_STYLESETBACK, SCI_STYLESETBOLD, SCI_STYLESETCASE, SCI_STYLESETCHANGEABLE, SCI_STYLESETCHARACTERSET, SCI_STYLESETEOLFILLED, SCI_STYLESETFONT, SCI_STYLESETFORE, SCI_STYLESETHOTSPOT, SCI_STYLESETITALIC, SCI_STYLESETSIZE, SCI_STYLESETSIZEFRACTIONAL, SCI_STYLESETUNDERLINE, SCI_STYLESETVISIBLE, SCI_STYLESETWEIGHT, SCI_SWAPMAINANCHORCARET, SCI_TAB, SCI_TARGETFROMSELECTION, SCI_TARGETWHOLEDOCUMENT, SCI_TEXTHEIGHT, SCI_TEXTWIDTH, SCI_TOGGLECARETSTICKY, SCI_TOGGLEFOLD, SCI_TOGGLEFOLDSHOWTEXT, SCI_UNDO, SCI_UPPERCASE, SCI_VCHOME, SCI_VCHOMEDISPLAY, SCI_VCHOMEDISPLAYEXTEND, SCI_VCHOMEEXTEND, SCI_VCHOMERECTEXTEND, SCI_VCHOMEWRAP, SCI_VCHOMEWRAPEXTEND, SCI_VERTICALCENTRECARET, SCI_VISIBLEFROMDOCLINE, SCI_WORDENDPOSITION, SCI_WORDLEFT, SCI_WORDLEFTEND, SCI_WORDLEFTENDEXTEND, SCI_WORDLEFTEXTEND, SCI_WORDPARTLEFT, SCI_WORDPARTLEFTEXTEND, SCI_WORDPARTRIGHT, SCI_WORDPARTRIGHTEXTEND, SCI_WORDRIGHT, SCI_WORDRIGHTEND, SCI_WORDRIGHTENDEXTEND, SCI_WORDRIGHTEXTEND, SCI_WORDSTARTPOSITION, SCI_WRAPCOUNT, SCI_ZOOMIN, SCI_ZOOMOUT, Scintilla::Document::SciLineFromPosition(), ScrollRange(), ScrollTo(), scrollWidth, SearchAnchor(), searchFlags, SearchInTarget(), SearchText(), Scintilla::EditModel::sel, Scintilla::ViewStyle::selAdditionalAlpha, Scintilla::ViewStyle::selAdditionalBackground, Scintilla::ViewStyle::selAdditionalForeground, Scintilla::ViewStyle::selAlpha, Scintilla::ViewStyle::selColours, SelectAll(), SelectionStart(), Scintilla::ViewStyle::selEOLFilled, Scintilla::Selection::selLines, Scintilla::Selection::selRectangle, Scintilla::Selection::selStream, Scintilla::Selection::selThin, Scintilla::Selection::selType, SetAnnotationHeights(), SetAnnotationVisible(), SetAppearance(), SetBraceHighlight(), Scintilla::Document::SetCharacterCategoryOptimization(), Scintilla::Document::SetCharClasses(), SetCtrlID(), Scintilla::Document::SetDBCSCodePage(), Scintilla::Document::SetDefaultCharClasses(), Scintilla::EditModel::SetDefaultFoldDisplayText(), SetDocPointer(), SetEmptySelection(), SetEOLAnnotationVisible(), SetFocusState(), SetFoldExpanded(), SetHorizontalScrollPos(), SetIdle(), SetLastXChosen(), Scintilla::LineLayoutCache::SetLevel(), Scintilla::Document::SetLevel(), Scintilla::Document::SetLineEndTypesAllowed(), Scintilla::Document::SetLineIndentation(), Scintilla::Document::SetLineState(), Scintilla::Selection::SetMain(), Scintilla::Selection::SetMoveExtends(), Scintilla::EditView::SetPhasesDraw(), Scintilla::SelectionPosition::SetPosition(), Scintilla::Document::SetReadOnly(), SetRectangularRange(), Scintilla::SpecialRepresentations::SetRepresentation(), SetRepresentations(), Scintilla::Document::SetSavePoint(), SetScrollBars(), SetSelection(), Scintilla::Selection::SetSelection(), SetSelectionNMessage(), Scintilla::PositionCache::SetSize(), Scintilla::Document::SetStyleFor(), Scintilla::Document::SetStyles(), Scintilla::EditView::SetTwoPhaseDraw(), Scintilla::Document::SetUndoCollection(), SetVerticalScrollPos(), Scintilla::SelectionPosition::SetVirtualSpace(), Scintilla::ViewStyle::SetWrapIndentMode(), Scintilla::ViewStyle::SetWrapState(), Scintilla::ViewStyle::SetWrapVisualFlags(), Scintilla::ViewStyle::SetWrapVisualFlagsLocation(), Scintilla::ViewStyle::SetWrapVisualStartIndent(), ShowCaretAtCurrentPosition(), Scintilla::ViewStyle::showCaretLineBackground, sizeRGBAImage, Scintilla::ViewStyle::spaceWidth, Scintilla::SelectionSegment::start, Scintilla::SelectionRange::Start(), Scintilla::Document::StartStyling(), Scintilla::Representation::stringRep, StringResult(), Scintilla::StyledText::style, STYLE_BRACEBAD, STYLE_BRACELIGHT, Scintilla::Document::StyleAt(), StyleGetMessage(), Scintilla::StyledText::styles, Scintilla::ViewStyle::styles, StyleSetMessage(), Scintilla::SelectionRange::Swap(), Scintilla::ViewStyle::tabDrawMode, Scintilla::Document::tabInChars, Scintilla::Document::tabIndents, Scintilla::EditView::tabWidthMinimumPixels, targetRange, technology, Scintilla::StyledText::text, text, Scintilla::ViewStyle::textStart, TextWidth(), Scintilla::ViewStyle::theEdge, Scintilla::ViewStyle::theMultiEdge, ticksToDwell, topLine, Scintilla::EditModel::trackLineWidth, UCharPtrFromSPtr(), Undo(), UNDO_MAY_COALESCE, Scintilla::Document::useTabs, Scintilla::UTF8MaxBytes, ValidCodePage(), ValidMargin(), VerticalCentreCaret(), verticalScrollBarVisible, view, Scintilla::ViewStyle::viewEOL, Scintilla::ViewStyle::viewIndentationGuides, Scintilla::ViewStyle::viewWhitespace, Scintilla::SelectionPosition::VirtualSpace(), virtualSpaceOptions, visiblePolicy, vs, Scintilla::ViewStyle::whitespaceColours, Scintilla::ViewStyle::whitespaceSize, Scintilla::word, WrapCount(), Scintilla::ViewStyle::wrapIndentMode, Scintilla::PrintParameters::wrapState, Scintilla::ViewStyle::wrapState, Scintilla::ViewStyle::wrapVisualFlags, Scintilla::ViewStyle::wrapVisualFlagsLocation, Scintilla::ViewStyle::wrapVisualStartIndent, Scintilla::Point::x, Scintilla::CaretPolicies::x, Scintilla::EditModel::xOffset, Scintilla::Point::y, Scintilla::CaretPolicies::y, and Scintilla::ViewStyle::zoomLevel.

Referenced by KeyDownWithModifiers(), and Scintilla::ScintillaBase::WndProc().

◆ WordSelection()

◆ WrapCount()

◆ WrapLines()

◆ WrapOneLine()

◆ Wrapping()

◆ XFromPosition()

int Editor::XFromPosition ( SelectionPosition  sp)
protected

◆ XYScrollToMakeVisible()

Editor::XYScrollPosition Editor::XYScrollToMakeVisible ( const SelectionRange range,
const XYScrollOptions  options,
CaretPolicies  policies 
)
protected

Ensure the caret is reasonably visible in context.

Caret policy in Scintilla

If slop is set, we can define a slop value. This value defines an unwanted zone (UZ) where the caret is... unwanted. This zone is defined as a number of pixels near the vertical margins, and as a number of lines near the horizontal margins. By keeping the caret away from the edges, it is seen within its context, so it is likely that the identifier that the caret is on can be completely seen, and that the current line is seen with some of the lines following it which are often dependent on that line.

If strict is set, the policy is enforced... strictly. The caret is centred on the display if slop is not set, and cannot go in the UZ if slop is set.

If jumps is set, the display is moved more energetically so the caret can move in the same direction longer before the policy is applied again. '3UZ' notation is used to indicate three time the size of the UZ as a distance to the margin.

If even is not set, instead of having symmetrical UZs, the left and bottom UZs are extended up to right and top UZs respectively. This way, we favour the displaying of useful information: the beginning of lines, where most code reside, and the lines after the caret, eg. the body of a function.

 |        |       |      |                                            |

slop | strict | jumps | even | Caret can go to the margin | When reaching limit (caret going out of | | | | | visibility or going into the UZ) display is... --—+-----—+----—+---—+-----------------------------------------—+-----------------------------------------------------------— 0 | 0 | 0 | 0 | Yes | moved to put caret on top/on right 0 | 0 | 0 | 1 | Yes | moved by one position 0 | 0 | 1 | 0 | Yes | moved to put caret on top/on right 0 | 0 | 1 | 1 | Yes | centred on the caret 0 | 1 | - | 0 | Caret is always on top/on right of display | - 0 | 1 | - | 1 | No, caret is always centred | - 1 | 0 | 0 | 0 | Yes | moved to put caret out of the asymmetrical UZ 1 | 0 | 0 | 1 | Yes | moved to put caret out of the UZ 1 | 0 | 1 | 0 | Yes | moved to put caret at 3UZ of the top or right margin 1 | 0 | 1 | 1 | Yes | moved to put caret at 3UZ of the margin 1 | 1 | - | 0 | Caret is always at UZ of top/right margin | - 1 | 1 | 0 | 1 | No, kept out of UZ | moved by one position 1 | 1 | 1 | 1 | No, kept out of UZ | moved to put caret at 3UZ of the margin

Definition at line 1148 of file Editor.cxx.

References Scintilla::SelectionRange::anchor, Scintilla::ViewStyle::aveCharWidth, Scintilla::PRectangle::bottom, Scintilla::SelectionRange::caret, CARET_EVEN, CARET_JUMPS, CARET_SLOP, CARET_STRICT, DisplayFromPosition(), Scintilla::PRectangle::Empty(), GetTextRectangle(), GetVisibleOriginInMain(), Scintilla::EditView::imeCaretBlockOverride, Scintilla::ViewStyle::IsBlockCaretStyle(), Scintilla::PRectangle::left, Scintilla::ViewStyle::lineHeight, LinesOnScreen(), LocationFromPosition(), max, MaxScrollPos(), Scintilla::CaretPolicy::policy, Scintilla::SelectionPosition::Position(), Scintilla::PRectangle::right, Scintilla::CaretPolicy::slop, Scintilla::PRectangle::top, topLine, Scintilla::Editor::XYScrollPosition::topLine, view, vs, Scintilla::PRectangle::Width(), Wrapping(), Scintilla::Point::x, Scintilla::CaretPolicies::x, Scintilla::EditModel::xOffset, Scintilla::Editor::XYScrollPosition::xOffset, xysHorizontal, xysUseMargin, xysVertical, Scintilla::Point::y, and Scintilla::CaretPolicies::y.

Referenced by EnsureCaretVisible(), MovedCaret(), and ScrollRange().

Friends And Related Function Documentation

◆ AutoSurface

friend class AutoSurface
friend

Definition at line 634 of file Editor.h.

Member Data Documentation

◆ additionalSelectionTyping

bool Scintilla::Editor::additionalSelectionTyping
protected

◆ autoScrollTimer

Timer Scintilla::Editor::autoScrollTimer
protected

Definition at line 202 of file Editor.h.

Referenced by ButtonMoveWithModifiers().

◆ caretPolicies

CaretPolicies Scintilla::Editor::caretPolicies
protected

◆ caretSticky

int Scintilla::Editor::caretSticky
protected

Definition at line 190 of file Editor.h.

Referenced by Editor(), InsertCharacter(), KeyCommand(), and WndProc().

◆ commandEvents

bool Scintilla::Editor::commandEvents
protected

Definition at line 243 of file Editor.h.

Referenced by Editor(), Scintilla::ScintillaGTK::NotifyFocus(), NotifyModified(), and WndProc().

◆ convertPastes

bool Scintilla::Editor::convertPastes
protected

◆ ctrlID

int Scintilla::Editor::ctrlID

Definition at line 631 of file Editor.h.

Referenced by Editor(), scintilla_set_id(), and SetCtrlID().

◆ cursorMode

int Scintilla::Editor::cursorMode
protected

Definition at line 179 of file Editor.h.

Referenced by DisplayCursor(), Scintilla::ScintillaGTK::DisplayCursor(), Editor(), and WndProc().

◆ doubleClickCloseThreshold

Point Scintilla::Editor::doubleClickCloseThreshold
protected

Definition at line 209 of file Editor.h.

Referenced by ButtonDownWithModifiers(), and Editor().

◆ drag

SelectionText Scintilla::Editor::drag
protected

◆ dropWentOutside

bool Scintilla::Editor::dropWentOutside
protected

Definition at line 216 of file Editor.h.

Referenced by DropAt(), and Editor().

◆ durationWrapOneLine

ActionDuration Scintilla::Editor::durationWrapOneLine
protected

Definition at line 259 of file Editor.h.

Referenced by WrapLines().

◆ dwellDelay

int Scintilla::Editor::dwellDelay
protected

Definition at line 210 of file Editor.h.

Referenced by ButtonMoveWithModifiers(), DwellEnd(), Editor(), and WndProc().

◆ dwelling

bool Scintilla::Editor::dwelling
protected

Definition at line 212 of file Editor.h.

Referenced by DwellEnd(), Editor(), and TickFor().

◆ endAtLastLine

bool Scintilla::Editor::endAtLastLine
protected

Definition at line 189 of file Editor.h.

Referenced by Editor(), MaxScrollPos(), and WndProc().

◆ errorStatus

◆ foldAutomatic

int Scintilla::Editor::foldAutomatic
protected

Definition at line 255 of file Editor.h.

Referenced by Editor(), NeedShown(), NotifyMarginClick(), NotifyModified(), and WndProc().

◆ hasFocus

bool Scintilla::Editor::hasFocus
protected

Definition at line 181 of file Editor.h.

Referenced by Editor(), SetFocusState(), ShowCaretAtCurrentPosition(), and WndProc().

◆ horizontalScrollBarVisible

bool Scintilla::Editor::horizontalScrollBarVisible
protected

◆ hotSpotClickPos

Sci::Position Scintilla::Editor::hotSpotClickPos
protected

◆ idler

Idler Scintilla::Editor::idler
protected

Definition at line 205 of file Editor.h.

Referenced by Scintilla::ScintillaGTK::SetIdle().

◆ idleStyling

int Scintilla::Editor::idleStyling
protected

Definition at line 239 of file Editor.h.

Referenced by Editor(), IdleStyling(), StartIdleStyling(), and WndProc().

◆ 

◆ kmap

KeyMap Scintilla::Editor::kmap
protected

Definition at line 199 of file Editor.h.

Referenced by KeyDownWithModifiers(), and WndProc().

◆ lastClick

Point Scintilla::Editor::lastClick
protected

Definition at line 207 of file Editor.h.

Referenced by ButtonDownWithModifiers(), and ButtonUpWithModifiers().

◆ lastClickTime

unsigned int Scintilla::Editor::lastClickTime
protected

Definition at line 208 of file Editor.h.

Referenced by ButtonDownWithModifiers(), ButtonUpWithModifiers(), and Editor().

◆ lastXChosen

int Scintilla::Editor::lastXChosen
protected

◆ lengthForEncode

Sci::Position Scintilla::Editor::lengthForEncode
protected

Definition at line 229 of file Editor.h.

Referenced by Editor(), Scintilla::ScintillaGTK::EncodedFromUTF8(), and WndProc().

◆ lineAnchorPos

Sci::Position Scintilla::Editor::lineAnchorPos
protected

Definition at line 220 of file Editor.h.

Referenced by ButtonDownWithModifiers(), ButtonMoveWithModifiers(), and Editor().

◆ marginOptions

int Scintilla::Editor::marginOptions
protected

Definition at line 191 of file Editor.h.

Referenced by ButtonDownWithModifiers(), Editor(), and WndProc().

◆ marginView

MarginView Scintilla::Editor::marginView
protected

◆ modEventMask

int Scintilla::Editor::modEventMask
protected

Definition at line 242 of file Editor.h.

Referenced by Editor(), NotifyModified(), and WndProc().

◆ mouseDownCaptures

bool Scintilla::Editor::mouseDownCaptures
protected

Definition at line 182 of file Editor.h.

Referenced by Editor(), Scintilla::ScintillaGTK::SetMouseCapture(), and WndProc().

◆ mouseSelectionRectangularSwitch

bool Scintilla::Editor::mouseSelectionRectangularSwitch
protected

Definition at line 192 of file Editor.h.

Referenced by ButtonMoveWithModifiers(), Editor(), and WndProc().

◆ mouseWheelCaptures

bool Scintilla::Editor::mouseWheelCaptures
protected

Definition at line 183 of file Editor.h.

Referenced by Editor(), and WndProc().

◆ multiPasteMode

int Scintilla::Editor::multiPasteMode
protected

Definition at line 195 of file Editor.h.

Referenced by Editor(), InsertPaste(), Scintilla::ScintillaGTK::InsertSelection(), and WndProc().

◆ multipleSelection

bool Scintilla::Editor::multipleSelection
protected

◆ needIdleStyling

bool Scintilla::Editor::needIdleStyling
protected

Definition at line 240 of file Editor.h.

Referenced by Editor(), Idle(), IdleStyling(), and StartIdleStyling().

◆ needUpdateUI

int Scintilla::Editor::needUpdateUI
protected

Definition at line 231 of file Editor.h.

Referenced by Editor(), and NotifyUpdateUI().

◆ originalAnchorPos

Sci::Position Scintilla::Editor::originalAnchorPos
protected

Definition at line 221 of file Editor.h.

Referenced by ButtonDownWithModifiers(), ButtonUpWithModifiers(), Editor(), and WordSelection().

◆ paintAbandonedByStyling

bool Scintilla::Editor::paintAbandonedByStyling
protected

Definition at line 234 of file Editor.h.

Referenced by CheckForChangeOutsidePaint(), Editor(), and Paint().

◆ paintingAllText

bool Scintilla::Editor::paintingAllText
protected

◆ 

◆ posDrop

SelectionPosition Scintilla::Editor::posDrop
protected

◆ posTopLine

Sci::Position Scintilla::Editor::posTopLine
protected

Definition at line 228 of file Editor.h.

Referenced by Editor(), NotifyModified(), and SetTopLine().

◆ ptMouseLast

◆ rcPaint

PRectangle Scintilla::Editor::rcPaint
protected

◆ recordingMacro

bool Scintilla::Editor::recordingMacro
protected

Definition at line 253 of file Editor.h.

Referenced by Editor(), InsertCharacter(), NewLine(), and WndProc().

◆ scaleRGBAImage