Revision 3cb5824505efac7a83b0e9efa36b879008c34fd7 authored by chou86_e on 18 August 2008, 04:08:27 UTC, committed by chou86_e on 18 August 2008, 04:08:27 UTC
git-svn-id: https://svn.code.sf.net/p/ucblogo/code@168 fc4ef4ee-df3e-0410-84de-fb01f5d6c4f7
1 parent c696407
TextEditor.h
#include <wx/fdrepdlg.h>
class TextEditor : public wxTextCtrl{
public:
TextEditor(wxWindow* const, int, wxString, const wxPoint&, const wxSize&, int, wxFont font);
void OnSave();
void OnFind();
void OnFindNext();
void DoPaste();
void DoCopy();
void DoCut();
void DoPrint();
void OnCloseAccept();
void OnCloseReject();
bool Load(const wxString& filename);
void SetFont(wxFont font);
int stateFlag;
int doSave;
private:
wxFindReplaceDialog *findDlg;
wxFindReplaceData *findData;
wxString *prevFind;
wxFont font;
void OnCloseEvent(wxCloseEvent& event);
void OnFindDialog(wxFindDialogEvent& event);
void Close();
int Find (const wxString & sSearch, int start);
wxString file;
DECLARE_EVENT_TABLE()
};
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...