NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
NumeReWindow Class Reference

This class is the actual NumeRe main frame. The application's logic is implemented here. More...

#include <NumeReWindow.h>

Inheritance diagram for NumeReWindow:
Collaboration diagram for NumeReWindow:

Public Member Functions

 NumeReWindow (const wxString &title, const wxPoint &pos, const wxSize &size)
 
 ~NumeReWindow ()
 
void SetIntVar (int variableName, int value)
 
int GetIntVar (int variableName)
 
void NewFile (FileFilterType _filetype=FILE_NONSOURCE, const wxString &defaultfilename="")
 
void ShowRevision (const wxString &revisionName, const wxString &revisionContent)
 This member function creates a new editor page and copies the passed revision contents to this page. More...
 
void DefaultPage ()
 This member function creates a new editor page and copies the contents of the default page template to this page. More...
 
void OpenFileByType (const wxFileName &filename)
 This member function opens the file with the passed name in the corresponding widget (either editor, ImageViewer or externally). More...
 
void OpenFilesFromList (const wxArrayString &filenameslist)
 This member function opens a list of files depending on their type in the correct widget. More...
 
void OpenSourceFile (wxArrayString fnames, unsigned int nLine=0, int nOpenFileFlag=OPENFILE_NOTHING)
 Opens the given list of source files in the editor. More...
 
void openImage (wxFileName filename)
 This member function opens the selected image in the image viewer window. More...
 
void openPDF (wxFileName filename)
 This member function opens a PDF document using the windows shell. More...
 
bool ShowHelp (const wxString &sDocId)
 This member function displays the help page for the selected documentation ID. More...
 
void openHTML (wxString HTMLcontent)
 This member function opens a HTML document (a documentation article) in the documentation viewer. More...
 
void openTable (NumeRe::Container< std::string > _stringTable, const std::string &tableDisplayName, const std::string &sIntName)
 This member function displays the contents of the "string()" table or a cluster. More...
 
void openTable (NumeRe::Table _table, const std::string &tableDisplayName, const std::string &sIntName)
 This member function displays the contents of a usual table. More...
 
void editTable (NumeRe::Container< std::string > _stringTable, const std::string &tableDisplayName)
 This member function displays the contents of the "string()" table or a cluster and enables editing its contents. More...
 
void editTable (NumeRe::Table _table, const std::string &tableDisplayName)
 This member function displays the contents of a usual table and enables editing its contents. More...
 
void showTable (const wxString &tableName, const wxString &tableDisplayName)
 This member function is a wrapper for an event handler of the variable viewer to display the contents of the selected item. More...
 
void showWindow (NumeRe::Window &window)
 This public member function handles the creation of windows requested by the kernel. More...
 
void pass_command (const wxString &command, bool isEvent=false)
 This member function is a wrapper for the corresponding terminal function to pass a command to the kernel. More...
 
void evaluateDebugInfo (const std::vector< std::string > &vDebugInfo)
 This function will pass the obtained debugging information to the debug viewer. If this object does not yet exist, it will be created on-the-fly. More...
 
void createLaTeXFile ()
 This member function uses the parsed contents from the current editor to create a new LaTeX file from them. More...
 
void runLaTeX ()
 This member function creates the LaTeX documentation files and uses the Windows shell to run the XeLaTeX compiler. More...
 
void compileLaTeX ()
 This function runs the XeLaTeX compiler on the TeX source in the current editor (if it is a TeX source). More...
 
void refreshFunctionTree ()
 This member function is a simple wrapper for refreshing the contents of the function tree. More...
 
NumeReEditorGetCurrentEditor ()
 Public access method for accessing the currently viewed editor. Does only return a pointer to the top or left editor and shall not be used to modify settings. More...
 
void PassImageList (wxImageList *imagelist)
 
void updateTipAtStartupSetting (bool bTipAtStartup)
 This function can be used to deactivate the "Tip of the day" functionality directly from the dialog. More...
 
void EvaluateOptions ()
 
void EvaluateCommandLine (wxArrayString &wxArgV)
 This member function evaluates the command line passed to this application at startup and evaluates, what to do with the passed arguments. More...
 
wxString getProgramFolder ()
 This member function returns the application's root path. More...
 
void AddToHistory (const wxString &sCommand)
 This function is a wrapper for the corresponding function from the history widget and stores the passed string in the history file. More...
 
wxString GetDocContent (wxString docid)
 This member function returns the HTML string containing the documentation for the selected topic/doc id. More...
 
std::vector< std::string > GetDocIndex ()
 This member function returns the documentation index as a vector. More...
 
void forceHistoryPageDown ()
 This member function is a simple helper to force that the history displays the last line at start-up. More...
 
NumeReTerminalgetTerminal ()
 
std::vector< std::string > getPathDefs ()
 This member function returns the standard path definitions as a vector. More...
 
void addToReloadBlackList (const wxString &sFilename)
 This member function adds the passed file name to the list of files, which shall not be reloaded automatically, if a file is changed from the outside. More...
 
void removeFromReloadBlackList (const wxString &sFilename)
 This member function removes the passed file name from the list of files, which shall not be reloaded automatically. More...
 
bool isOnReloadBlackList (wxString sFilename)
 This member function returns true, if the passed file name is currently part of the list of files, which shall not be reloaded automatically. More...
 
bool GetFileContents (wxString fileToLoad, wxString &fileContents, wxString &fileName)
 
wxTreeItemId getDragDropSourceItem ()
 This member function gets the drag-drop source item, if the source was the file tree. More...
 
wxString getTreePath (const wxTreeItemId &itemId)
 This member function returns the paths connected to a specific file or directory in the file tree. More...
 
wxString getTreeFolderPath (const wxTreeItemId &itemId)
 This member function returns the paths connected to a specific directory in the file tree. More...
 
void Ready ()
 This member function tells NumeRe that it shall display the "ready" state to the user. More...
 
void Busy ()
 This member function tells NumeRe that it shall display the "busy" state to the user. More...
 
void OnPrintSetup ()
 This member function displays the printing page setup dialog. More...
 
wxRect DeterminePrintSize ()
 
OptionsgetOptions ()
 
void FindAndOpenProcedure (const wxString &procedureName)
 Wrapper for the corresponding function of the editor. More...
 
void UpdateLocationIfOpen (const wxFileName &fname, const wxFileName &newFName)
 Updates the editor's and notebook's filename location, if it already opened and not modified. More...
 
void reloadFileIfOpen (const wxString &fname, bool force=false)
 Reloads a file if it is open in any editor. More...
 
void registerWindow (wxWindow *window, WindowType type)
 Registers a new window in the internal map. More...
 
void unregisterWindow (wxWindow *window)
 Removes the passed window form the internal window list (only if it exists). More...
 
void closeWindows (WindowType type=WT_ALL)
 Close all windows of the selected WindowType or simply use WT_ALL to close all terminal-closable floating windows at once. More...
 
wxIcon getStandardIcon ()
 This public member function returns the default icon usable by different windows. More...
 
void notifyInstallationDone ()
 Notifies all instances of the PackagRepoBrowser to refresh its internal list of installed packages and refreshes the package menu. More...
 

Public Attributes

MyTipProvidertipProvider
 
bool showTipAtStartup
 
std::string m_UnrecoverableFiles
 

Private Member Functions

void InitializeProgramOptions ()
 This member function loads the configuration file available for the graphical user interface. More...
 
void prepareSession ()
 This member function recreates the last session by reading the session file or creates a new empty session, if the corresponding setting was set to false. More...
 
int CopyEditorSettings (FileFilterType _fileType)
 This member function returns the settings from the current editor for the passed FileFilterType. More...
 
void OnMenuEvent (wxCommandEvent &event)
 
void OnPluginMenuEvent (wxCommandEvent &event)
 Handles events, which originate from package menu (i.e. graphical plugins). More...
 
void OnAskForNewFile ()
 This member function catches the new file toolbar button and asks the user for a specific file type. More...
 
void OnHelp ()
 This member function displays the help root page. More...
 
void OnAbout ()
 This member function displays the "About" dialog. More...
 
void OnPrintPreview ()
 This member function displays the styled text of the current editor in the print preview window. More...
 
void OnPrintPage ()
 This member function prints the styled text of the current editor. More...
 
void OnOptions ()
 This member function displays the settings dialog and performs all necessary updates, if the user confirms his changes. More...
 
void OnFindReplace (int id)
 This member function displays the find and replace dialog. More...
 
void OnCopyAsPath ()
 The member function copies the path of the selected tree item to the clipboard, so that it can be inserted in scripts and similar. More...
 
void OnOpenInExplorer ()
 This member function uses the Windows shell to open the selected folder in the Windows explorer. More...
 
void OnShowRevisions ()
 This method displays the revision dialog for the selected tree item. More...
 
void OnShowRevisionsFromTab ()
 This method displays the revision dialog for the selected tab item. More...
 
void OnTagCurrentRevision ()
 This method allows the user to tag the current active revision of a file. More...
 
void OnCreateNewFolder ()
 This member function creates a new folder below the currently selected folder. The name is supplied by the user via a text entry dialog. More...
 
void OnRemoveFolder ()
 This member function moves the selected directory directly to the Windows trash bin, if the user confirms the opened dialog. More...
 
void OnSaveSourceFile (int id)
 This member function saves the file in the current editor. More...
 
void OnOpenSourceFile (int id)
 This member function opens a file dialog to let the user choose the files to open in the editor. More...
 
void OnExecuteFile (const std::string &sFileName, int id)
 This function executes the file in the current editor. More...
 
void OnCalculateDependencies ()
 This member function runs the dependency calculating process in the procedure library. More...
 
void OnCreatePackage (const wxString &projectFile)
 This member function launches the package creator dialog and creates the install file, if the user confirms his selection. More...
 
void OnCompareFiles ()
 Event handler for comparing two files using the diff functionalities. More...
 
void OnClose (wxCloseEvent &event)
 
void Test (wxCommandEvent &event)
 
void OnUpdateSaveUI ()
 
void ToolbarStatusUpdate ()
 
void OnIdle (wxIdleEvent &event)
 
void UpdateStatusBar ()
 
void OnStatusTimer (wxTimerEvent &event)
 
void OnFileEventTimer (wxTimerEvent &event)
 This member function handles the events from the file event timer. More...
 
void OnSplitterDoubleClick (wxSplitterEvent &event)
 
void OnTreeItemRightClick (wxTreeEvent &event)
 
void OnTreeItemActivated (wxTreeEvent &event)
 
void OnTreeItemToolTip (wxTreeEvent &event)
 This member function displays the tooltip requested for the item below the mouse cursor. More...
 
void OnTreeDragDrop (wxTreeEvent &event)
 This member function prepares the data to be dragged from one of the both trees. More...
 
wxString addLinebreaks (const wxString &sLine)
 This member function adds line break characters to the passed string to stick below a line length of 70 characters. Used by the tree tooltips. More...
 
wxString getFileDetails (const wxFileName &filename)
 This member function displays extended file informations of NDAT files, if this was enabled in the settings. More...
 
void OnPageChange (wxAuiNotebookEvent &event)
 
void OnFindEvent (wxFindDialogEvent &event)
 
void OnFileSystemEvent (wxFileSystemWatcherEvent &event)
 This member function handles all events, which result from changes in the file system. More...
 
void CreateProcedureTree (const std::string &sProcedurePath)
 This member function finds every procedure in the default search path and adds them to the syntax autocompletion of the terminal. More...
 
void showGraph (NumeRe::Window &window)
 This private member function displays a graph. More...
 
void showFileDialog (NumeRe::Window &window)
 This private member function displays a file dialog. More...
 
void showDirDialog (NumeRe::Window &window)
 This private member function displays a directory dialog. More...
 
void showTextEntry (NumeRe::Window &window)
 This private member function displays a text entry dialog. More...
 
void showMessageBox (NumeRe::Window &window)
 This private member function displays a message box. More...
 
void showListDialog (NumeRe::Window &window)
 This private member function shows a list dialog. More...
 
void showSelectionDialog (NumeRe::Window &window)
 This private member function shows a selection dialog. More...
 
wxArrayString OpenFile (FileFilterType filterType)
 
bool SaveCurrentFile (bool saveas)
 Saves the current opened file. More...
 
bool SaveTab (int tab)
 Saves the file in the selected editor tab. More...
 
bool SaveAll (bool refreshLibrary)
 Saves all currently opened files to the harddisk. More...
 
void CloseFile (int pageNr=-1, bool askforsave=true)
 Closes a given editor, based on its index in the editor notebook. More...
 
bool CloseAllFiles ()
 
void CloseTab (bool force)
 
void CloseOtherTabs ()
 This member function closes all other editor tabs except of the current selected one. More...
 
void OpenContainingFolder ()
 This member function uses the Windows shell to open the containing folder of the selected tab in the Windows Explorer. More...
 
void EvaluateTab ()
 This member function executes the contents of the editor page connected to the selected tab. More...
 
void PageHasChanged (int pageNr=-1)
 
int GetPageNum (wxFileName fn, bool compareWholePath=true, int startingTab=0)
 
int HandleModifiedFile (int pageNr, ModifiedFileAction fileAction)
 Handle user interaction when closing or reloading an editor. More...
 
void LoadFilesToTree (wxString fromPath, FileFilterType fileType, wxTreeItemId treeid)
 This member function loads the file details to the file tree. More...
 
std::vector< std::string > getFileForInstaller (const std::string &sLayoutFileName)
 This member function obtains the contents of a file and transforms it to be used by an installer script. More...
 
wxString ConstructFilterString (FileFilterType filterType)
 
int FindString (const wxString &findString, int start_pos=-1, int flags=-1, bool highlight=TRUE)
 
int ReplaceAllStrings (const wxString &findString, const wxString &replaceString, int flags=-1)
 
void deleteFile ()
 This member function moves the selected file from the file tree directly to the Windows trash bin, if the user confirms the opened dialog. More...
 
void insertCopiedFile ()
 This member function copies the selected file in the file tree to the target location in the file tree. More...
 
void renameFile ()
 This member function renames the selected file in the file tree with a new name provided by the user in a text entry dialog. More...
 
void UpdateMenuBar ()
 
void UpdatePackageMenu ()
 Updates the package menu after an installation. More...
 
void UpdateToolbar ()
 
void UpdateTerminalNotebook ()
 
void UpdateVarViewer ()
 This member function gets the current variable list from the kernel and updates the variable viewer widget correspondingly. More...
 
void UpdateWindowTitle (const wxString &filename)
 This member function updates the application's window title using the current opened file's name. More...
 
void toggleConsole ()
 This member function toggles the bottom part of the window containing the terminal and the list view widgets. More...
 
void toggleFiletree ()
 This member function toggles the left sidebar of the window containing both trees. More...
 
void toggleHistory ()
 This member function toggles the rightmost part of the lower window section containing the history and the list view widgets. More...
 
void showConsole ()
 This member function unhides the terminal, if it was hidden before. More...
 
void gotoLine ()
 This member function opens a text entry dialog, where the user can enter the target line number, he wants to jump to. After confirming, the editor jumps to this line. More...
 
void setEditorFocus ()
 This member function focuses the editor widget. More...
 
void setViewerFocus ()
 This member function focuses the last opened ImageViewer window. More...
 
void prepareFunctionTree ()
 This member function creates the contents of the symbols tree. More...
 
std::string prepareTooltip (const std::string &sTooltiptext)
 This member function prepares the tooltip shown by the symbols tree. More...
 
wxPrintData * setDefaultPrinterSettings ()
 This member function sets the default printer settings. More...
 
int * SelectIntVar (int variableName)
 

Private Attributes

wxLogWindow * logWindow
 
EditorNotebookm_book
 
ViewerBookm_noteTerm
 
ViewerBookm_treeBook
 
NumeReHistorym_history
 
VariableViewerm_varViewer
 
ProcedureViewerm_procedureViewer
 
ViewerFramem_currentView
 
FileTreem_fileTree
 
Filewatcherm_watcher
 
TreePanelm_filePanel
 
