https://github.com/jrincayc/ucblogo-code
Revision aace945f86ca73ba7ee90e061d55f1cc3dcdca0b authored by Dan Malec on 21 December 2020, 23:44:04 UTC, committed by Dan Malec on 21 December 2020, 23:44:04 UTC
* Linux - use package manager wxWidgets instead of building a static version * Windows - fixed git id build by changing repo clone depth * Windows - removed -static flag and added libwinpthread-1.dll to distro
1 parent 2234044
Tip revision: aace945f86ca73ba7ee90e061d55f1cc3dcdca0b authored by Dan Malec on 21 December 2020, 23:44:04 UTC
CD workflow - code review feedback.
CD workflow - code review feedback.
Tip revision: aace945
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);
void SetThisFont(wxCommandEvent&);
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()
};
Computing file changes ...