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 <ScintillaGTK.h>
Classes | |
struct | TimeThunk |
Public Member Functions | |
ScintillaGTK (_ScintillaObject *sci_) | |
ScintillaGTK (const ScintillaGTK &)=delete | |
ScintillaGTK (ScintillaGTK &&)=delete | |
ScintillaGTK & | operator= (const ScintillaGTK &)=delete |
ScintillaGTK & | operator= (ScintillaGTK &&)=delete |
virtual | ~ScintillaGTK () |
sptr_t | WndProc (unsigned int iMessage, uptr_t wParam, sptr_t lParam) override |
GObject * | MainObject () const noexcept |
void | ReceivedClipboard (GtkClipboard *clipBoard, GtkSelectionData *selection_data) noexcept |
![]() | |
~ScintillaBase () override | |
sptr_t | WndProc (unsigned int iMessage, uptr_t wParam, sptr_t lParam) override |
![]() | |
~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 |
Static Public Member Functions | |
static ScintillaGTK * | FromWidget (GtkWidget *widget) noexcept |
static void | ClassInit (GObjectClass *object_class, GtkWidgetClass *widget_class, GtkContainerClass *container_class) |
Private Member Functions | |
void | Init () |
void | Finalise () override |
bool | AbandonPaint () override |
If painting then abandon the painting because a wider redraw is needed. More... | |
void | DisplayCursor (Window::Cursor c) override |
bool | DragThreshold (Point ptStart, Point ptNow) override |
void | StartDrag () override |
Sci::Position | TargetAsUTF8 (char *text) const |
Sci::Position | EncodedFromUTF8 (const char *utf8, char *encoded) const |
bool | ValidCodePage (int codePage) const override |
sptr_t | DefWndProc (unsigned int iMessage, uptr_t wParam, sptr_t lParam) override |
bool | FineTickerRunning (TickReason reason) override |
void | FineTickerStart (TickReason reason, int millis, int tolerance) override |
void | FineTickerCancel (TickReason reason) override |
bool | SetIdle (bool on) override |
void | SetMouseCapture (bool on) override |
bool | HaveMouseCapture () override |
bool | PaintContains (PRectangle rc) override |
void | FullPaint () |
PRectangle | GetClientRectangle () const override |
void | ScrollText (Sci::Line linesToMove) override |
void | SetVerticalScrollPos () override |
void | SetHorizontalScrollPos () override |
bool | ModifyScrollBars (Sci::Line nMax, Sci::Line nPage) override |
void | ReconfigureScrollBars () override |
void | NotifyChange () override |
void | NotifyFocus (bool focus) override |
void | NotifyParent (SCNotification scn) override |
void | NotifyKey (int key, int modifiers) |
void | NotifyURIDropped (const char *list) |
const char * | CharacterSetID () const |
CaseFolder * | CaseFolderForEncoding () override |
std::string | CaseMapString (const std::string &s, int caseMapping) override |
int | KeyDefault (int key, int modifiers) override |
void | CopyToClipboard (const SelectionText &selectedText) override |
void | Copy () override |
void | RequestSelection (GdkAtom atomSelection) |
void | Paste () override |
void | CreateCallTipWindow (PRectangle rc) override |
void | AddToPopUp (const char *label, int cmd=0, bool enabled=true) override |
bool | OwnPrimarySelection () |
void | ClaimSelection () override |
void | GetGtkSelectionText (GtkSelectionData *selectionData, SelectionText &selText) |
void | InsertSelection (GtkClipboard *clipBoard, GtkSelectionData *selectionData) |
void | ReceivedSelection (GtkSelectionData *selection_data) |
void | ReceivedDrop (GtkSelectionData *selection_data) |
void | StoreOnClipboard (SelectionText *clipText) |
void | UnclaimSelection (GdkEventSelection *selection_event) |
void | Resize (int width, int height) |
void | RealizeThis (GtkWidget *widget) |
void | UnRealizeThis (GtkWidget *widget) |
void | MapThis () |
void | UnMapThis () |
gint | FocusInThis (GtkWidget *widget) |
gint | FocusOutThis (GtkWidget *widget) |
gboolean | ExposeTextThis (GtkWidget *widget, GdkEventExpose *ose) |
gboolean | Expose (GtkWidget *widget, GdkEventExpose *ose) |
void | ForAll (GtkCallback callback, gpointer callback_data) |
gint | PressThis (GdkEventButton *event) |
gboolean | KeyThis (GdkEventKey *event) |
gboolean | ExposePreeditThis (GtkWidget *widget, GdkEventExpose *ose) |
AtkObject * | GetAccessibleThis (GtkWidget *widget) |
bool | KoreanIME () |
void | CommitThis (char *commitStr) |
void | PreeditChangedInlineThis () |
void | PreeditChangedWindowedThis () |
void | MoveImeCarets (int pos) |
void | DrawImeIndicator (int indicator, int len) |
void | SetCandidateWindowPos () |
gboolean | DragMotionThis (GdkDragContext *context, gint x, gint y, guint dragtime) |
void | IdleWork () override |
void | QueueIdleWork (WorkNeeded::workItems items, Sci::Position upTo) override |
void | SetDocPointer (Document *document) override |
Static Private Member Functions | |
static bool | IsStringAtom (GdkAtom type) |
static void | GetSelection (GtkSelectionData *selection_data, guint info, SelectionText *text) |
static void | ClipboardGetSelection (GtkClipboard *clip, GtkSelectionData *selection_data, guint info, void *data) |
static void | ClipboardClearSelection (GtkClipboard *clip, void *data) |
static void | PrimarySelection (GtkWidget *widget, GtkSelectionData *selection_data, guint info, guint time_stamp, ScintillaGTK *sciThis) |
static gboolean | PrimaryClear (GtkWidget *widget, GdkEventSelection *event, ScintillaGTK *sciThis) |
static void | Realize (GtkWidget *widget) |
static void | UnRealize (GtkWidget *widget) |
static void | Map (GtkWidget *widget) |
static void | UnMap (GtkWidget *widget) |
static gint | FocusIn (GtkWidget *widget, GdkEventFocus *event) |
static gint | FocusOut (GtkWidget *widget, GdkEventFocus *event) |
static void | SizeRequest (GtkWidget *widget, GtkRequisition *requisition) |
static void | SizeAllocate (GtkWidget *widget, GtkAllocation *allocation) |
static gboolean | ExposeText (GtkWidget *widget, GdkEventExpose *ose, ScintillaGTK *sciThis) |
static gboolean | ExposeMain (GtkWidget *widget, GdkEventExpose *ose) |
static void | MainForAll (GtkContainer *container, gboolean include_internals, GtkCallback callback, gpointer callback_data) |
static void | ScrollSignal (GtkAdjustment *adj, ScintillaGTK *sciThis) |
static void | ScrollHSignal (GtkAdjustment *adj, ScintillaGTK *sciThis) |
static gint | Press (GtkWidget *widget, GdkEventButton *event) |
static gint | MouseRelease (GtkWidget *widget, GdkEventButton *event) |
static gint | ScrollEvent (GtkWidget *widget, GdkEventScroll *event) |
static gint | Motion (GtkWidget *widget, GdkEventMotion *event) |
static gboolean | KeyPress (GtkWidget *widget, GdkEventKey *event) |
static gboolean | KeyRelease (GtkWidget *widget, GdkEventKey *event) |
static gboolean | ExposePreedit (GtkWidget *widget, GdkEventExpose *ose, ScintillaGTK *sciThis) |
static AtkObject * | GetAccessible (GtkWidget *widget) |
static void | Commit (GtkIMContext *context, char *str, ScintillaGTK *sciThis) |
static void | PreeditChanged (GtkIMContext *context, ScintillaGTK *sciThis) |
static void | StyleSetText (GtkWidget *widget, GtkStyle *previous, void *) |
static void | RealizeText (GtkWidget *widget, void *) |
static void | Dispose (GObject *object) |
static void | Destroy (GObject *object) |
static void | SelectionReceived (GtkWidget *widget, GtkSelectionData *selection_data, guint time) |
static void | SelectionGet (GtkWidget *widget, GtkSelectionData *selection_data, guint info, guint time) |
static gint | SelectionClear (GtkWidget *widget, GdkEventSelection *selection_event) |
static gboolean | DragMotion (GtkWidget *widget, GdkDragContext *context, gint x, gint y, guint dragtime) |
static void | DragLeave (GtkWidget *widget, GdkDragContext *context, guint time) |
static void | DragEnd (GtkWidget *widget, GdkDragContext *context) |
static gboolean | Drop (GtkWidget *widget, GdkDragContext *context, gint x, gint y, guint time) |
static void | DragDataReceived (GtkWidget *widget, GdkDragContext *context, gint x, gint y, GtkSelectionData *selection_data, guint info, guint time) |
static void | DragDataGet (GtkWidget *widget, GdkDragContext *context, GtkSelectionData *selection_data, guint info, guint time) |
static gboolean | TimeOut (gpointer ptt) |
static gboolean | IdleCallback (gpointer pSci) |
static gboolean | StyleIdle (gpointer pSci) |
static void | PopUpCB (GtkMenuItem *menuItem, ScintillaGTK *sciThis) |
static gboolean | ExposeCT (GtkWidget *widget, GdkEventExpose *ose, CallTip *ctip) |
static gboolean | PressCT (GtkWidget *widget, GdkEventButton *event, ScintillaGTK *sciThis) |
static sptr_t | DirectFunction (sptr_t ptr, unsigned int iMessage, uptr_t wParam, sptr_t lParam) |
Private Attributes | |
_ScintillaObject * | sci |
Window | wText |
Window | scrollbarv |
Window | scrollbarh |
GtkAdjustment * | adjustmentv |
GtkAdjustment * | adjustmenth |
Window | wSelection |
int | verticalScrollBarWidth |
int | horizontalScrollBarHeight |
SelectionText | primary |
GdkEvent * | evbtn |
guint | buttonMouse |
bool | capturedMouse |
bool | dragWasDropped |
int | lastKey |
int | rectangularSelectionModifier |
GtkWidgetClass * | parentClass |
GdkAtom | atomSought |
bool | preeditInitialized |
Window | wPreedit |
Window | wPreeditDraw |
GtkIMContext * | im_context |
GUnicodeScript | lastNonCommonScript |
unsigned int | linesPerScroll |
gint64 | lastWheelMouseTime |
gint | lastWheelMouseDirection |
gint | wheelMouseIntensity |
gdouble | smoothScrollY |
gdouble | smoothScrollX |
GdkRegion * | rgnUpdate |
bool | repaintFullWindow |
guint | styleIdleID |
int | accessibilityEnabled |
AtkObject * | accessible |
TimeThunk | timers [tickDwell+1] |
Static Private Attributes | |
static GdkAtom | atomUTF8 = nullptr |
static GdkAtom | atomUTF8Mime = nullptr |
static GdkAtom | atomString = nullptr |
static GdkAtom | atomUriList = nullptr |
static GdkAtom | atomDROPFILES_DND = nullptr |
Friends | |
class | ScintillaGTKAccessible |
Additional Inherited Members | |
![]() | |
enum | IMEInteraction { imeWindowed , imeInline } |
enum class | CharacterSource { directInput , tentativeInput , imeResult } |
![]() | |
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 |
![]() | |
enum | { idCallTip =1 , idAutoComplete =2 , idcmdUndo =10 , idcmdRedo =11 , idcmdCut =12 , idcmdCopy =13 , idcmdPaste =14 , idcmdDelete =15 , idcmdSelectAll =16 } |
Enumeration of commands and child windows. More... | |
enum | { maxLenInputIME = 200 } |
![]() | |
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 } |
![]() | |
ScintillaBase () | |
Mode for autocompleting when multiple selections are present. More... | |
ScintillaBase (const ScintillaBase &)=delete | |
ScintillaBase (ScintillaBase &&)=delete | |
ScintillaBase & | operator= (const ScintillaBase &)=delete |
ScintillaBase & | operator= (ScintillaBase &&)=delete |
void | Initialise () override |
void | Finalise () override |
virtual void | AddCharUTF (const char *s, unsigned int len, bool treatAsDBCS=false) |
void | InsertCharacter (const char *s, unsigned int len, CharacterSource charSource) override |
void | Command (int cmdId) |
void | CancelModes () override |
int | KeyCommand (unsigned int iMessage) override |
void | AutoCompleteInsert (Sci::Position startPos, Sci::Position removeLen, const char *text, Sci::Position textLen) |
void | AutoCompleteStart (Sci::Position lenEntered, const char *list) |
void | AutoCompleteCancel () |
void | AutoCompleteMove (int delta) |
int | AutoCompleteGetCurrent () const |
int | AutoCompleteGetCurrentText (char *buffer) const |
void | AutoCompleteCharacterAdded (char ch) |
void | AutoCompleteCharacterDeleted () |
void | AutoCompleteCompleted (char ch, unsigned int completionMethod) |
void | AutoCompleteMoveToCurrentWord () |
void | AutoCompleteSelection () |
void | ListNotify (ListBoxEvent *plbe) override |
void | CallTipClick () |
void | CallTipShow (Point pt, const char *defn) |
virtual void | CreateCallTipWindow (PRectangle rc)=0 |
virtual void | AddToPopUp (const char *label, int cmd=0, bool enabled=true)=0 |
bool | ShouldDisplayPopup (Point ptInWindowCoordinates) const |
void | ContextMenu (Point pt) |
void | ButtonDownWithModifiers (Point pt, unsigned int curTime, int modifiers) override |
void | RightButtonDownWithModifiers (Point pt, unsigned int curTime, int modifiers) override |
void | NotifyStyleToNeeded (Sci::Position endStyleNeeded) override |
void | NotifyLexerChanged (Document *doc, void *userData) override |
![]() | |
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 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 |
![]() | |
int | displayPopupMenu |
Menu | popup |
AutoComplete | ac |
CallTip | ct |
int | listType |
0 is an autocomplete list More... | |
int | maxListWidth |
int | multiAutoCMode |
Maximum width of list, in average character widths. More... | |
![]() | |
Window | wMain |
On GTK+, Scintilla is a container widget holding two scroll bars whereas on Windows there is just one window with both scroll bars turned on. More... | |
Window | wMargin |
May be separate when using a scroll view for wMain. More... | |
bool | stylesValid |
Style resources may be expensive to allocate so are cached between uses. More... | |
ViewStyle | vs |
int | technology |
Point | sizeRGBAImage |
float | scaleRGBAImage |
MarginView | marginView |
EditView | view |
int | cursorMode |
bool | hasFocus |
bool | mouseDownCaptures |
bool | mouseWheelCaptures |
int | xCaretMargin |
Ensure this many pixels visible on both sides of caret. More... | |
bool | horizontalScrollBarVisible |
int | scrollWidth |
bool | verticalScrollBarVisible |
bool | endAtLastLine |
int | caretSticky |
int | marginOptions |
bool | mouseSelectionRectangularSwitch |
bool | multipleSelection |
bool | additionalSelectionTyping |
int | multiPasteMode |
int | virtualSpaceOptions |
KeyMap | kmap |
Timer | timer |
Timer | autoScrollTimer |
Idler | idler |
Point | lastClick |
unsigned int | lastClickTime |
Point | doubleClickCloseThreshold |
int | dwellDelay |
int | ticksToDwell |
bool | dwelling |
enum Scintilla::Editor::TextUnit | selectionUnit |
Point | ptMouseLast |
enum Scintilla::Editor:: { ... } | inDragDrop |
bool | dropWentOutside |
SelectionPosition | posDrop |
Sci::Position | hotSpotClickPos |
int | lastXChosen |
Sci::Position | lineAnchorPos |
Sci::Position | originalAnchorPos |
Sci::Position | wordSelectAnchorStartPos |
Sci::Position | wordSelectAnchorEndPos |
Sci::Position | wordSelectInitialCaretPos |
SelectionSegment | targetRange |
int | searchFlags |
Sci::Line | topLine |
Sci::Position | posTopLine |
Sci::Position | lengthForEncode |
int | needUpdateUI |
enum Scintilla::Editor:: { ... } | paintState |
bool | paintAbandonedByStyling |
PRectangle | rcPaint |
bool | paintingAllText |
bool | willRedrawAll |
WorkNeeded | workNeeded |
int | idleStyling |
bool | needIdleStyling |
int | modEventMask |
bool | commandEvents |
SelectionText | drag |
CaretPolicies | caretPolicies |
CaretPolicy | visiblePolicy |
Sci::Position | searchAnchor |
bool | recordingMacro |
int | foldAutomatic |
WrapPending | wrapPending |
ActionDuration | durationWrapOneLine |
bool | convertPastes |
Definition at line 15 of file ScintillaGTK.h.
|
explicit |
Definition at line 154 of file ScintillaGTK.cxx.
References Init(), linesPerScroll, rectangularSelectionModifier, sci, SCMOD_ALT, and Scintilla::Editor::wMain.
|
delete |
|
delete |
|
virtual |
Definition at line 200 of file ScintillaGTK.cxx.
References Scintilla::Window::Destroy(), evbtn, styleIdleID, and wPreedit.
|
overrideprivatevirtual |
If painting then abandon the painting because a wider redraw is needed.
Reimplemented from Scintilla::Editor.
Definition at line 681 of file ScintillaGTK.cxx.
References Scintilla::Editor::painting, Scintilla::Editor::paintingAllText, Scintilla::Editor::paintState, and repaintFullWindow.
|
overrideprivatevirtual |
Implements Scintilla::ScintillaBase.
Definition at line 1341 of file ScintillaGTK.cxx.
References Scintilla::Menu::GetID(), label, Scintilla::ScintillaBase::popup, and PopUpCB().
|
overrideprivatevirtual |
Reimplemented from Scintilla::Editor.
Definition at line 1156 of file ScintillaGTK.cxx.
References CharacterSetID(), Scintilla::ConvertText(), Scintilla::Document::dbcsCodePage, Scintilla::EditModel::pdoc, SC_CP_UTF8, Scintilla::CaseFolderTable::SetTranslation(), and Scintilla::CaseFolderTable::StandardASCII().
|
overrideprivatevirtual |
Reimplemented from Scintilla::Editor.
Definition at line 1216 of file ScintillaGTK.cxx.
References Scintilla::CaseConversionLower, Scintilla::CaseConversionUpper, Scintilla::CaseConvertString(), CharacterSetID(), Scintilla::Editor::cmSame, Scintilla::Editor::cmUpper, Scintilla::ConvertText(), Scintilla::Editor::IsUnicodeMode(), and Scintilla::maxExpansionCaseConversion.
|
private |
Definition at line 1120 of file ScintillaGTK.cxx.
References CharacterSetID(), STYLE_DEFAULT, Scintilla::ViewStyle::styles, and Scintilla::Editor::vs.
Referenced by CaseFolderForEncoding(), CaseMapString(), CommitThis(), EncodedFromUTF8(), GetGtkSelectionText(), GetSelection(), Scintilla::ScintillaGTKAccessible::GetTextRangeUTF8(), Scintilla::ScintillaGTKAccessible::InsertStringUTF8(), PreeditChangedInlineThis(), and TargetAsUTF8().
|
overrideprivatevirtual |
Implements Scintilla::Editor.
Definition at line 1363 of file ScintillaGTK.cxx.
References Scintilla::SelectionText::Clear(), Scintilla::Window::Created(), Scintilla::SelectionText::Empty(), Scintilla::Selection::Empty(), IS_WIDGET_REALIZED, OwnPrimarySelection(), primary, Scintilla::EditModel::primarySelection, PWidget(), Scintilla::EditModel::sel, and wSelection.
|
static |
Definition at line 3064 of file ScintillaGTK.cxx.
References atomDROPFILES_DND, atomString, atomUriList, atomUTF8, atomUTF8Mime, Destroy(), Dispose(), DragDataGet(), DragDataReceived(), DragEnd(), DragLeave(), DragMotion(), Drop(), ExposeMain(), FocusIn(), FocusOut(), GetAccessible(), KeyPress(), KeyRelease(), MainForAll(), Map(), Motion(), MouseRelease(), Platform_Initialise(), Press(), Realize(), ScrollEvent(), SelectionClear(), SelectionGet(), SelectionReceived(), SizeAllocate(), SizeRequest(), UnMap(), and UnRealize().
Referenced by scintilla_class_init().
|
staticprivate |
Definition at line 1589 of file ScintillaGTK.cxx.
Referenced by StoreOnClipboard().
|
staticprivate |
Definition at line 1585 of file ScintillaGTK.cxx.
References GetSelection().
Referenced by StoreOnClipboard().
|
staticprivate |
Definition at line 2376 of file ScintillaGTK.cxx.
References CommitThis().
Referenced by RealizeThis().
|
private |
Definition at line 2347 of file ScintillaGTK.cxx.
References CharacterSetID(), Scintilla::ConvertText(), Scintilla::EditModel::directInput, Scintilla::Editor::errorStatus, Scintilla::EditView::imeCaretBlockOverride, Scintilla::ScintillaBase::InsertCharacter(), Scintilla::Editor::IsUnicodeMode(), Scintilla::EditModel::pdoc, SC_STATUS_FAILURE, Scintilla::Editor::ShowCaretAtCurrentPosition(), Scintilla::Document::TentativeActive(), Scintilla::Document::TentativeUndo(), Scintilla::UTF8MaxBytes, and Scintilla::Editor::view.
Referenced by Commit().
|
overrideprivatevirtual |
Implements Scintilla::Editor.
Definition at line 1254 of file ScintillaGTK.cxx.
References Scintilla::Editor::CopySelectionRange(), Scintilla::Selection::Empty(), Scintilla::Selection::IsRectangular(), NULL, Scintilla::EditModel::sel, and StoreOnClipboard().
|
overrideprivatevirtual |
Implements Scintilla::Editor.
Definition at line 1248 of file ScintillaGTK.cxx.
References Scintilla::SelectionText::Copy(), and StoreOnClipboard().
|
overrideprivatevirtual |
Implements Scintilla::ScintillaBase.
Definition at line 1312 of file ScintillaGTK.cxx.
References Scintilla::Window::Created(), Scintilla::ScintillaBase::ct, ExposeCT(), gtk_container_add(), Scintilla::PRectangle::Height(), PressCT(), PWidget(), PWindow(), Scintilla::Window::Show(), Scintilla::CallTip::wCallTip, Scintilla::CallTip::wDraw, Scintilla::PRectangle::Width(), and Scintilla::Editor::wMain.
|
overrideprivatevirtual |
Implements Scintilla::Editor.
Definition at line 885 of file ScintillaGTK.cxx.
|
staticprivate |
Definition at line 2540 of file ScintillaGTK.cxx.
References Finalise(), and scintilla_class_parent_class.
Referenced by ClassInit().
|
staticprivate |
Definition at line 3005 of file ScintillaGTK.cxx.
References ptr, and WndProc().
Referenced by WndProc().
|
overrideprivatevirtual |
Reimplemented from Scintilla::Editor.
Definition at line 688 of file ScintillaGTK.cxx.
References Scintilla::Editor::cursorMode, SC_CURSORNORMAL, Scintilla::Window::SetCursor(), and wText.
|
staticprivate |
Definition at line 2519 of file ScintillaGTK.cxx.
References PWidget(), scintilla_class_parent_class, scrollbarh, and scrollbarv.
Referenced by ClassInit().
|
staticprivate |
Definition at line 2851 of file ScintillaGTK.cxx.
References Scintilla::SelectionPosition::Add(), Scintilla::Editor::ClearSelection(), Scintilla::Selection::Count(), Scintilla::Editor::drag, dragWasDropped, Scintilla::Selection::Empty(), Scintilla::SelectionRange::End(), Scintilla::Editor::errorStatus, FromWidget(), GetSelection(), Sci::invalidPosition, Scintilla::SelectionRange::Length(), Scintilla::Editor::posDrop, Scintilla::Selection::Range(), SC_STATUS_FAILURE, Scintilla::EditModel::sel, Scintilla::Editor::SetDragPosition(), and Scintilla::SelectionRange::Start().
Referenced by ClassInit().
|
staticprivate |
Definition at line 2840 of file ScintillaGTK.cxx.
References Scintilla::Editor::errorStatus, FromWidget(), Sci::invalidPosition, ReceivedDrop(), SC_STATUS_FAILURE, and Scintilla::Editor::SetDragPosition().
Referenced by ClassInit().
|
staticprivate |
Definition at line 2814 of file ScintillaGTK.cxx.
References Scintilla::Editor::ddNone, dragWasDropped, Scintilla::Editor::errorStatus, FromWidget(), Scintilla::Editor::inDragDrop, Sci::invalidPosition, Scintilla::EditModel::posDrag, SC_STATUS_FAILURE, Scintilla::Editor::SetDragPosition(), and Scintilla::Editor::SetEmptySelection().
Referenced by ClassInit().
|
staticprivate |
Definition at line 2804 of file ScintillaGTK.cxx.
References Scintilla::Editor::errorStatus, FromWidget(), Sci::invalidPosition, SC_STATUS_FAILURE, and Scintilla::Editor::SetDragPosition().
Referenced by ClassInit().
|
staticprivate |
Definition at line 2798 of file ScintillaGTK.cxx.
References DragMotionThis(), and FromWidget().
Referenced by ClassInit().
|
private |
Definition at line 2776 of file ScintillaGTK.cxx.
References actionCopyOrMove, Scintilla::Editor::ddDragging, Scintilla::Editor::errorStatus, Scintilla::Point::FromInts(), Scintilla::Editor::inDragDrop, pos, Scintilla::Editor::PositionInSelection(), SC_STATUS_FAILURE, Scintilla::Editor::SetDragPosition(), Scintilla::Editor::SPositionFromLocation(), and Scintilla::Editor::UserVirtualSpace().
Referenced by DragMotion().
Reimplemented from Scintilla::Editor.
Definition at line 695 of file ScintillaGTK.cxx.
References PWidget(), Scintilla::Editor::wMain, Scintilla::Point::x, and Scintilla::Point::y.
|
private |
Definition at line 2270 of file ScintillaGTK.cxx.
References Scintilla::Selection::Count(), Scintilla::Document::DecorationFillRange(), Scintilla::Document::DecorationSetCurrentIndicator(), INDICATOR_MAX, Scintilla::EditModel::pdoc, Scintilla::SelectionPosition::Position(), Scintilla::Selection::Range(), Scintilla::EditModel::sel, and Scintilla::SelectionRange::Start().
Referenced by PreeditChangedInlineThis().
|
staticprivate |
Definition at line 2828 of file ScintillaGTK.cxx.
References Scintilla::Editor::errorStatus, FromWidget(), Sci::invalidPosition, SC_STATUS_FAILURE, and Scintilla::Editor::SetDragPosition().
Referenced by ClassInit().
|
private |
Definition at line 785 of file ScintillaGTK.cxx.
References CharacterSetID(), Scintilla::ConvertText(), Scintilla::Editor::IsUnicodeMode(), and Scintilla::Editor::lengthForEncode.
Referenced by WndProc().
|
private |
Definition at line 2708 of file ScintillaGTK.cxx.
References Scintilla::Editor::errorStatus, PWidget(), SC_STATUS_FAILURE, scrollbarh, scrollbarv, and Scintilla::Editor::wMain.
Referenced by ExposeMain().
|
staticprivate |
Definition at line 2979 of file ScintillaGTK.cxx.
References Scintilla::Surface::Allocate(), Scintilla::CallTip::codePage, Scintilla::CallTip::PaintCT(), SC_CP_UTF8, SC_TECHNOLOGY_DEFAULT, and WindowFromWidget().
Referenced by CreateCallTipWindow().
|
staticprivate |
Definition at line 2701 of file ScintillaGTK.cxx.
References Expose(), and FromWidget().
Referenced by ClassInit().
|
staticprivate |
Definition at line 2248 of file ScintillaGTK.cxx.
References ExposePreeditThis().
Referenced by Init().
|
private |
Definition at line 2231 of file ScintillaGTK.cxx.
References Scintilla::Editor::errorStatus, im_context, PWidget(), SC_STATUS_FAILURE, WindowFromWidget(), and wText.
Referenced by ExposePreedit().
|
staticprivate |
Definition at line 2697 of file ScintillaGTK.cxx.
References ExposeTextThis().
Referenced by Init().
|
private |
Definition at line 2659 of file ScintillaGTK.cxx.
References Scintilla::Surface::Allocate(), Scintilla::PRectangle::Contains(), Scintilla::Editor::errorStatus, Scintilla::PRectangle::FromInts(), FullPaint(), GetClientRectangle(), Scintilla::Editor::notPainting, Scintilla::Editor::Paint(), Scintilla::Editor::paintAbandoned, Scintilla::Editor::painting, Scintilla::Editor::paintingAllText, Scintilla::Editor::paintState, PLATFORM_ASSERT, PWidget(), PWindow(), Scintilla::Editor::rcPaint, repaintFullWindow, rgnUpdate, SC_STATUS_FAILURE, SC_TECHNOLOGY_DEFAULT, and wText.
Referenced by ExposeText().
|
overrideprivatevirtual |
Reimplemented from Scintilla::Editor.
Definition at line 668 of file ScintillaGTK.cxx.
References accessible, Scintilla::ScintillaBase::Finalise(), FineTickerCancel(), and Scintilla::Editor::tickCaret.
Referenced by Destroy(), and UnRealizeThis().
|
overrideprivatevirtual |
Reimplemented from Scintilla::Editor.
Definition at line 898 of file ScintillaGTK.cxx.
References Scintilla::ScintillaGTK::TimeThunk::timer, Scintilla::Editor::timer, and timers.
Referenced by Finalise(), and FineTickerStart().
|
overrideprivatevirtual |
Reimplemented from Scintilla::Editor.
Definition at line 889 of file ScintillaGTK.cxx.
References Scintilla::ScintillaGTK::TimeThunk::timer, and timers.
|
overrideprivatevirtual |
Reimplemented from Scintilla::Editor.
Definition at line 893 of file ScintillaGTK.cxx.
References FineTickerCancel(), TimeOut(), Scintilla::ScintillaGTK::TimeThunk::timer, and timers.
|
staticprivate |
Definition at line 470 of file ScintillaGTK.cxx.
References FocusInThis(), and FromWidget().
Referenced by ClassInit().
|
private |
Definition at line 443 of file ScintillaGTK.cxx.
References Scintilla::Editor::errorStatus, im_context, preeditInitialized, PWidget(), SC_STATUS_FAILURE, Scintilla::Editor::SetFocusState(), Scintilla::Editor::wMain, and wPreedit.
Referenced by FocusIn().
|
staticprivate |
Definition at line 490 of file ScintillaGTK.cxx.
References FocusOutThis(), and FromWidget().
Referenced by ClassInit().
|
private |
Definition at line 475 of file ScintillaGTK.cxx.
References Scintilla::Editor::errorStatus, im_context, PWidget(), SC_STATUS_FAILURE, Scintilla::Editor::SetFocusState(), and wPreedit.
Referenced by FocusOut().
|
private |
Definition at line 391 of file ScintillaGTK.cxx.
References Scintilla::Editor::errorStatus, PWidget(), SC_STATUS_FAILURE, scrollbarh, scrollbarv, and wText.
Referenced by MainForAll().
|
staticnoexcept |
Definition at line 149 of file ScintillaGTK.cxx.
Referenced by DragDataGet(), DragDataReceived(), DragEnd(), DragLeave(), DragMotion(), Drop(), ExposeMain(), FocusIn(), FocusOut(), GetAccessible(), KeyPress(), KeyRelease(), MainForAll(), Map(), Motion(), MouseRelease(), Press(), Realize(), ScrollEvent(), SelectionClear(), SelectionGet(), SelectionReceived(), SizeAllocate(), SizeRequest(), UnMap(), and UnRealize().
|
private |
Definition at line 986 of file ScintillaGTK.cxx.
References Scintilla::Window::InvalidateAll(), and wText.
Referenced by ExposeTextThis(), and UnclaimSelection().
|
staticprivate |
Definition at line 3001 of file ScintillaGTK.cxx.
References FromWidget(), and GetAccessibleThis().
Referenced by ClassInit().
|
private |
Definition at line 2997 of file ScintillaGTK.cxx.
References accessible, scintilla_class_parent_class, and Scintilla::ScintillaGTKAccessible::WidgetGetAccessibleImpl().
Referenced by GetAccessible().
|
overrideprivatevirtual |
Reimplemented from Scintilla::Editor.
Definition at line 990 of file ScintillaGTK.cxx.
References Scintilla::PRectangle::bottom, Scintilla::Window::GetClientPosition(), horizontalScrollBarHeight, Scintilla::Editor::horizontalScrollBarVisible, Scintilla::PRectangle::left, Scintilla::PRectangle::right, Scintilla::PRectangle::top, Scintilla::Editor::verticalScrollBarVisible, verticalScrollBarWidth, Scintilla::Editor::wMain, and Scintilla::Editor::Wrapping().
Referenced by ExposeTextThis(), and PressThis().
|
private |
Definition at line 1391 of file ScintillaGTK.cxx.
References CharacterSetID(), Scintilla::SelectionText::Clear(), Scintilla::ConvertText(), Scintilla::SelectionText::Copy(), DataOfGSD(), Scintilla::Document::dbcsCodePage, IsStringAtom(), Scintilla::Editor::IsUnicodeMode(), LengthOfGSD(), Scintilla::EditModel::pdoc, SC_CP_UTF8, STYLE_DEFAULT, Scintilla::ViewStyle::styles, TypeOfGSD(), UTF8FromLatin1(), and Scintilla::Editor::vs.
Referenced by InsertSelection(), and ReceivedDrop().
|
staticprivate |
Definition at line 1524 of file ScintillaGTK.cxx.
References CharacterSetID(), Scintilla::ConvertText(), SC_CP_UTF8, SC_EOL_LF, TARGET_UTF8_STRING, text, and Scintilla::Document::TransformLineEnds().
Referenced by ClipboardGetSelection(), DragDataGet(), PrimarySelection(), and SelectionGet().
|
overrideprivatevirtual |
Implements Scintilla::Editor.
Definition at line 934 of file ScintillaGTK.cxx.
References capturedMouse.
Referenced by MouseRelease().
|
staticprivate |
Definition at line 2884 of file ScintillaGTK.cxx.
References Scintilla::Editor::Idle(), and SetIdle().
Referenced by SetIdle().
|
overrideprivatevirtual |
Reimplemented from Scintilla::Editor.
Definition at line 2905 of file ScintillaGTK.cxx.
References Scintilla::Editor::IdleWork(), and styleIdleID.
Referenced by StyleIdle().
|
private |
Definition at line 543 of file ScintillaGTK.cxx.
References actionCopyOrMove, adjustmenth, adjustmentv, Scintilla::EditModel::caret, clipboardPasteTargets, ExposePreedit(), ExposeText(), gtk_container_add(), INDIC_COMPOSITIONTHICK, INDIC_DOTS, INDIC_HIDDEN, INDIC_STRAIGHTBOX, Scintilla::ViewStyle::indicators, nClipboardPasteTargets, parentClass, Scintilla::Caret::period, PWidget(), Scintilla::ScintillaGTK::TimeThunk::reason, SC_INDICATOR_CONVERTED, SC_INDICATOR_INPUT, SC_INDICATOR_TARGET, SC_INDICATOR_UNKNOWN, Scintilla::ScintillaGTK::TimeThunk::scintilla, scrollbarh, scrollbarv, ScrollHSignal(), ScrollSignal(), Scintilla::Editor::tickCaret, timers, Scintilla::Editor::vs, Scintilla::Editor::wMain, wPreedit, wPreeditDraw, and wText.
Referenced by ScintillaGTK().
|
private |
Definition at line 1443 of file ScintillaGTK.cxx.
References atomUTF8, atomUTF8Mime, Scintilla::Editor::ClearSelection(), Scintilla::SelectionText::Data(), Scintilla::Editor::EnsureCaretVisible(), GetGtkSelectionText(), Scintilla::Editor::InsertPasteShape(), Scintilla::SelectionText::Length(), Scintilla::Editor::multiPasteMode, Scintilla::Editor::pasteRectangular, Scintilla::Editor::pasteStream, Scintilla::EditModel::pdoc, Scintilla::SelectionText::rectangular, Scintilla::Editor::Redraw(), and SC_MULTIPASTE_EACH.
Referenced by ReceivedSelection().
|
staticprivate |
Definition at line 1381 of file ScintillaGTK.cxx.
References atomUTF8, and atomUTF8Mime.
Referenced by GetGtkSelectionText(), ReceivedDrop(), and ReceivedSelection().
|
overrideprivatevirtual |
Reimplemented from Scintilla::Editor.
Definition at line 1242 of file ScintillaGTK.cxx.
References NotifyKey().
|
staticprivate |
Definition at line 2193 of file ScintillaGTK.cxx.
References FromWidget(), and KeyThis().
Referenced by ClassInit().
|
staticprivate |
Definition at line 2198 of file ScintillaGTK.cxx.
References FromWidget(), and im_context.
Referenced by ClassInit().
|
private |
Definition at line 2139 of file ScintillaGTK.cxx.
References Scintilla::Editor::ClearSelection(), Scintilla::Editor::CurrentPosition(), Scintilla::Editor::errorStatus, im_context, Scintilla::Document::InsertString(), Scintilla::Editor::KeyDownWithModifiers(), KeyTranslate(), Scintilla::Editor::ModifierFlags(), Scintilla::Editor::MovePositionTo(), Scintilla::EditModel::pdoc, and SC_STATUS_FAILURE.
Referenced by KeyPress().
|
private |
Definition at line 2254 of file ScintillaGTK.cxx.
References im_context, and lastNonCommonScript.
Referenced by PreeditChanged(), and PreeditChangedInlineThis().
|
staticprivate |
Definition at line 403 of file ScintillaGTK.cxx.
References ForAll(), and FromWidget().
Referenced by ClassInit().
|
noexcept |
Definition at line 1471 of file ScintillaGTK.cxx.
References PWidget(), and Scintilla::Editor::wMain.
|
staticprivate |
Definition at line 365 of file ScintillaGTK.cxx.
References FromWidget(), and MapThis().
Referenced by ClassInit().
|
private |
Definition at line 348 of file ScintillaGTK.cxx.
References Scintilla::Editor::ChangeSize(), Scintilla::Window::cursorArrow, Scintilla::Editor::errorStatus, MapWidget(), PWidget(), PWindow(), SC_STATUS_FAILURE, scrollbarh, scrollbarv, Scintilla::Window::SetCursor(), Scintilla::Editor::wMain, and wText.
Referenced by Map().
Implements Scintilla::Editor.
Definition at line 1033 of file ScintillaGTK.cxx.
References adjustmenth, adjustmentv, Scintilla::Editor::GetTextRectangle(), Scintilla::Editor::LinesToScroll(), Scintilla::Editor::painting, Scintilla::Editor::paintState, repaintFullWindow, Scintilla::Editor::scrollWidth, STYLE_DEFAULT, Scintilla::ViewStyle::styles, Scintilla::Editor::vs, and Scintilla::PRectangle::Width().
|
staticprivate |
Definition at line 1961 of file ScintillaGTK.cxx.
References Scintilla::Editor::ButtonMoveWithModifiers(), Scintilla::Editor::errorStatus, FromWidget(), Scintilla::Editor::ModifierFlags(), rectangularSelectionModifier, SC_STATUS_FAILURE, and WindowFromWidget().
Referenced by ClassInit().
|
staticprivate |
Definition at line 1835 of file ScintillaGTK.cxx.
References Scintilla::Editor::ButtonUpWithModifiers(), Scintilla::Editor::errorStatus, FromWidget(), HaveMouseCapture(), Scintilla::Editor::ModifierFlags(), Scintilla::Editor::ptMouseLast, PWindow(), rectangularSelectionModifier, SC_STATUS_FAILURE, and Scintilla::Editor::wMain.
Referenced by ClassInit().
|
private |
Definition at line 2261 of file ScintillaGTK.cxx.
References Scintilla::SelectionRange::anchor, Scintilla::SelectionRange::caret, Scintilla::Selection::Count(), pos, Scintilla::SelectionPosition::Position(), Scintilla::Selection::Range(), Scintilla::EditModel::sel, Scintilla::SelectionPosition::SetPosition(), and Scintilla::SelectionRange::Start().
Referenced by PreeditChangedInlineThis().
|
overrideprivatevirtual |
Implements Scintilla::Editor.
Definition at line 1081 of file ScintillaGTK.cxx.
References COMMAND_SIGNAL, Scintilla::Editor::GetCtrlID(), Scintilla::Platform::LongFromTwoShorts(), PWidget(), SCEN_CHANGE, sci, scintilla_signals, and Scintilla::Editor::wMain.
|
overrideprivatevirtual |
Reimplemented from Scintilla::Editor.
Definition at line 1086 of file ScintillaGTK.cxx.
References COMMAND_SIGNAL, Scintilla::Editor::commandEvents, Scintilla::Editor::GetCtrlID(), Scintilla::Platform::LongFromTwoShorts(), Scintilla::Editor::NotifyFocus(), PWidget(), SCEN_KILLFOCUS, SCEN_SETFOCUS, sci, scintilla_signals, and Scintilla::Editor::wMain.
|
private |
Definition at line 1101 of file ScintillaGTK.cxx.
References SCNotification::ch, Sci_NotifyHeader::code, SCNotification::modifiers, SCNotification::nmhdr, NotifyParent(), and SCN_KEY.
Referenced by KeyDefault().
|
overrideprivatevirtual |
Implements Scintilla::Editor.
Definition at line 1094 of file ScintillaGTK.cxx.
References Scintilla::Editor::GetCtrlID(), Sci_NotifyHeader::hwndFrom, Sci_NotifyHeader::idFrom, SCNotification::nmhdr, NOTIFY_SIGNAL, PWidget(), sci, scintilla_signals, and Scintilla::Editor::wMain.
Referenced by NotifyKey(), and NotifyURIDropped().
|
private |
Definition at line 1110 of file ScintillaGTK.cxx.
References Sci_NotifyHeader::code, list, SCNotification::nmhdr, NotifyParent(), SCN_URIDROPPED, and SCNotification::text.
Referenced by ReceivedDrop().
|
delete |
|
delete |
|
private |
Definition at line 1357 of file ScintillaGTK.cxx.
References Scintilla::Window::Created(), PWindow(), and wSelection.
Referenced by ClaimSelection(), PressThis(), and UnclaimSelection().
|
overrideprivatevirtual |
Reimplemented from Scintilla::Editor.
Definition at line 959 of file ScintillaGTK.cxx.
References Scintilla::PRectangle::bottom, Scintilla::PRectangle::Contains(), Scintilla::PRectangle::left, Scintilla::Editor::painting, Scintilla::Editor::paintState, Scintilla::Editor::rcPaint, rgnUpdate, Scintilla::PRectangle::right, and Scintilla::PRectangle::top.
|
overrideprivatevirtual |
Implements Scintilla::Editor.
Definition at line 1308 of file ScintillaGTK.cxx.
References RequestSelection().
|
staticprivate |
Definition at line 2940 of file ScintillaGTK.cxx.
References Scintilla::ScintillaBase::Command().
Referenced by AddToPopUp().
|
staticprivate |
Definition at line 2492 of file ScintillaGTK.cxx.
References Scintilla::EditModel::imeInline, Scintilla::EditModel::imeInteraction, KoreanIME(), PreeditChangedInlineThis(), and PreeditChangedWindowedThis().
Referenced by RealizeThis().
|
private |
Definition at line 2380 of file ScintillaGTK.cxx.
References CharacterSetID(), Scintilla::Editor::ClearBeforeTentativeStart(), Scintilla::ConvertText(), Scintilla::Editor::CurrentPosition(), DrawImeIndicator(), Scintilla::Editor::EnsureCaretVisible(), Scintilla::Editor::errorStatus, Scintilla::Document::GetRelativePosition(), im_context, Scintilla::EditView::imeCaretBlockOverride, Scintilla::ScintillaBase::InsertCharacter(), Scintilla::Document::IsReadOnly(), Scintilla::Editor::IsUnicodeMode(), KoreanIME(), MapImeIndicators(), Scintilla::ScintillaBase::maxLenInputIME, MoveImeCarets(), Scintilla::EditModel::pdoc, SC_STATUS_FAILURE, Scintilla::Editor::SelectionContainsProtected(), SetCandidateWindowPos(), Scintilla::Editor::ShowCaretAtCurrentPosition(), Scintilla::Document::TentativeActive(), Scintilla::EditModel::tentativeInput, Scintilla::Document::TentativeStart(), Scintilla::Document::TentativeUndo(), Scintilla::UTF8MaxBytes, and Scintilla::Editor::view.
Referenced by PreeditChanged().
|
private |
Definition at line 2458 of file ScintillaGTK.cxx.
References Scintilla::Editor::errorStatus, im_context, Scintilla::Editor::PointMainCaret(), PWidget(), PWindow(), SC_STATUS_FAILURE, SetCandidateWindowPos(), wPreedit, wPreeditDraw, wText, Scintilla::Point::x, and Scintilla::Point::y.
Referenced by PreeditChanged().
|
staticprivate |
Definition at line 1828 of file ScintillaGTK.cxx.
References FromWidget(), PressThis(), and WindowFromWidget().
Referenced by ClassInit().
|
staticprivate |
Definition at line 2947 of file ScintillaGTK.cxx.
References Scintilla::ScintillaBase::CallTipClick(), Scintilla::ScintillaBase::ct, Scintilla::CallTip::MouseClick(), and WindowFromWidget().
Referenced by CreateCallTipWindow().
|
private |
Definition at line 1739 of file ScintillaGTK.cxx.
References adjustmenth, adjustmentv, Scintilla::PRectangle::bottom, Scintilla::ScintillaBase::ButtonDownWithModifiers(), buttonMouse, Scintilla::Selection::Clear(), Scintilla::ScintillaBase::ContextMenu(), Scintilla::Editor::CopySelectionRange(), Scintilla::Platform::DebugPrintf(), Scintilla::SelectionText::Empty(), Scintilla::Editor::errorStatus, evbtn, GetClientRectangle(), Scintilla::Editor::ModifierFlags(), OwnPrimarySelection(), Scintilla::Editor::PointInSelection(), pos, Scintilla::Editor::PositionFromLocation(), primary, PWidget(), PWindow(), rectangularSelectionModifier, RequestSelection(), Scintilla::PRectangle::right, Scintilla::ScintillaBase::RightButtonDownWithModifiers(), SC_STATUS_FAILURE, Scintilla::EditModel::sel, Scintilla::Editor::SetEmptySelection(), Scintilla::Editor::SetSelection(), Scintilla::ScintillaBase::ShouldDisplayPopup(), Scintilla::Editor::SPositionFromLocation(), Scintilla::Editor::topLine, Scintilla::Editor::UserVirtualSpace(), Scintilla::Editor::wMain, Scintilla::Point::x, Scintilla::EditModel::xOffset, and Scintilla::Point::y.
Referenced by Press().
|
staticprivate |
Definition at line 1623 of file ScintillaGTK.cxx.
References parentClass, and UnclaimSelection().
Referenced by RealizeThis().
|
staticprivate |
Definition at line 1610 of file ScintillaGTK.cxx.
References Scintilla::Editor::CopySelectionRange(), Scintilla::SelectionText::Empty(), Scintilla::Editor::errorStatus, GetSelection(), primary, SC_STATUS_FAILURE, and SelectionOfGSD().
Referenced by RealizeThis().
|
overrideprivatevirtual |
Reimplemented from Scintilla::Editor.
Definition at line 2910 of file ScintillaGTK.cxx.
References Scintilla::Editor::QueueIdleWork(), StyleIdle(), and styleIdleID.
|
staticprivate |
Definition at line 303 of file ScintillaGTK.cxx.
References FromWidget(), and RealizeThis().
Referenced by ClassInit().
|
staticprivate |
Definition at line 2504 of file ScintillaGTK.cxx.
References WindowFromWidget().
Referenced by RealizeThis(), and StyleSetText().
|
private |
Definition at line 220 of file ScintillaGTK.cxx.
References clipboardCopyTargets, Commit(), im_context, nClipboardCopyTargets, PreeditChanged(), preeditInitialized, PrimaryClear(), PrimarySelection(), PWidget(), PWindow(), RealizeText(), scrollbarh, scrollbarv, StyleSetText(), UnRefCursor(), WindowFromWidget(), wPreedit, wPreeditDraw, wSelection, and wText.
Referenced by Realize().
|
noexcept |
Definition at line 1475 of file ScintillaGTK.cxx.
References SC_STATUS_FAILURE.
|
private |
Definition at line 1503 of file ScintillaGTK.cxx.
References atomDROPFILES_DND, atomUriList, Scintilla::SelectionText::Data(), DataOfGSD(), dragWasDropped, Scintilla::Editor::DropAt(), GetGtkSelectionText(), IsStringAtom(), Scintilla::SelectionText::Length(), LengthOfGSD(), NotifyURIDropped(), Scintilla::Editor::posDrop, Scintilla::SelectionText::rectangular, Scintilla::Editor::Redraw(), and TypeOfGSD().
Referenced by DragDataReceived().
|
private |
Definition at line 1483 of file ScintillaGTK.cxx.
References atomSought, atomString, atomUTF8, Scintilla::Editor::errorStatus, InsertSelection(), IsStringAtom(), LengthOfGSD(), PWidget(), SC_STATUS_FAILURE, SelectionOfGSD(), TypeOfGSD(), and Scintilla::Editor::wMain.
Referenced by SelectionReceived().
|
overrideprivatevirtual |
Reimplemented from Scintilla::Editor.
Definition at line 1076 of file ScintillaGTK.cxx.
References Scintilla::Window::GetClientPosition(), Scintilla::PRectangle::Height(), Resize(), Scintilla::PRectangle::Width(), and Scintilla::Editor::wMain.
|
private |
Definition at line 1297 of file ScintillaGTK.cxx.
References atomSought, atomUTF8, PWidget(), and Scintilla::Editor::wMain.
Referenced by Paste(), and PressThis().
|
private |
Definition at line 1631 of file ScintillaGTK.cxx.
References Scintilla::Editor::ChangeSize(), horizontalScrollBarHeight, Scintilla::Editor::horizontalScrollBarVisible, IS_WIDGET_MAPPED, max, PWidget(), scrollbarh, scrollbarv, Scintilla::Editor::verticalScrollBarVisible, verticalScrollBarWidth, Scintilla::Editor::wMain, Scintilla::Editor::Wrapping(), and wText.
Referenced by ReconfigureScrollBars(), and SizeAllocate().
|
staticprivate |
Definition at line 1863 of file ScintillaGTK.cxx.
References Scintilla::Editor::errorStatus, FromWidget(), Scintilla::Editor::HorizontalScrollTo(), Scintilla::ScintillaBase::KeyCommand(), lastWheelMouseDirection, lastWheelMouseTime, linesPerScroll, SC_STATUS_FAILURE, SCI_ZOOMIN, SCI_ZOOMOUT, Scintilla::Editor::ScrollTo(), smoothScrollX, smoothScrollY, Scintilla::Editor::topLine, wheelMouseIntensity, and Scintilla::EditModel::xOffset.
Referenced by ClassInit().
|
staticprivate |
Definition at line 2735 of file ScintillaGTK.cxx.
References Scintilla::Editor::errorStatus, Scintilla::Editor::HorizontalScrollTo(), and SC_STATUS_FAILURE.
Referenced by Init().
|
staticprivate |
Definition at line 2727 of file ScintillaGTK.cxx.
References Scintilla::Editor::errorStatus, SC_STATUS_FAILURE, and Scintilla::Editor::ScrollTo().
Referenced by Init().
|
overrideprivatevirtual |
Reimplemented from Scintilla::Editor.
Definition at line 1008 of file ScintillaGTK.cxx.
References IS_WIDGET_REALIZED, Scintilla::ViewStyle::lineHeight, Scintilla::Editor::NotifyUpdateUI(), PWidget(), Scintilla::Editor::Redraw(), Scintilla::Editor::vs, WindowFromWidget(), and wText.
|
staticprivate |
Definition at line 2766 of file ScintillaGTK.cxx.
References FromWidget(), parentClass, and UnclaimSelection().
Referenced by ClassInit().
|
staticprivate |
Definition at line 2750 of file ScintillaGTK.cxx.
References Scintilla::Editor::CopySelectionRange(), Scintilla::SelectionText::Empty(), Scintilla::Editor::errorStatus, FromWidget(), GetSelection(), primary, SC_STATUS_FAILURE, and SelectionOfGSD().
Referenced by ClassInit().
|
staticprivate |
Definition at line 2743 of file ScintillaGTK.cxx.
References FromWidget(), and ReceivedSelection().
Referenced by ClassInit().
|
private |
Definition at line 2336 of file ScintillaGTK.cxx.
References im_context, Scintilla::ViewStyle::lineHeight, max, Scintilla::Editor::PointMainCaret(), Scintilla::Editor::vs, Scintilla::Point::x, and Scintilla::Point::y.
Referenced by PreeditChangedInlineThis(), and PreeditChangedWindowedThis().
|
overrideprivatevirtual |
Reimplemented from Scintilla::Editor.
Definition at line 2918 of file ScintillaGTK.cxx.
References accessible, Scintilla::Document::AddRef(), Scintilla::ScintillaGTKAccessible::ChangeDocument(), Scintilla::ScintillaGTKAccessible::FromAccessible(), Scintilla::EditModel::pdoc, Scintilla::Document::Release(), and Scintilla::Editor::SetDocPointer().
|
overrideprivatevirtual |
Implements Scintilla::Editor.
Definition at line 1028 of file ScintillaGTK.cxx.
References adjustmenth, Scintilla::Editor::DwellEnd(), and Scintilla::EditModel::xOffset.
|
overrideprivatevirtual |
Reimplemented from Scintilla::Editor.
Definition at line 905 of file ScintillaGTK.cxx.
References IdleCallback(), Scintilla::Editor::idler, Scintilla::Idler::idlerID, and Scintilla::Idler::state.
Referenced by IdleCallback().
|
overrideprivatevirtual |
Implements Scintilla::Editor.
Definition at line 923 of file ScintillaGTK.cxx.
References capturedMouse, Scintilla::Editor::mouseDownCaptures, PWidget(), and Scintilla::Editor::wMain.
|
overrideprivatevirtual |
Implements Scintilla::Editor.
Definition at line 1023 of file ScintillaGTK.cxx.
References adjustmentv, Scintilla::Editor::DwellEnd(), and Scintilla::Editor::topLine.
|
staticprivate |
Definition at line 525 of file ScintillaGTK.cxx.
References Scintilla::Editor::errorStatus, FromWidget(), IS_WIDGET_REALIZED, Resize(), SC_STATUS_FAILURE, and WindowFromWidget().
Referenced by ClassInit().
|
staticprivate |
Definition at line 495 of file ScintillaGTK.cxx.
References FromWidget(), PWidget(), scrollbarh, and scrollbarv.
Referenced by ClassInit().
|
overrideprivatevirtual |
Reimplemented from Scintilla::Editor.
Definition at line 700 of file ScintillaGTK.cxx.
References actionCopyOrMove, buttonMouse, clipboardCopyTargets, Scintilla::Editor::ddDragging, dragWasDropped, evbtn, Scintilla::Editor::inDragDrop, nClipboardCopyTargets, PLATFORM_ASSERT, PWidget(), and Scintilla::Editor::wMain.
|
private |
Definition at line 1573 of file ScintillaGTK.cxx.
References ClipboardClearSelection(), clipboardCopyTargets, ClipboardGetSelection(), nClipboardCopyTargets, PWidget(), and Scintilla::Editor::wMain.
Referenced by Copy(), and CopyToClipboard().
|
staticprivate |
Definition at line 2898 of file ScintillaGTK.cxx.
References IdleWork().
Referenced by QueueIdleWork().
|
staticprivate |
Definition at line 2500 of file ScintillaGTK.cxx.
References RealizeText().
Referenced by RealizeThis().
|
private |
Definition at line 758 of file ScintillaGTK.cxx.
References CharacterSetID(), Scintilla::ConvertText(), Scintilla::SelectionSegment::end, Scintilla::Document::GetCharRange(), Scintilla::Editor::IsUnicodeMode(), Scintilla::SelectionSegment::Length(), Scintilla::EditModel::pdoc, Scintilla::SelectionPosition::Position(), Scintilla::Editor::RangeText(), Scintilla::SelectionSegment::start, Scintilla::Editor::targetRange, and text.
Referenced by WndProc().
|
staticprivate |
Definition at line 2878 of file ScintillaGTK.cxx.
References Scintilla::ScintillaGTK::TimeThunk::reason, Scintilla::ScintillaGTK::TimeThunk::scintilla, and Scintilla::Editor::TickFor().
Referenced by FineTickerStart().
|
private |
Definition at line 1594 of file ScintillaGTK.cxx.
References Scintilla::SelectionText::Clear(), Scintilla::Editor::errorStatus, FullPaint(), OwnPrimarySelection(), primary, Scintilla::EditModel::primarySelection, and SC_STATUS_FAILURE.
Referenced by PrimaryClear(), and SelectionClear().
|
staticprivate |
Definition at line 386 of file ScintillaGTK.cxx.
References FromWidget(), and UnMapThis().
Referenced by ClassInit().
|
private |
Definition at line 370 of file ScintillaGTK.cxx.
References Scintilla::Editor::DropGraphics(), Scintilla::Editor::errorStatus, PWidget(), PWindow(), SC_STATUS_FAILURE, scrollbarh, scrollbarv, Scintilla::Editor::wMain, and wText.
Referenced by UnMap().
|
staticprivate |
Definition at line 335 of file ScintillaGTK.cxx.
References FromWidget(), and UnRealizeThis().
Referenced by ClassInit().
|
private |
Definition at line 308 of file ScintillaGTK.cxx.
References Scintilla::Window::Destroy(), Scintilla::Editor::errorStatus, Finalise(), im_context, IS_WIDGET_MAPPED, parentClass, PWidget(), SC_STATUS_FAILURE, scrollbarh, scrollbarv, wPreedit, wPreeditDraw, wSelection, and wText.
Referenced by UnRealize().
|
overrideprivatevirtual |
Reimplemented from Scintilla::Editor.
Definition at line 812 of file ScintillaGTK.cxx.
References SC_CP_UTF8.
|
overridevirtual |
Reimplemented from Scintilla::Editor.
Definition at line 822 of file ScintillaGTK.cxx.
References accessibilityEnabled, accessible, Scintilla::Editor::CharPtrFromSPtr(), Scintilla::Editor::ConstCharPtrFromUPtr(), DirectFunction(), EncodedFromUTF8(), Scintilla::Editor::errorStatus, Scintilla::ScintillaGTKAccessible::FromAccessible(), Scintilla::ScintillaGTKAccessible::NotifyReadOnly(), PWidget(), rectangularSelectionModifier, SC_STATUS_BADALLOC, SC_STATUS_FAILURE, SCI_ENCODEDFROMUTF8, SCI_GETACCESSIBILITY, SCI_GETDIRECTFUNCTION, SCI_GETDIRECTPOINTER, SCI_GETRECTANGULARSELECTIONMODIFIER, SCI_GRABFOCUS, SCI_SETACCESSIBILITY, SCI_SETREADONLY, SCI_SETRECTANGULARSELECTIONMODIFIER, SCI_TARGETASUTF8, Scintilla::ScintillaGTKAccessible::SetAccessibility(), TargetAsUTF8(), Scintilla::Editor::wMain, and Scintilla::ScintillaBase::WndProc().
Referenced by Scintilla::ScintillaGTKAccessible::AddSelection(), DirectFunction(), Scintilla::ScintillaGTKAccessible::GetCaretOffset(), Scintilla::ScintillaGTKAccessible::GetCharacterExtents(), Scintilla::ScintillaGTKAccessible::GetOffsetAtPoint(), Scintilla::ScintillaGTKAccessible::GetRunAttributes(), Scintilla::ScintillaGTKAccessible::GetTextAfterOffset(), Scintilla::ScintillaGTKAccessible::GetTextAtOffset(), Scintilla::ScintillaGTKAccessible::GetTextBeforeOffset(), Scintilla::ScintillaGTKAccessible::RemoveSelection(), scintilla_send_message(), Scintilla::ScintillaGTKAccessible::SetCaretOffset(), Scintilla::ScintillaGTKAccessible::SetSelection(), Scintilla::ScintillaGTKAccessible::SetTextContents(), and Scintilla::ScintillaGTKAccessible::UpdateCursor().
|
friend |
Definition at line 16 of file ScintillaGTK.h.
|
private |
Definition at line 72 of file ScintillaGTK.h.
Referenced by Scintilla::ScintillaGTKAccessible::Enabled(), and WndProc().
|
private |
Definition at line 73 of file ScintillaGTK.h.
Referenced by Finalise(), GetAccessibleThis(), SetDocPointer(), and WndProc().
|
private |
Definition at line 23 of file ScintillaGTK.h.
Referenced by Init(), ModifyScrollBars(), PressThis(), and SetHorizontalScrollPos().
|
private |
Definition at line 22 of file ScintillaGTK.h.
Referenced by Init(), ModifyScrollBars(), PressThis(), and SetVerticalScrollPos().
|
staticprivate |
Definition at line 43 of file ScintillaGTK.h.
Referenced by ClassInit(), and ReceivedDrop().
|
private |
Definition at line 44 of file ScintillaGTK.h.
Referenced by ReceivedSelection(), and RequestSelection().
|
staticprivate |
Definition at line 41 of file ScintillaGTK.h.
Referenced by ClassInit(), and ReceivedSelection().
|
staticprivate |
Definition at line 42 of file ScintillaGTK.h.
Referenced by ClassInit(), and ReceivedDrop().
|
staticprivate |
Definition at line 39 of file ScintillaGTK.h.
Referenced by ClassInit(), InsertSelection(), IsStringAtom(), ReceivedSelection(), and RequestSelection().
|
staticprivate |
Definition at line 40 of file ScintillaGTK.h.
Referenced by ClassInit(), InsertSelection(), and IsStringAtom().
|
private |
Definition at line 31 of file ScintillaGTK.h.
Referenced by PressThis(), and StartDrag().
|
private |
Definition at line 32 of file ScintillaGTK.h.
Referenced by HaveMouseCapture(), and SetMouseCapture().
|
private |
Definition at line 33 of file ScintillaGTK.h.
Referenced by DragDataGet(), DragEnd(), ReceivedDrop(), and StartDrag().
|
private |
Definition at line 30 of file ScintillaGTK.h.
Referenced by PressThis(), StartDrag(), and ~ScintillaGTK().
|
private |
Definition at line 26 of file ScintillaGTK.h.
Referenced by GetClientRectangle(), and Resize().
|
private |
Definition at line 53 of file ScintillaGTK.h.
Referenced by ExposePreeditThis(), FocusInThis(), FocusOutThis(), KeyRelease(), KeyThis(), KoreanIME(), PreeditChangedInlineThis(), PreeditChangedWindowedThis(), RealizeThis(), SetCandidateWindowPos(), and UnRealizeThis().
|
private |
Definition at line 34 of file ScintillaGTK.h.
|
private |
Definition at line 54 of file ScintillaGTK.h.
Referenced by KoreanIME().
|
private |
Definition at line 59 of file ScintillaGTK.h.
Referenced by ScrollEvent().
|
private |
Definition at line 58 of file ScintillaGTK.h.
Referenced by ScrollEvent().
|
private |
Definition at line 57 of file ScintillaGTK.h.
Referenced by ScintillaGTK(), and ScrollEvent().
|
private |
Definition at line 37 of file ScintillaGTK.h.
Referenced by Init(), PrimaryClear(), SelectionClear(), and UnRealizeThis().
|
private |
Definition at line 50 of file ScintillaGTK.h.
Referenced by FocusInThis(), and RealizeThis().
|
private |
Definition at line 28 of file ScintillaGTK.h.
Referenced by ClaimSelection(), PressThis(), PrimarySelection(), SelectionGet(), and UnclaimSelection().
|
private |
Definition at line 35 of file ScintillaGTK.h.
Referenced by Motion(), MouseRelease(), PressThis(), ScintillaGTK(), and WndProc().
|
private |
Definition at line 69 of file ScintillaGTK.h.
Referenced by AbandonPaint(), ExposeTextThis(), and ModifyScrollBars().
|
private |
Definition at line 67 of file ScintillaGTK.h.
Referenced by ExposeTextThis(), and PaintContains().
|
private |
Definition at line 18 of file ScintillaGTK.h.
Referenced by NotifyChange(), NotifyFocus(), NotifyParent(), Scintilla::ScintillaGTKAccessible::PasteText(), ScintillaGTK(), and Scintilla::ScintillaGTKAccessible::~ScintillaGTKAccessible().
|
private |
Definition at line 21 of file ScintillaGTK.h.
Referenced by Dispose(), Expose(), ForAll(), Init(), MapThis(), RealizeThis(), Resize(), SizeRequest(), UnMapThis(), and UnRealizeThis().
|
private |
Definition at line 20 of file ScintillaGTK.h.
Referenced by Dispose(), Expose(), ForAll(), Init(), MapThis(), RealizeThis(), Resize(), SizeRequest(), UnMapThis(), and UnRealizeThis().
|
private |
Definition at line 62 of file ScintillaGTK.h.
Referenced by ScrollEvent().
|
private |
Definition at line 61 of file ScintillaGTK.h.
Referenced by ScrollEvent().
|
private |
Definition at line 71 of file ScintillaGTK.h.
Referenced by IdleWork(), QueueIdleWork(), and ~ScintillaGTK().
Definition at line 105 of file ScintillaGTK.h.
Referenced by FineTickerCancel(), FineTickerRunning(), FineTickerStart(), and Init().
|
private |
Definition at line 25 of file ScintillaGTK.h.
Referenced by GetClientRectangle(), and Resize().
|
private |
Definition at line 60 of file ScintillaGTK.h.
Referenced by ScrollEvent().
|
private |
Definition at line 51 of file ScintillaGTK.h.
Referenced by FocusInThis(), FocusOutThis(), Init(), PreeditChangedWindowedThis(), RealizeThis(), UnRealizeThis(), and ~ScintillaGTK().
|
private |
Definition at line 52 of file ScintillaGTK.h.
Referenced by Init(), PreeditChangedWindowedThis(), RealizeThis(), and UnRealizeThis().
|
private |
Definition at line 24 of file ScintillaGTK.h.
Referenced by ClaimSelection(), OwnPrimarySelection(), RealizeThis(), and UnRealizeThis().
|
private |
Definition at line 19 of file ScintillaGTK.h.
Referenced by DisplayCursor(), ExposePreeditThis(), ExposeTextThis(), ForAll(), FullPaint(), Init(), MapThis(), PreeditChangedWindowedThis(), RealizeThis(), Resize(), ScrollText(), UnMapThis(), and UnRealizeThis().