TreePanelm_functionPanel
 
std::vector< wxString > vReloadBlackList
 
FileTreem_functionTree
 
NumeReStatusbarm_statusBar
 
ProportionalSplitterWindowm_splitEditorOutput
 
ProportionalSplitterWindowm_splitCommandHistory
 
wxSplitterWindow * m_splitProjectEditor
 
CompilerOutputPanel * m_outputPanel
 
wxTermContainerm_termContainer
 
wxTermContainerm_debugTermContainer
 
VariableWatchPanel * m_watchPanel
 
NumeReTerminalm_terminal
 
wxPanel * m_watchPanelContainer
 
wxPanel * m_container1
 
wxPanel * m_container2
 
ProportionalSplitterWindowm_watchPanelSplitter
 
OptionsDialogm_optionsDialog
 
wxTimer * m_updateTimer
 
wxTimer * m_fileEventTimer
 
wxFindReplaceData m_findData
 
wxTreeItemId m_projectFileFolders [5]
 
wxTreeItemId m_clickedTreeItem
 
wxTreeItemId m_copiedTreeItem
 
FileFilterType m_projectSelectedFolderType
 
wxTreeItemId m_dragDropSourceItem
 
Optionsm_options
 
DebugViewerm_debugViewer
 
IconManagerm_iconManager
 
int m_numPages
 
int m_currentPage
 
int m_fileNum
 
int m_clickedTabNum
 
int m_splitterPos
 
bool m_appClosing
 
bool m_sessionSaved
 
bool m_setSelection
 
bool m_remoteMode
 
bool m_appStarting
 
bool m_currentlyDebugging
 
bool m_multiRowState
 
bool m_loadingFilesDuringStartup
 
std::map< int, wxMenuItem * > m_menuItems
 
std::vector< std::pair< int, wxString > > m_modifiedFiles
 
std::map< wxWindow *, WindowTypem_openedWindows
 
std::map< size_t, std::string > m_pluginMenuMap
 
wxString m_filterNSCRFiles
 
wxString m_filterNPRCFiles
 
wxString m_filterNLYTFiles
 
wxString m_filterNumeReFiles
 
wxString m_filterExecutableFiles
 
wxString m_filterDataFiles
 
wxString m_filterImageFiles
 
wxString m_filterAllFiles
 
wxString m_filterTeXSource
 
wxString m_filterNonsource
 
wxString m_filterSupportedFiles
 
std::map< wxString, __time64_t > m_filesLastSaveTime
 
wxString m_fileToRefresh
 

Detailed Description

This class is the actual NumeRe main frame. The application's logic is implemented here.

Definition at line 176 of file NumeReWindow.h.

Constructor & Destructor Documentation

◆ NumeReWindow()

NumeReWindow::NumeReWindow ( const wxString &  title,
const wxPoint &  pos,
const wxSize &  size 
)

public constructor NumeReWindow Responsible for instantiating pretty much everything. It's all initialized here.

Parameters
titleconst wxString & The main window title
posconst wxPoint & Where on the screen to create the window
sizeconst wxSize & How big the window should be
Returns
void
Author
Mark Erikson
Date
04-22-2004

Interesting Bug: obviously it is necessary to declare the paper size first

Definition at line 480 of file NumeReWindow.cpp.

References _guilang, SettingsValue::active(), NumeRe::DataBase::addData(), TreePanel::AddWindows(), NumeReDropTarget::CONSOLE, GenericTerminal::CURSORINVISIBLE, DetachedLogger::debug(), EvaluateOptions(), fileExists(), NumeReDropTarget::FILETREE, g_findReplace, g_logger, g_printData, Language::get(), NumeRe::DataBase::getColumn(), EditorNotebook::getCurrentEditor(), IconManager::GetIconIndex(), IconManager::GetImageList(), getProgramFolder(), Settings::getSetting(), getStandardIcon(), GenericTerminal::getSyntax(), NumeReTerminal::getTextHeight(), ID_CONTAINER_TERM, ID_FILEEVENTTIMER, ID_FUNCTIONTREE, ID_NOTEBOOK_ED, ID_OPTIONSDIALOG, ID_PROJECTTREE, ID_SPLITEDITOROUTPUT, ID_SPLITPROJECTEDITOR, ID_STATUSTIMER, ID_TERMINAL, DetachedLogger::info(), InitializeProgramOptions(), Language::loadStrings(), logWindow, m_appClosing, m_appStarting, m_book, m_copiedTreeItem, m_currentPage, m_currentView, m_debugViewer, m_fileEventTimer, m_fileNum, m_filePanel, m_fileTree, m_filterAllFiles, m_filterDataFiles, m_filterExecutableFiles, m_filterImageFiles, m_filterNLYTFiles, m_filterNonsource, m_filterNPRCFiles, m_filterNSCRFiles, m_filterNumeReFiles, m_filterSupportedFiles, m_filterTeXSource, m_functionPanel, m_functionTree, m_history, m_iconManager, m_loadingFilesDuringStartup, m_multiRowState, m_noteTerm, m_options, m_optionsDialog, m_procedureViewer, m_projectFileFolders, m_remoteMode, m_sessionSaved, m_setSelection, m_splitCommandHistory, m_splitEditorOutput, m_splitProjectEditor, m_statusBar, m_termContainer, m_terminal, m_treeBook, m_UnrecoverableFiles, m_updateTimer, m_varViewer, m_watcher, OnFileSystemEvent(), PageHasChanged(), prepareFunctionTree(), prepareSession(), GenericTerminal::set_mode_flag(), ProportionalSplitterWindow::SetCharHeigth(), ProcedureViewer::setCurrentEditor(), setDefaultPrinterSettings(), NumeReTerminal::SetParent(), ProportionalSplitterWindow::SetSashPositionFloat(), wxTermContainer::SetTerminal(), SETTING_B_SAVESASHS, SETTING_V_POS_SASH_H, SETTING_V_POS_SASH_T, SETTING_V_POS_SASH_V, FileSystem::setTokens(), EditorNotebook::SetTopParent(), Settings::showHints(), showTipAtStartup, tipProvider, UpdateMenuBar(), UpdateTerminalNotebook(), Settings::useCustomLangFiles(), FileSystem::ValidFileName(), and SettingsValue::value().

Here is the call graph for this function:

◆ ~NumeReWindow()

NumeReWindow::~NumeReWindow ( )

public destructor ~NumeReWindow Responsible for cleaning up almost everything.

Returns
void
Author
Mark Erikson
Date
04-23-2004

Definition at line 702 of file NumeReWindow.cpp.

References g_findReplace, g_pageSetupData, g_printData, m_fileEventTimer, m_iconManager, m_options, m_optionsDialog, m_updateTimer, and m_watcher.

Member Function Documentation

◆ addLinebreaks()

wxString NumeReWindow::addLinebreaks ( const wxString &  sLine)
private

This member function adds line break characters to the passed string to stick below a line length of 70 characters. Used by the tree tooltips.

Parameters
sLineconst wxString&
Returns
wxString

Definition at line 6367 of file NumeReWindow.cpp.

Referenced by OnTreeItemToolTip().

◆ AddToHistory()

void NumeReWindow::AddToHistory ( const wxString &  sCommand)

This function is a wrapper for the corresponding function from the history widget and stores the passed string in the history file.

Parameters
sCommandconst wxString&
Returns
void

Definition at line 780 of file NumeReWindow.cpp.

References NumeReHistory::AddToHistory(), and m_history.

Referenced by NumeReTerminal::pass_command(), and NumeReTerminal::pipe_command().

Here is the call graph for this function:

◆ addToReloadBlackList()

void NumeReWindow::addToReloadBlackList ( const wxString &  sFilename)

This member function adds the passed file name to the list of files, which shall not be reloaded automatically, if a file is changed from the outside.

Parameters
sFilenameconst wxString&
Returns
void

Definition at line 851 of file NumeReWindow.cpp.

References vReloadBlackList.

Referenced by OpenSourceFile().

◆ Busy()

void NumeReWindow::Busy ( )

This member function tells NumeRe that it shall display the "busy" state to the user.

Returns
void

Definition at line 4246 of file NumeReWindow.cpp.

References NumeReStatusbar::Busy(), ID_MENU_EXECUTE, ID_MENU_STOP_EXECUTION, and m_statusBar.

Referenced by NumeReTerminal::Busy().

Here is the call graph for this function:

◆ CloseAllFiles()

bool NumeReWindow::CloseAllFiles ( )
private

private CloseAllFiles Closes all open files

Returns
void
Author
Mark Erikson
Date
04-22-2004

Definition at line 3599 of file NumeReWindow.cpp.

References CloseFile(), DetachedLogger::debug(), NumeReEditor::defaultPage, g_logger, NumeReEditor::getBookmarks(), EditorNotebook::getEditor(), NumeReEditor::GetFileNameAndPath(), getProgramFolder(), Options::GetSaveBookmarksInSession(), Options::GetSaveSession(), NumeReEditor::getSettings(), HandleModifiedFile(), DetachedLogger::info(), m_appClosing, m_book, m_options, m_sessionSaved, NumeReEditor::Modified(), MODIFIEDFILE_CLOSE, PageHasChanged(), toString(), and date::detail::trunc().

Referenced by OnClose(), and OnMenuEvent().

Here is the call graph for this function:

◆ CloseFile()

void NumeReWindow::CloseFile ( int  pageNr = -1,
bool  askforsave = true 
)
private

Closes a given editor, based on its index in the editor notebook.

Parameters
pageNrint
askforsavebool
Returns
void

Definition at line 3531 of file NumeReWindow.cpp.

References _guilang, NumeReTerminal::clearBreakpoints(), g_logger, Language::get(), EditorNotebook::getCurrentEditor(), NumeReEditor::GetFileName(), NumeReEditor::GetFileNameAndPath(), GetPageNum(), HandleModifiedFile(), DetachedLogger::info(), m_appClosing, m_book, m_fileNum, m_terminal, m_watcher, MODIFIEDFILE_CLOSE, PageHasChanged(), Filewatcher::Remove(), and NumeReEditor::ResetEditor().

Referenced by CloseAllFiles(), CloseOtherTabs(), CloseTab(), and OnMenuEvent().

Here is the call graph for this function:

◆ CloseOtherTabs()

void NumeReWindow::CloseOtherTabs ( )
private

This member function closes all other editor tabs except of the current selected one.

Returns
void

Definition at line 3460 of file NumeReWindow.cpp.

References CloseFile(), GetIntVar(), m_book, and VN_CLICKEDTAB.

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ CloseTab()

void NumeReWindow::CloseTab ( bool  force)
private

private CloseTab Closes a tab after the user right-clicks it and selects "Close"

Parameters
forcebool
Returns
void
Author
Mark Erikson
Date
04-22-2004

Definition at line 3444 of file NumeReWindow.cpp.

References CloseFile(), GetIntVar(), m_book, and VN_CLICKEDTAB.

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ closeWindows()

void NumeReWindow::closeWindows ( WindowType  type = WT_ALL)

Close all windows of the selected WindowType or simply use WT_ALL to close all terminal-closable floating windows at once.

Parameters
typeWindowType
Returns
void

Definition at line 6829 of file NumeReWindow.cpp.

References m_openedWindows, and WT_ALL.

Referenced by OnClose(), and NumeReTerminal::OnThreadUpdate().

◆ compileLaTeX()

void NumeReWindow::compileLaTeX ( )

This function runs the XeLaTeX compiler on the TeX source in the current editor (if it is a TeX source).

Returns
void

Definition at line 2638 of file NumeReWindow.cpp.

References _guilang, FILE_TEXSOURCE, fileExists(), Language::get(), EditorNotebook::getCurrentEditor(), NumeReEditor::GetFileName(), NumeReEditor::getFileType(), Options::GetLaTeXRoot(), m_book, and m_options.

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ ConstructFilterString()

wxString NumeReWindow::ConstructFilterString ( FileFilterType  filterType)
private

private ConstructFilterString Puts together the filter that defines what files are shown in a file dialog

Parameters
filterTypeFileFilterType The type of filter to construct
Returns
wxString The constructed filter string
Author
Mark Erikson
Date
04-22-2004

Definition at line 4532 of file NumeReWindow.cpp.

References FILE_ALLFILES, FILE_ALLSOURCETYPES, FILE_DATAFILES, FILE_IMAGEFILES, FILE_NONSOURCE, FILE_NPRC, FILE_NSCR, FILE_NUMERE, FILE_SUPPORTEDFILES, FILE_TEXSOURCE, m_filterAllFiles, m_filterDataFiles, m_filterExecutableFiles, m_filterImageFiles, m_filterNLYTFiles, m_filterNonsource, m_filterNPRCFiles, m_filterNSCRFiles, m_filterNumeReFiles, m_filterSupportedFiles, and m_filterTeXSource.

Referenced by OpenFile(), and SaveCurrentFile().

◆ CopyEditorSettings()

int NumeReWindow::CopyEditorSettings ( FileFilterType  _fileType)
private

This member function returns the settings from the current editor for the passed FileFilterType.

Parameters
_fileTypeFileFilterType
Returns
int

Definition at line 3286 of file NumeReWindow.cpp.

References FILE_MATLAB, FILE_NPRC, FILE_NSCR, FILE_PLUGIN, FILE_XML, EditorNotebook::getCurrentEditor(), NumeReEditor::getSettings(), m_book, m_loadingFilesDuringStartup, NumeReEditor::SETTING_INDENTONTYPE, NumeReEditor::SETTING_USEANALYZER, and NumeReEditor::SETTING_USETXTADV.

Referenced by NewFile(), and OpenSourceFile().

Here is the call graph for this function:

◆ createLaTeXFile()

void NumeReWindow::createLaTeXFile ( )

This member function uses the parsed contents from the current editor to create a new LaTeX file from them.

Returns
void

Definition at line 2581 of file NumeReWindow.cpp.

References _guilang, DocumentationGenerator::createDocumentation(), Language::get(), EditorNotebook::getCurrentEditor(), NumeReEditor::GetFileNameAndPath(), NumeReTerminal::getPathSettings(), GenericTerminal::getSyntax(), m_book, m_terminal, and SAVEPATH.

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ CreateProcedureTree()

void NumeReWindow::CreateProcedureTree ( const std::string &  sProcedurePath)
private

This member function finds every procedure in the default search path and adds them to the syntax autocompletion of the terminal.

Parameters
sProcedurePathconst std::string&
Returns
void

Definition at line 2006 of file NumeReWindow.cpp.

References getFileList(), getFolderList(), NumeReTerminal::getKernelSettings(), GenericTerminal::getSyntax(), m_terminal, and NumeReSyntax::setProcedureTree().

Referenced by EvaluateOptions(), OnFileEventTimer(), and SaveAll().

Here is the call graph for this function:

◆ DefaultPage()

void NumeReWindow::DefaultPage ( )

This member function creates a new editor page and copies the contents of the default page template to this page.

Returns
void

Definition at line 3321 of file NumeReWindow.cpp.

References _guilang, EditorNotebook::createEditor(), NumeReEditor::defaultPage, NumeReDropTarget::EDITOR, Language::get(), GetFileContents(), getProgramFolder(), NumeReEditor::LoadFileText(), m_book, m_currentPage, m_fileNum, m_options, NumeReEditor::SETTING_USETXTADV, NumeReEditor::ToggleSettings(), and Settings::useCustomLangFiles().

Referenced by NewFile().

Here is the call graph for this function:

◆ deleteFile()

void NumeReWindow::deleteFile ( )
private

This member function moves the selected file from the file tree directly to the Windows trash bin, if the user confirms the opened dialog.

Returns
void

Definition at line 2669 of file NumeReWindow.cpp.

References _guilang, FileNameTreeData::filename, Language::get(), m_clickedTreeItem, m_copiedTreeItem, m_fileTree, and Recycler::recycle().

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ DeterminePrintSize()

wxRect NumeReWindow::DeterminePrintSize ( )

private DeterminePrintSize Returns an appropriate size for printing

Returns
wxRect The dimensions of the print area
Author
Mark Erikson
Date
04-22-2004

