X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82434104d567dc8016f74843aa38bb131fb5b116..19e30148e18cc99296b26503c155e5cef59045f4:/include/wx/x11/textctrl.h diff --git a/include/wx/x11/textctrl.h b/include/wx/x11/textctrl.h index 894ae98c88..37348e0cdd 100644 --- a/include/wx/x11/textctrl.h +++ b/include/wx/x11/textctrl.h @@ -210,6 +210,8 @@ public: virtual bool ScrollPages(int pages); // not part of the wxTextCtrl API from now on.. + + void SetLanguage( wxSourceLanguage lang = wxSOURCE_LANG_NONE ); void Delete(); void DeleteLine(); @@ -238,12 +240,17 @@ public: void DoReturn(); void DoDClick(); - wxString GetNextToken( wxString &line, int &pos ); + wxString GetNextToken( wxString &line, size_t &pos ); + + void DrawLinePart( wxDC &dc, int x, int y, const wxString &toDraw, const wxString &origin, const wxColour &colour); void DrawLine( wxDC &dc, int x, int y, const wxString &line, int lineNum ); void OnPaint( wxPaintEvent &event ); + void OnEraseBackground( wxEraseEvent &event ); void OnMouse( wxMouseEvent &event ); void OnChar( wxKeyEvent &event ); void OnIdle( wxIdleEvent &event ); + void OnSetFocus( wxFocusEvent& event ); + void OnKillFocus( wxFocusEvent& event ); void RefreshLine( int n ); void RefreshDown( int n );