24#include <wx/stc/stc.h>
26#include <wx/dynarray.h>
28#include "../terminal/terminal.hpp"
29#include "../../common/datastructures.h"
30#include "../../kernel/syntax.hpp"
41 const wxSize& size = wxDefaultSize,
long style = 0,
42 const wxString&
name = wxSTCNameStr);
The class of the editor window.
NumeReTerminal * m_terminal
NumeReWindow * m_mainframe
void OnMenuEvent(wxCommandEvent &event)
Event handler for the context menu.
void OnMouseDblClk(wxMouseEvent &event)
Double clicking event handler. Will re-execute the selected line or fold the session,...
wxString getLastLine()
Return the last line of the input history.
NumeReHistory(NumeReWindow *mframe, Options *options, wxWindow *parent, wxWindowID id, NumeReSyntax *__syntax, NumeReTerminal *__terminal, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxSTCNameStr)
History constructor.
void applyFoldPoints()
Add fold points to hide previous sessions.
~NumeReHistory()
Empty destructor.
void UpdateSyntaxHighlighting(bool forceUpdate=false)
Update the syntax highlighting to represent the selected syntax colors.
void OnMouseDn(wxMouseEvent &event)
Select the whole line, if the user clicks on a line.
void AddToHistory(const wxString &commandstring)
Add the passed string at the end of the input history.
void saveHistory()
Save the history to the corresponding file.
void addHeader()
Add the history header presenting the current date and time.
void OnMarginClick(wxStyledTextEvent &event)
Event handler for folding.
void copyLine()
Copy the selected line to the clipboard.
void OnRightClick(wxMouseEvent &event)
Event handler to display the context menu, if the user clicks right on a line.
void loadHistory()
Load the history from the corresponding file.
void OnMouseCaptureLost(wxMouseCaptureLostEvent &event)
Ensure that the drag'n drop is handled consistently.
void deleteLine()
Delete the previously selected line.
This class contains all needed keywords to highlight their occurences correspondingly....
The terminal class for the GUI. It's a specialisation of the GenericTerminal.
This class is the actual NumeRe main frame. The application's logic is implemented here.
This class implements an interface of the internal Settings object adapted to be usable from the GUI.