Definition at line 6669 of file NumeReWindow.cpp.

Referenced by OnPrintPreview(), and HelpViewer::Print().

◆ editTable() [1/2]

void NumeReWindow::editTable ( NumeRe::Container< std::string >  _stringTable,
const std::string &  tableDisplayName 
)

This member function displays the contents of the "string()" table or a cluster and enables editing its contents.

Parameters
_stringTableNumeRe::Container<std::string>
tableDisplayNameconst std::string&
Returns
void

Definition at line 2201 of file NumeReWindow.cpp.

References _guilang, Language::get(), TableViewer::GetHeight(), getStandardIcon(), TableViewer::GetWidth(), TablePanel::grid, m_terminal, max, min, TableViewer::SetData(), and TablePanel::SetTerminal().

Referenced by NumeReTerminal::OnThreadUpdate().

Here is the call graph for this function:

◆ editTable() [2/2]

void NumeReWindow::editTable ( NumeRe::Table  _table,
const std::string &  tableDisplayName 
)

This member function displays the contents of a usual table and enables editing its contents.

Parameters
_tableNumeRe::Table
tableDisplayNameconst std::string&
Returns
void

Definition at line 2225 of file NumeReWindow.cpp.

References _guilang, Language::get(), TableViewer::GetHeight(), getStandardIcon(), TableViewer::GetWidth(), TablePanel::grid, m_terminal, max, min, TableViewer::SetData(), and TablePanel::SetTerminal().

Here is the call graph for this function:

◆ EvaluateCommandLine()

void NumeReWindow::EvaluateCommandLine ( wxArrayString &  wxArgV)

This member function evaluates the command line passed to this application at startup and evaluates, what to do with the passed arguments.

Parameters
wxArgVwxArrayString&
Returns
void

Definition at line 2939 of file NumeReWindow.cpp.

References g_logger, DetachedLogger::info(), m_terminal, OnCreatePackage(), OpenSourceFile(), NumeReTerminal::pass_command(), replacePathSeparator(), and toLowerCase().

Referenced by DDE::Connection::OnDisconnect(), and MyApp::OnInit().

Here is the call graph for this function:

◆ evaluateDebugInfo()

void NumeReWindow::evaluateDebugInfo ( const std::vector< std::string > &  vDebugInfo)

This function will pass the obtained debugging information to the debug viewer. If this object does not yet exist, it will be created on-the-fly.

Parameters
vDebugInfoconst std::vector<std::string>&
Returns
void

Definition at line 2545 of file NumeReWindow.cpp.

References getStandardIcon(), m_debugViewer, m_options, m_terminal, DebugViewer::setDebugInfo(), and DebugViewer::setTerminal().

Referenced by NumeReTerminal::OnThreadUpdate().

Here is the call graph for this function:

◆ EvaluateOptions()

void NumeReWindow::EvaluateOptions ( )

◆ EvaluateTab()

void NumeReWindow::EvaluateTab ( )
private

This member function executes the contents of the editor page connected to the selected tab.

Returns
void

Definition at line 3504 of file NumeReWindow.cpp.

References EditorNotebook::getEditor(), NumeReEditor::GetFileName(), GetIntVar(), HandleModifiedFile(), NumeReEditor::HasBeenSaved(), m_book, NumeReEditor::Modified(), MODIFIEDFILE_COMPILE, OnExecuteFile(), replacePathSeparator(), and VN_CLICKEDTAB.

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ FindAndOpenProcedure()

void NumeReWindow::FindAndOpenProcedure ( const wxString &  procedureName)

Wrapper for the corresponding function of the editor.

Parameters
procedureNameconst wxString&
Returns
void

Definition at line 6692 of file NumeReWindow.cpp.

References NumeReEditor::FindAndOpenProcedure(), EditorNotebook::getFocusedEditor(), and m_book.

Referenced by DependencyDialog::OnItemActivate().

Here is the call graph for this function:

◆ FindString()

int NumeReWindow::FindString ( const wxString &  findString,
int  start_pos = -1,
int  flags = -1,
bool  highlight = TRUE 
)
private

private FindString Looks for a given string in the current editor

Parameters
findStringconst wxString & The string to find
start_posint [=-1] The offset to begin searching (-1 for the whole document)
flagsint [=-1] The selected find/replace options
highlightbool [=1] Whether or not to select the found text
Returns
int The offset of the found text
Author
Mark Erikson
Date
04-22-2004

Definition at line 6551 of file NumeReWindow.cpp.

References NumeReEditor::EnsureLineVisibility(), FindString(), EditorNotebook::getFocusedEditor(), m_book, and wxFR_WRAPAROUND.

Referenced by FindString(), OnFindEvent(), and ReplaceAllStrings().

Here is the call graph for this function:

◆ forceHistoryPageDown()

void NumeReWindow::forceHistoryPageDown ( )

This member function is a simple helper to force that the history displays the last line at start-up.

Returns
void

Definition at line 822 of file NumeReWindow.cpp.

References m_history.

Referenced by MyApp::OnInit().

◆ GetCurrentEditor()

NumeReEditor * NumeReWindow::GetCurrentEditor ( )

Public access method for accessing the currently viewed editor. Does only return a pointer to the top or left editor and shall not be used to modify settings.

Returns
NumeReEditor*

Definition at line 5797 of file NumeReWindow.cpp.

References EditorNotebook::getCurrentEditor(), and m_book.

Referenced by NumeReDropTarget::OnData(), and ToolBarSearchCtrl::selectItem().

Here is the call graph for this function:

◆ GetDocContent()

wxString NumeReWindow::GetDocContent ( wxString  docid)

This member function returns the HTML string containing the documentation for the selected topic/doc id.

Parameters
docidwxString
Returns
wxString

Definition at line 795 of file NumeReWindow.cpp.

References NumeReTerminal::getDocumentation(), and m_terminal.

Referenced by DocumentationBrowser::createNewPage(), HelpViewer::HistoryGoBack(), HelpViewer::HistoryGoForward(), HelpViewer::Print(), and HelpViewer::ShowPageOnItem().

Here is the call graph for this function:

◆ GetDocIndex()

std::vector< std::string > NumeReWindow::GetDocIndex ( )

This member function returns the documentation index as a vector.

Returns
std::vector<std::string>

Definition at line 808 of file NumeReWindow.cpp.

References NumeReTerminal::getDocIndex(), and m_terminal.

Referenced by DocumentationBrowser::fillDocTree().

Here is the call graph for this function:

◆ getDragDropSourceItem()

wxTreeItemId NumeReWindow::getDragDropSourceItem ( )

This member function gets the drag-drop source item, if the source was the file tree.

Returns
wxTreeItemId

Definition at line 4127 of file NumeReWindow.cpp.

References m_dragDropSourceItem.

Referenced by NumeReDropTarget::OnData().

◆ GetFileContents()

bool NumeReWindow::GetFileContents ( wxString  fileToLoad,
wxString &  fileContents,
wxString &  fileName 
)

private GetFileContents Gets the text of a source file. Abstracts out opening local / remote files.

Parameters
fileToLoadwxString The name of the file to open
fileContentswxString & Gets the contents of the opened file
fileNamewxString & Gets the name of the file (no path)
Returns
bool True if the open succeeded, false if it failed
Author
Mark Erikson
Date
04-22-2004

Definition at line 4098 of file NumeReWindow.cpp.

Referenced by DefaultPage(), NumeReEditor::getTemplateContent(), NewFile(), OnCreatePackage(), OpenSourceFile(), and reloadFileIfOpen().

◆ getFileDetails()

wxString NumeReWindow::getFileDetails ( const wxFileName &  filename)
private

This member function displays extended file informations of NDAT files, if this was enabled in the settings.

Parameters
filenameconst wxFileName&
Returns
wxString

Definition at line 6442 of file NumeReWindow.cpp.

References getFileInfo(), m_options, and Settings::showExtendedFileInfo().

Referenced by OnTreeItemToolTip().

Here is the call graph for this function:

◆ getFileForInstaller()

std::vector< std::string > NumeReWindow::getFileForInstaller ( const std::string &  sFileName)
private

This member function obtains the contents of a file and transforms it to be used by an installer script.

Parameters
sFileNameconst std::string&
Returns
std::vector<std::string>

Definition at line 4468 of file NumeReWindow.cpp.

References NumeReTerminal::getPathSettings(), LOADPATH, m_terminal, PATH_LAST, PLOTPATH, PROCPATH, SAVEPATH, and SCRIPTPATH.

Referenced by OnCreatePackage().

Here is the call graph for this function:

◆ GetIntVar()

int NumeReWindow::GetIntVar ( int  variableName)

public GetIntVar A "one-size-fits-all" integer Get routine, to avoid pointless duplication

Parameters
variableNameint The ID of the member variable to return
Returns
int The variable's value
Author
Mark Erikson
Date
04-22-2004

Definition at line 5007 of file NumeReWindow.cpp.

References SelectIntVar().

Referenced by CloseOtherTabs(), CloseTab(), EvaluateTab(), OnMenuEvent(), OnShowRevisionsFromTab(), and OpenContainingFolder().

Here is the call graph for this function:

◆ getOptions()

Options * NumeReWindow::getOptions ( )
inline

◆ GetPageNum()

int NumeReWindow::GetPageNum ( wxFileName  fn,
bool  compareWholePath = true,
int  startingTab = 0 
)
private

private GetPageNum Searches through the open editors to find an editor with the given name

Parameters
fnwxFileName The editor's filename to find
compareWholePathbool [=true] Compare the entire filename + path, or just the name?
startingTabint [=0] The index of the first tab to search
Returns
int The index of the located editor, or -1 if not found
Author
Mark Erikson
Date
04-22-2004

Definition at line 3675 of file NumeReWindow.cpp.

References EditorNotebook::getEditor(), NumeReEditor::GetFileName(), NumeReEditor::GetFilenameString(), and m_book.

Referenced by CloseFile(), OpenSourceFile(), and UpdateLocationIfOpen().

Here is the call graph for this function:

◆ getPathDefs()

std::vector< std::string > NumeReWindow::getPathDefs ( )

This member function returns the standard path definitions as a vector.

Returns
std::vector<std::string>

Definition at line 835 of file NumeReWindow.cpp.

References NumeReTerminal::getPathSettings(), and m_terminal.

Referenced by VersionControlSystemManager::getRevisionPath(), NumeReDropTarget::OnData(), and EditorNotebook::SetTabText().

Here is the call graph for this function:

◆ getProgramFolder()

wxString NumeReWindow::getProgramFolder ( )

◆ getStandardIcon()

wxIcon NumeReWindow::getStandardIcon ( )

This public member function returns the default icon usable by different windows.

Returns
wxIcon

Definition at line 6856 of file NumeReWindow.cpp.

References getProgramFolder().

Referenced by NumeReEditor::CreateProcedureFromSection(), editTable(), evaluateDebugInfo(), NumeReEditor::InitDuplicateCode(), NumeReWindow(), OnAskForNewFile(), openImage(), openTable(), showDirDialog(), showFileDialog(), showGraph(), showListDialog(), showSelectionDialog(), and showTextEntry().

Here is the call graph for this function:

◆ getTerminal()

NumeReTerminal * NumeReWindow::getTerminal ( )
inline

◆ getTreeFolderPath()

wxString NumeReWindow::getTreeFolderPath ( const wxTreeItemId &  itemId)

This member function returns the paths connected to a specific directory in the file tree.

Parameters
itemIdconst wxTreeItemId&
Returns
wxString

Definition at line 4180 of file NumeReWindow.cpp.

References FileNameTreeData::filename, NumeReTerminal::getPathSettings(), FileNameTreeData::isDir, m_fileTree, m_projectFileFolders, m_terminal, and PLOTPATH.

Referenced by OnCreateNewFolder(), NumeReDropTarget::OnData(), and OnOpenInExplorer().

Here is the call graph for this function:

◆ getTreePath()

wxString NumeReWindow::getTreePath ( const wxTreeItemId &  itemId)

This member function returns the paths connected to a specific file or directory in the file tree.

Parameters
itemIdconst wxTreeItemId&
Returns
wxString

Definition at line 4144 of file NumeReWindow.cpp.

References FileNameTreeData::filename, NumeReTerminal::getPathSettings(), m_fileTree, m_projectFileFolders, m_terminal, and PLOTPATH.

Referenced by OnCopyAsPath().

Here is the call graph for this function:

◆ gotoLine()

void NumeReWindow::gotoLine ( )
private

This member function opens a text entry dialog, where the user can enter the target line number, he wants to jump to. After confirming, the editor jumps to this line.

Returns
void

Definition at line 5710 of file NumeReWindow.cpp.

References _guilang, Language::get(), EditorNotebook::getFocusedEditor(), m_book, StrToInt(), and toString().

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ HandleModifiedFile()

int NumeReWindow::HandleModifiedFile ( int  pageNr,
ModifiedFileAction  fileAction 
)
private

Handle user interaction when closing or reloading an editor.

Parameters
pageNrint
fileActionModifiedFileAction
Returns
int What the user chose to do. The only real meaningful return value is wxCANCEL.

Definition at line 3735 of file NumeReWindow.cpp.

References _guilang, SettingsValue::active(), Language::get(), EditorNotebook::getCurrentEditor(), EditorNotebook::getEditor(), NumeReEditor::GetFileNameAndPath(), Settings::getSetting(), m_book, m_options, NumeReEditor::Modified(), MODIFIEDFILE_CLOSE, MODIFIEDFILE_COMPILE, MODIFIEDFILE_RELOAD, SaveCurrentFile(), selection(), and SETTING_B_AUTOSAVEEXECUTION.

Referenced by CloseAllFiles(), CloseFile(), EvaluateTab(), and OnMenuEvent().

Here is the call graph for this function:

◆ InitializeProgramOptions()

void NumeReWindow::InitializeProgramOptions ( )
private

This member function loads the configuration file available for the graphical user interface.

Returns
void

If no configuration file is available or if the config file is of an older version, default values are used.

Definition at line 920 of file NumeReWindow.cpp.

References Settings::getSettings(), m_options, m_terminal, Options::readAnalyzerOptionsFromConfig(), Options::readColoursFromConfig(), Options::SetCaretBlinkTime(), Options::SetDebuggerFocusLine(), Options::SetEditorFont(), NumeReTerminal::setKernelSettings(), Options::SetLaTeXRoot(), Options::SetPrintStyle(), Options::SetTerminalHistorySize(), SETTING_B_FOLDLOADEDFILE, SETTING_B_FORMATBEFORESAVING, SETTING_B_GLOBALVARS, SETTING_B_HIGHLIGHTLOCALS, SETTING_B_LINESINSTACK, SETTING_B_MODULESINSTACK, SETTING_B_PATHSONTABS, SETTING_B_PRINTLINENUMBERS, SETTING_B_PROCEDUREARGS, SETTING_B_SAVEBOOKMARKS, SETTING_B_SAVESESSION, SETTING_B_TOOLBARTEXT, SETTING_B_USEREVISIONS, wxSTC_PRINT_BLACKONWHITE, and wxSTC_PRINT_COLOURONWHITE.

Referenced by NumeReWindow().

Here is the call graph for this function:

◆ insertCopiedFile()

void NumeReWindow::insertCopiedFile ( )
private

This member function copies the selected file in the file tree to the target location in the file tree.

Returns
void

Definition at line 2692 of file NumeReWindow.cpp.

References _guilang, FileNameTreeData::filename, Language::get(), m_clickedTreeItem, m_copiedTreeItem, and m_fileTree.

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ isOnReloadBlackList()

bool NumeReWindow::isOnReloadBlackList ( wxString  sFilename)

This member function returns true, if the passed file name is currently part of the list of files, which shall not be reloaded automatically.

Parameters
sFilenamewxString
Returns
bool

Definition at line 895 of file NumeReWindow.cpp.

References replacePathSeparator(), and vReloadBlackList.

Referenced by OnFileEventTimer().

Here is the call graph for this function:

◆ LoadFilesToTree()

