#ifndef TYROEDIT_PANE_H #define TYROEDIT_PANE_H #include "../wx_common.h" #include #include "../../include/json/json.h" class EditPane: public wxStyledTextCtrl { public: EditPane( wxWindow *parent, wxWindowID id = wxID_ANY, const wxPoint &post = wxDefaultPosition, const wxSize &size = wxDefaultSize, long style = #ifndef __WXMAC__ wxSUNKEN_BORDER | #endif wxVSCROLL ); ~EditPane(); bool LoadAndHighlight(wxString filePath); private: StringConstMap lexer_map; StringConstMap::iterator lexer_map_it; }; #endif // TYRODOC_FRAME_H