X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4175e95227c9a88e4a32dbf1e9caa1a8d84fed47..36d9119341753b2f6f606571702a9b906050a07c:/include/wx/x11/textctrl.h diff --git a/include/wx/x11/textctrl.h b/include/wx/x11/textctrl.h index 515a2f2c9d..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(); @@ -226,6 +228,9 @@ public: bool OverwriteMode() { return m_overwrite; } // implementation from now on... + + int PosToPixel( int line, int pos ); + int PixelToPos( int line, int pixel ); void SearchForBrackets(); @@ -235,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 );