void NumeReWindow::LoadFilesToTree ( wxString  fromPath,
FileFilterType  fileType,
wxTreeItemId  treeid 
)
private

This member function loads the file details to the file tree.

Parameters
fromPathwxString
fileTypeFileFilterType
treeidwxTreeItemId
Returns
void

Definition at line 6461 of file NumeReWindow.cpp.

References g_logger, DetachedLogger::info(), m_fileTree, and m_iconManager.

Referenced by EvaluateOptions(), and OnFileEventTimer().

Here is the call graph for this function:

◆ NewFile()

◆ notifyInstallationDone()

void NumeReWindow::notifyInstallationDone ( )

Notifies all instances of the PackagRepoBrowser to refresh its internal list of installed packages and refreshes the package menu.

Returns
void

Definition at line 6871 of file NumeReWindow.cpp.

References PACKAGE_REPO_BROWSER_TITLE, and UpdatePackageMenu().

Referenced by NumeReTerminal::OnThreadUpdate().

Here is the call graph for this function:

◆ OnAbout()

void NumeReWindow::OnAbout ( )
private

This member function displays the "About" dialog.

Returns
void

Definition at line 7497 of file NumeReWindow.cpp.

References _guilang, and Language::get().

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ OnAskForNewFile()

void NumeReWindow::OnAskForNewFile ( )
private

This member function catches the new file toolbar button and asks the user for a specific file type.

Returns
void

Definition at line 7413 of file NumeReWindow.cpp.

References _guilang, FILE_NLYT, FILE_NPRC, FILE_NSCR, FILE_PLUGIN, Language::get(), getStandardIcon(), and NewFile().

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ OnCalculateDependencies()

void NumeReWindow::OnCalculateDependencies ( )
private

This member function runs the dependency calculating process in the procedure library.

Returns
void

Definition at line 7034 of file NumeReWindow.cpp.

References _guilang, SyntaxError::errorcode, FILE_NPRC, Language::get(), EditorNotebook::getCurrentEditor(), NumeReEditor::GetFileNameAndPath(), NumeReEditor::GetFilenameString(), NumeReEditor::getFileType(), SyntaxError::getIndices(), NumeReTerminal::getKernel(), NumeReKernel::getProcedureLibrary(), SyntaxError::getToken(), m_book, m_terminal, and toString().

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ OnClose()

void NumeReWindow::OnClose ( wxCloseEvent &  event)
private

◆ OnCompareFiles()

void NumeReWindow::OnCompareFiles ( )
private

Event handler for comparing two files using the diff functionalities.

Returns
void

Definition at line 7205 of file NumeReWindow.cpp.

References _guilang, compareFiles(), Language::get(), and ShowRevision().

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ OnCopyAsPath()

void NumeReWindow::OnCopyAsPath ( )
private

The member function copies the path of the selected tree item to the clipboard, so that it can be inserted in scripts and similar.

Returns
void

Definition at line 2768 of file NumeReWindow.cpp.

References getTreePath(), m_clickedTreeItem, and replacePathSeparator().

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ OnCreateNewFolder()

void NumeReWindow::OnCreateNewFolder ( )
private

This member function creates a new folder below the currently selected folder. The name is supplied by the user via a text entry dialog.

Returns
void

Definition at line 2884 of file NumeReWindow.cpp.

References _guilang, Language::get(), getTreeFolderPath(), and m_clickedTreeItem.

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ OnCreatePackage()

◆ OnExecuteFile()

void NumeReWindow::OnExecuteFile ( const std::string &  sFileName,
int  id 
)
private

This function executes the file in the current editor.

Parameters
sFileNameconst std::string&
idint
Returns
void

Definition at line 6954 of file NumeReWindow.cpp.

References SettingsValue::active(), NumeReTerminal::getPathSettings(), Settings::getSetting(), ID_MENU_OPEN_FILE_FROM_TREE_TO_TABLE, m_options, m_terminal, NumeReTerminal::pass_command(), PROCPATH, replacePathSeparator(), SaveAll(), SCRIPTPATH, SETTING_B_AUTOSAVEEXECUTION, and showConsole().

Referenced by EvaluateTab(), and OnMenuEvent().

Here is the call graph for this function:

◆ OnFileEventTimer()

void NumeReWindow::OnFileEventTimer ( wxTimerEvent &  event)
private

This member function handles the events from the file event timer.

Parameters
eventwxTimerEvent&
Returns
void

This timer is started by the file system event handler to catch a list of events before processing them (which happens here)

Definition at line 4641 of file NumeReWindow.cpp.

References CreateProcedureTree(), DetachedLogger::debug(), FILE_DATAFILES, FILE_IMAGEFILES, FILE_NPRC, FILE_NSCR, g_logger, EditorNotebook::getFocusedEditor(), Options::GetKeepBackupFile(), NumeReTerminal::getPathSettings(), VersionControlSystemManager::getRevisions(), VersionControlSystemManager::hasRevisions(), DetachedLogger::info(), isOnReloadBlackList(), LoadFilesToTree(), LOADPATH, m_book, m_filesLastSaveTime, m_fileTree, m_modifiedFiles, m_options, m_projectFileFolders, m_terminal, PATH_LAST, PROCPATH, reloadFileIfOpen(), replacePathSeparator(), selection(), toString(), and NumeReTerminal::UpdateLibrary().

Here is the call graph for this function:

◆ OnFileSystemEvent()

void NumeReWindow::OnFileSystemEvent ( wxFileSystemWatcherEvent &  event)
private

This member function handles all events, which result from changes in the file system.

Parameters
eventwxFileSystemWatcherEvent&
Returns
void

Because it is likely that multiple of them are fired, if whole folders are moved, we only cache the paths and the event types here and start a one shot timer. If this timer has ran (it will be resetted for each incoming event), the cached changes will be processed.

Definition at line 1974 of file NumeReWindow.cpp.

References m_appStarting, m_dragDropSourceItem, m_fileEventTimer, m_fileTree, and m_modifiedFiles.

Referenced by NumeReWindow().

◆ OnFindEvent()

void NumeReWindow::OnFindEvent ( wxFindDialogEvent &  event)
private

private OnFindEvent Handles find/replace events

Parameters
eventwxFindDialogEvent & The generated find/replace event
Returns
void
Author
Mark Erikson
Date
04-22-2004

Definition at line 6480 of file NumeReWindow.cpp.

References _guilang, FindString(), g_findReplace, Language::get(), EditorNotebook::getFocusedEditor(), m_book, ReplaceAllStrings(), FindReplaceDialog::toggleSkipFocus(), toLowerCase(), and toString().

Here is the call graph for this function:

◆ OnFindReplace()

void NumeReWindow::OnFindReplace ( int  id)
private

This member function displays the find and replace dialog.

Parameters
idint
Returns
void

Definition at line 7243 of file NumeReWindow.cpp.

References _guilang, g_findReplace, Language::get(), EditorNotebook::getFocusedEditor(), ID_MENU_FIND, ID_MENU_REPLACE, m_book, m_findData, FindReplaceDialog::SetFocus(), and wxFR_WRAPAROUND.

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ OnHelp()

void NumeReWindow::OnHelp ( )
private

This member function displays the help root page.

Returns
void

Definition at line 7468 of file NumeReWindow.cpp.

References ShowHelp().

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ OnIdle()

void NumeReWindow::OnIdle ( wxIdleEvent &  event)
private

private OnIdle Initiates the UI update timer as needed

Parameters
eventwxIdleEvent & The generated program idle event
Returns
void
Author
Mark Erikson
Date
04-22-2004

Definition at line 4598 of file NumeReWindow.cpp.

References m_updateTimer.

◆ OnMenuEvent()

void NumeReWindow::OnMenuEvent ( wxCommandEvent &  event)
private

private OnMenuEvent Responsible for handling 95% of the menu and button-related events.

Parameters
eventwxCommandEvent & The event generated by the button/menu click
Returns
void
Author
Mark Erikson
Date
04-22-2004

Definition at line 1270 of file NumeReWindow.cpp.

References _guilang, SettingsValue::active(), NumeReEditor::AddProcedureDocumentation(), NumeReEditor::ApplyAutoFormat(), NumeReEditor::ApplyAutoIndentation(), NumeReTerminal::CancelCalculation(), NumeReEditor::clearBookmarks(), CloseAllFiles(), CloseFile(), CloseOtherTabs(), CloseTab(), compileLaTeX(), NumeReTerminal::copyText(), createLaTeXFile(), NumeReTerminal::cutText(), deleteFile(), EvaluateTab(), FILE_NLYT, FILE_NPRC, FILE_NSCR, FILE_PLUGIN, FILE_TEXSOURCE, FileNameTreeData::filename, NumeReEditor::FoldAll(), Language::get(), EditorNotebook::getCurrentEditor(), NumeReEditor::getEditorSetting(), NumeReEditor::GetFileName(), NumeReEditor::getFileType(), EditorNotebook::getFocusedEditor(), GetIntVar(), NumeReTerminal::getKernelSettings(), NumeReTerminal::getPathSettings(), Settings::getSetting(), gotoLine(), HandleModifiedFile(), NumeReEditor::HasBeenSaved(), ID_MENU_ABOUT, ID_MENU_ABSTRAHIZE_SECTION, ID_MENU_ADDEDITORBREAKPOINT, ID_MENU_AUTOFORMAT, ID_MENU_AUTOINDENT, ID_MENU_BOOKMARK_CLEARMENU, ID_MENU_BOOKMARK_NEXT, ID_MENU_BOOKMARK_PREVIOUS, ID_MENU_BOOKMARK_TOGGLE, ID_MENU_CLEAREDITORBREAKPOINTS, ID_MENU_CLOSEALL, ID_MENU_CLOSEOTHERS, ID_MENU_CLOSEPAGE, ID_MENU_CLOSETAB, ID_MENU_CLOSETABFORCE, ID_MENU_COMPARE_FILES, ID_MENU_COMPILE_LATEX, ID_MENU_COPY, ID_MENU_COPY_AS_PATH, ID_MENU_COPY_FILE_FROM_TREE, ID_MENU_CREATE_DOCUMENTATION, ID_MENU_CREATE_LATEX_FILE, ID_MENU_CREATE_PACKAGE, ID_MENU_CUT, ID_MENU_DELETE_FILE_FROM_TREE, ID_MENU_DISPCTRLCHARS, ID_MENU_EDIT_FILE_FROM_TREE, ID_MENU_EXECUTE, ID_MENU_EXPORT_AS_HTML, ID_MENU_EXPORT_FORMATTED, ID_MENU_FIND, ID_MENU_FIND_DUPLICATES, ID_MENU_FIND_INCLUDE, ID_MENU_FIND_PROCEDURE, ID_MENU_FOLD_ALL, ID_MENU_GOTOLINE, ID_MENU_HELP, ID_MENU_HELP_ON_ITEM, ID_MENU_INDENTONTYPE, ID_MENU_INSERT_FILE_INTO_TREE, ID_MENU_INSERT_IN_CONSOLE_FROM_TREE, ID_MENU_INSERT_IN_EDITOR_FROM_TREE, ID_MENU_INSTALLPLUGINFROMFILE, ID_MENU_LINEWRAP, ID_MENU_NEW_ASK, ID_MENU_NEW_EMPTY, ID_MENU_NEW_FOLDER_IN_TREE, ID_MENU_NEW_LAYOUT, ID_MENU_NEW_PLUGIN, ID_MENU_NEW_PROCEDURE, ID_MENU_NEW_SCRIPT, ID_MENU_OPEN_FILE_FROM_TREE, ID_MENU_OPEN_FILE_FROM_TREE_TO_TABLE, ID_MENU_OPEN_FOLDER, ID_MENU_OPEN_IMAGE_FROM_TREE, ID_MENU_OPEN_IN_EXPLORER, ID_MENU_OPEN_SOURCE_LOCAL, ID_MENU_OPEN_SOURCE_REMOTE, ID_MENU_OPTIONS, ID_MENU_PASTE, ID_MENU_PLUGINBROWSER, ID_MENU_PRINT_PAGE, ID_MENU_PRINT_PREVIEW, ID_MENU_PRINT_SETUP, ID_MENU_QUIT, ID_MENU_REDO, ID_MENU_REMOVE_FOLDER_FROM_TREE, ID_MENU_REMOVEEDITORBREAKPOINT, ID_MENU_RENAME_FILE_IN_TREE, ID_MENU_RENAME_SYMBOL, ID_MENU_REPLACE, ID_MENU_RUN_FROM_TAB, ID_MENU_RUN_LATEX, ID_MENU_SAVE, ID_MENU_SAVE_SOURCE_LOCAL, ID_MENU_SAVE_SOURCE_REMOTE, ID_MENU_SELECTION_DOWN, ID_MENU_SELECTION_UP, ID_MENU_SHOW_DEPENDENCY_REPORT, ID_MENU_SHOW_DESCRIPTION, ID_MENU_SHOW_REVISIONS, ID_MENU_SHOW_REVISIONS_FROM_TAB, ID_MENU_SORT_SELECTION_ASC, ID_MENU_SORT_SELECTION_DESC, ID_MENU_SPLIT_TAB_H, ID_MENU_SPLIT_TAB_V, ID_MENU_STOP_EXECUTION, ID_MENU_STRIP_SPACES_BACK, ID_MENU_STRIP_SPACES_BOTH, ID_MENU_STRIP_SPACES_FRONT, ID_MENU_TAG_CURRENT_REVISION, ID_MENU_TOGGLE_COMMENT_LINE, ID_MENU_TOGGLE_COMMENT_SELECTION, ID_MENU_TOGGLE_CONSOLE, ID_MENU_TOGGLE_DEBUGGER, ID_MENU_TOGGLE_FILETREE, ID_MENU_TOGGLE_HISTORY, ID_MENU_TOGGLE_NOTEBOOK_MULTIROW, ID_MENU_TRANSPOSESELECTION, ID_MENU_UNDO, ID_MENU_UNFOLD_ALL, ID_MENU_UNHIDE_ALL, ID_MENU_UNSPLIT_TAB, ID_MENU_USEANALYZER, ID_MENU_USESECTIONS, ID_MENU_USETXTADV, ID_NEW_PROJECT, NumeReEditor::InitDuplicateCode(), insertCopiedFile(), FileNameTreeData::isCommand, FileNameTreeData::isConstant, FileNameTreeData::isFunction, FileNameTreeData::isMethod, NumeReEditor::JumpToBookmark(), m_book, m_clickedTreeItem, m_copiedTreeItem, m_fileTree, m_functionTree, m_iconManager, m_menuItems, m_multiRowState, m_options, m_termContainer, m_terminal, NumeReEditor::Modified(), MODIFIEDFILE_COMPILE, NumeReEditor::MoveSelection(), NewFile(), OnAbout(), NumeReEditor::OnAbstrahizeSectionFromMenu(), NumeReEditor::OnAddBreakpoint(), OnAskForNewFile(), OnCalculateDependencies(), NumeReEditor::OnClearBreakpoints(), OnCompareFiles(), OnCopyAsPath(), OnCreateNewFolder(), OnCreatePackage(), OnExecuteFile(), NumeReEditor::OnExtractAsHTML(), NumeReEditor::OnExtractFormatted(), NumeReEditor::OnFindIncludeFromMenu(), NumeReEditor::OnFindProcedureFromMenu(), OnFindReplace(), OnHelp(), OnOpenInExplorer(), OnOpenSourceFile(), OnOptions(), OnPrintPage(), OnPrintPreview(), OnPrintSetup(), NumeReEditor::OnRemoveBreakpoint(), OnRemoveFolder(), NumeReEditor::OnRenameSymbolsFromMenu(), OnSaveSourceFile(), OnShowRevisions(), OnShowRevisionsFromTab(), OnTagCurrentRevision(), NumeReEditor::OnTranspose(), NumeReEditor::OnUnhideAllFromMenu(), OpenContainingFolder(), openImage(), OpenSourceFile(), PageHasChanged(), NumeReTerminal::pass_command(), NumeReTerminal::pasteText(), NumeReTerminal::ProcessInput(), NumeReEditor::removeWhiteSpaces(), renameFile(), replacePathSeparator(), RM_WS_BACK, RM_WS_BOTH, RM_WS_FRONT, runLaTeX(), SaveCurrentFile(), SCRIPTPATH, NumeReTerminal::setKernelSettings(), SETTING_B_DEBUGGER, NumeReEditor::SETTING_DISPCTRLCHARS, NumeReEditor::SETTING_INDENTONTYPE, NumeReEditor::SETTING_USEANALYZER, NumeReEditor::SETTING_USESECTIONS, NumeReEditor::SETTING_USETXTADV, NumeReEditor::SETTING_WRAPEOL, showConsole(), ShowHelp(), NumeReEditor::sortSelection(), EditorNotebook::split(), NumeReEditor::toggleBookmark(), NumeReEditor::ToggleCommentLine(), NumeReEditor::ToggleCommentSelection(), toggleConsole(), toggleFiletree(), toggleHistory(), NumeReEditor::ToggleSettings(), ToolTipTreeData::tooltip, NumeReEditor::UnfoldAll(), EditorNotebook::unsplit(), Settings::useDebugger(), and VN_CLICKEDTAB.

