34#include "BuildConfig.h"
37#include "WXMXformat.h"
38#include "Configuration.h"
50#include <wx/process.h>
53#include <wx/txtstrm.h>
54#include <wx/sckstrm.h>
58#include <wx/debugrpt.h>
64#include <unordered_map>
67#define MAXIMAPOLLMSECS 2000
77 wxMaxima(wxWindow *parent,
int id,
const wxString &title,
78 const wxString &filename = wxEmptyString,
79 const wxString &initialWorksheetContents = wxEmptyString,
80 const wxPoint pos = wxDefaultPosition,
const wxSize size = wxDefaultSize);
83 wxString EscapeFilenameForShell(wxString name);
109 static void RepairFileAssociations();
136#ifdef wxHAS_POWER_EVENTS
137 void OnPowerEvent(wxPowerEvent &event);
164 m_evalOnStartup = eval;
188 {
return m_fileSaved; }
192 { GetWorksheet()->
OpenHCaret(file, GC_TYPE_IMAGE); }
199 long Major()
const {
return m_major;}
200 long Minor()
const {
return m_minor;}
201 long Patchlevel()
const {
return m_patchlevel;}
206 long m_patchlevel = -1;
211 {maxima_command_line_filename = filename;}
242 static int GetExitCode(){
return m_exitCode;}
246 static wxString maxima_command_line_filename;
248 bool m_maximaAuthenticated =
false;
250 bool m_discardAllData =
false;
252 wxString m_maximaAuthString;
257 static bool m_exitOnError;
261 bool m_exitOnErrorArmed =
true;
263 static wxString m_extraMaximaArgs;
265 std::vector<wxString> m_varNamesToQuery;
268 bool m_openInitialFileError =
false;
270 wxString EscapeForLisp(wxString str);
272 long long m_maximaJiffies_old = 0;
274 long long m_cpuTotalJiffies_old = 0;
277 wxString m_configCommands;
279 static wxRegEx m_gnuplotErrorRegex;
281 wxString m_oldFindString;
283 int m_oldFindFlags = 0;
285 bool m_hasEvaluatedCells =
false;
287 long m_outputCellsFromCurrentCommand = 0;
289 long m_maxOutputCellsPerCommand = 0;
296 int m_unsuccessfulConnectionAttempts = 11;
300 bool m_evalOnStartup =
false;
302 bool m_exitAfterEval =
false;
304 bool m_ready =
false;
310 wxString GetUnmatchedParenthesisState(wxString text, std::size_t &index);
312 wxMemoryBuffer m_uncompletedChars;
317 const wxString &description,
const wxString &description_tooltip,
318 const wxString &commandRule,
319 wxString label1, wxString defaultval1, wxString tooltip1 = {},
320 wxString label2 = {}, wxString defaultval2 = {}, wxString tooltip2 = {},
321 wxString label3 = {}, wxString defaultval3 = {}, wxString tooltip3 = {},
322 wxString label4 = {}, wxString defaultval4 = {}, wxString tooltip4 = {},
323 wxString label5 = {}, wxString defaultval5 = {}, wxString tooltip5 = {},
324 wxString label6 = {}, wxString defaultval6 = {}, wxString tooltip6 = {},
325 wxString label7 = {}, wxString defaultval7 = {}, wxString tooltip7 = {},
326 wxString label8 = {}, wxString defaultval8 = {}, wxString tooltip8 = {},
327 wxString label9 = {}, wxString defaultval9 = {}, wxString tooltip9 = {},
328 wxString label10 = {}, wxString defaultval10 = {}, wxString tooltip10 = {}
365 void OnFocus(wxFocusEvent &event);
378 void OnFollow(wxCommandEvent &event);
379 void OnWizardAbort(wxCommandEvent &event);
380 void OnWizardOK(wxCommandEvent &event);
381 void OnWizardInsert(wxCommandEvent &event);
382 void OnWizardHelpButton(wxCommandEvent &event);
394 void ShowHelp(
const wxString &keyword);
396 void CheckForUpdates(
bool reportUpToDate =
false);
398 void OnRecentDocument(wxCommandEvent &event);
399 void OnRecentPackage (wxCommandEvent &event);
400 void OnUnsavedDocument(wxCommandEvent &event);
402 void OnChar(wxKeyEvent &event);
403 void OnKeyDown(wxKeyEvent &event);
431 void OnIdle(wxIdleEvent &event);
432 bool m_dataFromMaximaIs =
false;
454 const wxString &documentclass,
455 const wxString &documentclassOptions,
456 bool embedWorksheet);
459 void RegisterWxmxDiffTool();
469 void ShowPane(wxCommandEvent &event);
475 void OnFind(wxFindDialogEvent &event);
478 void OnReplace(wxFindDialogEvent &event);
504 void SliderEvent(wxScrollEvent &event);
519 void OnInspectorEvent(wxCommandEvent &ev);
521 void DumpProcessOutput();
524 void TryUpdateInspector();
526 bool UpdateDrawPane();
528 wxString ExtractFirstExpression(
const wxString &entry);
530 wxString GetDefaultEntry();
532 void OnClose(wxCloseEvent &event);
536 void ReadMaximaIPC(
const wxString &data){m_ipc.
ReadInputData(data);}
538 wxString m_maximaVariable_display2d;
539 wxString m_maximaVariable_altdisplay2d;
540 wxString m_maximaVariable_engineeringFormat;
541 bool m_readMaximaVariables =
false;
542 bool m_updateAutocompletion =
true;
573 void ResetTitle(
bool saved,
bool force =
false);
576 std::unique_ptr<GroupCell>
CreateTreeFromXMLNode(wxXmlNode *xmlcells,
const wxString &wxmxfilename = {});
591 void SetCWD(wxString file);
599 std::unique_ptr<Maxima> m_client;
606 void operator()(wxSocketServer* server)
const {
616 std::unique_ptr<wxSocketServer, ServerDeleter>
m_server;
618 wxProcess *m_maximaProcess = NULL;
648 void QuestionAnswered(){
if(GetWorksheet()) GetWorksheet()->
QuestionAnswered();}
658 wxWindowIDRef m_gnuplot_process_id;
659 wxWindowIDRef m_maxima_process_id;
660 wxString m_lastPrompt;
661 wxString m_firstPromptBuffer;
663 std::unique_ptr<wxPrintData> m_printData;
671 wxString m_maximaHtmlDir;
672 bool m_fileSaved =
true;
673 static int m_exitCode;
681 wxString m_gnuplotcommand_commandline;
683 long m_commandIndex = -1;
685 static wxRegEx m_funRegEx;
686 static wxRegEx m_varRegEx;
687 static wxRegEx m_blankStatementRegEx;
688 static wxRegEx m_sbclCompilationRegEx;
690 bool m_maximaBusy =
true;
691 bool m_maximaError =
false;
693 wxString m_fileToOpen;
694 bool m_fourierLoaded =
false;
696#if wxUSE_DRAG_AND_DROP
698 friend class MyDropTarget;
736 wxTimer m_autoSaveTimer;
743 wxTimer m_fastResponseTimer;
746 void StartAutoSaveTimer();
795 bool logImmediately =
true);
797#if wxUSE_DRAG_AND_DROP
800class MyApp :
public wxApp
803 virtual bool OnInit()
override;
804 virtual int OnRun()
override;
805 virtual int OnExit()
override;
806#if wxUSE_ON_FATAL_EXCEPTION && wxUSE_DEBUGREPORT
807 void OnFatalException ()
override;
819 void OnAssertFailure(
const wxChar *file,
int line,
const wxChar *
func,
820 const wxChar *cond,
const wxChar *msg)
override;
834 static void NewWindow(
const wxString &file = {},
bool evalOnStartup =
false,
bool exitAfterEval =
false,
unsigned char *wxmData = NULL, std::size_t wxmLen = 0);
836 void OnFileMenu(wxCommandEvent &ev);
851 void DisableConsoleQuickEdit();
853 void RestoreConsoleMode();
857 void MacNewFile()
override;
858 void MacOpenFile(
const wxString &file)
override;
862 static wxLogWindow *m_logWindow;
871 static std::unique_ptr<wxLogChain> m_logChain;
872 static std::vector<wxProcess *> m_wxMaximaProcesses;
874#if wxUSE_ON_FATAL_EXCEPTION && wxUSE_DEBUGREPORT
875 void GenerateDebugReport(wxDebugReport::Context ctx);
878 std::unique_ptr<wxLocale> m_locale;
879 std::unique_ptr<wxTranslations> m_translations;
882 unsigned long m_consoleModeToRestore = 0;
884 bool m_consoleModeChanged =
false;
887 wxString m_configFileName;
889 static bool m_allWindowsInOneProcess;
890 std::unique_ptr<Configuration> m_configuration;
893class MyDropTarget :
public wxFileDropTarget
896 explicit MyDropTarget(
wxMaxima *wxmax)
899 bool OnDropFiles(wxCoord x, wxCoord y,
const wxArrayString &files);
This file declares the class DirStructure.
The header file for the xml cell parser.
The menu/toolbar command handlers wxMaxima binds to the "insert a Maxima command" menu and button eve...
Drives the evaluation of the worksheet: it pulls cells off the evaluation queue, sends their commands...
Loads and saves worksheet files (.wxmx, .wxm, .mac/.out, .xml) for wxMaxima.
Appends Maxima's (and wxMaxima's own) output to the worksheet.
The wxMaxima-side owner of the Maxima process and its control socket.
The handlers that turn a chunk of data Maxima sent into a change to wxMaxima's state and worksheet.
Appearance
How wxMaxima chooses between the light and the dark style set.
Definition: Configuration.h:944
An object that represents the directory structure wxMaxima is installed in.
Definition: Dirstructure.h:58
Definition: FindReplacePane.h:50
This class handles parsing the xml representation of a cell tree.
Definition: MathParser.h:54
The menu-command handlers extracted from the wxMaxima god class.
Definition: MaximaCommandMenus.h:49
The evaluation-queue driver / command protocol extracted from wxMaxima.
Definition: MaximaEvaluator.h:49
The worksheet file loaders/savers extracted from the wxMaxima god class.
Definition: MaximaFileIO.h:49
Handles the "<ipc>" tag from Maxima.
Definition: MaximaIPC.h:41
void ReadInputData(const wxString &data)
Reads the interprocess communications tag, used in test scripts, etc.
Definition: MaximaIPC.cpp:90
Definition: MaximaOutputAppender.h:43
The Maxima process/socket lifecycle extracted from the wxMaxima god class.
Definition: MaximaProcessManager.h:55
The Maxima-response handlers extracted from the wxMaxima god class.
Definition: MaximaResponseReader.h:58
Interface to the Maxima process.
Definition: Maxima.h:63
Definition: test_ImgCell.cpp:71
void OpenHCaret(const wxString &txt={})
Place the cursor into a new cell where the horizontal cursor is.
Definition: Worksheet.h:1367
void QuestionAnswered()
Mark the current question from maxima as "answered"..
Definition: Worksheet.cpp:2483
The frame containing the menu and the sidebars.
Definition: wxMaximaFrame.h:71
A version number that can be compared using "<" and ">".
Definition: wxMaxima.h:196
Definition: wxMaxima.h:75
void OnIdle(wxIdleEvent &event)
The idle task that refreshes the gui (worksheet, menus, title line,...)
Definition: wxMaxima.cpp:1855
void StatusMsgDClick(wxMouseEvent &ev)
Issued on double click on the status message in the status bar.
Definition: wxMaxima.cpp:3403
int m_port
The port the actual maxima process (not its wrapper script) runs at.
Definition: wxMaxima.h:632
wxOutputStream * m_maximaStdin
The stdin of the maxima process. Normally unused (commands go over the socket), but sbcl's low-level ...
Definition: wxMaxima.h:626
bool m_dispReadOut
what is displayed in statusbar
Definition: wxMaxima.h:657
bool m_scheduleUpdateToc
True = schedule an update of the table of contents.
Definition: wxMaxima.h:647
void ShowTip(bool force)
Definition: wxMaxima.cpp:1644
static wxRegEx m_xmlOpeningTag
Looks if this opening tag is actually complete.
Definition: wxMaxima.h:333
bool IsInteractive() const
Is this an interactive session (as opposed to a batch run that will exit)?
Definition: wxMaxima.h:178
static wxString m_promptPrefix
The marker for the start of a input prompt.
Definition: wxMaxima.h:638
void OnMinimize(wxIconizeEvent &event)
Called when this window is minimized.
Definition: wxMaxima.cpp:3628
static const wxString Get_Maxima_Commandline_Filename()
The maxima command, if we use the –maxima=<str> command. If empty we use the configured path,...
Definition: wxMaxima.h:213
void ShowWxMaximaHelp()
Show the help for wxMaxima.
Definition: wxMaxima.cpp:1734
void ChangeCellStyle(wxCommandEvent &event)
Is triggered when the textstyle drop-down box's value is changed.
Definition: wxMaxima.cpp:3635
static wxString ExtraMaximaArgs()
Which additional maxima arguments did we get from the command line?
Definition: wxMaxima.h:121
bool m_isActive
Is this window active?
Definition: wxMaxima.h:363
void NetworkDClick(wxMouseEvent &ev)
Issued on double click on the network status.
Definition: wxMaxima.cpp:3395
void OnReplace(wxFindDialogEvent &event)
Is triggered when the "Replace" button in the search dialog is pressed.
Definition: wxMaxima.cpp:2764
int SaveDocumentP()
Tries or offers to save the document.
Definition: wxMaxima.cpp:3574
void AddDrawParameter(wxString cmd, int dimensionsOfNewDrawCommand=2)
Add a parameter to a draw command.
Definition: wxMaxima.cpp:2836
void ShowHelp(const wxString &keyword)
Try to determine if help is needed for maxima or wxMaxima and show this help.
Definition: wxMaxima.cpp:1815
static void ExtraMaximaArgs(const wxString &args)
Additional maxima arguments from the command line.
Definition: wxMaxima.h:119
void EvalOnStartup(bool eval)
Do we want to evaluate the document on startup?
Definition: wxMaxima.h:162
static void ExitOnError()
Exit if we encounter an error.
Definition: wxMaxima.h:85
void OnUpdateTOCEvent(wxCommandEvent &event)
Is called when something requests an update of the table of contents.
Definition: wxMaxima.cpp:2495
void UpdateMenus()
Enables and disables the Right menu buttons.
Definition: wxMaxima.cpp:2288
void LaunchHelpBrowser(wxString uri)
Launches the help browser on the uri passed as an argument.
Definition: wxMaxima.cpp:1660
wxInputStream * m_maximaStdout
The stdout of the maxima process.
Definition: wxMaxima.h:620
void VarReadEvent(wxCommandEvent &event)
Spawn the "configure" menu.
Definition: wxMaxima.cpp:3162
static bool GetEnableIPC()
Do we allow maxima to click buttons in wxMaxima?
Definition: wxMaxima.h:117
std::unique_ptr< wxSocketServer, ServerDeleter > m_server
The server maxima connects to as client.
Definition: wxMaxima.h:616
wxTimer m_maximaStdoutPollTimer
A timer that polls for output from the maxima process.
Definition: wxMaxima.h:144
void OnFollow(wxCommandEvent &event)
Called when the "Scroll to currently evaluated" button is pressed.
Definition: wxMaxima.cpp:3430
bool DocumentSaved()
Does this document need saving?
Definition: wxMaxima.h:187
void CommandWiz(const wxString &title, const wxString &description, const wxString &description_tooltip, const wxString &commandRule, wxString label1, wxString defaultval1, wxString tooltip1={}, wxString label2={}, wxString defaultval2={}, wxString tooltip2={}, wxString label3={}, wxString defaultval3={}, wxString tooltip3={}, wxString label4={}, wxString defaultval4={}, wxString tooltip4={}, wxString label5={}, wxString defaultval5={}, wxString tooltip5={}, wxString label6={}, wxString defaultval6={}, wxString tooltip6={}, wxString label7={}, wxString defaultval7={}, wxString tooltip7={}, wxString label8={}, wxString defaultval8={}, wxString tooltip8={}, wxString label9={}, wxString defaultval9={}, wxString tooltip9={}, wxString label10={}, wxString defaultval10={}, wxString tooltip10={})
Invoke our standard wizard that generates maxima commands.
Definition: wxMaxima.cpp:2870
static void Set_Maxima_Commandline_Filename(const wxString &filename)
Use this maxima command (from a command line option) instead of the configured path.
Definition: wxMaxima.h:210
long long GetMaximaCpuTime()
How much CPU time has maxima used till now? Used by GetMaximaCPUPercentage.
Definition: wxMaxima.cpp:2539
void ReplaceSuggestion(wxCommandEvent &event)
Processes clicks on suggestions Make the menu item, toolbars and panes visible that should be visible...
Definition: wxMaxima.cpp:3274
void SetCWD(wxString file)
Set the current working directory file I/O from maxima is relative to.
Definition: wxMaxima.cpp:1489
static wxRegEx m_xmlOpeningTagName
Finds the name of an opening tag.
Definition: wxMaxima.h:331
void LoadImage(const wxString &file)
Load an image from a file into the worksheet.
Definition: wxMaxima.h:191
static void EnableIPC()
Allow maxima to click buttons in wxMaxima.
Definition: wxMaxima.h:115
void UpdateToolBar()
Enables and disables the Right toolbar buttons.
Definition: wxMaxima.cpp:2357
void ExportWorksheetToHtml(const wxString &filename, const wxString &flavor, bool embedWxmx)
Export the current worksheet to an HTML file (driven by wxworksheettohtml).
Definition: wxMaxima.cpp:2195
void HistoryDClick(wxCommandEvent &event)
Issued on double click on a history item.
Definition: wxMaxima.cpp:3407
void OnNewDemoFiles(wxCommandEvent &event)
Is called when we get a new list of demo files Is called when we get a new list of demo files.
Definition: wxMaxima.cpp:1151
wxString GetCommand(bool params=true)
returns the command to start maxima
Definition: wxMaxima.cpp:1590
static wxString m_mathPrefix1
A marker for the start of maths.
Definition: wxMaxima.h:634
void OnFind(wxFindDialogEvent &event)
Is triggered when the "Find" button in the search dialog is pressed.
Definition: wxMaxima.cpp:2735
void OnSymbolAdd(wxCommandEvent &event)
Sends a new char to the symbols sidebar.
Definition: wxMaxima.cpp:2821
wxInputStream * m_maximaStderr
The stderr of the maxima process.
Definition: wxMaxima.h:622
bool ExitOnErrorArmed() const
Is THIS worksheet still set to exit on a Maxima error?
Definition: wxMaxima.h:98
bool m_maximaConnectWatchdogWarningShown
Have we already shown the "Maxima hasn't connected" warning this run?
Definition: wxMaxima.h:158
void VarAddAllEvent(wxCommandEvent &event)
Trigger adding all variables to the variables sidebar.
Definition: wxMaxima.cpp:3153
static bool GetExitOnError()
Do we exit if we encounter an error?
Definition: wxMaxima.h:87
ExitCode
Dedicated exit codes for a –batch/–exit-on-error run that aborted (GH #2276): every reason used to sh...
Definition: wxMaxima.h:225
@ EXIT_FILE_OPEN_FAILED
The file named on the command line could not be opened.
Definition: wxMaxima.h:232
@ EXIT_MAXIMA_ERROR
A cell reported a Maxima error and –exit-on-error is active.
Definition: wxMaxima.h:227
@ EXIT_UNANSWERED_QUESTION
Maxima asked an interactive question with no scripted answer available ("Halts on questions",...
Definition: wxMaxima.h:230
@ EXIT_FILE_SAVE_FAILED
Saving the worksheet (on exit, or a –batch run's own final save) failed.
Definition: wxMaxima.h:235
@ EXIT_IMAGE_LOAD_FAILED
An embedded image's data could not be loaded at all (GH #2178).
Definition: wxMaxima.h:237
@ EXIT_IMAGE_DECODE_FAILED
An embedded image failed to decode/render (GH #2178, –debug only).
Definition: wxMaxima.h:239
void OnTimerEvent(wxTimerEvent &event)
Is triggered when a timer this class is responsible for requires.
Definition: wxMaxima.cpp:2632
void PassKeyboardFocus()
Forwards the keyboard focus to a text control that might need it.
Definition: wxMaxima.cpp:3616
double GetMaximaCPUPercentage()
How much CPU horsepower is maxima using currently?
Definition: wxMaxima.cpp:2604
bool m_closing
Did we tell maxima to close?
Definition: wxMaxima.h:668
void ResetTitle(bool saved, bool force=false)
Update the title.
Definition: wxMaxima.cpp:3286
void OnJumpToError(wxCommandEvent &event)
Called when the "Scroll to last error" button is pressed.
wxString m_maximaTempDir
The directory with maxima's temp files.
Definition: wxMaxima.h:670
void OnReplaceAll(wxFindDialogEvent &event)
Is triggered when the "Replace All" button in the search dialog is pressed.
Definition: wxMaxima.cpp:2797
void MaximaDClick(wxMouseEvent &ev)
Issued on double click on the Maxima status icon.
Definition: wxMaxima.cpp:3399
wxProcess * m_gnuplotProcess
The gnuplot process info.
Definition: wxMaxima.h:335
void OnFocus(wxFocusEvent &event)
Called when this window is focussed or defocussed.
Definition: wxMaxima.cpp:3610
TimerIDs
An enum of individual IDs for all timers this class handles.
Definition: wxMaxima.h:125
@ KEYBOARD_INACTIVITY_TIMER_ID
The keyboard was inactive long enough that we can attempt an auto-save.
Definition: wxMaxima.h:127
@ AUTO_SAVE_TIMER_ID
The time between two auto-saves has elapsed.
Definition: wxMaxima.h:129
@ MAXIMA_CONNECT_WATCHDOG_ID
Maxima's process was started; has it connected back to us by now?
Definition: wxMaxima.h:133
@ MAXIMA_STDOUT_POLL_ID
We look if we got new data from maxima's stdout.
Definition: wxMaxima.h:131
void OnClose(wxCloseEvent &event)
close wxMaxima window
Definition: wxMaxima.cpp:3058
bool SaveNecessary()
Does this file contain anything worth saving?
Definition: wxMaxima.cpp:3137
wxProcess * m_gnuplotTerminalQueryProcess
Info about the gnuplot process we start for querying the terminals it supports.
Definition: wxMaxima.h:337
void StripLispComments(wxString &s)
Remove empty statements.
Definition: wxMaxima.cpp:1438
void MenuCommand(const wxString &cmd)
Inserts command cmd into the worksheet.
Definition: wxMaxima.cpp:2167
bool m_inLDB
True while sbcl is stopped in its low-level debugger (LDB). Set from the LDB banner on the process's ...
Definition: wxMaxima.h:630
static const wxString m_promptSuffix
The marker for the end of a input prompt.
Definition: wxMaxima.h:641
void ShowMaximaHelp(wxString={})
Show the help for Maxima.
Definition: wxMaxima.cpp:1822
wxString m_gnuplotProbedCommand
The gnuplot command whose terminal support we already probed.
Definition: wxMaxima.h:361
wxString GetCWD()
Get the current working directory file I/O from maxima is relative to.
Definition: wxMaxima.h:594
std::unique_ptr< GroupCell > CreateTreeFromXMLNode(wxXmlNode *xmlcells, const wxString &wxmxfilename={})
Loads a wxmx description.
Definition: wxMaxima.cpp:1547
void ShowPane(wxCommandEvent &event)
Toggle the visibility of a pane.
Definition: wxMaxima.cpp:3369
void ShowMaximaHelpWithoutAnchor()
Show the help for Maxima (without handling of anchors).
Definition: wxMaxima.cpp:1773
long long GetTotalCpuTime()
How much CPU time has been used by the system until now? Used by GetMaximaCPUPercentage.
Definition: wxMaxima.cpp:2504
void ExitAfterEval(bool exitaftereval)
Do we want to exit the program after evaluation?
Definition: wxMaxima.cpp:1563
wxProcess * m_gnuplotPopoutCheckProcess
A second, hidden, headless gnuplot invocation of the same "Pop out interactively" script,...
Definition: wxMaxima.h:349
wxString m_gnuplotcommand
Maxima's idea about gnuplot's location.
Definition: wxMaxima.h:675
static wxString m_mathPrefix2
A marker for the start of maths.
Definition: wxMaxima.h:636
void UpdateSlider()
Updates the slider to show the right frame.
Definition: wxMaxima.cpp:3341
void TableOfContentsSelection(wxListEvent &event)
Issued on double click on a table of contents item.
Definition: wxMaxima.cpp:3413
void ConfigChanged()
Is called on start and whenever the configuration changes.
Definition: wxMaxima.cpp:206
wxTimer m_maximaConnectWatchdogTimer
Fires once, a few seconds after Maxima's process is started.
Definition: wxMaxima.h:156
wxString m_gnuplotPopoutCheckFile
The temp file m_gnuplotPopoutCheckProcess reads its script from; removed once OnGnuplotPopoutCheckClo...
Definition: wxMaxima.h:352
static wxString m_firstPrompt
The first prompt maxima will output.
Definition: wxMaxima.h:656
bool SaveOnClose()
Try to save the file before closing it - or return false.
Definition: wxMaxima.cpp:3015
void ExportWorksheetToTex(const wxString &filename, const wxString &documentclass, const wxString &documentclassOptions, bool embedWorksheet)
Export the current worksheet to a LaTeX file (driven by wxworksheettotex).
Definition: wxMaxima.cpp:2242
void func()
function in group 1
Definition: group.cpp:13
The Right Way to delete a wxSocketServer.
Definition: wxMaxima.h:605
This file declares the class wxMaximaFrame.
wxString ApplyAppearanceToApp(Configuration::Appearance appearance, bool logImmediately=true)
Apply the chosen light/dark appearance to the native application chrome (menus, toolbars,...
Definition: wxMaxima.cpp:162