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
![]() ![]() |
#include <Editor.h>
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) |
![]() | |
EditModel () | |
EditModel (const EditModel &)=delete | |
EditModel (EditModel &&)=delete | |
EditModel & | operator= (const EditModel &)=delete |
EditModel & | operator= (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 |
![]() | |
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 |
![]() | |
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< IContractionState > | pcs |
Range | hotspot |
Sci::Position | hoverIndicatorPos |
int | wrapWidth |
Document * | pdoc |
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 | |
Editor & | operator= (const Editor &)=delete |
Editor & | operator= (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 CaseFolder * | CaseFolderForEncoding () |
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 |
Friends | |
class | AutoSurface |
Additional Inherited Members | |
![]() | |
enum | IMEInteraction { imeWindowed , imeInline } |
enum class | CharacterSource { directInput , tentativeInput , imeResult } |
|
protected |
|
protected |
|
strongprotected |
|
protected |
|
strongprotected |
|
protected |
|
strongprotected |
|
protected |
|
protected |
Definition at line 111 of file Editor.cxx.
References additionalSelectionTyping, Scintilla::Document::AddWatcher(), CARET_EVEN, CARET_SLOP, caretPolicies, caretSticky, character, commandEvents, ContainerNeedsUpdate(), convertPastes, ctrlID, cursorMode, ddNone, doubleClickCloseThreshold, dropWentOutside, dwellDelay, dwelling, endAtLastLine, errorStatus, foldAutomatic, hasFocus, horizontalScrollBarVisible, hotSpotClickPos, idleStyling, inDragDrop, INVALID_POSITION, Sci::invalidPosition, lastClickTime, lastXChosen, lengthForEncode, lineAnchorPos, marginOptions, modEventMask, mouseDownCaptures, mouseSelectionRectangularSwitch, mouseWheelCaptures, multiPasteMode, multipleSelection, needIdleStyling, needUpdateUI, notPainting, originalAnchorPos, paintAbandonedByStyling, paintingAllText, paintState, Scintilla::EditModel::pdoc, posDrop, posTopLine, ptMouseLast, recordingMacro, SC_CARETSTICKY_OFF, SC_CURSORNORMAL, SC_IDLESTYLING_NONE, SC_MARGINOPTION_NONE, SC_MODEVENTMASKALL, SC_MULTIPASTE_ONCE, SC_TECHNOLOGY_DEFAULT, SC_TIME_FOREVER, SC_UPDATE_CONTENT, scaleRGBAImage, scrollWidth, SCVS_NONE, searchAnchor, searchFlags, selectionUnit, SetRepresentations(), stylesValid, targetRange, technology, ticksToDwell, topLine, verticalScrollBarVisible, virtualSpaceOptions, visiblePolicy, willRedrawAll, wordSelectAnchorEndPos, wordSelectAnchorStartPos, wordSelectInitialCaretPos, Scintilla::Point::x, Scintilla::CaretPolicies::x, xCaretMargin, Scintilla::Point::y, and Scintilla::CaretPolicies::y.
|
protecteddelete |
|
protecteddelete |
|
override |
Definition at line 196 of file Editor.cxx.
References DropGraphics(), Scintilla::EditModel::pdoc, and Scintilla::Document::RemoveWatcher().
|
protectedvirtual |
If painting then abandon the painting because a wider redraw is needed.
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().
|
protected |
Definition at line 1894 of file Editor.cxx.
References Scintilla::EditModel::directInput, and InsertCharacter().
Referenced by KeyCommand().
|
protected |
Definition at line 5651 of file Editor.cxx.
References CurrentPosition(), Scintilla::Document::InsertString(), Scintilla::Selection::MainCaret(), Scintilla::EditModel::pdoc, Scintilla::EditModel::sel, SetEmptySelection(), Scintilla::Document::SetStyles(), Scintilla::Document::StartStyling(), and text.
Referenced by WndProc().
|
protected |
Definition at line 266 of file Editor.cxx.
References Scintilla::EditView::AllocateGraphics(), Scintilla::MarginView::AllocateGraphics(), marginView, view, and vs.
Referenced by InvalidateStyleData(), Paint(), and PaintSelMargin().
|
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().
|
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().
|
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().
|
protectedvirtual |
Reimplemented in Scintilla::ScintillaBase.
Definition at line 3069 of file Editor.cxx.
References Scintilla::EditModel::sel, and Scintilla::Selection::SetMoveExtends().
Referenced by Scintilla::ScintillaBase::CancelModes(), Finalise(), KeyCommand(), SetFocusState(), and WndProc().
|
protectedvirtual |
Definition at line 2204 of file Editor.cxx.
References Scintilla::Document::IsReadOnly(), Scintilla::EditModel::pdoc, and SelectionContainsProtected().
Referenced by WndProc().
|
protected |
Definition at line 1441 of file Editor.cxx.
References Scintilla::Caret::active, Scintilla::EditModel::caret, FineTickerCancel(), FineTickerStart(), InvalidateCaret(), Scintilla::Caret::on, Scintilla::Caret::period, and tickCaret.
Referenced by WndProc().
|
protectedvirtual |
Reimplemented in Scintilla::ScintillaGTK.
Definition at line 4053 of file Editor.cxx.
Referenced by FindText(), MultipleSelectAdd(), SearchInTarget(), and SearchText().
|
protectedvirtual |
Reimplemented in Scintilla::ScintillaGTK.
Definition at line 4141 of file Editor.cxx.
References cmLower, cmUpper, Scintilla::MakeLowerCase(), and Scintilla::MakeUpperCase().
Referenced by ChangeCaseOfSelection().
|
protected |
Definition at line 2931 of file Editor.cxx.
References Scintilla::SelectionPosition::Add(), Scintilla::SelectionRange::anchor, Scintilla::SelectionRange::caret, CaseMapString(), Scintilla::SelectionRange::ClearVirtualSpace(), Scintilla::Selection::Count(), Scintilla::Document::DeleteChars(), Scintilla::SelectionRange::End(), Scintilla::Document::InsertString(), Scintilla::SelectionRange::Length(), Scintilla::EditModel::pdoc, Scintilla::SelectionPosition::Position(), Scintilla::Selection::Range(), RangeText(), Scintilla::EditModel::sel, and Scintilla::SelectionRange::Start().
Referenced by KeyCommand().
|
protected |
Definition at line 1860 of file Editor.cxx.
References DropGraphics(), GetClientRectangle(), Scintilla::PRectangle::left, NeedWrapping(), Redraw(), Scintilla::PRectangle::right, Scintilla::ViewStyle::rightMarginWidth, SetScrollBars(), Scintilla::ViewStyle::textStart, vs, Scintilla::PRectangle::Width(), Wrapping(), and Scintilla::EditModel::wrapWidth.
Referenced by Scintilla::ScintillaGTK::MapThis(), and Scintilla::ScintillaGTK::Resize().
|
inlinestaticprotectednoexcept |
Definition at line 594 of file Editor.h.
Referenced by SearchText(), StyleSetMessage(), WndProc(), Scintilla::ScintillaGTK::WndProc(), and Scintilla::ScintillaBase::WndProc().
|
protected |
Definition at line 5191 of file Editor.cxx.
References AbandonPaint(), Scintilla::PRectangle::bottom, GetTextRectangle(), paintAbandonedByStyling, PaintContains(), painting, paintingAllText, paintState, RectangleFromRange(), Scintilla::PRectangle::top, and Scintilla::Range::Valid().
Referenced by NotifyModified(), and SetBraceHighlight().
|
protected |
Definition at line 2525 of file Editor.cxx.
References Scintilla::LineLayout::checkTextAndStyle, Scintilla::LineLayoutCache::Invalidate(), lines, Scintilla::DocModification::linesAdded, Scintilla::EditView::llc, max, Scintilla::DocModification::modificationType, NeedWrapping(), Scintilla::EditModel::pdoc, Scintilla::DocModification::position, RefreshStyleData(), SC_MOD_DELETETEXT, SC_MOD_INSERTTEXT, Scintilla::Document::SciLineFromPosition(), SetAnnotationHeights(), view, and Wrapping().
Referenced by NotifyModified().
|
protectedpure virtual |
Implemented in Scintilla::ScintillaGTK.
Referenced by ClearSelection(), MovedCaret(), SetEmptySelection(), and SetSelection().
|
protected |
Definition at line 368 of file Editor.cxx.
References Scintilla::Document::IsLineEndPosition(), Scintilla::Document::Length(), Scintilla::EditModel::pdoc, Scintilla::SelectionPosition::Position(), and Scintilla::SelectionPosition::SetVirtualSpace().
Referenced by MovePositionSoVisible(), MovePositionTo(), SetEmptySelection(), and SetSelection().
|
protected |
Definition at line 2208 of file Editor.cxx.
References Scintilla::SelectionRange::anchor, Scintilla::SelectionRange::caret, ClearSelection(), Scintilla::SelectionRange::ClearVirtualSpace(), Scintilla::Selection::Count(), Scintilla::Document::DelChar(), Scintilla::Selection::Empty(), Scintilla::Document::IsPositionInLineEnd(), Scintilla::Selection::MainCaret(), Scintilla::EditModel::pdoc, Scintilla::SelectionPosition::Position(), Scintilla::Selection::Range(), RangeContainsProtected(), Scintilla::Selection::RangeMain(), RealizeVirtualSpace(), Scintilla::Selection::RemoveDuplicates(), Scintilla::EditModel::sel, ShowCaretAtCurrentPosition(), Scintilla::SelectionRange::Start(), and Scintilla::SelectionPosition::VirtualSpace().
Referenced by WndProc().
|
protected |
Definition at line 2117 of file Editor.cxx.
References Scintilla::Document::AnnotationClearAll(), Scintilla::Selection::Clear(), Scintilla::EditView::ClearAllTabstops(), Scintilla::Document::DeleteChars(), Scintilla::Document::EOLAnnotationClearAll(), InvalidateStyleRedraw(), Scintilla::Document::IsReadOnly(), Scintilla::Document::Length(), Scintilla::Document::MarginClearAll(), Scintilla::EditModel::pcs, Scintilla::EditModel::pdoc, Scintilla::EditModel::sel, SetTopLine(), SetVerticalScrollPos(), and view.
Referenced by WndProc().
|
protected |
Definition at line 2009 of file Editor.cxx.
References Scintilla::SelectionRange::caret, Scintilla::SelectionRange::ClearVirtualSpace(), Scintilla::Selection::Count(), Scintilla::Document::DeleteChars(), Scintilla::SelectionRange::Empty(), Scintilla::Selection::Empty(), Scintilla::SelectionRange::End(), FilterSelections(), Scintilla::EditModel::inOverstrike, Scintilla::SelectionRange::Length(), Scintilla::SelectionRange::MinimizeVirtualSpace(), Scintilla::EditModel::pdoc, Scintilla::SelectionPosition::Position(), Scintilla::Selection::Range(), RangeContainsProtected(), RealizeVirtualSpace(), Scintilla::EditModel::sel, Scintilla::SelectionRange::Start(), and Scintilla::SelectionPosition::VirtualSpace().
Referenced by Scintilla::ScintillaGTK::PreeditChangedInlineThis().
|
protected |
Definition at line 2139 of file Editor.cxx.
References Scintilla::Document::ClearLevels(), Scintilla::Document::decorations, Scintilla::Document::Length(), Scintilla::Document::LinesTotal(), Scintilla::EditModel::pcs, Scintilla::EditModel::pdoc, SetAnnotationHeights(), Scintilla::Document::SetStyleFor(), and Scintilla::Document::StartStyling().
Referenced by WndProc().
|
protected |
Definition at line 2097 of file Editor.cxx.
References ClaimSelection(), Scintilla::Selection::Count(), Scintilla::Document::DeleteChars(), Scintilla::SelectionRange::Empty(), Scintilla::SelectionRange::End(), FilterSelections(), Scintilla::Selection::IsRectangular(), Scintilla::SelectionRange::Length(), Scintilla::Selection::MainCaret(), Scintilla::EditModel::pdoc, Scintilla::SelectionPosition::Position(), Scintilla::Selection::Range(), RangeContainsProtected(), Scintilla::Selection::RemoveDuplicates(), Scintilla::EditModel::sel, SetHoverIndicatorPosition(), Scintilla::SelectionRange::Start(), and ThinRectangularRange().
Referenced by Clear(), Cut(), DelCharBack(), Scintilla::ScintillaGTK::DragDataGet(), DropAt(), Scintilla::ScintillaGTK::InsertSelection(), Scintilla::ScintillaGTK::KeyThis(), MoveSelectedLines(), NewLine(), and WndProc().
|
protectednoexcept |
Definition at line 5632 of file Editor.cxx.
References Scintilla::Document::dbcsCodePage, and Scintilla::EditModel::pdoc.
Referenced by Scintilla::AutoSurface::AutoSurface(), and Scintilla::ScintillaBase::CallTipShow().
|
inlinestaticprotectednoexcept |
Definition at line 588 of file Editor.h.
Referenced by WndProc(), and Scintilla::ScintillaBase::WndProc().
|
inlinestaticprotectednoexcept |
Definition at line 603 of file Editor.h.
Referenced by WndProc(), Scintilla::ScintillaGTK::WndProc(), and Scintilla::ScintillaBase::WndProc().
|
inlinestaticprotectednoexcept |
Definition at line 591 of file Editor.h.
Referenced by WndProc(), and Scintilla::ScintillaBase::WndProc().
|
protectednoexcept |
Definition at line 2879 of file Editor.cxx.
Referenced by DelCharBack(), Editor(), HorizontalScrollTo(), Indent(), InvalidateSelection(), KeyCommand(), MultipleSelectAdd(), NotifyModified(), SetSelectionNMessage(), SetTopLine(), SetXYScroll(), and WndProc().
Definition at line 5412 of file Editor.cxx.
References Scintilla::Document::GetLevel(), line, Scintilla::Document::LinesTotal(), Scintilla::EditModel::pcs, Scintilla::EditModel::pdoc, and SC_FOLDLEVELHEADERFLAG.
Referenced by WndProc().
|
protectedpure virtual |
Implemented in Scintilla::ScintillaGTK.
|
protected |
Definition at line 2148 of file Editor.cxx.
References CopySelectionRange(), and CopyToClipboard().
Referenced by WndProc().
|
protected |
Definition at line 4243 of file Editor.cxx.
References Scintilla::Document::ClampPositionIntoDocument(), Scintilla::SelectionText::Copy(), CopyToClipboard(), Scintilla::Document::dbcsCodePage, Scintilla::EditModel::pdoc, RangeText(), STYLE_DEFAULT, Scintilla::ViewStyle::styles, text, and vs.
Referenced by Scintilla::ScintillaGTKAccessible::CopyText(), KeyCommand(), and WndProc().
|
protected |
Definition at line 4209 of file Editor.cxx.
References Scintilla::SelectionText::Copy(), Scintilla::Document::dbcsCodePage, Scintilla::Selection::Empty(), Scintilla::Document::eolMode, Scintilla::Selection::IsRectangular(), Scintilla::Document::LineEnd(), Scintilla::Document::LineStart(), Scintilla::Selection::MainCaret(), Scintilla::EditModel::pdoc, Scintilla::Selection::RangesCopy(), RangeText(), SC_EOL_CR, SC_EOL_LF, Scintilla::Document::SciLineFromPosition(), Scintilla::EditModel::sel, Scintilla::Selection::selLines, Scintilla::Selection::selRectangle, Scintilla::Selection::selType, STYLE_DEFAULT, Scintilla::ViewStyle::styles, text, and vs.
Referenced by ButtonMoveWithModifiers(), Scintilla::ScintillaGTK::Copy(), CopyAllowLine(), MoveSelectedLines(), Scintilla::ScintillaGTK::PressThis(), Scintilla::ScintillaGTK::PrimarySelection(), Scintilla::ScintillaGTK::SelectionGet(), and WndProc().
|
protected |
Definition at line 4253 of file Editor.cxx.
References Scintilla::SelectionText::Copy(), CopyToClipboard(), Scintilla::Document::dbcsCodePage, Scintilla::EditModel::pdoc, STYLE_DEFAULT, Scintilla::ViewStyle::styles, text, and vs.
Referenced by WndProc().
|
protectedpure virtual |
Implemented in Scintilla::ScintillaGTK.
Referenced by CopyAllowLine(), CopyRangeToClipboard(), and CopyText().
|
protected |
Definition at line 561 of file Editor.cxx.
References Scintilla::Selection::MainCaret(), and Scintilla::EditModel::sel.
Referenced by AddStyledText(), Scintilla::ScintillaGTK::KeyThis(), MoveSelectedLines(), Scintilla::ScintillaGTK::PreeditChangedInlineThis(), and WndProc().
|
protected |
Definition at line 3171 of file Editor.cxx.
References additionalSelectionTyping, Scintilla::SelectionRange::anchor, Scintilla::SelectionRange::caret, caretPolicies, Scintilla::Selection::Count(), Scintilla::Selection::DropAdditionalRanges(), Scintilla::SelectionSegment::end, InvalidateWholeSelection(), Scintilla::Selection::IsRectangular(), lastXChosen, Scintilla::Selection::Limits(), Scintilla::Selection::Main(), MovedCaret(), Scintilla::Selection::MoveExtends(), MovePositionSoVisible(), Scintilla::Selection::noSel, PositionUpOrDown(), Scintilla::Selection::Range(), Scintilla::Selection::RangeMain(), Scintilla::Selection::Rectangular(), Scintilla::Selection::RemoveDuplicates(), Scintilla::EditModel::sel, Scintilla::Selection::selLines, Scintilla::Selection::selRectangle, Scintilla::Selection::selStream, Scintilla::Selection::selType, SetRectangularRange(), SetSelection(), and Scintilla::SelectionSegment::start.
Referenced by KeyCommand().
|
protectedvirtual |
Definition at line 2154 of file Editor.cxx.
References Scintilla::Document::CheckReadOnly(), ClearSelection(), Copy(), Scintilla::Document::IsReadOnly(), Scintilla::EditModel::pdoc, and SelectionContainsProtected().
Referenced by KeyCommand(), and WndProc().
|
protectedpure virtual |
Implemented in Scintilla::ScintillaGTK.
Referenced by WndProc().
|
protected |
Definition at line 2266 of file Editor.cxx.
References Scintilla::SelectionRange::anchor, Scintilla::Document::backspaceUnindents, Scintilla::SelectionRange::caret, ClearSelection(), Scintilla::SelectionRange::ClearVirtualSpace(), ContainerNeedsUpdate(), Scintilla::Selection::Count(), Scintilla::Document::DelCharBack(), Scintilla::Selection::Empty(), FilterSelections(), Scintilla::Document::GetColumn(), Scintilla::Document::GetLineIndentation(), indentation, Scintilla::Document::IndentSize(), Scintilla::Selection::IsRectangular(), Scintilla::Document::LineStart(), Scintilla::UndoGroup::Needed(), Scintilla::EditModel::pdoc, Scintilla::SelectionPosition::Position(), Scintilla::Selection::Range(), RangeContainsProtected(), RefreshStyleData(), Scintilla::Selection::RemoveDuplicates(), SC_UPDATE_SELECTION, Scintilla::Document::SciLineFromPosition(), Scintilla::EditModel::sel, Scintilla::Document::SetLineIndentation(), Scintilla::SelectionPosition::SetVirtualSpace(), ShowCaretAtCurrentPosition(), ThinRectangularRange(), and Scintilla::SelectionPosition::VirtualSpace().
Referenced by KeyCommand(), and Scintilla::ScintillaBase::KeyCommand().
|
protected |
Definition at line 3622 of file Editor.cxx.
References additionalSelectionTyping, Scintilla::SelectionRange::caret, caretPolicies, Scintilla::SelectionRange::ClearVirtualSpace(), Scintilla::Selection::Count(), Scintilla::Document::DeleteChars(), Scintilla::Selection::DropAdditionalRanges(), Scintilla::Range::end, INVALID_POSITION, InvalidateWholeSelection(), Scintilla::Document::LineEnd(), Scintilla::Document::LineFromPosition(), Scintilla::Document::LineStart(), MovedCaret(), Scintilla::Document::NextWordEnd(), Scintilla::Document::NextWordStart(), Scintilla::EditModel::pdoc, Scintilla::SelectionPosition::Position(), Scintilla::Selection::Range(), RangeContainsProtected(), Scintilla::Selection::RangeMain(), RealizeVirtualSpace(), Scintilla::Selection::RemoveDuplicates(), SCI_DELLINELEFT, SCI_DELLINERIGHT, SCI_DELWORDLEFT, SCI_DELWORDRIGHT, SCI_DELWORDRIGHTEND, Scintilla::EditModel::sel, SetLastXChosen(), and Scintilla::Range::start.
Referenced by KeyCommand().
|
protectedvirtual |
Definition at line 480 of file Editor.cxx.
Referenced by StyleToPositionInView().
|
protectedvirtual |
Reimplemented in Scintilla::ScintillaGTK.
Definition at line 4282 of file Editor.cxx.
References cursorMode, SC_CURSORNORMAL, Scintilla::Window::SetCursor(), and wMain.
Referenced by ButtonMoveWithModifiers(), ButtonUpWithModifiers(), and WndProc().
|
protected |
Definition at line 1097 of file Editor.cxx.
References Scintilla::EditView::DisplayFromPosition(), pos, view, and vs.
Referenced by ButtonMoveWithModifiers(), and XYScrollToMakeVisible().
|
protected |
Definition at line 302 of file Editor.cxx.
References Scintilla::Window::GetID(), GetVisibleOriginInMain(), Scintilla::ViewStyle::lineHeight, topLine, vs, wMargin, Scintilla::Point::x, Scintilla::PointDocument::x, Scintilla::EditModel::xOffset, Scintilla::Point::y, and Scintilla::PointDocument::y.
Referenced by SPositionFromLocation().
Reimplemented in Scintilla::ScintillaGTK.
Definition at line 4289 of file Editor.cxx.
References Scintilla::Point::x, and Scintilla::Point::y.
Referenced by ButtonMoveWithModifiers().
|
protected |
Definition at line 4363 of file Editor.cxx.
|
protected |
Definition at line 4301 of file Editor.cxx.
References Scintilla::SelectionPosition::Add(), ClearSelection(), Scintilla::Selection::Count(), ddDragging, dropWentOutside, Scintilla::SelectionRange::End(), Scintilla::Document::eolMode, inDragDrop, Scintilla::Document::InsertString(), Scintilla::SelectionRange::Length(), Scintilla::Selection::MainCaret(), MovePositionOutsideChar(), PasteRectangular(), Scintilla::EditModel::pdoc, position, PositionInSelection(), Scintilla::Selection::Range(), RealizeVirtualSpace(), Scintilla::EditModel::sel, SelectionEnd(), SelectionStart(), Scintilla::Selection::selLines, Scintilla::Selection::selType, SetEmptySelection(), SetSelection(), Scintilla::SelectionRange::Start(), and Scintilla::Document::TransformLineEnds().
Referenced by DropAt(), and Scintilla::ScintillaGTK::ReceivedDrop().
|
protected |
Definition at line 1435 of file Editor.cxx.
References Scintilla::Caret::active, Scintilla::EditModel::caret, FineTickerCancel(), InvalidateCaret(), and tickCaret.
|
protected |
Definition at line 261 of file Editor.cxx.
References Scintilla::EditView::DropGraphics(), Scintilla::MarginView::DropGraphics(), marginView, and view.
Referenced by ChangeSize(), InvalidateStyleData(), Scintilla::ScintillaGTK::UnMapThis(), and ~Editor().
|
protected |
Definition at line 3029 of file Editor.cxx.
References Scintilla::SelectionRange::anchor, Scintilla::SelectionRange::caret, Scintilla::Selection::Count(), Scintilla::Selection::Empty(), Scintilla::SelectionRange::End(), Scintilla::Document::eolMode, Scintilla::Document::InsertString(), Scintilla::Selection::IsRectangular(), Scintilla::Selection::Last(), line, Scintilla::Document::LineEnd(), Scintilla::Document::LineStart(), Scintilla::EditModel::pdoc, Scintilla::SelectionPosition::Position(), Scintilla::Selection::Range(), RangeText(), Scintilla::Selection::Rectangular(), Scintilla::Document::SciLineFromPosition(), Scintilla::EditModel::sel, SetRectangularRange(), Scintilla::SelectionRange::Start(), StringFromEOLMode(), and text.
Referenced by KeyCommand().
|
protected |
Definition at line 4492 of file Editor.cxx.
References dwellDelay, dwelling, FineTickerCancel(), NotifyDwelling(), ptMouseLast, SC_TIME_FOREVER, tickDwell, and ticksToDwell.
Referenced by ButtonMoveWithModifiers(), KeyDownWithModifiers(), MouseLeave(), Scintilla::ScintillaGTK::SetHorizontalScrollPos(), SetScrollBars(), and Scintilla::ScintillaGTK::SetVerticalScrollPos().
|
protected |
Definition at line 1414 of file Editor.cxx.
References Scintilla::SelectionRange::caret, caretPolicies, Scintilla::SelectionPosition::IsValid(), Scintilla::EditModel::posDrag, Scintilla::Selection::RangeMain(), Scintilla::EditModel::sel, SetXYScroll(), XYScrollToMakeVisible(), xysHorizontal, xysUseMargin, and xysVertical.
Referenced by ButtonMoveWithModifiers(), ButtonUpWithModifiers(), FoldLine(), GoToLine(), InsertCharacter(), Scintilla::ScintillaGTK::InsertSelection(), KeyCommand(), Scintilla::ScintillaBase::KeyCommand(), NewLine(), Scintilla::ScintillaGTK::PreeditChangedInlineThis(), Redo(), Undo(), and WndProc().
|
protected |
Recurse up from this line to find any folds that prevent this line from being visible and unfold them all.
Definition at line 5428 of file Editor.cxx.
References EnsureLineVisible(), ExpandLine(), Scintilla::Document::GetFoldParent(), Scintilla::Document::GetLevel(), LinesOnScreen(), MaxScrollPos(), Scintilla::EditModel::pcs, Scintilla::EditModel::pdoc, Scintilla::CaretPolicy::policy, Redraw(), SC_FOLDLEVELWHITEFLAG, SetScrollBars(), SetTopLine(), SetVerticalScrollPos(), Scintilla::CaretPolicy::slop, Scintilla::WrapPending::start, topLine, VISIBLE_SLOP, VISIBLE_STRICT, visiblePolicy, WrapLines(), wrapPending, and wsAll.
Referenced by EnsureLineVisible(), FoldLine(), NeedShown(), and WndProc().
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().
|
protected |
Definition at line 1901 of file Editor.cxx.
References additionalSelectionTyping, Scintilla::Selection::Count(), Scintilla::Selection::DropAdditionalRanges(), InvalidateWholeSelection(), and Scintilla::EditModel::sel.
Referenced by ClearBeforeTentativeStart(), ClearSelection(), DelCharBack(), and InsertCharacter().
|
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().
|
protected |
Search of a text in the document, in the given range.
< Sci_TextToFind
structure: The text to search for in the given range.
wParam | Search 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().
|
protectedvirtual |
Reimplemented in Scintilla::ScintillaGTK.
Definition at line 5057 of file Editor.cxx.
Referenced by ButtonMoveWithModifiers(), ButtonUpWithModifiers(), CaretSetPeriod(), DropCaret(), DwellEnd(), SetDragPosition(), ShowCaretAtCurrentPosition(), and TickFor().
|
protectedvirtual |
Reimplemented in Scintilla::ScintillaGTK.
Definition at line 5044 of file Editor.cxx.
Referenced by Paint().
|
protectedvirtual |
Reimplemented in Scintilla::ScintillaGTK.
Definition at line 5051 of file Editor.cxx.
Referenced by ButtonDownWithModifiers(), ButtonMoveWithModifiers(), CaretSetPeriod(), Paint(), SetDragPosition(), and ShowCaretAtCurrentPosition().
|
protected |
Definition at line 5483 of file Editor.cxx.
References Scintilla::Document::EnsureStyledTo(), Scintilla::Document::GetLastChild(), Scintilla::Document::GetLevel(), Scintilla::Document::Length(), Scintilla::LevelNumber(), line, Scintilla::Document::LinesTotal(), Scintilla::EditModel::pcs, Scintilla::EditModel::pdoc, Redraw(), SC_FOLDACTION_EXPAND, SC_FOLDACTION_TOGGLE, SC_FOLDLEVELBASE, SC_FOLDLEVELHEADERFLAG, SetFoldExpanded(), and SetScrollBars().
Referenced by NotifyMarginClick(), and WndProc().
|
protected |
Definition at line 5521 of file Editor.cxx.
References FoldExpand(), FoldLine(), Scintilla::Document::GetFoldParent(), Scintilla::Document::GetLevel(), Scintilla::LevelNumber(), line, Scintilla::EditModel::pcs, Scintilla::EditModel::pdoc, Redraw(), RedrawSelMargin(), SC_FOLDACTION_EXPAND, SC_FOLDLEVELHEADERFLAG, SC_FOLDLEVELWHITEFLAG, and SetScrollBars().
Referenced by NotifyModified().
|
protected |
Definition at line 5386 of file Editor.cxx.
References Scintilla::Document::GetLastChild(), Scintilla::Document::GetLevel(), Scintilla::LevelNumber(), line, Scintilla::EditModel::pcs, Scintilla::EditModel::pdoc, Redraw(), SC_FOLDACTION_EXPAND, SC_FOLDACTION_TOGGLE, SC_FOLDLEVELHEADERFLAG, SetFoldExpanded(), and SetScrollBars().
Referenced by FoldChanged(), NotifyMarginClick(), and WndProc().
|
protected |
Definition at line 5347 of file Editor.cxx.
References EnsureCaretVisible(), EnsureLineVisible(), ExpandLine(), Scintilla::Document::GetFoldParent(), Scintilla::Document::GetLastChild(), Scintilla::Document::GetLevel(), GoToLine(), line, Scintilla::Selection::MainCaret(), Scintilla::EditModel::pcs, Scintilla::EditModel::pdoc, Redraw(), SC_FOLDACTION_CONTRACT, SC_FOLDACTION_EXPAND, SC_FOLDACTION_TOGGLE, SC_FOLDLEVELHEADERFLAG, Scintilla::Document::SciLineFromPosition(), Scintilla::EditModel::sel, and SetScrollBars().
Referenced by FoldChanged(), NotifyMarginClick(), and WndProc().
|
protected |
Definition at line 1809 of file Editor.cxx.
References Scintilla::EditView::FormatRange(), Sci_RangeToFormat::hdc, Sci_RangeToFormat::hdcTarget, SC_TECHNOLOGY_DEFAULT, view, and vs.
Referenced by WndProc().
|
protectedvirtual |
Definition at line 326 of file Editor.cxx.
References GetClientRectangle().
Referenced by RectangleFromRange(), and StyleToPositionInView().
|
protectedvirtual |
Reimplemented in Scintilla::ScintillaGTK.
Definition at line 322 of file Editor.cxx.
References Scintilla::Window::GetClientPosition(), and wMain.
Referenced by Scintilla::ScintillaBase::AutoCompleteStart(), ButtonMoveWithModifiers(), Scintilla::ScintillaBase::CallTipShow(), ChangeSize(), GetClientDrawingRectangle(), GetTextRectangle(), HorizontalScrollTo(), IdleStyling(), LinesOnScreen(), Paint(), PaintContainsMargin(), PaintSelMargin(), PointInSelMargin(), Redraw(), RedrawRect(), RedrawSelMargin(), RefreshPixMaps(), ScrollTo(), VerticalCentreCaret(), and WrapLines().
|
inlineprotectedvirtual |
Definition at line 429 of file Editor.h.
Referenced by Scintilla::ScintillaGTK::NotifyChange(), Scintilla::ScintillaGTK::NotifyFocus(), Scintilla::ScintillaGTK::NotifyParent(), and WndProc().
|
overrideprotectedvirtualnoexcept |
Implements Scintilla::EditModel.
Definition at line 4769 of file Editor.cxx.
References Scintilla::EditModel::hotspot.
|
protectednoexcept |
Definition at line 4419 of file Editor.cxx.
References Scintilla::MarginStyle::cursor, Scintilla::Window::cursorReverseArrow, and Scintilla::MarginStyle::width.
Referenced by ButtonMoveWithModifiers(), and ButtonUpWithModifiers().
|
protected |
Definition at line 5583 of file Editor.cxx.
References name, Scintilla::EditModel::pdoc, Scintilla::Document::SubstituteByPosition(), and text.
Referenced by WndProc().
|
protected |
Definition at line 330 of file Editor.cxx.
References GetClientRectangle(), Scintilla::PRectangle::left, Scintilla::PRectangle::right, Scintilla::ViewStyle::rightMarginWidth, Scintilla::ViewStyle::textStart, and vs.
Referenced by CheckForChangeOutsidePaint(), LinesSplit(), Scintilla::ScintillaGTK::ModifyScrollBars(), MoveCaretInsideView(), SetXYScroll(), SPositionFromLocation(), and XYScrollToMakeVisible().
|
overrideprotectedvirtual |
Implements Scintilla::EditModel.
Definition at line 298 of file Editor.cxx.
Referenced by Scintilla::ScintillaBase::AutoCompleteStart(), ButtonMoveWithModifiers(), Scintilla::ScintillaBase::CallTipShow(), DocumentPointFromView(), PaintSelMargin(), PointInSelMargin(), RedrawSelMargin(), SPositionFromLocation(), and XYScrollToMakeVisible().
|
protected |
Definition at line 4180 of file Editor.cxx.
References EnsureCaretVisible(), Scintilla::Document::LineStart(), Scintilla::Document::LinesTotal(), Scintilla::EditModel::pdoc, SetEmptySelection(), and ShowCaretAtCurrentPosition().
Referenced by FoldLine(), MoveSelectedLines(), and WndProc().
|
protectedpure virtual |
Implemented in Scintilla::ScintillaGTK.
Referenced by ButtonMoveWithModifiers(), ButtonUpWithModifiers(), MouseLeave(), and TickFor().
|
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().
|
protected |
Definition at line 984 of file Editor.cxx.
References ContainerNeedsUpdate(), GetClientRectangle(), RedrawRect(), SC_UPDATE_H_SCROLL, SetHorizontalScrollPos(), Wrapping(), and Scintilla::EditModel::xOffset.
Referenced by Scintilla::ScintillaBase::AutoCompleteStart(), Scintilla::ScintillaGTK::ScrollEvent(), Scintilla::ScintillaGTK::ScrollHSignal(), and WndProc().
|
protected |
Definition at line 4988 of file Editor.cxx.
References IdleStyling(), needIdleStyling, Scintilla::WrapPending::NeedsWrap(), NotifyUpdateUI(), WrapLines(), wrapPending, Wrapping(), and wsIdle.
Referenced by Scintilla::ScintillaGTK::IdleCallback().
|
protected |
Definition at line 5147 of file Editor.cxx.
References GetClientRectangle(), Scintilla::Document::GetEndStyled(), idleStyling, Scintilla::Document::Length(), needIdleStyling, Scintilla::EditModel::pdoc, PositionAfterArea(), PositionAfterMaxStyling(), SC_IDLESTYLING_AFTERVISIBLE, and Scintilla::Document::StyleToAdjustingLineDuration().
Referenced by Idle().
|
protectedvirtual |
Reimplemented in Scintilla::ScintillaGTK.
Definition at line 5158 of file Editor.cxx.
References Scintilla::WorkNeeded::items, Scintilla::Document::LineFromPosition(), Scintilla::Document::LineStart(), NotifyUpdateUI(), Scintilla::EditModel::pdoc, Scintilla::WorkNeeded::Reset(), StyleToPositionInView(), Scintilla::WorkNeeded::upTo, workNeeded, and Scintilla::WorkNeeded::workStyle.
Referenced by Scintilla::ScintillaGTK::IdleWork().
|
protected |
Definition at line 3963 of file Editor.cxx.
References Scintilla::SelectionRange::anchor, Scintilla::SelectionRange::caret, ContainerNeedsUpdate(), Scintilla::Selection::Count(), Scintilla::Document::DeleteChars(), Scintilla::Document::GetColumn(), Scintilla::Document::GetLineIndentation(), Scintilla::Document::GetLineIndentPosition(), Scintilla::Document::Indent(), indentation, Scintilla::Document::IndentSize(), Scintilla::Document::InsertString(), Scintilla::SelectionRange::Length(), Scintilla::Document::LineStart(), max, Scintilla::EditModel::pdoc, Scintilla::SelectionPosition::Position(), Scintilla::Selection::Range(), SC_UPDATE_SELECTION, Scintilla::Document::SciLineFromPosition(), Scintilla::EditModel::sel, Scintilla::Document::SetLineIndentation(), Scintilla::SelectionRange::Start(), Scintilla::Document::tabInChars, Scintilla::Document::tabIndents, and Scintilla::Document::useTabs.
Referenced by KeyCommand().
|
protectedpure virtual |
Implemented in Scintilla::ScintillaBase.
|
protectedvirtual |
Reimplemented in Scintilla::ScintillaBase.
Definition at line 1909 of file Editor.cxx.
References Scintilla::SelectionRange::anchor, Scintilla::SelectionRange::caret, caretSticky, Scintilla::SelectionRange::ClearVirtualSpace(), Scintilla::Selection::Count(), Scintilla::Document::dbcsCodePage, Scintilla::Document::DelChar(), Scintilla::Document::DeleteChars(), Scintilla::SelectionRange::Empty(), Scintilla::Selection::Empty(), Scintilla::SelectionRange::End(), EnsureCaretVisible(), FilterSelections(), Scintilla::EditModel::inOverstrike, Scintilla::Document::InsertString(), IsAllSpacesOrTabs(), Scintilla::Document::IsPositionInLineEnd(), Scintilla::SelectionRange::Length(), Scintilla::SelectionRange::MinimizeVirtualSpace(), NotifyChar(), NotifyMacroRecord(), Scintilla::EditModel::pdoc, Scintilla::SelectionPosition::Position(), Scintilla::Selection::Range(), RangeContainsProtected(), RealizeVirtualSpace(), recordingMacro, Redraw(), SC_CARETSTICKY_OFF, SC_CARETSTICKY_WHITESPACE, SC_CP_UTF8, SCI_REPLACESEL, Scintilla::Document::SciLineFromPosition(), Scintilla::EditModel::sel, SetLastXChosen(), Scintilla::SelectionPosition::SetPosition(), SetScrollBars(), SetVerticalScrollPos(), ShowCaretAtCurrentPosition(), Scintilla::SelectionRange::Start(), Scintilla::EditModel::tentativeInput, ThinRectangularRange(), Scintilla::UTF32FromUTF8(), Scintilla::SelectionPosition::VirtualSpace(), WrapOneLine(), and Wrapping().
Referenced by AddChar(), and Scintilla::ScintillaBase::InsertCharacter().
|
protected |
Definition at line 2032 of file Editor.cxx.
References Scintilla::SelectionRange::anchor, Scintilla::SelectionRange::caret, Scintilla::SelectionRange::ClearVirtualSpace(), Scintilla::Selection::Count(), Scintilla::Document::DeleteChars(), Scintilla::SelectionRange::Empty(), Scintilla::SelectionRange::End(), Scintilla::Document::InsertString(), Scintilla::SelectionRange::Length(), Scintilla::SelectionRange::MinimizeVirtualSpace(), multiPasteMode, Scintilla::EditModel::pdoc, Scintilla::SelectionPosition::Position(), Scintilla::Selection::Range(), RangeContainsProtected(), RealizeVirtualSpace(), SC_MULTIPASTE_ONCE, Scintilla::EditModel::sel, SetEmptySelection(), Scintilla::SelectionPosition::SetPosition(), Scintilla::SelectionRange::Start(), Scintilla::Selection::Start(), text, and Scintilla::SelectionPosition::VirtualSpace().
Referenced by InsertPasteShape().
|
protected |
Definition at line 2067 of file Editor.cxx.
References convertPastes, Scintilla::Document::eolMode, InsertPaste(), Scintilla::Document::InsertString(), Scintilla::Document::LineFromPosition(), Scintilla::Document::LineStart(), Scintilla::Selection::MainCaret(), pasteLine, pasteRectangular, PasteRectangular(), Scintilla::EditModel::pdoc, Scintilla::EditModel::sel, SetEmptySelection(), Scintilla::Selection::Start(), StringFromEOLMode(), text, and Scintilla::Document::TransformLineEnds().
Referenced by Scintilla::ScintillaGTK::InsertSelection().
|
protected |
Definition at line 1452 of file Editor.cxx.
References Scintilla::SelectionRange::caret, Scintilla::Selection::Count(), InvalidateRange(), Scintilla::SelectionPosition::IsValid(), Scintilla::EditModel::posDrag, Scintilla::SelectionPosition::Position(), Scintilla::Selection::Range(), Scintilla::EditModel::sel, and UpdateSystemCaret().
Referenced by CaretSetPeriod(), DropCaret(), SetDragPosition(), ShowCaretAtCurrentPosition(), TickFor(), Undo(), and WndProc().
|
protected |
Definition at line 557 of file Editor.cxx.
References Scintilla::ViewStyle::lineOverlap, Scintilla::EditView::LinesOverlap(), RectangleFromRange(), RedrawRect(), view, and vs.
Referenced by ButtonUpWithModifiers(), InvalidateCaret(), InvalidateSelection(), NotifyModified(), SetHotSpotRange(), and SetSelectionNMessage().
|
protected |
Definition at line 616 of file Editor.cxx.
References Scintilla::SelectionRange::anchor, Scintilla::SelectionRange::caret, ContainerNeedsUpdate(), Scintilla::Selection::Count(), Scintilla::SelectionRange::End(), InvalidateRange(), Scintilla::Selection::IsRectangular(), max, Scintilla::SelectionPosition::Position(), Scintilla::Selection::Range(), Scintilla::Selection::RangeMain(), SC_UPDATE_SELECTION, Scintilla::EditModel::sel, and Scintilla::SelectionRange::Start().
Referenced by ButtonDownWithModifiers(), ButtonMoveWithModifiers(), InvalidateWholeSelection(), MovedCaret(), MovePositionTo(), SetEmptySelection(), SetSelection(), and WndProc().
|
protected |
Definition at line 271 of file Editor.cxx.
References AllocateGraphics(), Scintilla::PositionCache::Clear(), DropGraphics(), Scintilla::LineLayout::invalid, Scintilla::LineLayoutCache::Invalidate(), Scintilla::EditView::llc, Scintilla::EditView::posCache, stylesValid, technology, Scintilla::ViewStyle::technology, view, and vs.
Referenced by InvalidateStyleRedraw(), and WndProc().
|
protected |
Definition at line 280 of file Editor.cxx.
References InvalidateStyleData(), NeedWrapping(), and Redraw().
Referenced by ClearAll(), KeyCommand(), StyleSetMessage(), WndProc(), and Scintilla::ScintillaBase::WndProc().
|
protected |
Definition at line 636 of file Editor.cxx.
References InvalidateSelection(), Scintilla::Selection::RangeMain(), and Scintilla::EditModel::sel.
Referenced by ButtonDownWithModifiers(), ButtonUpWithModifiers(), CursorUpOrDown(), DelWordOrLine(), FilterSelections(), HorizontalMove(), KeyCommand(), NewLine(), and WndProc().
|
noexcept |
Definition at line 5628 of file Editor.cxx.
References Scintilla::Document::dbcsCodePage, Scintilla::EditModel::pdoc, and SC_CP_UTF8.
Referenced by Scintilla::ScintillaBase::AutoCompleteStart(), Scintilla::ScintillaGTK::CaseMapString(), Scintilla::ScintillaGTK::CommitThis(), Scintilla::ScintillaGTK::EncodedFromUTF8(), Scintilla::ScintillaGTK::GetGtkSelectionText(), Scintilla::ScintillaGTKAccessible::GetTextRangeUTF8(), Scintilla::ScintillaGTKAccessible::InsertStringUTF8(), Scintilla::ScintillaGTK::PreeditChangedInlineThis(), SetRepresentations(), and Scintilla::ScintillaGTK::TargetAsUTF8().
|
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().
|
protectedvirtual |
Reimplemented in Scintilla::ScintillaGTK.
Definition at line 3945 of file Editor.cxx.
Referenced by KeyDownWithModifiers().
|
protected |
Definition at line 3949 of file Editor.cxx.
References DwellEnd(), Scintilla::KeyMap::Find(), KeyDefault(), kmap, and WndProc().
Referenced by Scintilla::ScintillaGTK::KeyThis().
|
protected |
Definition at line 3367 of file Editor.cxx.
References Scintilla::Document::LineEndPosition(), Scintilla::EditModel::pdoc, position, and StartEndDisplayLine().
Referenced by HorizontalMove().
Definition at line 438 of file Editor.cxx.
References Scintilla::ViewStyle::lineHeight, Scintilla::EditModel::pcs, topLine, vs, and Scintilla::Point::y.
Referenced by MoveSelectedLines(), NotifyDoubleClick(), NotifyMarginClick(), and NotifyMarginRightClick().
|
protected |
Definition at line 3000 of file Editor.cxx.
References Scintilla::Document::DeleteChars(), Scintilla::SelectionRange::End(), Scintilla::Document::InsertString(), Scintilla::Document::LineEnd(), Scintilla::Document::LineStart(), Scintilla::EditModel::pdoc, Scintilla::SelectionPosition::Position(), Scintilla::Selection::RangeMain(), RangeText(), Scintilla::Document::SciLineFromPosition(), Scintilla::EditModel::sel, and Scintilla::SelectionRange::Start().
Referenced by KeyCommand().
|
protected |
Definition at line 4434 of file Editor.cxx.
References Scintilla::Document::LineStart(), Scintilla::Document::MovePositionOutsideChar(), Scintilla::EditModel::pdoc, Scintilla::Document::SciLineFromPosition(), StartEndDisplayLine(), and TrimAndSetSelection().
Referenced by ButtonDownWithModifiers(), and ButtonMoveWithModifiers().
|
protected |
Definition at line 642 of file Editor.cxx.
References Scintilla::Document::LineEnd(), Scintilla::Document::LineFromPosition(), Scintilla::Document::LineStart(), Scintilla::EditModel::pdoc, and Scintilla::SelectionPosition::Position().
Referenced by SetSelection().
|
protected |
Definition at line 1598 of file Editor.cxx.
References Scintilla::SelectionPosition::Add(), Scintilla::Document::CharAt(), Scintilla::Document::DelChar(), Scintilla::SelectionSegment::end, Scintilla::Document::InsertString(), Scintilla::Document::IsPositionInLineEnd(), Scintilla::Document::LenChar(), Scintilla::EditModel::pdoc, pos, Scintilla::SelectionPosition::Position(), RangeContainsProtected(), Scintilla::SelectionSegment::start, and targetRange.
Referenced by WndProc().
|
overrideprotectedvirtual |
Implements Scintilla::EditModel.
Definition at line 337 of file Editor.cxx.
References Scintilla::PRectangle::bottom, GetClientRectangle(), Scintilla::ViewStyle::lineHeight, Scintilla::PRectangle::top, and vs.
Referenced by ButtonMoveWithModifiers(), EnsureLineVisible(), LinesToScroll(), MaxScrollPos(), MoveCaretInsideView(), SetScrollBars(), VerticalCentreCaret(), WndProc(), WrapLines(), and XYScrollToMakeVisible().
|
protected |
Definition at line 1628 of file Editor.cxx.
References Scintilla::SelectionPosition::Add(), Scintilla::SelectionSegment::end, Scintilla::Document::eolMode, GetTextRectangle(), Scintilla::Document::InsertString(), Scintilla::EditView::LayoutLine(), line, Scintilla::LineLayout::lines, Scintilla::LineLayout::LineStart(), Scintilla::Document::LineStart(), Scintilla::EditView::llc, Scintilla::EditModel::pdoc, Scintilla::SelectionPosition::Position(), RangeContainsProtected(), Scintilla::EditView::RetrieveLineLayout(), Scintilla::Document::SciLineFromPosition(), Scintilla::SelectionSegment::start, StringFromEOLMode(), targetRange, view, vs, and Scintilla::PRectangle::Width().
Referenced by WndProc().
|
protected |
Definition at line 344 of file Editor.cxx.
References LinesOnScreen().
Referenced by Scintilla::ScintillaGTK::ModifyScrollBars(), and PageMove().
|
protected |
Definition at line 2976 of file Editor.cxx.
References Scintilla::Document::DeleteChars(), Scintilla::Document::InsertString(), line, Scintilla::Document::LineEnd(), Scintilla::Document::LineStart(), Scintilla::Selection::MainCaret(), MovePositionTo(), Scintilla::EditModel::pdoc, RangeText(), Scintilla::Document::SciLineFromPosition(), and Scintilla::EditModel::sel.
Referenced by KeyCommand().
|
protected |
Definition at line 387 of file Editor.cxx.
References LocationFromPosition(), and pos.
|
protected |
Definition at line 381 of file Editor.cxx.
References Scintilla::EditView::LocationFromPosition(), pos, RefreshStyleData(), topLine, view, and vs.
Referenced by Scintilla::ScintillaBase::AutoCompleteStart(), LocationFromPosition(), MoveSelectedLines(), PageMove(), PointInSelection(), PointMainCaret(), PositionUpOrDown(), WndProc(), Scintilla::ScintillaBase::WndProc(), XFromPosition(), and XYScrollToMakeVisible().
|
protected |
Definition at line 352 of file Editor.cxx.
References endAtLastLine, LinesOnScreen(), and Scintilla::EditModel::pcs.
Referenced by EnsureLineVisible(), KeyCommand(), NotifyModified(), PageMove(), ScrollTo(), SetScrollBars(), WrapLines(), and XYScrollToMakeVisible().
|
staticprotectednoexcept |
Definition at line 2313 of file Editor.cxx.
References SCI_ALT, SCI_CTRL, SCI_META, SCI_SHIFT, and SCI_SUPER.
Referenced by Scintilla::ScintillaGTK::KeyThis(), Scintilla::ScintillaGTK::Motion(), Scintilla::ScintillaGTK::MouseRelease(), and Scintilla::ScintillaGTK::PressThis().
|
protectedpure virtual |
Implemented in Scintilla::ScintillaGTK.
Referenced by SetScrollBars().
|
protected |
Definition at line 4504 of file Editor.cxx.
References DwellEnd(), HaveMouseCapture(), Sci::invalidPosition, ptMouseLast, SetHotSpotRange(), and SetHoverIndicatorPosition().
|
protected |
Definition at line 1080 of file Editor.cxx.
References Scintilla::PRectangle::bottom, Scintilla::Point::FromInts(), GetTextRectangle(), lastXChosen, Scintilla::ViewStyle::lineHeight, LinesOnScreen(), MovePositionTo(), Scintilla::Selection::noSel, PointMainCaret(), SPositionFromLocation(), Scintilla::PRectangle::top, UserVirtualSpace(), vs, Scintilla::EditModel::xOffset, and Scintilla::Point::y.
Referenced by KeyCommand(), and WndProc().
|
protected |
Definition at line 843 of file Editor.cxx.
References ClaimSelection(), Scintilla::MarginView::highlightDelimiter, InvalidateSelection(), Scintilla::SelectionPosition::IsValid(), Scintilla::Selection::MainCaret(), marginView, Scintilla::HighlightDelimiter::NeedsDrawing(), NotifyCaretMove(), Scintilla::EditModel::pdoc, Scintilla::EditModel::posDrag, Scintilla::SelectionPosition::Position(), QueueIdleWork(), Redraw(), RedrawSelMargin(), Scintilla::Document::SciLineFromPosition(), ScrollTo(), Scintilla::EditModel::sel, SetHoverIndicatorPosition(), SetXYScroll(), ShowCaretAtCurrentPosition(), Scintilla::WrapPending::start, Scintilla::Editor::XYScrollPosition::topLine, Scintilla::WorkNeeded::workUpdateUI, WrapLines(), wrapPending, wsAll, Scintilla::EditModel::xOffset, Scintilla::Editor::XYScrollPosition::xOffset, XYScrollToMakeVisible(), and xysDefault.
Referenced by CursorUpOrDown(), DelWordOrLine(), HorizontalMove(), MovePositionTo(), and SetDragPosition().
|
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().
|
protected |
Definition at line 821 of file Editor.cxx.
References Scintilla::Document::Length(), Scintilla::Document::MovePositionOutsideChar(), Scintilla::EditModel::pdoc, pos, Scintilla::ViewStyle::ProtectionActive(), Scintilla::Document::StyleIndexAt(), Scintilla::ViewStyle::styles, and vs.
|
protected |
Definition at line 932 of file Editor.cxx.
References MovePositionSoVisible(), and pos.
|
protected |
Definition at line 911 of file Editor.cxx.
References ClampPositionIntoDocument(), Scintilla::Document::LineEnd(), Scintilla::Document::LineStart(), MovePositionOutsideChar(), Scintilla::EditModel::pcs, Scintilla::EditModel::pdoc, pos, and Scintilla::Document::SciLineFromPosition().
Referenced by CursorUpOrDown(), HorizontalMove(), and MovePositionSoVisible().
|
protected |
Definition at line 907 of file Editor.cxx.
References MovePositionTo().
|
protected |
Definition at line 876 of file Editor.cxx.
References caretPolicies, ClampPositionIntoDocument(), Scintilla::Selection::Clear(), Scintilla::Selection::Count(), Scintilla::Selection::DropAdditionalRanges(), Scintilla::Selection::Empty(), INVALID_POSITION, InvalidateSelection(), Scintilla::Selection::IsRectangular(), Scintilla::Selection::Last(), Scintilla::Selection::MainCaret(), MovedCaret(), Scintilla::Selection::MoveExtends(), MovePositionOutsideChar(), multipleSelection, Scintilla::Selection::noSel, Scintilla::SelectionPosition::Position(), Scintilla::Selection::RangeMain(), Scintilla::Selection::Rectangular(), Scintilla::EditModel::sel, Scintilla::Selection::selRectangle, Scintilla::Selection::selStream, Scintilla::Selection::selType, SetEmptySelection(), and SetSelection().
Referenced by KeyCommand(), Scintilla::ScintillaGTK::KeyThis(), LineTranspose(), MoveCaretInsideView(), MovePositionTo(), PageMove(), and ParaUpOrDown().
|
protected |
Definition at line 1007 of file Editor.cxx.
References ClearSelection(), CopySelectionRange(), CurrentPosition(), Scintilla::SelectionText::Data(), Scintilla::Document::eolMode, GoToLine(), Scintilla::Document::InsertString(), Scintilla::Selection::IsRectangular(), Scintilla::SelectionText::Length(), Scintilla::Document::Length(), LineFromLocation(), Scintilla::Document::LineStart(), Scintilla::Document::LinesTotal(), LocationFromPosition(), Scintilla::Document::MovePositionOutsideChar(), Scintilla::EditModel::pdoc, Scintilla::SelectionPosition::Position(), Scintilla::Document::SciLineFromPosition(), Scintilla::EditModel::sel, SelectionEnd(), SelectionStart(), SetSelection(), and StringFromEOLMode().
Referenced by MoveSelectedLinesDown(), and MoveSelectedLinesUp().
|
protected |
Definition at line 1076 of file Editor.cxx.
References MoveSelectedLines().
Referenced by WndProc().
|
protected |
Definition at line 1072 of file Editor.cxx.
References MoveSelectedLines().
Referenced by WndProc().
|
protected |
Definition at line 735 of file Editor.cxx.
References Scintilla::Selection::AddSelection(), CaseFolderForEncoding(), ContainerNeedsUpdate(), Scintilla::Range::end, Scintilla::SelectionSegment::end, Scintilla::SelectionRange::End(), Scintilla::Document::ExtendWordSelect(), Scintilla::Document::FindText(), Scintilla::Document::HasCaseFolder(), Scintilla::Selection::MainCaret(), multipleSelection, one, Scintilla::Range::Overlaps(), Scintilla::EditModel::pdoc, pos, Scintilla::SelectionPosition::Position(), Scintilla::Selection::RangeMain(), RangeText(), Redraw(), SC_UPDATE_SELECTION, ScrollRange(), searchFlags, Scintilla::EditModel::sel, SelectionEmpty(), Scintilla::Document::SetCaseFolder(), Scintilla::Range::start, Scintilla::SelectionSegment::start, Scintilla::SelectionRange::Start(), targetRange, and TrimAndSetSelection().
Referenced by WndProc().
|
protected |
Definition at line 5571 of file Editor.cxx.
References EnsureLineVisible(), foldAutomatic, line, NotifyNeedShown(), Scintilla::EditModel::pdoc, pos, SC_AUTOMATICFOLD_SHOW, and Scintilla::Document::SciLineFromPosition().
Referenced by NotifyModified().
|
protected |
Definition at line 1473 of file Editor.cxx.
References Scintilla::WrapPending::AddRange(), Scintilla::LineLayoutCache::Invalidate(), Scintilla::EditView::llc, Scintilla::WrapPending::NeedsWrap(), Scintilla::LineLayout::positions, SetIdle(), view, wrapPending, and Wrapping().
Referenced by ChangeSize(), CheckModificationForWrap(), InvalidateStyleRedraw(), Paint(), and SetDocPointer().
|
protected |
Definition at line 3073 of file Editor.cxx.
References additionalSelectionTyping, Scintilla::SelectionRange::caret, ClearSelection(), Scintilla::SelectionRange::ClearVirtualSpace(), Scintilla::Selection::Count(), Scintilla::EditModel::directInput, Scintilla::Selection::DropAdditionalRanges(), Scintilla::Selection::Empty(), EnsureCaretVisible(), Scintilla::Document::eolMode, Scintilla::Document::InsertString(), InvalidateWholeSelection(), Scintilla::Selection::IsRectangular(), NotifyChar(), NotifyMacroRecord(), Scintilla::EditModel::pdoc, Scintilla::SelectionPosition::Position(), Scintilla::Selection::Range(), recordingMacro, SCI_REPLACESEL, Scintilla::EditModel::sel, SetLastXChosen(), SetScrollBars(), ShowCaretAtCurrentPosition(), and StringFromEOLMode().
Referenced by KeyCommand().
|
protectedvirtual |
Definition at line 1463 of file Editor.cxx.
Referenced by MovedCaret().
|
protectedpure virtual |
Implemented in Scintilla::ScintillaGTK.
Referenced by NotifyModified().
|
protected |
Definition at line 2350 of file Editor.cxx.
References SCNotification::ch, SCNotification::characterSource, Sci_NotifyHeader::code, SCNotification::nmhdr, NotifyParent(), and SCN_CHARADDED.
Referenced by InsertCharacter(), and NewLine().
|
overrideprotectedvirtualnoexcept |
Implements Scintilla::DocWatcher.
Definition at line 2743 of file Editor.cxx.
|
protectedvirtual |
Definition at line 2374 of file Editor.cxx.
References Sci_NotifyHeader::code, SCNotification::line, LineFromLocation(), SCNotification::modifiers, SCNotification::nmhdr, NotifyParent(), SCNotification::position, PositionFromLocation(), and SCN_DOUBLECLICK.
Referenced by ButtonDownWithModifiers().
|
protected |
Definition at line 2499 of file Editor.cxx.
References Sci_NotifyHeader::code, Scintilla::ViewStyle::ExternalMarginWidth(), SCNotification::nmhdr, NotifyParent(), SCNotification::position, PositionFromLocation(), SCN_DWELLEND, SCN_DWELLSTART, vs, Scintilla::Point::x, SCNotification::x, Scintilla::Point::y, and SCNotification::y.
Referenced by DwellEnd(), and TickFor().
|
overrideprotectedvirtual |
Implements Scintilla::DocWatcher.
Definition at line 2346 of file Editor.cxx.
References errorStatus.
|
protectedvirtual |
Reimplemented in Scintilla::ScintillaGTK.
Definition at line 2322 of file Editor.cxx.
References Sci_NotifyHeader::code, SCNotification::nmhdr, NotifyParent(), SCN_FOCUSIN, and SCN_FOCUSOUT.
Referenced by Scintilla::ScintillaGTK::NotifyFocus(), and SetFocusState().
|
protected |
Definition at line 2391 of file Editor.cxx.
References Sci_NotifyHeader::code, SCNotification::modifiers, SCNotification::nmhdr, NotifyParent(), SCNotification::position, position, and SCN_HOTSPOTCLICK.
Referenced by ButtonDownWithModifiers().
|
protected |
Definition at line 2383 of file Editor.cxx.
References Sci_NotifyHeader::code, SCNotification::modifiers, SCNotification::nmhdr, NotifyParent(), SCNotification::position, position, and SCN_HOTSPOTDOUBLECLICK.
Referenced by ButtonDownWithModifiers().
|
protected |
Definition at line 2399 of file Editor.cxx.
References Sci_NotifyHeader::code, SCNotification::modifiers, SCNotification::nmhdr, NotifyParent(), SCNotification::position, position, and SCN_HOTSPOTRELEASECLICK.
Referenced by ButtonUpWithModifiers().
|
protected |
Definition at line 2425 of file Editor.cxx.
References Sci_NotifyHeader::code, Scintilla::Document::decorations, SCNotification::modifiers, SCNotification::nmhdr, NotifyParent(), Scintilla::EditModel::pdoc, SCNotification::position, position, SCN_INDICATORCLICK, and SCN_INDICATORRELEASE.
Referenced by ButtonDownWithModifiers(), and ButtonUpWithModifiers().
|
overrideprotectedvirtual |
Implements Scintilla::DocWatcher.
Reimplemented in Scintilla::ScintillaBase.
Definition at line 2343 of file Editor.cxx.
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().
|
protected |
Definition at line 2437 of file Editor.cxx.
References Sci_NotifyHeader::code, FoldAll(), foldAutomatic, FoldExpand(), FoldLine(), Scintilla::Document::GetLevel(), LineFromLocation(), Scintilla::Document::LineStart(), SCNotification::margin, Scintilla::ViewStyle::MarginFromLocation(), SCNotification::modifiers, Scintilla::ViewStyle::ms, SCNotification::nmhdr, NotifyParent(), Scintilla::EditModel::pdoc, SCNotification::position, position, SC_AUTOMATICFOLD_CLICK, SC_FOLDACTION_EXPAND, SC_FOLDACTION_TOGGLE, SC_FOLDLEVELHEADERFLAG, SC_MASK_FOLDERS, SCI_CTRL, SCI_SHIFT, Scintilla::Document::SciLineFromPosition(), SCN_MARGINCLICK, and vs.
Referenced by ButtonDownWithModifiers().
|
protected |
Definition at line 2475 of file Editor.cxx.
References Sci_NotifyHeader::code, LineFromLocation(), Scintilla::Document::LineStart(), SCNotification::margin, Scintilla::ViewStyle::MarginFromLocation(), SCNotification::modifiers, Scintilla::ViewStyle::ms, SCNotification::nmhdr, NotifyParent(), Scintilla::EditModel::pdoc, SCNotification::position, position, SCN_MARGINRIGHTCLICK, and vs.
Referenced by RightButtonDownWithModifiers().
|
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().
|
protected |
Definition at line 2368 of file Editor.cxx.
References Sci_NotifyHeader::code, SCNotification::nmhdr, NotifyParent(), and SCN_MODIFYATTEMPTRO.
Referenced by NotifyModifyAttempt().
|
overrideprotectedvirtual |
Implements Scintilla::DocWatcher.
Definition at line 2515 of file Editor.cxx.
References NotifyModifyAttempt().
|
protected |
Definition at line 2491 of file Editor.cxx.
References Sci_NotifyHeader::code, SCNotification::length, SCNotification::nmhdr, NotifyParent(), pos, SCNotification::position, and SCN_NEEDSHOWN.
Referenced by NeedShown().
|
protected |
Definition at line 2419 of file Editor.cxx.
References Sci_NotifyHeader::code, SCNotification::nmhdr, NotifyParent(), and SCN_PAINTED.
Referenced by Paint().
|
protectedpure virtual |
Implemented in Scintilla::ScintillaGTK.
Referenced by Scintilla::ScintillaBase::AutoCompleteCancel(), Scintilla::ScintillaBase::AutoCompleteCharacterDeleted(), Scintilla::ScintillaBase::AutoCompleteCompleted(), Scintilla::ScintillaBase::AutoCompleteSelection(), Scintilla::ScintillaBase::CallTipClick(), NotifyChar(), NotifyDoubleClick(), NotifyDwelling(), NotifyFocus(), NotifyHotSpotClicked(), NotifyHotSpotDoubleClicked(), NotifyHotSpotReleaseClick(), NotifyIndicatorClick(), NotifyMacroRecord(), NotifyMarginClick(), NotifyMarginRightClick(), NotifyModified(), NotifyModifyAttempt(), NotifyNeedShown(), NotifyPainted(), NotifySavePoint(), NotifyStyleToNeeded(), NotifyUpdateUI(), and NotifyZoom().
|
protected |
Definition at line 2358 of file Editor.cxx.
References Sci_NotifyHeader::code, SCNotification::nmhdr, NotifyParent(), SCN_SAVEPOINTLEFT, and SCN_SAVEPOINTREACHED.
Referenced by NotifySavePoint().
|
overrideprotectedvirtual |
Implements Scintilla::DocWatcher.
Definition at line 2520 of file Editor.cxx.
References NotifySavePoint().
|
overrideprotectedvirtual |
Implements Scintilla::DocWatcher.
Definition at line 2339 of file Editor.cxx.
References NotifyStyleToNeeded().
|
protectedvirtual |
Reimplemented in Scintilla::ScintillaBase.
Definition at line 2332 of file Editor.cxx.
References Sci_NotifyHeader::code, SCNotification::nmhdr, NotifyParent(), SCNotification::position, and SCN_STYLENEEDED.
Referenced by NotifyStyleNeeded(), and Scintilla::ScintillaBase::NotifyStyleToNeeded().
|
protected |
Definition at line 2407 of file Editor.cxx.
References Sci_NotifyHeader::code, needUpdateUI, SCNotification::nmhdr, NotifyParent(), SCN_UPDATEUI, and SCNotification::updated.
Referenced by Idle(), IdleWork(), Paint(), and Scintilla::ScintillaGTK::ScrollText().
|
protected |
Definition at line 2508 of file Editor.cxx.
References Sci_NotifyHeader::code, SCNotification::nmhdr, NotifyParent(), and SCN_ZOOM.
Referenced by KeyCommand(), and WndProc().
|
protected |
Force scroll and keep position relative to top of window.
If stuttered = true and not already at first/last row, move to first/last row of window. If stuttered = true and already at first/last row, scroll as normal.
Definition at line 2889 of file Editor.cxx.
References caretPolicies, Scintilla::Point::FromInts(), lastXChosen, Scintilla::ViewStyle::lineHeight, LinesToScroll(), LocationFromPosition(), Scintilla::Selection::MainCaret(), MaxScrollPos(), MovePositionTo(), Scintilla::EditModel::pdoc, PositionFromLocation(), Redraw(), Scintilla::Document::SciLineFromPosition(), Scintilla::EditModel::sel, SetTopLine(), SetVerticalScrollPos(), Scintilla::CaretPolicy::slop, SPositionFromLocation(), topLine, UserVirtualSpace(), vs, Scintilla::EditModel::xOffset, Scintilla::Point::y, and Scintilla::CaretPolicies::y.
Referenced by KeyCommand().
|
protected |
Definition at line 1719 of file Editor.cxx.
References AbandonPaint(), AllocateGraphics(), Scintilla::EditView::bufferedDraw, Scintilla::Surface::FillRectangle(), FineTickerRunning(), FineTickerStart(), GetClientRectangle(), horizontalScrollBarVisible, Scintilla::PRectangle::Intersects(), Scintilla::PRectangle::left, Scintilla::ViewStyle::leftMarginWidth, Scintilla::EditView::lineWidthMaxSeen, Scintilla::ViewStyle::marginInside, marginView, NeedWrapping(), NotifyPainted(), NotifyUpdateUI(), paintAbandoned, paintAbandonedByStyling, PaintSelMargin(), paintState, Scintilla::EditView::PaintText(), Scintilla::EditModel::pcs, Scintilla::MarginView::pixmapSelPattern, RefreshPixMaps(), RefreshStyleData(), Scintilla::PRectangle::right, Scintilla::ViewStyle::rightMarginWidth, scrollWidth, Scintilla::Surface::SetClip(), STYLE_DEFAULT, StyleAreaBounded(), Scintilla::ViewStyle::styles, tickWiden, topLine, Scintilla::EditModel::trackLineWidth, view, vs, WrapLines(), Wrapping(), and wsVisible.
Referenced by Scintilla::ScintillaGTK::ExposeTextThis().
|
protectedvirtual |
Reimplemented in Scintilla::ScintillaGTK.
Definition at line 5172 of file Editor.cxx.
References Scintilla::PRectangle::Contains(), Scintilla::PRectangle::Empty(), and rcPaint.
Referenced by CheckForChangeOutsidePaint(), and PaintContainsMargin().
|
protected |
Definition at line 5180 of file Editor.cxx.
References GetClientRectangle(), Scintilla::Window::GetID(), PaintContains(), Scintilla::PRectangle::right, Scintilla::ViewStyle::textStart, vs, and wMargin.
Referenced by NotifyModified().
|
protected |
Definition at line 1658 of file Editor.cxx.
References AllocateGraphics(), Scintilla::PRectangle::bottom, Scintilla::EditView::bufferedDraw, Scintilla::Surface::Copy(), Scintilla::ViewStyle::fixedColumnWidth, GetClientRectangle(), GetVisibleOriginInMain(), Scintilla::Surface::Initialised(), Scintilla::PRectangle::Intersects(), Scintilla::PRectangle::left, marginView, Scintilla::PRectangle::Move(), Scintilla::MarginView::PaintMargin(), Scintilla::MarginView::pixmapSelMargin, RefreshPixMaps(), RefreshStyleData(), Scintilla::PRectangle::right, Scintilla::PRectangle::top, topLine, view, vs, and Scintilla::Point::y.
Referenced by Paint().
|
protected |
Definition at line 3219 of file Editor.cxx.
References Scintilla::Document::Length(), Scintilla::Document::LineEndPosition(), Scintilla::Selection::MainCaret(), MovePositionTo(), Scintilla::Selection::noSel, Scintilla::Document::ParaDown(), Scintilla::Document::ParaUp(), Scintilla::EditModel::pcs, Scintilla::EditModel::pdoc, Scintilla::Document::SciLineFromPosition(), and Scintilla::EditModel::sel.
Referenced by KeyCommand().
|
protectedpure virtual |
Implemented in Scintilla::ScintillaGTK.
Referenced by WndProc().
|
protected |
Definition at line 2162 of file Editor.cxx.
References Scintilla::SelectionPosition::Add(), Scintilla::SelectionRange::caret, Scintilla::Selection::Clear(), Scintilla::Document::eolMode, Scintilla::Document::InsertString(), Scintilla::IsEOLChar(), Scintilla::Document::IsReadOnly(), Scintilla::Document::Length(), line, Scintilla::Document::LinesTotal(), Scintilla::Selection::MainCaret(), Scintilla::EditModel::pdoc, pos, PositionFromLineX(), ptr, Scintilla::Selection::RangeMain(), RealizeVirtualSpace(), SC_EOL_CR, SC_EOL_LF, Scintilla::Document::SciLineFromPosition(), Scintilla::EditModel::sel, SelectionContainsProtected(), SetEmptySelection(), Scintilla::SelectionPosition::SetPosition(), and XFromPosition().
Referenced by DropAt(), and InsertPasteShape().
|
protected |
Definition at line 4379 of file Editor.cxx.
References Scintilla::SelectionRange::Contains(), Scintilla::Selection::Count(), Scintilla::SelectionRange::End(), LocationFromPosition(), pos, Scintilla::Selection::Range(), Scintilla::EditModel::sel, SPositionFromLocation(), Scintilla::SelectionRange::Start(), and Scintilla::Point::x.
Referenced by ButtonDownWithModifiers(), ButtonMoveWithModifiers(), and Scintilla::ScintillaGTK::PressThis().
|
protected |
Definition at line 4405 of file Editor.cxx.
References Scintilla::PRectangle::ContainsWholePixel(), Scintilla::ViewStyle::fixedColumnWidth, GetClientRectangle(), GetVisibleOriginInMain(), Scintilla::PRectangle::left, Scintilla::ViewStyle::leftMarginWidth, Scintilla::PRectangle::Move(), Scintilla::PRectangle::right, Scintilla::ViewStyle::textStart, vs, and Scintilla::Point::y.
Referenced by ButtonDownWithModifiers(), ButtonMoveWithModifiers(), ButtonUpWithModifiers(), and Scintilla::ScintillaBase::ShouldDisplayPopup().
|
protected |
Definition at line 4708 of file Editor.cxx.
References INVALID_POSITION, pos, PositionFromLocation(), and PositionIsHotspot().
Referenced by ButtonDownWithModifiers(), ButtonMoveWithModifiers(), and ButtonUpWithModifiers().
|
protected |
Definition at line 936 of file Editor.cxx.
References Scintilla::SelectionRange::caret, LocationFromPosition(), Scintilla::Selection::Main(), Scintilla::Selection::Range(), and Scintilla::EditModel::sel.
Referenced by Scintilla::ScintillaBase::AutoCompleteStart(), MoveCaretInsideView(), Scintilla::ScintillaGTK::PreeditChangedWindowedThis(), Scintilla::ScintillaGTK::SetCandidateWindowPos(), and SetLastXChosen().
|
protected |
Definition at line 5070 of file Editor.cxx.
References Scintilla::PRectangle::bottom, if(), Scintilla::Document::Length(), Scintilla::ViewStyle::lineHeight, Scintilla::Document::LineStart(), Scintilla::EditModel::pcs, Scintilla::EditModel::pdoc, TopLineOfMain(), and vs.
Referenced by IdleStyling(), StyleAreaBounded(), and StyleToPositionInView().
|
protected |
Definition at line 5099 of file Editor.cxx.
References Scintilla::ActionDuration::Duration(), Scintilla::Document::durationStyleOneLine, Scintilla::Document::GetEndStyled(), Scintilla::Document::LineStart(), Scintilla::Document::LinesTotal(), Scintilla::EditModel::pdoc, Scintilla::Document::SciLineFromPosition(), and SynchronousStylingToVisible().
Referenced by IdleStyling(), and StyleAreaBounded().
|
protected |
Definition at line 434 of file Editor.cxx.
References Scintilla::SelectionPosition::Position(), and SPositionFromLineX().
Referenced by PasteRectangular().
|
protected |
Definition at line 416 of file Editor.cxx.
References Scintilla::SelectionPosition::Position(), and SPositionFromLocation().
Referenced by ButtonDownWithModifiers(), ButtonMoveWithModifiers(), NotifyDoubleClick(), NotifyDwelling(), PageMove(), PointIsHotspot(), Scintilla::ScintillaGTK::PressThis(), SetHotSpotRange(), SetHoverIndicatorPoint(), and WndProc().
|
protected |
PositionInSelection returns true if position in 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().
|
protected |
Definition at line 4704 of file Editor.cxx.
References Scintilla::EditModel::pdoc, position, Scintilla::Document::StyleIndexAt(), Scintilla::ViewStyle::styles, and vs.
Referenced by ButtonDownWithModifiers(), and PointIsHotspot().
|
protected |
Definition at line 3123 of file Editor.cxx.
References Scintilla::SelectionPosition::Add(), Scintilla::Document::AnnotationLines(), Scintilla::ViewStyle::annotationVisible, Scintilla::Point::FromInts(), if(), Scintilla::Document::Length(), Scintilla::ViewStyle::lineHeight, Scintilla::Document::LineStart(), LocationFromPosition(), Scintilla::EditModel::pcs, Scintilla::EditModel::pdoc, Scintilla::SelectionPosition::Position(), Scintilla::Document::SciLineFromPosition(), Scintilla::SelectionPosition::SetVirtualSpace(), SPositionFromLocation(), UserVirtualSpace(), vs, Scintilla::Point::x, Scintilla::EditModel::xOffset, and Scintilla::Point::y.
Referenced by CursorUpOrDown().
|
inlinestaticprotectednoexcept |
Definition at line 585 of file Editor.h.
Referenced by FindText(), and WndProc().
|
inlinestaticprotectednoexcept |
|
protectedvirtual |
Reimplemented in Scintilla::ScintillaGTK.
Definition at line 5168 of file Editor.cxx.
References Scintilla::WorkNeeded::Need(), and workNeeded.
Referenced by MovedCaret(), NotifyModified(), Scintilla::ScintillaGTK::QueueIdleWork(), SetEmptySelection(), and SetSelection().
|
protectednoexcept |
Definition at line 789 of file Editor.cxx.
References pos.
Referenced by Scintilla::ScintillaBase::AutoCompleteInsert(), Clear(), ClearBeforeTentativeStart(), ClearSelection(), DelCharBack(), Scintilla::ScintillaGTKAccessible::DeleteText(), DelWordOrLine(), InsertCharacter(), InsertPaste(), LinesJoin(), LinesSplit(), and SelectionContainsProtected().
Definition at line 3236 of file Editor.cxx.
References Scintilla::EditView::RangeDisplayLine(), RefreshStyleData(), view, and vs.
|
protected |
Definition at line 4199 of file Editor.cxx.
References Scintilla::Document::GetCharRange(), and Scintilla::EditModel::pdoc.
Referenced by Scintilla::ScintillaBase::AutoCompleteMoveToCurrentWord(), ChangeCaseOfSelection(), CopyRangeToClipboard(), CopySelectionRange(), Duplicate(), Scintilla::ScintillaGTKAccessible::GetTextRangeUTF8(), LineReverse(), LineTranspose(), MultipleSelectAdd(), Scintilla::ScintillaGTK::TargetAsUTF8(), and WndProc().
|
protected |
Definition at line 1889 of file Editor.cxx.
References position, and RealizeVirtualSpace().
|
protected |
Definition at line 1874 of file Editor.cxx.
References Scintilla::Document::GetLineIndentation(), Scintilla::Document::GetLineIndentPosition(), indent, Scintilla::Document::InsertString(), line, Scintilla::EditModel::pdoc, position, Scintilla::Document::SciLineFromPosition(), and Scintilla::Document::SetLineIndentation().
Referenced by Scintilla::ScintillaBase::AutoCompleteInsert(), Clear(), ClearBeforeTentativeStart(), DelWordOrLine(), DropAt(), InsertCharacter(), InsertPaste(), PasteRectangular(), RealizeVirtualSpace(), and ReplaceTarget().
|
protectedvirtual |
Reimplemented in Scintilla::ScintillaGTK.
Definition at line 1834 of file Editor.cxx.
Referenced by WndProc().
|
protected |
Definition at line 538 of file Editor.cxx.
References Scintilla::PRectangle::bottom, Scintilla::Range::First(), GetClientDrawingRectangle(), Scintilla::Range::Last(), Scintilla::PRectangle::left, Scintilla::ViewStyle::leftMarginWidth, Scintilla::ViewStyle::lineHeight, Scintilla::EditModel::pcs, Scintilla::EditModel::pdoc, Scintilla::PRectangle::right, Scintilla::Document::SciLineFromPosition(), Scintilla::ViewStyle::textStart, Scintilla::PRectangle::top, TopLineOfMain(), vs, and Scintilla::EditModel::xOffset.
Referenced by CheckForChangeOutsidePaint(), InvalidateRange(), and RedrawSelMargin().
|
protectedvirtual |
Definition at line 2257 of file Editor.cxx.
References Scintilla::Document::CanRedo(), EnsureCaretVisible(), Scintilla::EditModel::pdoc, Scintilla::Document::Redo(), and SetEmptySelection().
Referenced by WndProc().
|
protectedvirtual |
Definition at line 484 of file Editor.cxx.
References GetClientRectangle(), Scintilla::Window::GetID(), Scintilla::Window::InvalidateAll(), Scintilla::Window::InvalidateRectangle(), wMain, and wMargin.
Referenced by Scintilla::ScintillaBase::AutoCompleteStart(), ButtonDownWithModifiers(), ButtonMoveWithModifiers(), ChangeSize(), EnsureLineVisible(), FoldAll(), FoldChanged(), FoldExpand(), FoldLine(), InsertCharacter(), Scintilla::ScintillaGTK::InsertSelection(), InvalidateStyleRedraw(), MovedCaret(), MultipleSelectAdd(), NotifyModified(), PageMove(), Scintilla::ScintillaGTK::ReceivedDrop(), RedrawSelMargin(), ScrollText(), Scintilla::ScintillaGTK::ScrollText(), ScrollTo(), SelectAll(), SetAnnotationHeights(), SetAnnotationVisible(), SetBraceHighlight(), SetDocPointer(), SetEOLAnnotationVisible(), SetHoverIndicatorPosition(), SetScrollBars(), SetXYScroll(), WndProc(), and Scintilla::ScintillaBase::WndProc().
|
protectedvirtual |
Definition at line 461 of file Editor.cxx.
References Scintilla::PRectangle::bottom, GetClientRectangle(), Scintilla::Window::InvalidateRectangle(), Scintilla::PRectangle::left, Scintilla::PRectangle::right, Scintilla::PRectangle::top, and wMain.
Referenced by HorizontalScrollTo(), InvalidateRange(), and VerticalCentreCaret().
|
protected |
Definition at line 493 of file Editor.cxx.
References AbandonPaint(), Scintilla::PRectangle::bottom, Scintilla::PRectangle::Empty(), Scintilla::ViewStyle::fixedColumnWidth, GetClientRectangle(), Scintilla::Window::GetID(), GetVisibleOriginInMain(), Scintilla::Window::InvalidateRectangle(), Scintilla::ViewStyle::largestMarkerHeight, Scintilla::PRectangle::left, line, Scintilla::ViewStyle::lineHeight, Scintilla::Document::LineStart(), Scintilla::ViewStyle::maskDrawInText, Scintilla::ViewStyle::maskInLine, Scintilla::PRectangle::Move(), Scintilla::EditModel::pdoc, RectangleFromRange(), Redraw(), Scintilla::PRectangle::right, Scintilla::PRectangle::top, vs, wMain, wMargin, Scintilla::Point::x, and Scintilla::Point::y.
Referenced by FoldChanged(), MovedCaret(), NotifyModified(), SetEmptySelection(), SetFoldExpanded(), SetSelection(), and WndProc().
|
protected |
Definition at line 1702 of file Editor.cxx.
References Scintilla::EditView::bufferedDraw, Scintilla::ViewStyle::fixedColumnWidth, GetClientRectangle(), Scintilla::Window::GetID(), Scintilla::PRectangle::Height(), Scintilla::ViewStyle::lineHeight, marginView, Scintilla::EditView::pixmapLine, Scintilla::MarginView::pixmapSelMargin, Scintilla::EditView::RefreshPixMaps(), Scintilla::MarginView::RefreshPixMaps(), view, vs, Scintilla::PRectangle::Width(), and wMain.
Referenced by Paint(), and PaintSelMargin().
|
protected |
Definition at line 286 of file Editor.cxx.
References Scintilla::EditModel::pdoc, Scintilla::ViewStyle::Refresh(), SetRectangularRange(), SetScrollBars(), stylesValid, Scintilla::Document::tabInChars, and vs.
Referenced by CheckModificationForWrap(), DelCharBack(), LocationFromPosition(), Paint(), PaintSelMargin(), RangeDisplayLine(), SetAnnotationHeights(), SetScrollBars(), SPositionFromLineX(), SPositionFromLocation(), StartEndDisplayLine(), TextWidth(), WndProc(), and WrapLines().
|
protected |
Definition at line 5601 of file Editor.cxx.
References Scintilla::Document::DeleteChars(), Scintilla::SelectionSegment::end, Scintilla::Document::InsertString(), Scintilla::SelectionSegment::Length(), Scintilla::EditModel::pdoc, Scintilla::SelectionPosition::Position(), RealizeVirtualSpace(), Scintilla::SelectionPosition::SetPosition(), Scintilla::SelectionSegment::start, Scintilla::Document::SubstituteByPosition(), targetRange, text, and Scintilla::SelectionPosition::VirtualSpace().
Referenced by WndProc().
|
protectedvirtual |
Reimplemented in Scintilla::ScintillaBase.
Definition at line 4699 of file Editor.cxx.
References NotifyMarginRightClick().
Referenced by Scintilla::ScintillaBase::RightButtonDownWithModifiers().
|
protected |
Definition at line 1410 of file Editor.cxx.
References caretPolicies, SetXYScroll(), XYScrollToMakeVisible(), and xysDefault.
Referenced by MultipleSelectAdd(), and WndProc().
|
protectedvirtual |
Reimplemented in Scintilla::ScintillaGTK.
Definition at line 979 of file Editor.cxx.
References Redraw().
Referenced by ScrollTo().
|
protected |
Definition at line 949 of file Editor.cxx.
References GetClientRectangle(), line, MaxScrollPos(), notPainting, paintState, Redraw(), ScrollText(), SetTopLine(), SetVerticalScrollPos(), StyleAreaBounded(), topLine, and willRedrawAll.
Referenced by ButtonMoveWithModifiers(), KeyCommand(), MovedCaret(), Scintilla::ScintillaGTK::ScrollEvent(), Scintilla::ScintillaGTK::ScrollSignal(), and WndProc().
|
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().
|
protected |
Search for text in the target range of the document.
Definition at line 4160 of file Editor.cxx.
References CaseFolderForEncoding(), Scintilla::SelectionSegment::end, errorStatus, Scintilla::Document::FindText(), Scintilla::Document::HasCaseFolder(), Scintilla::EditModel::pdoc, pos, Scintilla::SelectionPosition::Position(), SC_STATUS_WARN_REGEX, searchFlags, Scintilla::Document::SetCaseFolder(), Scintilla::SelectionPosition::SetPosition(), Scintilla::SelectionSegment::start, targetRange, and text.
Referenced by WndProc().
|
protected |
Find text from current search anchor: Must call SearchAnchor
first.
Used for next text and previous text requests.
< The text to search for.
iMessage | Accepts both SCI_SEARCHNEXT and SCI_SEARCHPREV . |
wParam | Search 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().
|
protectedvirtual |
Definition at line 2241 of file Editor.cxx.
References Scintilla::Selection::Clear(), Scintilla::Document::Length(), Scintilla::EditModel::pdoc, Redraw(), Scintilla::EditModel::sel, and SetSelection().
Referenced by ButtonDownWithModifiers(), and WndProc().
|
protected |
Definition at line 804 of file Editor.cxx.
References Scintilla::Selection::Count(), Scintilla::SelectionRange::End(), Scintilla::SelectionPosition::Position(), Scintilla::Selection::Range(), RangeContainsProtected(), Scintilla::EditModel::sel, and Scintilla::SelectionRange::Start().
Referenced by CanPaste(), Cut(), PasteRectangular(), and Scintilla::ScintillaGTK::PreeditChangedInlineThis().
|
protectednoexcept |
Definition at line 565 of file Editor.cxx.
References Scintilla::Selection::Empty(), and Scintilla::EditModel::sel.
Referenced by ButtonDownWithModifiers(), ButtonMoveWithModifiers(), and MultipleSelectAdd().
|
protected |
Definition at line 573 of file Editor.cxx.
References Scintilla::SelectionRange::End(), Scintilla::Selection::RangeMain(), and Scintilla::EditModel::sel.
Referenced by ButtonUpWithModifiers(), DropAt(), KeyCommand(), and MoveSelectedLines().
|
protected |
Definition at line 569 of file Editor.cxx.
References Scintilla::Selection::RangeMain(), Scintilla::EditModel::sel, and Scintilla::SelectionRange::Start().
Referenced by ButtonUpWithModifiers(), DropAt(), KeyCommand(), MoveSelectedLines(), SearchAnchor(), and WndProc().
Definition at line 5232 of file Editor.cxx.
References Scintilla::Document::AnnotationLines(), Scintilla::ViewStyle::annotationVisible, Scintilla::EditView::LayoutLine(), line, Scintilla::LineLayout::lines, Scintilla::Document::LinesTotal(), Scintilla::EditView::llc, Scintilla::EditModel::pcs, Scintilla::EditModel::pdoc, Redraw(), RefreshStyleData(), Scintilla::EditView::RetrieveLineLayout(), view, vs, Wrapping(), and Scintilla::EditModel::wrapWidth.
Referenced by CheckModificationForWrap(), ClearDocumentStyle(), SetDocPointer(), and WndProc().
|
protected |
Definition at line 5295 of file Editor.cxx.
References Scintilla::Document::AnnotationLines(), Scintilla::ViewStyle::annotationVisible, line, Scintilla::Document::LinesTotal(), Scintilla::EditModel::pcs, Scintilla::EditModel::pdoc, Redraw(), SetScrollBars(), and vs.
Referenced by WndProc().
|
inlineprotected |
|
protected |
Definition at line 5213 of file Editor.cxx.
References Scintilla::EditModel::braces, Scintilla::EditModel::bracesMatchStyle, CheckForChangeOutsidePaint(), notPainting, paintState, and Redraw().
Referenced by WndProc().
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in Scintilla::ScintillaGTK.
Definition at line 5255 of file Editor.cxx.
References Scintilla::Document::AddRef(), Scintilla::Document::AddWatcher(), Scintilla::EditModel::braces, Scintilla::Selection::Clear(), Scintilla::EditView::ClearAllTabstops(), Scintilla::ContractionStateCreate(), Scintilla::LineLayoutCache::Deallocate(), Scintilla::EditModel::hotspot, Scintilla::EditModel::hoverIndicatorPos, Sci::invalidPosition, Scintilla::Document::IsLarge(), Scintilla::Document::LinesTotal(), Scintilla::EditView::llc, NeedWrapping(), Scintilla::EditModel::pcs, Scintilla::EditModel::pdoc, Redraw(), Scintilla::Document::Release(), Scintilla::ViewStyle::ReleaseAllExtendedStyles(), Scintilla::Document::RemoveWatcher(), SC_DOCUMENTOPTION_DEFAULT, Scintilla::EditModel::sel, SetAnnotationHeights(), SetRepresentations(), SetScrollBars(), targetRange, view, and vs.
Referenced by Scintilla::ScintillaGTK::SetDocPointer(), and WndProc().
|
protected |
Definition at line 4260 of file Editor.cxx.
References Scintilla::Caret::active, Scintilla::EditModel::caret, CARET_EVEN, CARET_SLOP, CARET_STRICT, FineTickerCancel(), FineTickerStart(), InvalidateCaret(), MovedCaret(), MovePositionOutsideChar(), Scintilla::Caret::on, Scintilla::Caret::period, Scintilla::EditModel::posDrag, posDrop, Scintilla::SelectionPosition::Position(), and tickCaret.
Referenced by ButtonDownWithModifiers(), ButtonMoveWithModifiers(), Scintilla::ScintillaGTK::DragDataGet(), Scintilla::ScintillaGTK::DragDataReceived(), Scintilla::ScintillaGTK::DragEnd(), Scintilla::ScintillaGTK::DragLeave(), Scintilla::ScintillaGTK::DragMotionThis(), and Scintilla::ScintillaGTK::Drop().
|
protected |
Definition at line 731 of file Editor.cxx.
References SetEmptySelection().
|
protected |
Definition at line 713 of file Editor.cxx.
References ClaimSelection(), ClampPositionIntoDocument(), Scintilla::Selection::Clear(), Scintilla::Selection::Count(), Scintilla::MarginView::highlightDelimiter, InvalidateSelection(), Scintilla::Selection::MainCaret(), marginView, Scintilla::HighlightDelimiter::NeedsDrawing(), Scintilla::EditModel::pdoc, Scintilla::SelectionPosition::Position(), QueueIdleWork(), Scintilla::Selection::RangeMain(), RedrawSelMargin(), Scintilla::Document::SciLineFromPosition(), Scintilla::EditModel::sel, SetHoverIndicatorPosition(), SetRectangularRange(), and Scintilla::WorkNeeded::workUpdateUI.
Referenced by AddStyledText(), Scintilla::ScintillaBase::AutoCompleteInsert(), ButtonDownWithModifiers(), ButtonUpWithModifiers(), Scintilla::ScintillaGTK::DragEnd(), DropAt(), GoToLine(), InsertPaste(), InsertPasteShape(), MovePositionTo(), PasteRectangular(), Scintilla::ScintillaGTK::PressThis(), Redo(), SetEmptySelection(), Undo(), and WndProc().
|
protected |
Definition at line 5313 of file Editor.cxx.
References Scintilla::ViewStyle::eolAnnotationVisible, Redraw(), and vs.
Referenced by WndProc().
|
protected |
Definition at line 5061 of file Editor.cxx.
References CancelModes(), hasFocus, NotifyFocus(), and ShowCaretAtCurrentPosition().
Referenced by Scintilla::ScintillaGTK::FocusInThis(), Scintilla::ScintillaGTK::FocusOutThis(), and WndProc().
|
protected |
Definition at line 5341 of file Editor.cxx.
References Scintilla::EditModel::pcs, and RedrawSelMargin().
Referenced by FoldAll(), FoldExpand(), and WndProc().
|
protectedpure virtual |
Implemented in Scintilla::ScintillaGTK.
Referenced by HorizontalScrollTo(), SetXYScroll(), and WndProc().
|
protected |
Definition at line 4742 of file Editor.cxx.
References Scintilla::Range::end, Scintilla::Document::ExtendStyleRange(), Scintilla::EditModel::hotspot, Scintilla::ViewStyle::hotspotSingleLine, InvalidateRange(), Sci::invalidPosition, Scintilla::EditModel::pdoc, pos, PositionFromLocation(), Scintilla::Range::start, Scintilla::Range::Valid(), and vs.
Referenced by ButtonMoveWithModifiers(), ButtonUpWithModifiers(), and MouseLeave().
|
protected |
Definition at line 4734 of file Editor.cxx.
References Scintilla::ViewStyle::indicatorsDynamic, INVALID_POSITION, PositionFromLocation(), SetHoverIndicatorPosition(), and vs.
Referenced by ButtonDownWithModifiers(), and ButtonMoveWithModifiers().
|
protected |
Definition at line 4715 of file Editor.cxx.
References Scintilla::Document::decorations, Scintilla::EditModel::hoverIndicatorPos, Scintilla::ViewStyle::indicators, Scintilla::ViewStyle::indicatorsDynamic, INVALID_POSITION, Scintilla::EditModel::pdoc, position, Redraw(), and vs.
Referenced by ButtonMoveWithModifiers(), ClearSelection(), MouseLeave(), MovedCaret(), SetEmptySelection(), SetHoverIndicatorPoint(), and SetSelection().
|
inlineprotectedvirtual |
Reimplemented in Scintilla::ScintillaGTK.
Definition at line 523 of file Editor.h.
Referenced by Finalise(), KeyCommand(), NeedWrapping(), StartIdleStyling(), WndProc(), and WrapLines().
|
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().
|
protectedpure virtual |
Implemented in Scintilla::ScintillaGTK.
Referenced by ButtonDownWithModifiers(), ButtonMoveWithModifiers(), and ButtonUpWithModifiers().
|
protected |
Definition at line 577 of file Editor.cxx.
References Scintilla::Selection::AddSelectionWithoutTrim(), Scintilla::SelectionRange::anchor, Scintilla::SelectionRange::caret, Scintilla::SelectionRange::ClearVirtualSpace(), Scintilla::Selection::IsRectangular(), line, Scintilla::EditModel::pdoc, Scintilla::SelectionPosition::Position(), Scintilla::Selection::Rectangular(), Scintilla::Document::SciLineFromPosition(), SCVS_RECTANGULARSELECTION, Scintilla::EditModel::sel, Scintilla::Selection::selThin, Scintilla::Selection::selType, Scintilla::Selection::SetSelection(), Scintilla::EditView::SPositionFromLineX(), view, virtualSpaceOptions, vs, and XFromPosition().
Referenced by ButtonDownWithModifiers(), ButtonUpWithModifiers(), CursorUpOrDown(), Duplicate(), HorizontalMove(), RefreshStyleData(), SetEmptySelection(), SetSelection(), ThinRectangularRange(), and WndProc().
|
protected |
Definition at line 206 of file Editor.cxx.
References Scintilla::SpecialRepresentations::Clear(), Scintilla::Document::dbcsCodePage, Scintilla::Document::IsDBCSLeadByteInvalid(), Scintilla::Document::IsDBCSLeadByteNoExcept(), IsUnicodeMode(), Scintilla::EditModel::pdoc, Scintilla::EditModel::reprs, and Scintilla::SpecialRepresentations::SetRepresentation().
Referenced by Editor(), SetDocPointer(), and WndProc().
|
protected |
Definition at line 1836 of file Editor.cxx.
References AbandonPaint(), DwellEnd(), LinesOnScreen(), MaxScrollPos(), ModifyScrollBars(), Redraw(), RefreshStyleData(), SetTopLine(), SetVerticalScrollPos(), and topLine.
Referenced by ChangeSize(), EnsureLineVisible(), FoldAll(), FoldChanged(), FoldExpand(), FoldLine(), InsertCharacter(), NewLine(), NotifyModified(), RefreshStyleData(), SetAnnotationVisible(), SetDocPointer(), SetXYScroll(), TickFor(), WndProc(), and WrapLines().
|
protected |
Definition at line 709 of file Editor.cxx.
References SetSelection().
|
protected |
Definition at line 679 of file Editor.cxx.
References SetSelection().
|
protected |
Definition at line 684 of file Editor.cxx.
References Scintilla::SelectionRange::anchor, Scintilla::SelectionRange::caret, ClaimSelection(), ClampPositionIntoDocument(), Scintilla::Selection::Count(), Scintilla::MarginView::highlightDelimiter, InvalidateSelection(), Scintilla::Selection::IsRectangular(), LineSelectionRange(), Scintilla::Selection::MainCaret(), marginView, Scintilla::HighlightDelimiter::NeedsDrawing(), Scintilla::EditModel::pdoc, Scintilla::SelectionPosition::Position(), QueueIdleWork(), Scintilla::Selection::RangeMain(), Scintilla::Selection::Rectangular(), RedrawSelMargin(), Scintilla::Document::SciLineFromPosition(), Scintilla::EditModel::sel, Scintilla::Selection::selLines, Scintilla::Selection::selType, SetHoverIndicatorPosition(), SetRectangularRange(), and Scintilla::WorkNeeded::workUpdateUI.
|
protected |
Definition at line 657 of file Editor.cxx.
References ClaimSelection(), ClampPositionIntoDocument(), Scintilla::Selection::Count(), Scintilla::MarginView::highlightDelimiter, InvalidateSelection(), LineSelectionRange(), Scintilla::Selection::MainCaret(), marginView, Scintilla::HighlightDelimiter::NeedsDrawing(), Scintilla::EditModel::pdoc, Scintilla::SelectionPosition::Position(), QueueIdleWork(), Scintilla::Selection::RangeMain(), RedrawSelMargin(), Scintilla::Document::SciLineFromPosition(), Scintilla::EditModel::sel, Scintilla::Selection::selLines, Scintilla::Selection::selType, SetHoverIndicatorPosition(), SetRectangularRange(), and Scintilla::WorkNeeded::workUpdateUI.
Referenced by ButtonDownWithModifiers(), ButtonMoveWithModifiers(), ButtonUpWithModifiers(), CursorUpOrDown(), DropAt(), KeyCommand(), MovePositionTo(), MoveSelectedLines(), Scintilla::ScintillaGTK::PressThis(), SearchText(), SelectAll(), SetSelection(), TrimAndSetSelection(), and WndProc().
Definition at line 5764 of file Editor.cxx.
References Scintilla::SelectionRange::anchor, Scintilla::SelectionRange::caret, ContainerNeedsUpdate(), Scintilla::Selection::Count(), Scintilla::SelectionRange::End(), InvalidateRange(), Scintilla::SelectionPosition::Position(), Scintilla::Selection::Range(), SC_UPDATE_SELECTION, SCI_SETSELECTIONNANCHOR, SCI_SETSELECTIONNANCHORVIRTUALSPACE, SCI_SETSELECTIONNCARET, SCI_SETSELECTIONNCARETVIRTUALSPACE, SCI_SETSELECTIONNEND, SCI_SETSELECTIONNSTART, Scintilla::EditModel::sel, Scintilla::SelectionPosition::SetPosition(), Scintilla::SelectionPosition::SetVirtualSpace(), and Scintilla::SelectionRange::Start().
Referenced by WndProc().
|
protected |
Definition at line 442 of file Editor.cxx.
References ContainerNeedsUpdate(), Scintilla::Document::LineStart(), Scintilla::EditModel::pcs, Scintilla::EditModel::pdoc, posTopLine, SC_UPDATE_V_SCROLL, and topLine.
Referenced by ClearAll(), EnsureLineVisible(), NotifyModified(), PageMove(), ScrollTo(), SetScrollBars(), SetXYScroll(), VerticalCentreCaret(), and WrapLines().
|
protectedpure virtual |
Implemented in Scintilla::ScintillaGTK.
Referenced by ClearAll(), EnsureLineVisible(), InsertCharacter(), NotifyModified(), PageMove(), ScrollTo(), SetScrollBars(), SetXYScroll(), WndProc(), and WrapLines().
|
protected |
Definition at line 1386 of file Editor.cxx.
References ContainerNeedsUpdate(), GetTextRectangle(), horizontalScrollBarVisible, Redraw(), SC_UPDATE_H_SCROLL, scrollWidth, SetHorizontalScrollPos(), SetScrollBars(), SetTopLine(), SetVerticalScrollPos(), topLine, Scintilla::Editor::XYScrollPosition::topLine, UpdateSystemCaret(), Scintilla::PRectangle::Width(), Scintilla::EditModel::xOffset, and Scintilla::Editor::XYScrollPosition::xOffset.
Referenced by EnsureCaretVisible(), MovedCaret(), and ScrollRange().
|
protected |
Definition at line 1420 of file Editor.cxx.
References Scintilla::Caret::active, Scintilla::EditModel::caret, FineTickerCancel(), FineTickerStart(), hasFocus, InvalidateCaret(), Scintilla::Caret::on, Scintilla::Caret::period, and tickCaret.
Referenced by ButtonDownWithModifiers(), Clear(), Scintilla::ScintillaGTK::CommitThis(), DelCharBack(), GoToLine(), InsertCharacter(), KeyCommand(), MovedCaret(), NewLine(), Scintilla::ScintillaGTK::PreeditChangedInlineThis(), SetFocusState(), and WndProc().
|
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().
|
protected |
Definition at line 396 of file Editor.cxx.
References Scintilla::PRectangle::Contains(), DocumentPointFromView(), GetTextRectangle(), GetVisibleOriginInMain(), INVALID_POSITION, Scintilla::PRectangle::Move(), RefreshStyleData(), Scintilla::EditView::SPositionFromLocation(), Scintilla::ViewStyle::textStart, view, vs, Scintilla::Point::x, and Scintilla::Point::y.
Referenced by ButtonDownWithModifiers(), ButtonMoveWithModifiers(), ButtonUpWithModifiers(), Scintilla::ScintillaGTK::DragMotionThis(), MoveCaretInsideView(), PageMove(), PointInSelection(), PositionFromLocation(), PositionUpOrDown(), and Scintilla::ScintillaGTK::PressThis().
|
protectedvirtual |
Reimplemented in Scintilla::ScintillaGTK.
Definition at line 4295 of file Editor.cxx.
Referenced by ButtonMoveWithModifiers().
|
protected |
Definition at line 3242 of file Editor.cxx.
References INVALID_POSITION, pos, RefreshStyleData(), Scintilla::EditView::StartEndDisplayLine(), view, and vs.
Referenced by HorizontalMove(), LineEndWrapPosition(), LineSelection(), VCHomeDisplayPosition(), and VCHomeWrapPosition().
|
protected |
Definition at line 5117 of file Editor.cxx.
References Scintilla::Document::GetEndStyled(), idleStyling, Scintilla::Document::Length(), needIdleStyling, Scintilla::EditModel::pdoc, SC_IDLESTYLING_AFTERVISIBLE, SC_IDLESTYLING_ALL, and SetIdle().
Referenced by StyleAreaBounded().
|
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().
Definition at line 5800 of file Editor.cxx.
References ptr.
Referenced by StyleGetMessage(), WndProc(), and Scintilla::ScintillaBase::WndProc().
|
protected |
Definition at line 5133 of file Editor.cxx.
References Scintilla::EditModel::pdoc, PositionAfterArea(), PositionAfterMaxStyling(), StartIdleStyling(), Scintilla::Document::StyleToAdjustingLineDuration(), and StyleToPositionInView().
Referenced by Paint(), and ScrollTo().
Definition at line 5727 of file Editor.cxx.
References Scintilla::ViewStyle::EnsureStyle(), SC_FONT_SIZE_MULTIPLIER, SC_WEIGHT_NORMAL, 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, StringResult(), Scintilla::ViewStyle::styles, and vs.
Referenced by WndProc().
Definition at line 5672 of file Editor.cxx.
References CharPtrFromSPtr(), Scintilla::ViewStyle::EnsureStyle(), InvalidateStyleRedraw(), Scintilla::EditModel::pdoc, SC_FONT_SIZE_MULTIPLIER, SC_WEIGHT_BOLD, SC_WEIGHT_NORMAL, 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, Scintilla::Document::SetCaseFolder(), Scintilla::ViewStyle::SetStyleFontName(), Scintilla::ViewStyle::styles, and vs.
Referenced by WndProc().
|
protected |
Definition at line 5083 of file Editor.cxx.
References DiscardOverdraw(), Scintilla::Document::EnsureStyledTo(), GetClientDrawingRectangle(), Scintilla::EditModel::pdoc, pos, PositionAfterArea(), and Scintilla::Document::StyleIndexAt().
Referenced by IdleWork(), and StyleAreaBounded().
|
inlineprotectednoexcept |
Definition at line 533 of file Editor.h.
References SC_IDLESTYLING_AFTERVISIBLE, and SC_IDLESTYLING_NONE.
Referenced by NotifyModified(), and PositionAfterMaxStyling().
|
protected |
Definition at line 1823 of file Editor.cxx.
References RefreshStyleData(), Scintilla::ViewStyle::styles, text, vs, and Scintilla::Surface::WidthText().
Referenced by Scintilla::ScintillaGTKAccessible::GetCharacterExtents(), and WndProc().
|
protected |
Definition at line 604 of file Editor.cxx.
References Scintilla::SelectionRange::anchor, Scintilla::SelectionRange::caret, Scintilla::Selection::Count(), Scintilla::Selection::IsRectangular(), Scintilla::Selection::Range(), Scintilla::Selection::Rectangular(), Scintilla::EditModel::sel, Scintilla::Selection::selThin, Scintilla::Selection::selType, and SetRectangularRange().
Referenced by ClearSelection(), DelCharBack(), and InsertCharacter().
|
protectedvirtual |
Definition at line 5012 of file Editor.cxx.
References Scintilla::Caret::active, ButtonMoveWithModifiers(), Scintilla::EditModel::caret, dwelling, FineTickerCancel(), HaveMouseCapture(), InvalidateCaret(), NotifyDwelling(), Scintilla::Caret::on, ptMouseLast, SetScrollBars(), tickCaret, tickDwell, tickScroll, tickWiden, and Scintilla::Point::y.
Referenced by Scintilla::ScintillaGTK::TimeOut().
|
overrideprotectedvirtual |
Implements Scintilla::EditModel.
Definition at line 315 of file Editor.cxx.
References Scintilla::Window::GetID(), topLine, and wMargin.
Referenced by PositionAfterArea(), and RectangleFromRange().
|
protected |
Definition at line 4429 of file Editor.cxx.
References Scintilla::EditModel::sel, SetSelection(), and Scintilla::Selection::TrimSelection().
Referenced by LineSelection(), MultipleSelectAdd(), and WordSelection().
|
inlinestaticprotectednoexcept |
|
protectedvirtual |
Definition at line 2247 of file Editor.cxx.
References Scintilla::Document::CanUndo(), EnsureCaretVisible(), InvalidateCaret(), Scintilla::EditModel::pdoc, SetEmptySelection(), and Scintilla::Document::Undo().
Referenced by WndProc().
|
protectedvirtual |
Definition at line 1466 of file Editor.cxx.
Referenced by InvalidateCaret(), and SetXYScroll().
|
inlineprotectednoexcept |
Definition at line 311 of file Editor.h.
References SCVS_USERACCESSIBLE.
Referenced by Scintilla::ScintillaGTK::DragMotionThis(), MoveCaretInsideView(), PageMove(), PositionUpOrDown(), and Scintilla::ScintillaGTK::PressThis().
|
inlineprotectedvirtual |
Reimplemented in Scintilla::ScintillaGTK.
Definition at line 572 of file Editor.h.
Referenced by WndProc().
|
protectednoexcept |
Definition at line 5668 of file Editor.cxx.
Referenced by WndProc().
|
protected |
Definition at line 3349 of file Editor.cxx.
References Scintilla::EditModel::pdoc, position, StartEndDisplayLine(), and Scintilla::Document::VCHomePosition().
Referenced by HorizontalMove().
|
protected |
Definition at line 3358 of file Editor.cxx.
References Scintilla::EditModel::pdoc, position, StartEndDisplayLine(), and Scintilla::Document::VCHomePosition().
Referenced by HorizontalMove().
|
protected |
Definition at line 996 of file Editor.cxx.
References Scintilla::SelectionRange::caret, GetClientRectangle(), Scintilla::Selection::IsRectangular(), LinesOnScreen(), Scintilla::Selection::MainCaret(), Scintilla::EditModel::pcs, Scintilla::EditModel::pdoc, Scintilla::SelectionPosition::Position(), Scintilla::Selection::Rectangular(), RedrawRect(), Scintilla::Document::SciLineFromPosition(), Scintilla::EditModel::sel, SetTopLine(), and topLine.
Referenced by WndProc().
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().
|
protected |
Definition at line 4468 of file Editor.cxx.
References Scintilla::Document::ExtendWordSelect(), Scintilla::Document::IsLineEndPosition(), Scintilla::Document::LineFromPosition(), Scintilla::Document::LineStart(), Scintilla::Document::MovePositionOutsideChar(), originalAnchorPos, Scintilla::EditModel::pdoc, pos, TrimAndSetSelection(), wordSelectAnchorEndPos, and wordSelectAnchorStartPos.
Referenced by ButtonDownWithModifiers(), and ButtonMoveWithModifiers().
Definition at line 5639 of file Editor.cxx.
References Scintilla::EditView::LayoutLine(), line, Scintilla::LineLayout::lines, Scintilla::EditView::llc, Scintilla::EditView::RetrieveLineLayout(), view, vs, and Scintilla::EditModel::wrapWidth.
Referenced by WndProc().
|
protected |
Definition at line 1500 of file Editor.cxx.
References Scintilla::ActionDuration::AddSample(), Scintilla::Document::AnnotationLines(), Scintilla::ViewStyle::annotationVisible, Scintilla::ActionDuration::Duration(), Scintilla::ElapsedPeriod::Duration(), durationWrapOneLine, Scintilla::WrapPending::end, Scintilla::Document::EnsureStyledTo(), GetClientRectangle(), Scintilla::PRectangle::left, lines, LinesOnScreen(), Scintilla::Document::LineStart(), Scintilla::Document::LinesTotal(), MaxScrollPos(), Scintilla::WrapPending::NeedsWrap(), Scintilla::EditModel::pcs, Scintilla::EditModel::pdoc, RefreshStyleData(), Scintilla::WrapPending::Reset(), Scintilla::PRectangle::right, Scintilla::ViewStyle::rightMarginWidth, SetIdle(), SetScrollBars(), SetTopLine(), SetVerticalScrollPos(), Scintilla::WrapPending::start, Scintilla::ViewStyle::textStart, topLine, vs, Scintilla::PRectangle::Width(), WrapOneLine(), Scintilla::WrapPending::Wrapped(), wrapPending, Wrapping(), Scintilla::EditModel::wrapWidth, Scintilla::LineLayout::wrapWidthInfinite, wsAll, wsIdle, and wsVisible.
Referenced by EnsureLineVisible(), Idle(), MovedCaret(), and Paint().
Definition at line 1484 of file Editor.cxx.
References Scintilla::Document::AnnotationLines(), Scintilla::ViewStyle::annotationVisible, Scintilla::EditView::LayoutLine(), Scintilla::LineLayout::lines, Scintilla::EditView::llc, Scintilla::EditModel::pcs, Scintilla::EditModel::pdoc, Scintilla::EditView::RetrieveLineLayout(), view, vs, and Scintilla::EditModel::wrapWidth.
Referenced by InsertCharacter(), and WrapLines().
|
protectednoexcept |
Definition at line 1469 of file Editor.cxx.
References Scintilla::none, vs, and Scintilla::ViewStyle::wrapState.
Referenced by ButtonDownWithModifiers(), ChangeSize(), CheckModificationForWrap(), Scintilla::ScintillaGTK::GetClientRectangle(), HorizontalScrollTo(), Idle(), InsertCharacter(), NeedWrapping(), Paint(), Scintilla::ScintillaGTK::Resize(), SetAnnotationHeights(), WrapLines(), and XYScrollToMakeVisible().
|
protected |
Definition at line 391 of file Editor.cxx.
References LocationFromPosition(), Scintilla::ViewStyle::textStart, vs, Scintilla::Point::x, and Scintilla::EditModel::xOffset.
Referenced by PasteRectangular(), and SetRectangularRange().
|
protected |
Ensure the caret is reasonably visible in context.
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().
|
friend |
|
protected |
Definition at line 194 of file Editor.h.
Referenced by CursorUpOrDown(), DelWordOrLine(), Editor(), FilterSelections(), HorizontalMove(), NewLine(), and WndProc().
|
protected |
Definition at line 202 of file Editor.h.
Referenced by ButtonMoveWithModifiers().
|
protected |
Definition at line 247 of file Editor.h.
Referenced by CursorUpOrDown(), DelWordOrLine(), Editor(), EnsureCaretVisible(), HorizontalMove(), MovePositionTo(), PageMove(), ScrollRange(), and WndProc().
|
protected |
Definition at line 190 of file Editor.h.
Referenced by Editor(), InsertCharacter(), KeyCommand(), and WndProc().
|
protected |
Definition at line 243 of file Editor.h.
Referenced by Editor(), Scintilla::ScintillaGTK::NotifyFocus(), NotifyModified(), and WndProc().
|
protected |
Definition at line 261 of file Editor.h.
Referenced by Editor(), InsertPasteShape(), Scintilla::ScintillaGTKAccessible::PasteText(), and WndProc().
int Scintilla::Editor::ctrlID |
Definition at line 631 of file Editor.h.
Referenced by Editor(), scintilla_set_id(), and SetCtrlID().
|
protected |
Definition at line 179 of file Editor.h.
Referenced by DisplayCursor(), Scintilla::ScintillaGTK::DisplayCursor(), Editor(), and WndProc().
|
protected |
Definition at line 209 of file Editor.h.
Referenced by ButtonDownWithModifiers(), and Editor().
|
protected |
Definition at line 245 of file Editor.h.
Referenced by ButtonMoveWithModifiers(), ButtonUpWithModifiers(), and Scintilla::ScintillaGTK::DragDataGet().
|
protected |
|
protected |
Definition at line 259 of file Editor.h.
Referenced by WrapLines().
|
protected |
Definition at line 210 of file Editor.h.
Referenced by ButtonMoveWithModifiers(), DwellEnd(), Editor(), and WndProc().
|
protected |
Definition at line 212 of file Editor.h.
Referenced by DwellEnd(), Editor(), and TickFor().
|
protected |
Definition at line 189 of file Editor.h.
Referenced by Editor(), MaxScrollPos(), and WndProc().
int Scintilla::Editor::errorStatus |
Definition at line 633 of file Editor.h.
Referenced by Scintilla::ScintillaGTK::CommitThis(), Scintilla::ScintillaGTK::DragDataGet(), Scintilla::ScintillaGTK::DragDataReceived(), Scintilla::ScintillaGTK::DragEnd(), Scintilla::ScintillaGTK::DragLeave(), Scintilla::ScintillaGTK::DragMotionThis(), Scintilla::ScintillaGTK::Drop(), Editor(), Scintilla::ScintillaGTK::Expose(), Scintilla::ScintillaGTK::ExposePreeditThis(), Scintilla::ScintillaGTK::ExposeTextThis(), FindText(), Scintilla::ScintillaGTK::FocusInThis(), Scintilla::ScintillaGTK::FocusOutThis(), Scintilla::ScintillaGTK::ForAll(), Scintilla::ScintillaGTK::KeyThis(), Scintilla::ScintillaGTK::MapThis(), Scintilla::ScintillaGTK::Motion(), Scintilla::ScintillaGTK::MouseRelease(), NotifyErrorOccurred(), Scintilla::ScintillaGTK::PreeditChangedInlineThis(), Scintilla::ScintillaGTK::PreeditChangedWindowedThis(), Scintilla::ScintillaGTK::PressThis(), Scintilla::ScintillaGTK::PrimarySelection(), Scintilla::ScintillaGTK::ReceivedSelection(), Scintilla::ScintillaGTK::ScrollEvent(), Scintilla::ScintillaGTK::ScrollHSignal(), Scintilla::ScintillaGTK::ScrollSignal(), SearchInTarget(), SearchText(), Scintilla::ScintillaGTK::SelectionGet(), Scintilla::ScintillaGTK::SizeAllocate(), Scintilla::ScintillaGTK::UnclaimSelection(), Scintilla::ScintillaGTK::UnMapThis(), Scintilla::ScintillaGTK::UnRealizeThis(), WndProc(), and Scintilla::ScintillaGTK::WndProc().
|
protected |
Definition at line 255 of file Editor.h.
Referenced by Editor(), NeedShown(), NotifyMarginClick(), NotifyModified(), and WndProc().
|
protected |
Definition at line 181 of file Editor.h.
Referenced by Editor(), SetFocusState(), ShowCaretAtCurrentPosition(), and WndProc().
|
protected |
Definition at line 186 of file Editor.h.
Referenced by Editor(), Scintilla::ScintillaGTK::GetClientRectangle(), Paint(), Scintilla::ScintillaGTK::Resize(), SetXYScroll(), and WndProc().
|
protected |
Definition at line 218 of file Editor.h.
Referenced by ButtonDownWithModifiers(), ButtonMoveWithModifiers(), ButtonUpWithModifiers(), and Editor().
|
protected |
Definition at line 205 of file Editor.h.
Referenced by Scintilla::ScintillaGTK::SetIdle().
|
protected |
Definition at line 239 of file Editor.h.
Referenced by Editor(), IdleStyling(), StartIdleStyling(), and WndProc().
enum { ... } Scintilla::Editor::inDragDrop |
|
protected |
Definition at line 199 of file Editor.h.
Referenced by KeyDownWithModifiers(), and WndProc().
|
protected |
Definition at line 207 of file Editor.h.
Referenced by ButtonDownWithModifiers(), and ButtonUpWithModifiers().
|
protected |
Definition at line 208 of file Editor.h.
Referenced by ButtonDownWithModifiers(), ButtonUpWithModifiers(), and Editor().
|
protected |
Definition at line 219 of file Editor.h.
Referenced by ButtonDownWithModifiers(), ButtonUpWithModifiers(), CursorUpOrDown(), Editor(), MoveCaretInsideView(), PageMove(), SetLastXChosen(), and WndProc().
|
protected |
Definition at line 229 of file Editor.h.
Referenced by Editor(), Scintilla::ScintillaGTK::EncodedFromUTF8(), and WndProc().
|
protected |
Definition at line 220 of file Editor.h.
Referenced by ButtonDownWithModifiers(), ButtonMoveWithModifiers(), and Editor().
|
protected |
Definition at line 191 of file Editor.h.
Referenced by ButtonDownWithModifiers(), Editor(), and WndProc().
|
protected |
Definition at line 176 of file Editor.h.
Referenced by AllocateGraphics(), DropGraphics(), MovedCaret(), NotifyModified(), Paint(), PaintSelMargin(), RefreshPixMaps(), SetEmptySelection(), SetSelection(), and WndProc().
|
protected |
Definition at line 242 of file Editor.h.
Referenced by Editor(), NotifyModified(), and WndProc().
|
protected |
Definition at line 182 of file Editor.h.
Referenced by Editor(), Scintilla::ScintillaGTK::SetMouseCapture(), and WndProc().
|
protected |
Definition at line 192 of file Editor.h.
Referenced by ButtonMoveWithModifiers(), Editor(), and WndProc().
|
protected |
|
protected |
Definition at line 195 of file Editor.h.
Referenced by Editor(), InsertPaste(), Scintilla::ScintillaGTK::InsertSelection(), and WndProc().
|
protected |
Definition at line 193 of file Editor.h.
Referenced by ButtonDownWithModifiers(), Editor(), HorizontalMove(), MovePositionTo(), MultipleSelectAdd(), and WndProc().
|
protected |
Definition at line 240 of file Editor.h.
Referenced by Editor(), Idle(), IdleStyling(), and StartIdleStyling().
|
protected |
Definition at line 231 of file Editor.h.
Referenced by Editor(), and NotifyUpdateUI().
|
protected |
Definition at line 221 of file Editor.h.
Referenced by ButtonDownWithModifiers(), ButtonUpWithModifiers(), Editor(), and WordSelection().
|
protected |
Definition at line 234 of file Editor.h.
Referenced by CheckForChangeOutsidePaint(), Editor(), and Paint().
|
protected |
Definition at line 236 of file Editor.h.
Referenced by AbandonPaint(), Scintilla::ScintillaGTK::AbandonPaint(), CheckForChangeOutsidePaint(), Editor(), and Scintilla::ScintillaGTK::ExposeTextThis().
enum { ... } Scintilla::Editor::paintState |
Referenced by AbandonPaint(), Scintilla::ScintillaGTK::AbandonPaint(), CheckForChangeOutsidePaint(), Editor(), Scintilla::ScintillaGTK::ExposeTextThis(), Scintilla::ScintillaGTK::ModifyScrollBars(), NotifyModified(), Paint(), Scintilla::ScintillaGTK::PaintContains(), ScrollTo(), and SetBraceHighlight().
|
protected |
Definition at line 217 of file Editor.h.
Referenced by Scintilla::ScintillaGTK::DragDataGet(), Editor(), Scintilla::ScintillaGTK::ReceivedDrop(), and SetDragPosition().
|
protected |
Definition at line 228 of file Editor.h.
Referenced by Editor(), NotifyModified(), and SetTopLine().
|
protected |
Definition at line 214 of file Editor.h.
Referenced by ButtonDownWithModifiers(), ButtonMoveWithModifiers(), ButtonUpWithModifiers(), DwellEnd(), Editor(), MouseLeave(), Scintilla::ScintillaGTK::MouseRelease(), and TickFor().
|
protected |
Definition at line 235 of file Editor.h.
Referenced by Scintilla::ScintillaGTK::ExposeTextThis(), PaintContains(), and Scintilla::ScintillaGTK::PaintContains().
|
protected |