◆ OnOpenInExplorer()

void NumeReWindow::OnOpenInExplorer ( )
private

This member function uses the Windows shell to open the selected folder in the Windows explorer.

Returns
void

Definition at line 2789 of file NumeReWindow.cpp.

References getTreeFolderPath(), and m_clickedTreeItem.

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ OnOpenSourceFile()

void NumeReWindow::OnOpenSourceFile ( int  id)
private

This member function opens a file dialog to let the user choose the files to open in the editor.

Parameters
idint
Returns
void

Definition at line 6912 of file NumeReWindow.cpp.

References FILE_SUPPORTEDFILES, ID_MENU_OPEN_SOURCE_LOCAL, ID_MENU_OPEN_SOURCE_REMOTE, m_remoteMode, OpenFile(), and OpenFilesFromList().

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ OnOptions()

◆ OnPageChange()

void NumeReWindow::OnPageChange ( wxAuiNotebookEvent &  event)
private

private OnPageChange Event handler called when the user clicks a different tab

Parameters
eventwxNotebookEvent & The notebook event (not used)
Returns
void
Author
Mark Erikson
Date
04-22-2004

Definition at line 3715 of file NumeReWindow.cpp.

References m_setSelection, PageHasChanged(), and ToolbarStatusUpdate().

Here is the call graph for this function:

◆ OnPluginMenuEvent()

void NumeReWindow::OnPluginMenuEvent ( wxCommandEvent &  event)
private

Handles events, which originate from package menu (i.e. graphical plugins).

Parameters
eventwxCommandEvent&
Returns
void

Definition at line 1948 of file NumeReWindow.cpp.

References m_pluginMenuMap, m_terminal, and NumeReTerminal::pass_command().

Here is the call graph for this function:

◆ OnPrintPage()

void NumeReWindow::OnPrintPage ( )
private

This member function prints the styled text of the current editor.

Returns
void

Definition at line 7327 of file NumeReWindow.cpp.

References _guilang, g_printData, Language::get(), EditorNotebook::getCurrentEditor(), Options::GetPrintStyle(), m_book, m_options, and OnPrintSetup().

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ OnPrintPreview()

void NumeReWindow::OnPrintPreview ( )
private

This member function displays the styled text of the current editor in the print preview window.

Returns
void

Definition at line 7359 of file NumeReWindow.cpp.

References _guilang, DeterminePrintSize(), g_printData, Language::get(), EditorNotebook::getCurrentEditor(), Options::GetPrintStyle(), m_book, m_options, and OnPrintSetup().

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ OnPrintSetup()

void NumeReWindow::OnPrintSetup ( )

This member function displays the printing page setup dialog.

Returns
void

Definition at line 7395 of file NumeReWindow.cpp.

References g_pageSetupData, and g_printData.

Referenced by OnMenuEvent(), OnPrintPage(), OnPrintPreview(), and HelpViewer::Print().

◆ OnRemoveFolder()

void NumeReWindow::OnRemoveFolder ( )
private

This member function moves the selected directory directly to the Windows trash bin, if the user confirms the opened dialog.

Returns
void

Definition at line 2913 of file NumeReWindow.cpp.

References _guilang, FileNameTreeData::filename, Language::get(), m_clickedTreeItem, m_copiedTreeItem, m_fileTree, and Recycler::recycle().

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ OnSaveSourceFile()

void NumeReWindow::OnSaveSourceFile ( int  id)
private

This member function saves the file in the current editor.

Parameters
idint
Returns
void

Definition at line 6934 of file NumeReWindow.cpp.

References ID_MENU_SAVE_SOURCE_LOCAL, ID_MENU_SAVE_SOURCE_REMOTE, m_remoteMode, and SaveCurrentFile().

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ OnShowRevisions()

void NumeReWindow::OnShowRevisions ( )
private

This method displays the revision dialog for the selected tree item.

Returns
void

Definition at line 2805 of file NumeReWindow.cpp.

References FileNameTreeData::filename, VersionControlSystemManager::getRevisions(), m_clickedTreeItem, and m_fileTree.

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ OnShowRevisionsFromTab()

void NumeReWindow::OnShowRevisionsFromTab ( )
private

This method displays the revision dialog for the selected tab item.

Returns
void

Definition at line 2828 of file NumeReWindow.cpp.

References EditorNotebook::getEditor(), NumeReEditor::GetFileNameAndPath(), GetIntVar(), VersionControlSystemManager::getRevisions(), m_book, and VN_CLICKEDTAB.

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ OnSplitterDoubleClick()

void NumeReWindow::OnSplitterDoubleClick ( wxSplitterEvent &  event)
private

private OnSplitterDoubleClick Cancels the ability to "close" a split window by double-clicking the splitter bar

Parameters
eventwxSplitterEvent & The generated splitter event
Returns
void
Author
Mark Erikson
Date
04-22-2004

Definition at line 6897 of file NumeReWindow.cpp.

◆ OnStatusTimer()

void NumeReWindow::OnStatusTimer ( wxTimerEvent &  event)
private

private OnStatusTimer Initiates UI updates based on the internal timer

Parameters
eventwxTimerEvent & The generated timer event
Returns
void
Author
Mark Erikson
Date
04-22-2004

Definition at line 4619 of file NumeReWindow.cpp.

References m_updateTimer, OnUpdateSaveUI(), ToolbarStatusUpdate(), and UpdateStatusBar().

Here is the call graph for this function:

◆ OnTagCurrentRevision()

void NumeReWindow::OnTagCurrentRevision ( )
private

This method allows the user to tag the current active revision of a file.

Returns
void

Definition at line 2851 of file NumeReWindow.cpp.

References _guilang, FileNameTreeData::filename, Language::get(), VersionControlSystemManager::getRevisions(), m_clickedTreeItem, and m_fileTree.

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ OnTreeDragDrop()

void NumeReWindow::OnTreeDragDrop ( wxTreeEvent &  event)
private

This member function prepares the data to be dragged from one of the both trees.

Parameters
eventwxTreeEvent&
Returns
void

Definition at line 6295 of file NumeReWindow.cpp.

References FileNameTreeData::filename, ID_FUNCTIONTREE, FileNameTreeData::isCommand, FileNameTreeData::isConstant, FileNameTreeData::isDir, FileNameTreeData::isFunction, FileNameTreeData::isMethod, m_dragDropSourceItem, m_fileTree, m_functionTree, and ToolTipTreeData::tooltip.

◆ OnTreeItemActivated()

void NumeReWindow::OnTreeItemActivated ( wxTreeEvent &  event)
private

private OnTreeItemActivated Attempts to open a file when an item is double-clicked in the project tree

Parameters
eventwxTreeEvent & The generated tree event
Returns
void
Author
Mark Erikson
Date
04-22-2004

Definition at line 6134 of file NumeReWindow.cpp.

References FileNameTreeData::filename, EditorNotebook::getCurrentEditor(), EditorNotebook::getFocusedEditor(), ID_PROJECTTREE, FileNameTreeData::isCommand, FileNameTreeData::isConstant, FileNameTreeData::isDir, FileNameTreeData::isFunction, FileNameTreeData::isMethod, m_book, m_fileTree, m_functionTree, m_projectFileFolders, OpenFileByType(), and ToolTipTreeData::tooltip.

Here is the call graph for this function:

◆ OnTreeItemRightClick()

void NumeReWindow::OnTreeItemRightClick ( wxTreeEvent &  event)
private

private OnTreeItemRightClick Pops up a menu with appropriate items when the project tree is right-clicked. Also sets the last selected tree item and file type for use in other functions.

Parameters
eventwxTreeEvent & The generated tree event
Returns
void
Author
Mark Erikson
Date
04-22-2004

Definition at line 6025 of file NumeReWindow.cpp.

References _guilang, FileNameTreeData::filename, Language::get(), VersionControlSystemManager::hasRevisions(), ID_MENU_COPY_AS_PATH, ID_MENU_COPY_FILE_FROM_TREE, ID_MENU_DELETE_FILE_FROM_TREE, ID_MENU_EDIT_FILE_FROM_TREE, ID_MENU_HELP_ON_ITEM, ID_MENU_INSERT_FILE_INTO_TREE, ID_MENU_INSERT_IN_CONSOLE_FROM_TREE, ID_MENU_INSERT_IN_EDITOR_FROM_TREE, ID_MENU_NEW_FOLDER_IN_TREE, ID_MENU_OPEN_FILE_FROM_TREE, ID_MENU_OPEN_FILE_FROM_TREE_TO_TABLE, ID_MENU_OPEN_IMAGE_FROM_TREE, ID_MENU_OPEN_IN_EXPLORER, ID_MENU_REMOVE_FOLDER_FROM_TREE, ID_MENU_RENAME_FILE_IN_TREE, ID_MENU_SHOW_REVISIONS, ID_MENU_TAG_CURRENT_REVISION, ID_PROJECTTREE, FileNameTreeData::isCommand, FileNameTreeData::isDir, m_clickedTreeItem, m_copiedTreeItem, m_fileTree, and m_functionTree.

Here is the call graph for this function:

◆ OnTreeItemToolTip()

void NumeReWindow::OnTreeItemToolTip ( wxTreeEvent &  event)
private

This member function displays the tooltip requested for the item below the mouse cursor.

Parameters
eventwxTreeEvent&
Returns
void

Definition at line 6218 of file NumeReWindow.cpp.

References _guilang, NumeRe::addLinebreaks(), addLinebreaks(), FileNameTreeData::filename, NumeRe::FindProcedureDefinition(), Language::get(), getFileDetails(), VersionControlSystemManager::getRevisions(), VersionControlSystemManager::hasRevisions(), ID_FUNCTIONTREE, FileNameTreeData::isCommand, FileNameTreeData::isConstant, FileNameTreeData::isDir, FileNameTreeData::isFunction, FileNameTreeData::isMethod, m_functionTree, NumeRe::CallTip::sDefinition, NumeRe::CallTip::sDocumentation, ToolTipTreeData::tooltip, and toUpperCase().

Here is the call graph for this function:

◆ OnUpdateSaveUI()

void NumeReWindow::OnUpdateSaveUI ( )
private

private OnUpdateSaveUI Updates the status of the active tab if modified, as well as enabling the save items.

Returns
void
Author
Mark Erikson
Date
04-22-2004

Definition at line 4934 of file NumeReWindow.cpp.

References EditorNotebook::getCurrentEditor(), ID_MENU_SAVE, m_book, NumeReEditor::Modified(), and UpdateWindowTitle().

Referenced by OnStatusTimer().

Here is the call graph for this function:

◆ OpenContainingFolder()

void NumeReWindow::OpenContainingFolder ( )
private

This member function uses the Windows shell to open the containing folder of the selected tab in the Windows Explorer.

Returns
void

Definition at line 3487 of file NumeReWindow.cpp.

References EditorNotebook::getEditor(), NumeReEditor::GetFileName(), GetIntVar(), m_book, and VN_CLICKEDTAB.

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ OpenFile()

wxArrayString NumeReWindow::OpenFile ( FileFilterType  filterType)
private

private OpenFile Shows a file dialog and returns a list of files to open. Abstracts out local/remote file dialogs.

Parameters
filterTypeFileFilterType The type of files to show in the file dialog
Returns
wxArrayString The filenames to open
Remarks
Currently, only one filename can be opened at a time (mostly due to the
fact that the RemoteFileDialog has that limitation). OpenSourceFile
has the logic to handle multiple filenames, so this could be added
without too much difficulty.
Author
Mark Erikson
Date
04-22-2004

Definition at line 3854 of file NumeReWindow.cpp.

References _guilang, ConstructFilterString(), Language::get(), EditorNotebook::getCurrentEditor(), and m_book.

Referenced by OnOpenSourceFile().

Here is the call graph for this function:

◆ OpenFileByType()

void NumeReWindow::OpenFileByType ( const wxFileName &  filename)

This member function opens the file with the passed name in the corresponding widget (either editor, ImageViewer or externally).

Parameters
filenameconst wxFileName&
Returns
void

Definition at line 3885 of file NumeReWindow.cpp.

References m_terminal, OnCreatePackage(), openImage(), openPDF(), OpenSourceFile(), NumeReTerminal::pass_command(), replacePathSeparator(), setEditorFocus(), setViewerFocus(), and showConsole().

Referenced by DDE::Connection::OnDisconnect(), OnTreeItemActivated(), and OpenFilesFromList().

Here is the call graph for this function:

◆ OpenFilesFromList()

void NumeReWindow::OpenFilesFromList ( const wxArrayString &  filenameslist)

This member function opens a list of files depending on their type in the correct widget.

Parameters
filenameslistconst wxArrayString&
Returns
void

Definition at line 3944 of file NumeReWindow.cpp.

References OpenFileByType().

Referenced by OnOpenSourceFile().

Here is the call graph for this function:

◆ openHTML()

void NumeReWindow::openHTML ( wxString  HTMLcontent)

This member function opens a HTML document (a documentation article) in the documentation viewer.

Parameters
HTMLcontentwxString
Returns
void

Definition at line 2123 of file NumeReWindow.cpp.

◆ openImage()

void NumeReWindow::openImage ( wxFileName  filename)

This member function opens the selected image in the image viewer window.

Parameters
filenamewxFileName
Returns
void

Definition at line 2060 of file NumeReWindow.cpp.

References getProgramFolder(), ImagePanel::getRelation(), getStandardIcon(), m_currentView, registerWindow(), and WT_IMAGEVIEWER.

Referenced by OnMenuEvent(), NumeReTerminal::OnThreadUpdate(), and OpenFileByType().

Here is the call graph for this function:

◆ openPDF()

void NumeReWindow::openPDF ( wxFileName  filename)

This member function opens a PDF document using the windows shell.

Parameters
filenamewxFileName
Returns
void

Definition at line 2108 of file NumeReWindow.cpp.

Referenced by OpenFileByType().

◆ OpenSourceFile()

void NumeReWindow::OpenSourceFile ( wxArrayString  fnames,
unsigned int  nLine = 0,
int  nOpenFileFlag = OPENFILE_NOTHING 
)

◆ openTable() [1/2]

void NumeReWindow::openTable ( NumeRe::Container< std::string >  _stringTable,
const std::string &  tableDisplayName,
const std::string &  sIntName 
)

This member function displays the contents of the "string()" table or a cluster.

Parameters
_stringTableNumeRe::Container<std::string>
tableDisplayNameconst std::string&
sIntNameconst std::string&
Returns
void

Definition at line 2152 of file NumeReWindow.cpp.

References TableViewer::GetHeight(), getStandardIcon(), TableViewer::GetWidth(), max, min, registerWindow(), TableViewer::SetData(), and WT_TABLEVIEWER.

Referenced by NumeReTerminal::OnThreadUpdate(), and showTable().

Here is the call graph for this function:

◆ openTable() [2/2]

