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();
bool OverwriteMode() { return m_overwrite; }
// implementation from now on...
+
+ int PosToPixel( int line, int pos );
+ int PixelToPos( int line, int pixel );
void SearchForBrackets();
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 );