X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4bdd8225acb8d4421cdfaf8f8dd2fe7806284bb..19f87dbe255b5e85236547bfb4e20ad310644373:/include/wx/stc/stc.h?ds=inline diff --git a/include/wx/stc/stc.h b/include/wx/stc/stc.h index f7600b9dd6..091c57ced4 100644 --- a/include/wx/stc/stc.h +++ b/include/wx/stc/stc.h @@ -4495,6 +4495,9 @@ public: // Returns the current UseAntiAliasing setting. bool GetUseAntiAliasing(); + // Clear annotations from the given line. + void AnnotationClearLine(int line); + // The following methods are nearly equivalent to their similarly named @@ -4543,7 +4546,11 @@ public: // implement wxTextEntryBase pure virtual methods // ---------------------------------------------- - virtual void WriteText(const wxString& text) { AddText(text); } + virtual void WriteText(const wxString& text) + { + ReplaceSelection(text); + } + virtual void Remove(long from, long to) { Replace(from, to, ""); @@ -4587,6 +4594,11 @@ public: } } + virtual void SelectNone() + { + ClearSelections(); + } + #ifdef SWIG void GetSelection(long* OUTPUT, long* OUTPUT) const; #else @@ -4698,6 +4710,7 @@ public: static wxVersionInfo GetLibraryVersionInfo(); protected: + virtual void DoSetValue(const wxString& value, int flags); virtual wxString DoGetValue() const { return GetText(); } virtual wxWindow *GetEditableWindow() { return this; }