|
Public Member Functions |
| | MonkeyFishFrame (const wxString &title, const wxPoint &pos, const wxSize &pos, const wxString &resPath) |
| | The main frame of the application.
|
| | ~MonkeyFishFrame () |
| | Clean up.
|
| void | onFileNew (wxCommandEvent &evt) |
| | User wants a new file.
|
| void | doFileNew (const wxString &text=wxT("")) |
| void | onFileOpen (wxCommandEvent &evt) |
| | User wants to open a file.
|
| void | onRecentFileOpen (wxCommandEvent &evt) |
| | User want a file they have already been with.
|
| bool | doFileOpen (const wxString &fname) |
| | Tries to open a file, read in the contents and create a new editor page in the notebook.
|
| void | onFileSave (wxCommandEvent &evt) |
| | User wants to save the file.
|
| int | doFileSave () |
| | Write the buffer to disk.
|
| bool | doFileSaveAll () |
| | Save all open files if needed.
|
| void | onFileSaveAs (wxCommandEvent &evt) |
| | User wants to save the file as some name.
|
| int | doFileSaveAs (const wxString &fname=wxEmptyString) |
| | Save the file as fname.
|
| void | onFileClose (wxCommandEvent &evt) |
| | User wants to close a buffer.
|
| int | doFileClose (bool asksave=true) |
| | Close the buffer.
|
| void | onFileReload (wxCommandEvent &evt) |
| | User reloaed file from disk.
|
| void | onPreferences (wxCommandEvent &event) |
| | User wants to set up preferences.
|
| void | onQuit (wxCommandEvent &event) |
| | User wants to bail.
|
| void | onUndo (wxCommandEvent &event) |
| | User changes mind.
|
| void | onRedo (wxCommandEvent &event) |
| | User changes mind about changing mind.
|
| void | onCut (wxCommandEvent &event) |
| | User chopped out some text.
|
| void | onCopy (wxCommandEvent &event) |
| | User copied some text.
|
| void | onPaste (wxCommandEvent &event) |
| | User pasted some text.
|
| void | onFind (wxCommandEvent &event) |
| | User wants to find something.
|
| void | onFindBrace (wxCommandEvent &event) |
| | Find the closing brace.
|
| void | onAutoComplete (wxCommandEvent &evt) |
| | User called auto complete.
|
| void | onCallTip (wxCommandEvent &evt) |
| | User asked for call tip.
|
| void | onLoadCallTips (wxCommandEvent &evt) |
| | Load call tips from a file.
|
| void | onToggleSidebar (wxCommandEvent &evt) |
| | Show/hide the sidebar window.
|
| void | onToggleOutput (wxCommandEvent &evt) |
| | Show/hide the output window.
|
| void | onToggleAutoIndent (wxCommandEvent &evt) |
| | Toggle autoindent in the current editor.
|
| void | onToggleViewEOL (wxCommandEvent &evt) |
| void | onToggleEmacsMode (wxCommandEvent &evt) |
| void | onExecute (wxCommandEvent &evt) |
| | User wants to execute some os command.
|
| void | onExecuteLast (wxCommandEvent &evt) |
| | User wants to re-execute thier last os command.
|
| void | doExecute (const wxString &cmd) |
| | Execute an os command.
|
| void | onExecuteSelection (wxCommandEvent &evt) |
| | Execute the current selection as a lua command.
|
| void | onRebuildToolsMenu (wxCommandEvent &evt) |
| | Rebuild the tools menu from the found scripts.
|
| void | onScriptOpen (wxCommandEvent &evt) |
| | User wants to edit a script file.
|
| void | onExecuteLua (wxCommandEvent &evt) |
| | This is called from the dynamic menu built under tools.
|
| void | onInsertColor (wxCommandEvent &evt) |
| | Insert a hex color into the doc.
|
| void | onProjOpen (wxCommandEvent &evt) |
| void | onProjSave (wxCommandEvent &evt) |
| void | onProjSaveAs (wxCommandEvent &evt) |
| void | onProjBuild (wxCommandEvent &evt) |
| void | onProjDebug (wxCommandEvent &evt) |
| void | onProjExecute (wxCommandEvent &evt) |
| void | onHelp (wxCommandEvent &evt) |
| | User wants Dr.
|
| void | onAbout (wxCommandEvent &event) |
| | User wants to know what its all about.
|
| void | onSysInfo (wxCommandEvent &evt) |
| void | onPlayMacro (wxCommandEvent &evt) |
| void | onNotebook (wxFlatNotebookEvent &evt) |
| | Called by the notebook when the user changes tabs.
|
| void | onPageClosing (wxFlatNotebookEvent &evt) |
| | Called by the notebook when the user closes a tab.
|
| void | onEditorChanged (wxStyledTextEvent &evt) |
| | Called by the editor when something changes with it so we can update various indicators.
|
| void | doFind (wxFindDialogEvent &event) |
| | Called by frDlg to actually perform the find/replace.
|
| void | onIndentBlock (wxCommandEvent &evt) |
| | Indent a block of text.
|
| void | onClose (wxCloseEvent &evt) |
| const wxString & | getResourcePath () |
| bool | execScript (wxString scriptName, bool showError=true) |
| | Execute a lua script.
|
| int | message (const wxString &msg) |
| | Pop up a message box.
|
| int | error (const wxString &msg) |
| | Pop up an error message box.
|
| int | find (wxString str, int flags) |
| | This actually does the looking.
|
| int | replace (wxString str, wxString repl, int flags) |
| | Perform one find/replace on the text.
|
| void | quit () |
| | Leave the program, save config info.
|
| void | setAppState () |
| | Set the condition of the app.
|
| void | gotoLine (int lineno) |
| void | debug (wxString text) |
| | The quick and the dirty debug.
|
| void | buildToolsMenu (wxMenu *menu, wxString dir, int *id) |
| | Build a menu for the Tools menu from the script/tools directory tree.
|
| wxString | menuPath (int id) |
| void | addFileToHistory (const wxString &fname) |
| void | setAccelTable () |
Protected Member Functions |
| bool | readfile (wxString fname, wxString *text) |
| | Read a file from disk and put it into text string.
|
| bool | writefile (wxString fname, wxString *text) |
| | Write the text in text to a file.
|
| void | setDefaults () |
| | Set up some reasonable defaults if thie is the first time the app has run.
|
Protected Attributes |
| wxSplitterWindow * | splitter |
| | the vertical split
|
| wxSplitterWindow * | sp2 |
| | the horizontal split
|
| wxFlatNotebook * | notebook |
| | the editor notebook
|
| editorctrl * | editor |
| | the current editor
|
| sidebar * | sbar |
| | the sidebar
|
| wxStatusBar * | statusbar |
| | the status area
|
| wxFindReplaceData * | finddata |
| | find/replace data
|
| wxFindReplaceDialog * | frDlg |
| | find/replace dialog box
|
| config * | conf |
| | the config object
|
| lua * | m_lua |
| | the lua intpreter
|
| processpanel * | output |
| | the output window for exec and lua
|
| int | m_frstartpos |
| | find/repl start position
|
| wxString | scriptDir |
| | where scripts are stored
|
| wxString | toolsDir |
| | where scripts are stored for tools menu
|
| int | sashpos |
| | loc of the vert split
|
| int | sash2pos |
| | loc of the hor split
|
| wxFileHistory * | fileHistory |
| wxHtmlHelpController * | help |
| wxArrayString * | tips |
| | call tips array
|
| wxString | resourcePath |
| | where our resources are stored
|
| bool | emacsMode |
| | emacs key bindings
|
Friends |
| class | lua |
| class | prefsdlg |
| class | editorctrl |
| class | projecttree |