void NumeReWindow::openTable ( NumeRe::Table  _table,
const std::string &  tableDisplayName,
const std::string &  sIntName 
)

This member function displays the contents of a usual table.

Parameters
_tableNumeRe::Table
tableDisplayNameconst std::string&
sIntNameconst std::string&
Returns
void

Definition at line 2176 of file NumeReWindow.cpp.

References TableViewer::GetHeight(), getStandardIcon(), TableViewer::GetWidth(), TablePanel::grid, m_terminal, max, min, registerWindow(), TableViewer::SetData(), TablePanel::SetTerminal(), and WT_TABLEVIEWER.

Here is the call graph for this function:

◆ PageHasChanged()

void NumeReWindow::PageHasChanged ( int  pageNr = -1)
private

private PageHasChanged Called whenever the active tab has changed, updating the active editor pointer

Parameters
pageNrint [=-1] The index of the newly selected page
Returns
void
Author
Mark Erikson
Date
04-22-2004

Definition at line 3358 of file NumeReWindow.cpp.

References NumeReEditor::AdvCallTipCancel(), EditorNotebook::getCurrentEditor(), EditorNotebook::getEditor(), NumeReEditor::getEditorSetting(), ID_MENU_DISPCTRLCHARS, ID_MENU_INDENTONTYPE, ID_MENU_LINEWRAP, ID_MENU_USEANALYZER, ID_MENU_USESECTIONS, ID_MENU_USETXTADV, m_appClosing, m_book, m_currentPage, m_loadingFilesDuringStartup, m_menuItems, m_procedureViewer, ProcedureViewer::setCurrentEditor(), NumeReEditor::SETTING_DISPCTRLCHARS, NumeReEditor::SETTING_INDENTONTYPE, NumeReEditor::SETTING_USEANALYZER, NumeReEditor::SETTING_USESECTIONS, NumeReEditor::SETTING_USETXTADV, NumeReEditor::SETTING_WRAPEOL, and UpdateWindowTitle().

Referenced by CloseAllFiles(), CloseFile(), NumeReWindow(), OnMenuEvent(), OnPageChange(), and OpenSourceFile().

Here is the call graph for this function:

◆ pass_command()

void NumeReWindow::pass_command ( const wxString &  command,
bool  isEvent = false 
)

This member function is a wrapper for the corresponding terminal function to pass a command to the kernel.

Parameters
commandconst wxString&
Returns
void

Definition at line 2529 of file NumeReWindow.cpp.

References m_terminal, and NumeReTerminal::pass_command().

Referenced by CustomWindow::handleEvent(), VariableViewer::OnEditTable(), VariableViewer::OnNewTable(), VariableViewer::OnRemoveTable(), VariableViewer::OnRenameTable(), VariableViewer::OnSaveasTable(), and VariableViewer::OnSaveTable().

Here is the call graph for this function:

◆ PassImageList()

void NumeReWindow::PassImageList ( wxImageList *  imagelist)

public PassImageList Allows the RemoteFileDialog to pass along its imagelist for use in the project tree

Parameters
imagelistwxImageList * The imagelist to use
Returns
void
Author
Mark Erikson
Date
04-23-2004

Definition at line 5064 of file NumeReWindow.cpp.

References m_fileTree.

◆ prepareFunctionTree()

void NumeReWindow::prepareFunctionTree ( )
private

This member function creates the contents of the symbols tree.

Returns
void

Definition at line 5835 of file NumeReWindow.cpp.

References _guilang, Language::addToLanguage(), Language::get(), NumeReTerminal::getFunctionLanguageStrings(), IconManager::GetIconIndex(), Language::getList(), NumeReTerminal::getPluginLanguageStrings(), FileNameTreeData::isCommand, FileNameTreeData::isConstant, FileNameTreeData::isDir, FileNameTreeData::isFunction, FileNameTreeData::isMethod, m_functionTree, m_iconManager, m_terminal, prepareTooltip(), tokenize(), ToolTipTreeData::tooltip, and toUpperCase().

Referenced by NumeReWindow(), and refreshFunctionTree().

Here is the call graph for this function:

◆ prepareSession()

void NumeReWindow::prepareSession ( )
private

This member function recreates the last session by reading the session file or creates a new empty session, if the corresponding setting was set to false.

Returns
void

Definition at line 1009 of file NumeReWindow.cpp.

References g_logger, EditorNotebook::getCurrentEditor(), getProgramFolder(), Options::GetSaveBookmarksInSession(), Options::GetSaveSession(), DetachedLogger::info(), m_book, m_loadingFilesDuringStartup, m_options, m_UnrecoverableFiles, NewFile(), OpenSourceFile(), NumeReEditor::setBookmarks(), NumeReEditor::SetUnsaved(), StrToInt(), NumeReEditor::ToggleSettings(), and toIntVector().

Referenced by NumeReWindow().

Here is the call graph for this function:

◆ prepareTooltip()

std::string NumeReWindow::prepareTooltip ( const std::string &  sTooltiptext)
private

This member function prepares the tooltip shown by the symbols tree.

Parameters
sTooltiptextconst std::string&
Returns
std::string

Definition at line 5973 of file NumeReWindow.cpp.

Referenced by prepareFunctionTree().

◆ Ready()

void NumeReWindow::Ready ( )

This member function tells NumeRe that it shall display the "ready" state to the user.

Returns
void

Definition at line 4215 of file NumeReWindow.cpp.

References EditorNotebook::getEditor(), ID_MENU_EXECUTE, ID_MENU_STOP_EXECUTION, m_book, m_debugViewer, m_statusBar, MARKER_FOCUSEDLINE, DebugViewer::OnExecutionFinished(), NumeReStatusbar::Ready(), and UpdateVarViewer().

Referenced by MyApp::OnInit(), and NumeReTerminal::Ready().

Here is the call graph for this function:

◆ refreshFunctionTree()

void NumeReWindow::refreshFunctionTree ( )

This member function is a simple wrapper for refreshing the contents of the function tree.

Returns
void

Definition at line 5767 of file NumeReWindow.cpp.

References _guilang, g_logger, EditorNotebook::getEditor(), DetachedLogger::info(), Language::loadStrings(), m_book, m_functionTree, m_history, m_options, prepareFunctionTree(), NumeReEditor::UpdateSyntaxHighlighting(), NumeReHistory::UpdateSyntaxHighlighting(), and Settings::useCustomLangFiles().

Referenced by NumeReTerminal::OnThreadUpdate().

Here is the call graph for this function:

◆ registerWindow()

void NumeReWindow::registerWindow ( wxWindow *  window,
WindowType  type 
)

Registers a new window in the internal map.

Parameters
windowwxWindow*
typeWindowType
Returns
void

Definition at line 6798 of file NumeReWindow.cpp.

References m_openedWindows.

Referenced by openImage(), openTable(), showGraph(), ShowHelp(), and showWindow().

◆ reloadFileIfOpen()

void NumeReWindow::reloadFileIfOpen ( const wxString &  fname,
bool  force = false 
)

Reloads a file if it is open in any editor.

Parameters
fnameconst wxString&
forcebool
Returns
void

Definition at line 6736 of file NumeReWindow.cpp.

References _guilang, g_logger, Language::get(), EditorNotebook::getCurrentEditor(), EditorNotebook::getEditor(), GetFileContents(), NumeReEditor::GetFileNameAndPath(), EditorNotebook::getFocusedEditor(), DetachedLogger::info(), NumeReEditor::LoadFileText(), m_book, m_filesLastSaveTime, and MARKER_SAVED.

Referenced by OnFileEventTimer(), and RevisionDialog::OnMenuEvent().

Here is the call graph for this function:

◆ removeFromReloadBlackList()

void NumeReWindow::removeFromReloadBlackList ( const wxString &  sFilename)

This member function removes the passed file name from the list of files, which shall not be reloaded automatically.

Parameters
sFilenameconst wxString&
Returns
void

Definition at line 872 of file NumeReWindow.cpp.

References vReloadBlackList.

Referenced by OpenSourceFile().

◆ renameFile()

void NumeReWindow::renameFile ( )
private

This member function renames the selected file in the file tree with a new name provided by the user in a text entry dialog.

Returns
void

If the file has internal revisions, the version control system manager keeps track on the renaming of the corresponding revisions file.

Definition at line 2725 of file NumeReWindow.cpp.

References _guilang, FileNameTreeData::filename, Language::get(), VersionControlSystemManager::getRevisionPath(), VersionControlSystemManager::getRevisions(), VersionControlSystemManager::hasRevisions(), m_clickedTreeItem, m_fileTree, and UpdateLocationIfOpen().

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ ReplaceAllStrings()

int NumeReWindow::ReplaceAllStrings ( const wxString &  findString,
const wxString &  replaceString,
int  flags = -1 
)
private

private ReplaceAllStrings Replaces all occurrences of the given string in the current editor

Parameters
findStringconst wxString & The string to find and replace
replaceStringconst wxString & The string to insert
flagsint [=-1] The selected find/replace flags
Returns
int The number of matches replaced
Author
Mark Erikson
Date
04-22-2004

Definition at line 6623 of file NumeReWindow.cpp.

References FindString(), EditorNotebook::getFocusedEditor(), m_book, and wxFR_WRAPAROUND.

Referenced by OnFindEvent().

Here is the call graph for this function:

◆ runLaTeX()

void NumeReWindow::runLaTeX ( )

This member function creates the LaTeX documentation files and uses the Windows shell to run the XeLaTeX compiler.

Returns
void

Definition at line 2603 of file NumeReWindow.cpp.

References _guilang, DocumentationGenerator::createFullDocumentation(), fileExists(), Language::get(), EditorNotebook::getCurrentEditor(), NumeReEditor::GetFileNameAndPath(), Options::GetLaTeXRoot(), NumeReTerminal::getPathSettings(), GenericTerminal::getSyntax(), m_book, m_options, m_terminal, and SAVEPATH.

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ SaveAll()

bool NumeReWindow::SaveAll ( bool  refreshLibrary)
private

Saves all currently opened files to the harddisk.

Parameters
refreshLibrarybool
Returns
bool

Definition at line 4418 of file NumeReWindow.cpp.

References CreateProcedureTree(), EditorNotebook::getEditor(), NumeReTerminal::getPathSettings(), NumeReEditor::HasBeenSaved(), m_book, m_terminal, NumeReEditor::Modified(), PROCPATH, SaveCurrentFile(), SaveTab(), NumeReTerminal::UpdateLibrary(), and UpdateWindowTitle().

Referenced by OnExecuteFile().

Here is the call graph for this function:

◆ SaveCurrentFile()

bool NumeReWindow::SaveCurrentFile ( bool  saveas)
private

Saves the current opened file.

Parameters
saveasTrue if this is explicitly a "Save-As" command and a file dialog must be shown
Returns
bool

Definition at line 4266 of file NumeReWindow.cpp.

References _guilang, Filewatcher::Add(), ConstructFilterString(), FILE_DATAFILES, FILE_NONSOURCE, FILE_NPRC, FILE_NSCR, FILE_TEXSOURCE, Language::get(), EditorNotebook::getCurrentEditor(), NumeReEditor::GetFileName(), NumeReEditor::GetFilenameString(), NumeReEditor::getFileType(), NumeReTerminal::getPathSettings(), NumeReEditor::HasBeenSaved(), m_book, m_remoteMode, m_terminal, m_watcher, PROCPATH, Filewatcher::Remove(), SAVEPATH, SaveTab(), SCRIPTPATH, NumeReEditor::SetFilename(), and UpdateWindowTitle().

Referenced by HandleModifiedFile(), OnMenuEvent(), OnSaveSourceFile(), and SaveAll().

Here is the call graph for this function:

◆ SaveTab()

bool NumeReWindow::SaveTab ( int  tab)
private

Saves the file in the selected editor tab.

Parameters
tabint
Returns
bool

Definition at line 4380 of file NumeReWindow.cpp.

References _guilang, Language::get(), EditorNotebook::getEditor(), NumeReEditor::GetFileNameAndPath(), getProgramFolder(), m_book, m_filesLastSaveTime, replacePathSeparator(), NumeReEditor::SaveFile(), FileSystem::setPath(), EditorNotebook::SetTabText(), and NumeReEditor::UpdateSyntaxHighlighting().

Referenced by SaveAll(), and SaveCurrentFile().

Here is the call graph for this function:

◆ SelectIntVar()

int * NumeReWindow::SelectIntVar ( int  variableName)
private

private SelectIntVar Internal utility routine used by GetIntVar / SetIntVar

Parameters
variableNameint The ID of the variable to be get or set
Returns
int * A pointer to the requested variable
Author
Mark Erikson
Date
04-22-2004

Definition at line 5032 of file NumeReWindow.cpp.

References m_clickedTabNum, m_currentPage, m_numPages, VN_CLICKEDTAB, VN_CURRENTPAGE, and VN_NUMPAGES.

Referenced by GetIntVar(), and SetIntVar().

◆ setDefaultPrinterSettings()

wxPrintData * NumeReWindow::setDefaultPrinterSettings ( )
private

This member function sets the default printer settings.

Returns
wxPrintData*

Definition at line 6002 of file NumeReWindow.cpp.

Referenced by NumeReWindow().

◆ setEditorFocus()

void NumeReWindow::setEditorFocus ( )
private

This member function focuses the editor widget.

Returns
void

Definition at line 5740 of file NumeReWindow.cpp.

References EditorNotebook::getCurrentEditor(), and m_book.

Referenced by OpenFileByType().

Here is the call graph for this function:

◆ SetIntVar()

void NumeReWindow::SetIntVar ( int  variableName,
int  value 
)

public SetIntVar A "one-size-fits-all" integer Set routine, to avoid pointless duplication

Parameters
variableNameint The ID of the member variable to set
valueint The value to set it to
Returns
void
Author
Mark Erikson
Date
04-22-2004

Definition at line 4984 of file NumeReWindow.cpp.

References SelectIntVar().

Referenced by EditorNotebook::OnButtonClicked(), EditorNotebook::OnTabMiddleClicked(), and EditorNotebook::OnTabRightClicked().

Here is the call graph for this function:

◆ setViewerFocus()

void NumeReWindow::setViewerFocus ( )
private

This member function focuses the last opened ImageViewer window.

Returns
void

Definition at line 5753 of file NumeReWindow.cpp.

References m_currentView.

Referenced by OpenFileByType().

◆ showConsole()

void NumeReWindow::showConsole ( )
private

This member function unhides the terminal, if it was hidden before.

Returns
void

Definition at line 5694 of file NumeReWindow.cpp.

References m_termContainer, and toggleConsole().

Referenced by OnExecuteFile(), OnMenuEvent(), and OpenFileByType().

Here is the call graph for this function:

◆ showDirDialog()

void NumeReWindow::showDirDialog ( NumeRe::Window window)
private

This private member function displays a directory dialog.

Parameters
windowNumeRe::Window&
Returns
void

Definition at line 2361 of file NumeReWindow.cpp.

References getNextArgument(), getStandardIcon(), NumeRe::Window::getWindowSettings(), prepareStringsForDialog(), NumeRe::WindowSettings::sExpression, NumeRe::STATUS_CANCEL, NumeRe::STATUS_OK, NumeRe::WindowSettings::sTitle, and NumeRe::Window::updateWindowInformation().

Referenced by showWindow().

Here is the call graph for this function:

◆ showFileDialog()

void NumeReWindow::showFileDialog ( NumeRe::Window window)
private

This private member function displays a file dialog.

Parameters
windowNumeRe::Window&
Returns
void

Definition at line 2336 of file NumeReWindow.cpp.

References getNextArgument(), getStandardIcon(), NumeRe::Window::getWindowSettings(), prepareStringsForDialog(), NumeRe::WindowSettings::sExpression, NumeRe::STATUS_CANCEL, NumeRe::STATUS_OK, NumeRe::WindowSettings::sTitle, and NumeRe::Window::updateWindowInformation().

Referenced by showWindow().

Here is the call graph for this function:

◆ showGraph()

