https://github.com/jrincayc/ucblogo-code
Raw File
Tip revision: 2320edc933b15df745fbea732b33e41825514763 authored by Joshua Cogliati on 18 August 2021, 02:28 UTC
Merge pull request #114 from dmalec/UPDATE-PACKAGES-ON-LINUX-ACTIONS
Tip revision: 2320edc
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()
		
};
back to top