void NumeReWindow::showGraph ( NumeRe::Window window)
private

This private member function displays a graph.

Parameters
windowNumeRe::Window&
Returns
void

Definition at line 2317 of file NumeReWindow.cpp.

References NumeRe::Window::getGraph(), getStandardIcon(), GraphHelper::getTitle(), m_terminal, registerWindow(), and WT_GRAPH.

Referenced by showWindow().

Here is the call graph for this function:

◆ ShowHelp()

bool NumeReWindow::ShowHelp ( const wxString &  sDocId)

This member function displays the help page for the selected documentation ID.

Parameters
sDocIdconst wxString&
Returns
bool

Definition at line 7482 of file NumeReWindow.cpp.

References _guilang, Language::get(), registerWindow(), DocumentationBrowser::SetStartPage(), and WT_DOCVIEWER.

Referenced by OnHelp(), NumeReEditor::OnHelpOnSelection(), OnMenuEvent(), NumeReTerminal::OnThreadUpdate(), and ToolBarSearchCtrl::selectItem().

Here is the call graph for this function:

◆ showListDialog()

void NumeReWindow::showListDialog ( NumeRe::Window window)
private

This private member function shows a list dialog.

Parameters
windowNumeRe::Window&
Returns
void

Definition at line 2454 of file NumeReWindow.cpp.

References getNextArgument(), getStandardIcon(), NumeRe::Window::getWindowSettings(), prepareStringsForDialog(), NumeRe::WindowSettings::sExpression, NumeRe::WindowSettings::sMessage, NumeRe::STATUS_CANCEL, NumeRe::STATUS_OK, NumeRe::WindowSettings::sTitle, and NumeRe::Window::updateWindowInformation().

Referenced by showWindow().

Here is the call graph for this function:

◆ showMessageBox()

void NumeReWindow::showMessageBox ( NumeRe::Window window)
private

This private member function displays a message box.

Parameters
windowNumeRe::Window&
Returns
void

Definition at line 2407 of file NumeReWindow.cpp.

References NumeRe::CTRL_CANCELBUTTON, NumeRe::CTRL_ICONERROR, NumeRe::CTRL_ICONINFORMATION, NumeRe::CTRL_ICONQUESTION, NumeRe::CTRL_ICONWARNING, NumeRe::CTRL_OKBUTTON, NumeRe::CTRL_YESNOBUTTON, NumeRe::Window::getWindowSettings(), NumeRe::WindowSettings::nControls, prepareStringsForDialog(), NumeRe::WindowSettings::sMessage, NumeRe::STATUS_CANCEL, NumeRe::STATUS_OK, NumeRe::WindowSettings::sTitle, and NumeRe::Window::updateWindowInformation().

Referenced by showWindow().

Here is the call graph for this function:

◆ ShowRevision()

void NumeReWindow::ShowRevision ( const wxString &  revisionName,
const wxString &  revisionContent 
)

This member function creates a new editor page and copies the passed revision contents to this page.

Parameters
revisionNameconst wxString&
revisionContentconst wxString&
Returns
void

Definition at line 3266 of file NumeReWindow.cpp.

References FILE_DIFF, EditorNotebook::getCurrentEditor(), m_book, NewFile(), NumeReEditor::SetUnsaved(), and NumeReEditor::UpdateSyntaxHighlighting().

Referenced by RevisionDialog::compareRevisions(), OnCompareFiles(), and RevisionDialog::showRevision().

Here is the call graph for this function:

◆ showSelectionDialog()

void NumeReWindow::showSelectionDialog ( NumeRe::Window window)
private

This private member function shows a selection dialog.

Parameters
windowNumeRe::Window&
Returns
void

Definition at line 2485 of file NumeReWindow.cpp.

References getNextArgument(), getStandardIcon(), NumeRe::Window::getWindowSettings(), prepareStringsForDialog(), NumeRe::WindowSettings::sExpression, NumeRe::WindowSettings::sMessage, NumeRe::STATUS_CANCEL, NumeRe::STATUS_OK, NumeRe::WindowSettings::sTitle, and NumeRe::Window::updateWindowInformation().

Referenced by showWindow().

Here is the call graph for this function:

◆ showTable()

void NumeReWindow::showTable ( const wxString &  tableName,
const wxString &  tableDisplayName 
)

This member function is a wrapper for an event handler of the variable viewer to display the contents of the selected item.

Parameters
tableNameconst wxString&
tableDisplayNameconst wxString&
Returns
void

Definition at line 2249 of file NumeReWindow.cpp.

References NumeReTerminal::getStringTable(), NumeReTerminal::getTable(), m_terminal, and openTable().

Referenced by VariableViewer::OnShowTable().

Here is the call graph for this function:

◆ showTextEntry()

void NumeReWindow::showTextEntry ( NumeRe::Window window)
private

This private member function displays a text entry dialog.

Parameters
windowNumeRe::Window&
Returns
void

Definition at line 2383 of file NumeReWindow.cpp.

References getNextArgument(), getStandardIcon(), NumeRe::Window::getWindowSettings(), prepareStringsForDialog(), NumeRe::WindowSettings::sExpression, NumeRe::WindowSettings::sMessage, NumeRe::STATUS_CANCEL, NumeRe::STATUS_OK, NumeRe::WindowSettings::sTitle, and NumeRe::Window::updateWindowInformation().

Referenced by showWindow().

Here is the call graph for this function:

◆ showWindow()

void NumeReWindow::showWindow ( NumeRe::Window window)

This public member function handles the creation of windows requested by the kernel.

Parameters
windowNumeRe::Window&
Returns
void

Definition at line 2267 of file NumeReWindow.cpp.

References NumeRe::CTRL_FILEDIALOG, NumeRe::CTRL_FOLDERDIALOG, NumeRe::CTRL_LISTDIALOG, NumeRe::CTRL_MESSAGEBOX, NumeRe::CTRL_SELECTIONDIALOG, NumeRe::CTRL_TEXTENTRY, NumeRe::Window::getType(), NumeRe::Window::getWindowSettings(), NumeRe::WindowSettings::nControls, registerWindow(), showDirDialog(), showFileDialog(), showGraph(), showListDialog(), showMessageBox(), showSelectionDialog(), showTextEntry(), NumeRe::WINDOW_CUSTOM, NumeRe::WINDOW_GRAPH, NumeRe::WINDOW_MODAL, and WT_CUSTOM.

Referenced by NumeReTerminal::OnThreadUpdate().

Here is the call graph for this function:

◆ Test()

void NumeReWindow::Test ( wxCommandEvent &  event)
private

Definition at line 4583 of file NumeReWindow.cpp.

◆ toggleConsole()

void NumeReWindow::toggleConsole ( )
private

This member function toggles the bottom part of the window containing the terminal and the list view widgets.

Returns
void

Definition at line 5607 of file NumeReWindow.cpp.

References Settings::getSetting(), ProportionalSplitterWindow::GetSplitPercentage(), m_book, m_noteTerm, m_options, m_splitCommandHistory, m_splitEditorOutput, m_termContainer, m_terminal, SETTING_V_POS_SASH_H, ProportionalSplitterWindow::SplitHorizontally(), NumeReTerminal::UpdateSize(), and SettingsValue::value().

Referenced by OnMenuEvent(), and showConsole().

Here is the call graph for this function:

◆ toggleFiletree()

void NumeReWindow::toggleFiletree ( )
private

This member function toggles the left sidebar of the window containing both trees.

Returns
void

Definition at line 5638 of file NumeReWindow.cpp.

References Settings::getSetting(), m_book, m_options, m_splitEditorOutput, m_splitProjectEditor, m_terminal, m_treeBook, SETTING_V_POS_SASH_V, NumeReTerminal::UpdateSize(), and SettingsValue::value().

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ toggleHistory()

void NumeReWindow::toggleHistory ( )
private

This member function toggles the rightmost part of the lower window section containing the history and the list view widgets.

Returns
void

Definition at line 5667 of file NumeReWindow.cpp.

References Settings::getSetting(), ProportionalSplitterWindow::GetSplitPercentage(), m_noteTerm, m_options, m_splitCommandHistory, m_termContainer, m_terminal, SETTING_V_POS_SASH_T, ProportionalSplitterWindow::SplitVertically(), NumeReTerminal::UpdateSize(), and SettingsValue::value().

Referenced by OnMenuEvent().

Here is the call graph for this function:

◆ ToolbarStatusUpdate()

void NumeReWindow::ToolbarStatusUpdate ( )
private

private OnUpdateDebugUI Updates the debug-related toolbar items

Returns
void
Author
Mark Erikson
Date
04-22-2004

Definition at line 4803 of file NumeReWindow.cpp.

References FILE_CPP, FILE_MATLAB, FILE_NPRC, FILE_NSCR, EditorNotebook::getCurrentEditor(), NumeReEditor::getEditorSetting(), NumeReEditor::GetFileName(), NumeReEditor::getFileType(), ID_MENU_ADDEDITORBREAKPOINT, ID_MENU_CLEAREDITORBREAKPOINTS, ID_MENU_EXECUTE, ID_MENU_INDENTONTYPE, ID_MENU_LINEWRAP, ID_MENU_REMOVEEDITORBREAKPOINT, ID_MENU_STOP_EXECUTION, ID_MENU_USEANALYZER, m_book, NumeReEditor::SETTING_INDENTONTYPE, NumeReEditor::SETTING_USEANALYZER, and NumeReEditor::SETTING_WRAPEOL.

Referenced by OnPageChange(), OnStatusTimer(), and UpdateToolbar().

Here is the call graph for this function:

◆ unregisterWindow()

void NumeReWindow::unregisterWindow ( wxWindow *  window)

Removes the passed window form the internal window list (only if it exists).

Parameters
windowwxWindow*
Returns
void

Definition at line 6813 of file NumeReWindow.cpp.

References m_openedWindows.

◆ UpdateLocationIfOpen()

void NumeReWindow::UpdateLocationIfOpen ( const wxFileName &  fname,
const wxFileName &  newFName 
)

Updates the editor's and notebook's filename location, if it already opened and not modified.

Parameters
fnameconst wxFileName&
newFNameconst wxFileName&
Returns
void

Definition at line 6708 of file NumeReWindow.cpp.

References EditorNotebook::getEditor(), NumeReEditor::GetFileNameAndPath(), GetPageNum(), m_book, NumeReEditor::Modified(), NumeReEditor::SetFilename(), EditorNotebook::SetTabText(), and UpdateWindowTitle().

Referenced by NumeReDropTarget::OnData(), and renameFile().

Here is the call graph for this function:

◆ UpdateMenuBar()

void NumeReWindow::UpdateMenuBar ( )
private

private UpdateMenuBar Recreates the menus, based on the current permissions

Returns
void
Author
Mark Erikson
Date
04-22-2004

Definition at line 5161 of file NumeReWindow.cpp.

References _guilang, EVENTID_PLUGIN_MENU_END, Language::get(), EditorNotebook::getCurrentEditor(), NumeReEditor::getEditorSetting(), NumeReTerminal::getKernelSettings(), ID_MENU_ABOUT, ID_MENU_ABSTRAHIZE_SECTION, ID_MENU_AUTOFORMAT, ID_MENU_AUTOINDENT, ID_MENU_BOOKMARK_CLEARMENU, ID_MENU_BOOKMARK_NEXT, ID_MENU_BOOKMARK_PREVIOUS, ID_MENU_BOOKMARK_TOGGLE, ID_MENU_CLOSEALL, ID_MENU_CLOSEPAGE, ID_MENU_COMPARE_FILES, ID_MENU_COMPILE_LATEX, ID_MENU_COPY, ID_MENU_CREATE_DOCUMENTATION, ID_MENU_CREATE_LATEX_FILE, ID_MENU_CREATE_PACKAGE, ID_MENU_CUT, ID_MENU_DISPCTRLCHARS, ID_MENU_EXECUTE, ID_MENU_EXPORT_AS_HTML, ID_MENU_EXPORT_FORMATTED, ID_MENU_FIND, ID_MENU_FIND_DUPLICATES, ID_MENU_FIND_INCLUDE, ID_MENU_FIND_PROCEDURE, ID_MENU_FOLD_ALL, ID_MENU_GOTOLINE, ID_MENU_HELP, ID_MENU_INDENTONTYPE, ID_MENU_INSTALLPLUGINFROMFILE, ID_MENU_LINEWRAP, ID_MENU_NEW_EMPTY, ID_MENU_NEW_LAYOUT, ID_MENU_NEW_PLUGIN, ID_MENU_NEW_PROCEDURE, ID_MENU_NEW_SCRIPT, ID_MENU_OPEN_SOURCE_LOCAL, ID_MENU_OPTIONS, ID_MENU_PASTE, ID_MENU_PLUGINBROWSER, ID_MENU_PRINT_PAGE, ID_MENU_PRINT_PREVIEW, ID_MENU_PRINT_SETUP, ID_MENU_QUIT, ID_MENU_REDO, ID_MENU_RENAME_SYMBOL, ID_MENU_REPLACE, ID_MENU_RUN_LATEX, ID_MENU_SAVE, ID_MENU_SAVE_SOURCE_LOCAL, ID_MENU_SELECTION_DOWN, ID_MENU_SELECTION_UP, ID_MENU_SHOW_DEPENDENCY_REPORT, ID_MENU_SORT_SELECTION_ASC, ID_MENU_SORT_SELECTION_DESC, ID_MENU_STRIP_SPACES_BACK, ID_MENU_STRIP_SPACES_BOTH, ID_MENU_STRIP_SPACES_FRONT, ID_MENU_TOGGLE_COMMENT_LINE, ID_MENU_TOGGLE_COMMENT_SELECTION, ID_MENU_TOGGLE_CONSOLE, ID_MENU_TOGGLE_DEBUGGER, ID_MENU_TOGGLE_FILETREE, ID_MENU_TOGGLE_HISTORY, ID_MENU_TRANSPOSESELECTION, ID_MENU_UNDO, ID_MENU_UNFOLD_ALL, ID_MENU_UNHIDE_ALL, ID_MENU_USEANALYZER, ID_MENU_USESECTIONS, ID_MENU_USETXTADV, m_appStarting, m_book, m_menuItems, m_terminal, NumeReEditor::SETTING_DISPCTRLCHARS, NumeReEditor::SETTING_INDENTONTYPE, NumeReEditor::SETTING_USEANALYZER, NumeReEditor::SETTING_USESECTIONS, NumeReEditor::SETTING_USETXTADV, NumeReEditor::SETTING_WRAPEOL, UpdatePackageMenu(), and Settings::useDebugger().

Referenced by NumeReWindow().

Here is the call graph for this function:

◆ UpdatePackageMenu()

void NumeReWindow::UpdatePackageMenu ( )
private

Updates the package menu after an installation.

Returns
void

Definition at line 5374 of file NumeReWindow.cpp.

References _guilang, EVENTID_PLUGIN_MENU_END, EVENTID_PLUGIN_MENU_START, Language::get(), NumeReTerminal::getMenuMap(), m_pluginMenuMap, m_terminal, and removeMaskedStrings().

Referenced by notifyInstallationDone(), and UpdateMenuBar().

Here is the call graph for this function:

◆ UpdateStatusBar()

void NumeReWindow::UpdateStatusBar ( )
private

◆ UpdateTerminalNotebook()

void NumeReWindow::UpdateTerminalNotebook ( )
private

private UpdateTerminalNotebook Recreates the notebook containing the terminal and other related widgets

Returns
void
Author
Mark Erikson
Date
04-22-2004

Definition at line 5538 of file NumeReWindow.cpp.

References Settings::getSetting(), m_appStarting, m_book, m_noteTerm, m_options, m_splitCommandHistory, m_splitEditorOutput, m_termContainer, m_terminal, SETTING_V_POS_SASH_H, SETTING_V_POS_SASH_T, ProportionalSplitterWindow::SplitHorizontally(), ProportionalSplitterWindow::SplitVertically(), NumeReTerminal::UpdateSize(), and SettingsValue::value().

Referenced by NumeReWindow().

Here is the call graph for this function:

◆ updateTipAtStartupSetting()

void NumeReWindow::updateTipAtStartupSetting ( bool  bTipAtStartup)

This function can be used to deactivate the "Tip of the day" functionality directly from the dialog.

Parameters
bTipAtStartupbool
Returns
void

Definition at line 747 of file NumeReWindow.cpp.

References SettingsValue::active(), Settings::getSetting(), m_options, m_terminal, NumeReTerminal::setKernelSettings(), and SETTING_B_SHOWHINTS.

Referenced by MyApp::OnInit().

Here is the call graph for this function:

◆ UpdateToolbar()

◆ UpdateVarViewer()

void NumeReWindow::UpdateVarViewer ( )
private

This member function gets the current variable list from the kernel and updates the variable viewer widget correspondingly.

Returns
void

Definition at line 5574 of file NumeReWindow.cpp.

References NumeReTerminal::getVariableList(), m_terminal, m_varViewer, NumeReVariables::nClusters, NumeReVariables::nNumerics, NumeReVariables::nStrings, NumeReVariables::nTables, VariableViewer::UpdateVariables(), and NumeReVariables::vVariables.

Referenced by Ready().

Here is the call graph for this function:

◆ UpdateWindowTitle()

void NumeReWindow::UpdateWindowTitle ( const wxString &  filename)
private

This member function updates the application's window title using the current opened file's name.

Parameters
filenameconst wxString&
Returns
void

Definition at line 5593 of file NumeReWindow.cpp.

References sVersion.

Referenced by EvaluateOptions(), OnUpdateSaveUI(), PageHasChanged(), SaveAll(), SaveCurrentFile(), and UpdateLocationIfOpen().

Member Data Documentation

◆ logWindow

wxLogWindow* NumeReWindow::logWindow
private

Displays the output from wxLogDebug calls

Definition at line 370 of file NumeReWindow.h.

Referenced by NumeReWindow().

◆ m_appClosing

bool NumeReWindow::m_appClosing
private

Definition at line 456 of file NumeReWindow.h.

Referenced by CloseAllFiles(), CloseFile(), NumeReWindow(), OnClose(), and PageHasChanged().

◆ m_appStarting

bool NumeReWindow::m_appStarting
private

◆ m_book

◆ m_clickedTabNum

int NumeReWindow::m_clickedTabNum
private

The last clicked tab in the editor notebook

Definition at line 453 of file NumeReWindow.h.

Referenced by SelectIntVar().

◆ m_clickedTreeItem

wxTreeItemId NumeReWindow::m_clickedTreeItem
private

◆ m_container1

wxPanel* NumeReWindow::m_container1
private

Definition at line 419 of file NumeReWindow.h.

◆ m_container2

wxPanel* NumeReWindow::m_container2
private

Definition at line 420 of file NumeReWindow.h.

◆ m_copiedTreeItem

wxTreeItemId NumeReWindow::m_copiedTreeItem
private

The last copied item in the project tree

Definition at line 438 of file NumeReWindow.h.

Referenced by deleteFile(), insertCopiedFile(), NumeReWindow(), OnMenuEvent(), OnRemoveFolder(), and OnTreeItemRightClick().

◆ m_currentlyDebugging

bool NumeReWindow::m_currentlyDebugging
private

Definition at line 461 of file NumeReWindow.h.

◆ m_currentPage

int NumeReWindow::m_currentPage
private

Tracks the active editor tab

Definition at line 449 of file NumeReWindow.h.

Referenced by DefaultPage(), NewFile(), NumeReWindow(), OpenSourceFile(), PageHasChanged(), and SelectIntVar().

◆ m_currentView

ViewerFrame* NumeReWindow::m_currentView
private

Definition at line 386 of file NumeReWindow.h.

Referenced by NumeReWindow(), openImage(), and setViewerFocus().

◆ m_debugTermContainer

wxTermContainer* NumeReWindow::m_debugTermContainer
private

The debug I/O widget container

Definition at line 412 of file NumeReWindow.h.

◆ m_debugViewer

DebugViewer* NumeReWindow::m_debugViewer
private

Definition at line 444 of file NumeReWindow.h.

Referenced by evaluateDebugInfo(), EvaluateOptions(), NumeReWindow(), OnClose(), and Ready().

◆ m_dragDropSourceItem

wxTreeItemId NumeReWindow::m_dragDropSourceItem
private

Definition at line 441 of file NumeReWindow.h.

Referenced by getDragDropSourceItem(), OnFileSystemEvent(), and OnTreeDragDrop().

◆ m_fileEventTimer

wxTimer* NumeReWindow::m_fileEventTimer
private

Definition at line 428 of file NumeReWindow.h.

Referenced by NumeReWindow(), OnClose(), OnFileSystemEvent(), and ~NumeReWindow().

◆ m_fileNum

int NumeReWindow::m_fileNum
private

Tracks the number of new files created - used to identify <untitled> files

Definition at line 451 of file NumeReWindow.h.

Referenced by CloseFile(), DefaultPage(), NewFile(), and NumeReWindow().

◆ m_filePanel

TreePanel* NumeReWindow::m_filePanel
private

Definition at line 390 of file NumeReWindow.h.

Referenced by NumeReWindow().

◆ m_filesLastSaveTime

std::map<wxString, __time64_t> NumeReWindow::m_filesLastSaveTime
private

Definition at line 482 of file NumeReWindow.h.

Referenced by OnFileEventTimer(), reloadFileIfOpen(), and SaveTab().

◆ m_fileToRefresh

wxString NumeReWindow::m_fileToRefresh
private

Definition at line 483 of file NumeReWindow.h.

◆ m_fileTree

◆ m_filterAllFiles

wxString NumeReWindow::m_filterAllFiles
private

Definition at line 477 of file NumeReWindow.h.

Referenced by ConstructFilterString(), and NumeReWindow().

◆ m_filterDataFiles

wxString NumeReWindow::m_filterDataFiles
private

Definition at line 475 of file NumeReWindow.h.

Referenced by ConstructFilterString(), and NumeReWindow().

◆ m_filterExecutableFiles

wxString NumeReWindow::m_filterExecutableFiles
private

Definition at line 474 of file NumeReWindow.h.

Referenced by ConstructFilterString(), and NumeReWindow().

◆ m_filterImageFiles

wxString NumeReWindow::m_filterImageFiles
private

Definition at line 476 of file NumeReWindow.h.

Referenced by ConstructFilterString(), and NumeReWindow().

◆ m_filterNLYTFiles

wxString NumeReWindow::m_filterNLYTFiles
private

Definition at line 472 of file NumeReWindow.h.

Referenced by ConstructFilterString(), and NumeReWindow().

◆ m_filterNonsource

wxString NumeReWindow::m_filterNonsource
private

Definition at line 479 of file NumeReWindow.h.

Referenced by ConstructFilterString(), and NumeReWindow().

◆ m_filterNPRCFiles

wxString NumeReWindow::m_filterNPRCFiles
private

Definition at line 471 of file NumeReWindow.h.

Referenced by ConstructFilterString(), and NumeReWindow().

◆ m_filterNSCRFiles

wxString NumeReWindow::m_filterNSCRFiles
private

Definition at line 470 of file NumeReWindow.h.

Referenced by ConstructFilterString(), and NumeReWindow().

◆ m_filterNumeReFiles

wxString NumeReWindow::m_filterNumeReFiles
private

Definition at line 473 of file NumeReWindow.h.

Referenced by ConstructFilterString(), and NumeReWindow().

◆ m_filterSupportedFiles

wxString NumeReWindow::m_filterSupportedFiles
private

Definition at line 480 of file NumeReWindow.h.

Referenced by ConstructFilterString(), and NumeReWindow().

◆ m_filterTeXSource

wxString NumeReWindow::m_filterTeXSource
private

Definition at line 478 of file NumeReWindow.h.

Referenced by ConstructFilterString(), and NumeReWindow().

◆ m_findData

wxFindReplaceData NumeReWindow::m_findData
private

Used to hold data for the find/replace dialogs

Definition at line 431 of file NumeReWindow.h.

Referenced by OnFindReplace().

◆ m_functionPanel

TreePanel* NumeReWindow::m_functionPanel
private

Definition at line 391 of file NumeReWindow.h.

Referenced by NumeReWindow().

◆ m_functionTree

FileTree* NumeReWindow::m_functionTree
private

◆ m_history

NumeReHistory* NumeReWindow::m_history
private

Pointer to the currently active editor

Definition at line 382 of file NumeReWindow.h.

Referenced by AddToHistory(), forceHistoryPageDown(), NumeReWindow(), OnClose(), OnOptions(), and refreshFunctionTree().

◆ m_iconManager

IconManager* NumeReWindow::m_iconManager
private

◆ m_loadingFilesDuringStartup

bool NumeReWindow::m_loadingFilesDuringStartup
private

Definition at line 463 of file NumeReWindow.h.

Referenced by CopyEditorSettings(), NumeReWindow(), PageHasChanged(), and prepareSession().

◆ m_menuItems

std::map<int, wxMenuItem*> NumeReWindow::m_menuItems
private

Definition at line 464 of file NumeReWindow.h.

Referenced by OnMenuEvent(), PageHasChanged(), and UpdateMenuBar().

◆ m_modifiedFiles

std::vector<std::pair<int, wxString> > NumeReWindow::m_modifiedFiles
private

Definition at line 465 of file NumeReWindow.h.

Referenced by OnFileEventTimer(), and OnFileSystemEvent().

◆ m_multiRowState

bool NumeReWindow::m_multiRowState
private

Definition at line 462 of file NumeReWindow.h.

Referenced by NumeReWindow(), and OnMenuEvent().

◆ m_noteTerm

ViewerBook* NumeReWindow::m_noteTerm
private

Notebook for the terminal and debug-related widgets

Definition at line 376 of file NumeReWindow.h.

Referenced by NumeReWindow(), toggleConsole(), toggleHistory(), and UpdateTerminalNotebook().

◆ m_numPages

int NumeReWindow::m_numPages
private

Definition at line 447 of file NumeReWindow.h.

Referenced by SelectIntVar().

◆ m_openedWindows

std::map<wxWindow*, WindowType> NumeReWindow::m_openedWindows
private

Definition at line 466 of file NumeReWindow.h.

Referenced by closeWindows(), registerWindow(), and unregisterWindow().

◆ m_options

◆ m_optionsDialog

OptionsDialog* NumeReWindow::m_optionsDialog
private

Definition at line 424 of file NumeReWindow.h.

Referenced by NumeReWindow(), OnOptions(), and ~NumeReWindow().

◆ m_outputPanel

CompilerOutputPanel* NumeReWindow::m_outputPanel
private

Displays the output from the compiler

Definition at line 408 of file NumeReWindow.h.

◆ m_pluginMenuMap

std::map<size_t, std::string> NumeReWindow::m_pluginMenuMap
private

Definition at line 467 of file NumeReWindow.h.

Referenced by OnPluginMenuEvent(), and UpdatePackageMenu().

◆ m_procedureViewer

ProcedureViewer* NumeReWindow::m_procedureViewer
private

Definition at line 384 of file NumeReWindow.h.

Referenced by NumeReWindow(), and PageHasChanged().

◆ m_projectFileFolders

wxTreeItemId NumeReWindow::m_projectFileFolders[5]
private

The IDs for the file type folders in the project tree

Definition at line 434 of file NumeReWindow.h.

Referenced by EvaluateOptions(), getTreeFolderPath(), getTreePath(), NumeReWindow(), OnFileEventTimer(), and OnTreeItemActivated().

◆ m_projectSelectedFolderType

FileFilterType NumeReWindow::m_projectSelectedFolderType
private

The file type that corresponds to the last clicked project folder

Definition at line 440 of file NumeReWindow.h.

◆ m_remoteMode

bool NumeReWindow::m_remoteMode
private

◆ m_sessionSaved

bool NumeReWindow::m_sessionSaved
private

Definition at line 457 of file NumeReWindow.h.

Referenced by CloseAllFiles(), and NumeReWindow().

◆ m_setSelection

bool NumeReWindow::m_setSelection
private

Definition at line 458 of file NumeReWindow.h.

Referenced by NumeReWindow(), OnPageChange(), and OpenSourceFile().

◆ m_splitCommandHistory

ProportionalSplitterWindow* NumeReWindow::m_splitCommandHistory
private

Holds the command window and the history window

Definition at line 404 of file NumeReWindow.h.

Referenced by NumeReWindow(), OnClose(), OnOptions(), toggleConsole(), toggleHistory(), and UpdateTerminalNotebook().

◆ m_splitEditorOutput

ProportionalSplitterWindow* NumeReWindow::m_splitEditorOutput
private

Holds the editor/project group and the output notebook

Definition at line 402 of file NumeReWindow.h.

Referenced by EvaluateOptions(), NumeReWindow(), OnClose(), OnOptions(), toggleConsole(), toggleFiletree(), and UpdateTerminalNotebook().

◆ m_splitProjectEditor

wxSplitterWindow* NumeReWindow::m_splitProjectEditor
private

Holds the project tree and the editor notebook

Definition at line 406 of file NumeReWindow.h.

Referenced by EvaluateOptions(), NumeReWindow(), OnClose(), and toggleFiletree().

◆ m_splitterPos

int NumeReWindow::m_splitterPos
private

Definition at line 454 of file NumeReWindow.h.

◆ m_statusBar

NumeReStatusbar* NumeReWindow::m_statusBar
private

The status bar

Definition at line 399 of file NumeReWindow.h.

Referenced by Busy(), NumeReWindow(), Ready(), and UpdateStatusBar().

◆ m_termContainer

wxTermContainer* NumeReWindow::m_termContainer
private

The main terminal widget container

Definition at line 410 of file NumeReWindow.h.

Referenced by EvaluateOptions(), NumeReWindow(), OnMenuEvent(), OnOptions(), showConsole(), toggleConsole(), toggleHistory(), and UpdateTerminalNotebook().

◆ m_terminal

◆ m_treeBook

ViewerBook* NumeReWindow::m_treeBook
private

Notebook for the tree controls on the right side

Definition at line 378 of file NumeReWindow.h.

Referenced by EvaluateOptions(), NumeReWindow(), and toggleFiletree().

◆ m_UnrecoverableFiles

std::string NumeReWindow::m_UnrecoverableFiles

Definition at line 226 of file NumeReWindow.h.

Referenced by NumeReWindow(), MyApp::OnInit(), and prepareSession().

◆ m_updateTimer

wxTimer* NumeReWindow::m_updateTimer
private

Used to initiate UI updates

Definition at line 427 of file NumeReWindow.h.

Referenced by NumeReWindow(), OnClose(), OnIdle(), OnStatusTimer(), and ~NumeReWindow().

◆ m_varViewer

VariableViewer* NumeReWindow::m_varViewer
private

Definition at line 383 of file NumeReWindow.h.

Referenced by NumeReWindow(), and UpdateVarViewer().

◆ m_watcher

Filewatcher* NumeReWindow::m_watcher
private

◆ m_watchPanel

VariableWatchPanel* NumeReWindow::m_watchPanel
private

Displays watched variables

Definition at line 414 of file NumeReWindow.h.

◆ m_watchPanelContainer

wxPanel* NumeReWindow::m_watchPanelContainer
private

Definition at line 418 of file NumeReWindow.h.

◆ m_watchPanelSplitter

ProportionalSplitterWindow* NumeReWindow::m_watchPanelSplitter
private

Definition at line 421 of file NumeReWindow.h.

◆ showTipAtStartup

bool NumeReWindow::showTipAtStartup

Definition at line 215 of file NumeReWindow.h.

Referenced by NumeReWindow(), and MyApp::OnInit().

◆ tipProvider

MyTipProvider* NumeReWindow::tipProvider

Definition at line 214 of file NumeReWindow.h.

Referenced by NumeReWindow(), and MyApp::OnInit().

◆ vReloadBlackList

std::vector<wxString> NumeReWindow::vReloadBlackList
private

The documentation for this class was generated from the following files: