Code::Blocks  SVN r11506
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
EditorManager Class Reference

#include <editormanager.h>

Inheritance diagram for EditorManager:
Collaboration diagram for EditorManager:

Public Member Functions

EditorManageroperator= (cb_unused const EditorManager &rhs)
 
cbAuiNotebookGetNotebook ()
 
cbNotebookStackGetNotebookStack ()
 
void DeleteNotebookStack ()
 
void RebuildNotebookStack ()
 
void RecreateOpenEditorStyles ()
 
int GetEditorsCount ()
 
EditorBaseIsOpen (const wxString &filename)
 
cbEditorOpen (const wxString &filename, int pos=0, ProjectFile *data=nullptr)
 
cbEditorOpen (LoaderBase *fileLdr, const wxString &filename, int pos=0, ProjectFile *data=nullptr)
 
EditorBaseGetEditor (int index)
 
EditorBaseGetEditor (const wxString &filename)
 
EditorBaseGetActiveEditor ()
 
cbEditorGetBuiltinEditor (EditorBase *eb)
 
int FindPageFromEditor (EditorBase *eb)
 
cbEditorIsBuiltinOpen (const wxString &filename)
 
cbEditorGetBuiltinEditor (int index)
 
cbEditorGetBuiltinEditor (const wxString &filename)
 
cbEditorGetBuiltinActiveEditor ()
 
void ActivateNext ()
 
void ActivatePrevious ()
 
void SetActiveEditor (EditorBase *ed)
 
EditorColourSetGetColourSet ()
 
void SetColourSet (EditorColourSet *theme)
 
cbEditorNew (const wxString &newFileName=wxEmptyString)
 
void AddCustomEditor (EditorBase *eb)
 
void RemoveCustomEditor (EditorBase *eb)
 
bool UpdateProjectFiles (cbProject *project)
 
bool SwapActiveHeaderSource ()
 
bool OpenContainingFolder ()
 
bool CloseActive (bool dontsave=false)
 
bool Close (const wxString &filename, bool dontsave=false)
 
bool Close (EditorBase *editor, bool dontsave=false)
 
bool Close (int index, bool dontsave=false)
 
bool QueryClose (EditorBase *editor)
 
bool QueryCloseAll ()
 
bool CloseAll (bool dontsave=false)
 Closes all opened editors. More...
 
bool CloseAllExcept (EditorBase *editor, bool dontsave=false)
 Closes all opened editors, except the editor passed as parameter. More...
 
bool CloseAllInTabCtrl (bool dontsave=false)
 Closes all editors in the same tab control as the active editor. More...
 
bool CloseAllInTabCtrlExcept (EditorBase *editor, bool dontsave=false)
 Closes all editors in the same tab control as the active editor, except the editor passed as parameter. More...
 
bool CloseAllInTabCtrlToTheLeft (EditorBase *editor, bool dontsave=false)
 Closes all editors in the same tab control which are on the left of the passed editor. More...
 
bool CloseAllInTabCtrlToTheRight (EditorBase *editor, bool dontsave=false)
 Closes all editors in the same tab control which are on the right of the passed editor. More...
 
bool Save (const wxString &filename)
 
bool Save (int index)
 
bool SaveActive ()
 
bool SaveAs (int index)
 
bool SaveActiveAs ()
 
bool SaveAll ()
 
void Print (PrintScope ps, PrintColourMode pcm, bool line_numbers)
 
void HideNotebook ()
 Hides the editor notebook for layout purposes. More...
 
void ShowNotebook ()
 Shows the previously hidden editor notebook. More...
 
void CheckForExternallyModifiedFiles ()
 Check if one of the open files has been modified outside the IDE. More...
 
void SetZoom (int zoom)
 
int GetZoom () const
 
void MarkReadOnly (int page, bool readOnly=true)
 
wxString GetSelectionClipboard ()
 
void SetSelectionClipboard (const wxString &data)
 

Static Public Member Functions

static bool CanShutdown ()
 
- Static Public Member Functions inherited from Mgr< EditorManager >
static bool Valid ()
 
static EditorManagerGet ()
 
static void Free ()
 

Protected Member Functions

void AddEditorBase (EditorBase *eb)
 
void RemoveEditorBase (EditorBase *eb, bool deleteObject=true)
 
cbEditorInternalGetBuiltinEditor (int page)
 
EditorBaseInternalGetEditorBase (int page)
 
- Protected Member Functions inherited from Mgr< EditorManager >
 Mgr ()
 
virtual ~Mgr ()
 

Private Member Functions

void OnGenericContextMenuHandler (wxCommandEvent &event)
 
void OnPageChanged (wxAuiNotebookEvent &event)
 
void OnPageChanging (wxAuiNotebookEvent &event)
 
void OnPageClose (wxAuiNotebookEvent &event)
 
void OnPageContextMenu (wxAuiNotebookEvent &event)
 
void OnClose (wxCommandEvent &event)
 
void OnCloseAll (wxCommandEvent &event)
 
void OnCloseAllOthers (wxCommandEvent &event)
 
void OnSave (wxCommandEvent &event)
 
void OnSaveAll (wxCommandEvent &event)
 
void OnSwapHeaderSource (wxCommandEvent &event)
 
void OnOpenContainingFolder (wxCommandEvent &event)
 
void OnTabPosition (wxCommandEvent &event)
 
void OnProperties (wxCommandEvent &event)
 
void OnAddFileToProject (wxCommandEvent &event)
 
void OnRemoveFileFromProject (wxCommandEvent &event)
 
void OnShowFileInTree (wxCommandEvent &event)
 
void OnAppDoneStartup (wxCommandEvent &event)
 
void OnAppStartShutdown (wxCommandEvent &event)
 
void OnUpdateUI (wxUpdateUIEvent &event)
 
void OnTreeItemSelected (wxTreeEvent &event)
 
void OnTreeItemActivated (wxTreeEvent &event)
 
void OnTreeItemRightClick (wxTreeEvent &event)
 
void CollectDefines (CodeBlocksEvent &event)
 
 EditorManager (cb_unused const EditorManager &rhs)
 
 EditorManager ()
 
 ~EditorManager () override
 
void OnCheckForModifiedFiles (wxCommandEvent &event)
 
bool IsHeaderSource (const wxFileName &candidateFile, const wxFileName &activeFile, FileType ftActive, bool &isCandidate)
 
wxFileName FindHeaderSource (const wxArrayString &candidateFilesArray, const wxFileName &activeFile, bool &isCandidate)
 
bool CloseEditors (const std::vector< EditorBase *> &editors, bool dontsave=false)
 Closes all editors passed to the function. More...
 
void GetEditorsInTabCtrl (std::vector< EditorBase *> &editors, EditorBase *editor)
 Returns a vector with pointers to the editors that are in the same tab control as the passed editor. More...
 

Private Attributes

cbAuiNotebookm_pNotebook
 
cbNotebookStackm_pNotebookStackHead
 
cbNotebookStackm_pNotebookStackTail
 
size_t m_nNotebookStackSize
 
EditorColourSetm_Theme
 
int m_Zoom
 
bool m_isCheckingForExternallyModifiedFiles
 
EditorManagerInternalDatam_pData
 

Static Private Attributes

static bool s_CanShutdown = true
 

Friends

class Mgr< EditorManager >
 
class Manager
 
struct EditorManagerInternalData
 

Detailed Description

Definition at line 59 of file editormanager.h.

Constructor & Destructor Documentation

◆ EditorManager() [1/2]

EditorManager::EditorManager ( cb_unused const EditorManager rhs)
private

◆ EditorManager() [2/2]

EditorManager::EditorManager ( )
private

◆ ~EditorManager()

EditorManager::~EditorManager ( )
overrideprivate

Member Function Documentation

◆ ActivateNext()

void EditorManager::ActivateNext ( )

Definition at line 441 of file editormanager.cpp.

Referenced by MainFrame::OnFileNext(), and ScriptBindings::RegisterBindings().

◆ ActivatePrevious()

void EditorManager::ActivatePrevious ( )

Definition at line 446 of file editormanager.cpp.

Referenced by MainFrame::OnFilePrev(), and ScriptBindings::RegisterBindings().

◆ AddCustomEditor()

void EditorManager::AddCustomEditor ( EditorBase eb)

Definition at line 516 of file editormanager.cpp.

Referenced by EditorBase::EditorBase().

◆ AddEditorBase()

void EditorManager::AddEditorBase ( EditorBase eb)
protected

Definition at line 526 of file editormanager.cpp.

References EditorBase::GetTitle().

◆ CanShutdown()

static bool EditorManager::CanShutdown ( )
inlinestatic

◆ CheckForExternallyModifiedFiles()

void EditorManager::CheckForExternallyModifiedFiles ( )

◆ Close() [1/3]

bool EditorManager::Close ( const wxString filename,
bool  dontsave = false 
)

◆ Close() [2/3]

bool EditorManager::Close ( EditorBase editor,
bool  dontsave = false 
)

Definition at line 725 of file editormanager.cpp.

◆ Close() [3/3]

bool EditorManager::Close ( int  index,
bool  dontsave = false 
)

Definition at line 741 of file editormanager.cpp.

◆ CloseActive()

bool EditorManager::CloseActive ( bool  dontsave = false)

Definition at line 694 of file editormanager.cpp.

Referenced by MainFrame::OnFileClose(), and ScriptBindings::RegisterBindings().

◆ CloseAll()

bool EditorManager::CloseAll ( bool  dontsave = false)

Closes all opened editors.

Definition at line 567 of file editormanager.cpp.

References _().

Referenced by MainFrame::OnFileCloseAll(), and ScriptBindings::RegisterBindings().

◆ CloseAllExcept()

bool EditorManager::CloseAllExcept ( EditorBase editor,
bool  dontsave = false 
)

Closes all opened editors, except the editor passed as parameter.

Definition at line 592 of file editormanager.cpp.

◆ CloseAllInTabCtrl()

bool EditorManager::CloseAllInTabCtrl ( bool  dontsave = false)

Closes all editors in the same tab control as the active editor.

Definition at line 604 of file editormanager.cpp.

Referenced by EditorBase::OnContextMenuEntry().

◆ CloseAllInTabCtrlExcept()

bool EditorManager::CloseAllInTabCtrlExcept ( EditorBase editor,
bool  dontsave = false 
)

Closes all editors in the same tab control as the active editor, except the editor passed as parameter.

Definition at line 612 of file editormanager.cpp.

Referenced by EditorBase::OnContextMenuEntry().

◆ CloseAllInTabCtrlToTheLeft()

bool EditorManager::CloseAllInTabCtrlToTheLeft ( EditorBase editor,
bool  dontsave = false 
)

Closes all editors in the same tab control which are on the left of the passed editor.

Definition at line 622 of file editormanager.cpp.

◆ CloseAllInTabCtrlToTheRight()

bool EditorManager::CloseAllInTabCtrlToTheRight ( EditorBase editor,
bool  dontsave = false 
)

Closes all editors in the same tab control which are on the right of the passed editor.

Definition at line 640 of file editormanager.cpp.

◆ CloseEditors()

bool EditorManager::CloseEditors ( const std::vector< EditorBase *> &  editors,
bool  dontsave = false 
)
private

Closes all editors passed to the function.

Definition at line 670 of file editormanager.cpp.

◆ CollectDefines()

void EditorManager::CollectDefines ( CodeBlocksEvent event)
private

◆ DeleteNotebookStack()

void EditorManager::DeleteNotebookStack ( )

Definition at line 245 of file editormanager.cpp.

References cbNotebookStack::next.

Referenced by EnvironmentSettingsDlg::EndModal().

◆ FindHeaderSource()

wxFileName EditorManager::FindHeaderSource ( const wxArrayString candidateFilesArray,
const wxFileName activeFile,
bool &  isCandidate 
)
private

◆ FindPageFromEditor()

int EditorManager::FindPageFromEditor ( EditorBase eb)

Definition at line 707 of file editormanager.cpp.

Referenced by EditorBase::SetTitle().

◆ GetActiveEditor()

EditorBase * EditorManager::GetActiveEditor ( )

◆ GetBuiltinActiveEditor()

cbEditor* EditorManager::GetBuiltinActiveEditor ( )
inline

Definition at line 95 of file editormanager.h.

Referenced by EditorBase::DisplayContextMenu(), CodeCompletion::DoAllMethodsImpl(), CodeCompletion::DoClassMethodDeclImpl(), CodeRefactoring::DoFindReferences(), CodeCompletion::DoParseOpenedProjectAndActiveEditor(), CodeRefactoring::DoRenameSymbols(), MainFrame::DoUpdateStatusBar(), FindReplace::FindInFiles(), FindReplace::FindNext(), FindReplace::FindSelectedText(), NativeParser::GetCurrentProject(), cbDebuggerPlugin::GetEditorWordAtCaret(), NativeParser::GetParserInfoByCurrentEditor(), CCManager::GetProviderFor(), GetSelectedText(), CodeRefactoring::GetSymbolUnderCursor(), CodeCompletion::GotoFunctionPrevNext(), CCManager::InjectAutoCompShow(), InsertNewLine(), NativeParser::MarkItemsByAI(), CCManager::NotifyDocumentation(), CodeBlocksApp::OnAppActivate(), CCManager::OnAutocompleteSelect(), CCManager::OnCompleteCode(), CCManager::OnDeactivateApp(), CCManager::OnDeferredCallTipCancel(), MainFrame::OnEditBoxCommentSelected(), MainFrame::OnEditCommentSelected(), MainFrame::OnEditEncoding(), MainFrame::OnEditEOLMode(), MainFrame::OnEditFoldAll(), MainFrame::OnEditFoldBlock(), MainFrame::OnEditGotoLineEnd(), MainFrame::OnEditGotoMatchingBrace(), MainFrame::OnEditHighlightMode(), MainFrame::OnEditInsertNewLine(), MainFrame::OnEditLineCopy(), MainFrame::OnEditLineCut(), MainFrame::OnEditLineDelete(), MainFrame::OnEditLineDuplicate(), MainFrame::OnEditLineMove(), MainFrame::OnEditLinePaste(), MainFrame::OnEditLineTranspose(), MainFrame::OnEditLowerCase(), MainFrame::OnEditMenuUpdateUI(), CodeCompletion::OnEditorActivatedTimer(), MainFrame::OnEditParaDown(), MainFrame::OnEditParaDownExtend(), MainFrame::OnEditParaUp(), MainFrame::OnEditParaUpExtend(), MainFrame::OnEditStreamCommentSelected(), MainFrame::OnEditToggleAllFolds(), MainFrame::OnEditToggleCommentSelected(), MainFrame::OnEditToggleFoldBlock(), MainFrame::OnEditUncommentSelected(), MainFrame::OnEditUnfoldAll(), MainFrame::OnEditUnfoldBlock(), MainFrame::OnEditUpperCase(), MainFrame::OnEditWordPartLeft(), MainFrame::OnEditWordPartLeftExtend(), MainFrame::OnEditWordPartRight(), MainFrame::OnEditWordPartRightExtend(), MainFrame::OnEditZoomIn(), MainFrame::OnEditZoomOut(), MainFrame::OnEditZoomReset(), MainFrame::OnFileMenuUpdateUI(), CodeCompletion::OnFunction(), CodeCompletion::OnGotoDeclaration(), CodeCompletion::OnGotoFunction(), MainFrame::OnHighlightMenu(), CCManager::OnMenuSelect(), CodeCompletion::OnOpenIncludeFile(), CodeCompletion::OnParserEnd(), CodeCompletion::OnParserStart(), NativeParser::OnParsingOneByOneTimer(), ProjectManagerUI::OnProperties(), CodeCompletion::OnRealtimeParsingTimer(), DebuggerMenuHandler::OnRunToCursor(), MainFrame::OnSearchFind(), MainFrame::OnSearchGotoLine(), MainFrame::OnSearchGotoNextChanged(), MainFrame::OnSearchGotoPrevChanged(), MainFrame::OnSearchReplace(), DebuggerMenuHandler::OnSetNextStatement(), MainFrame::OnShiftTab(), CCManager::OnShowCallTip(), CCManager::OnTimer(), DebuggerMenuHandler::OnToggleBreakpoint(), DebuggerMenuHandler::OnUpdateUI(), DebuggerToolbarHandler::OnUpdateUI(), CompilerGCC::OnUpdateUI(), CodeCompletion::OnUpdateUI(), MainFrame::OnViewMenuUpdateUI(), CodeRefactoring::Parse(), CodeCompletion::ParseFunctionsAndFillToolbar(), CompilerGCC::PrepareCompileFile(), PrintDialog::PrintDialog(), CCManager::ProcessArrow(), ScriptBindings::RegisterBindings(), ProjectLayoutLoader::Save(), CodeRefactoring::SearchInFiles(), ClassBrowser::UpdateClassBrowserView(), CodeCompletion::UpdateEditorSyntax(), and CodeRefactoring::VerifyResult().

◆ GetBuiltinEditor() [1/3]

cbEditor * EditorManager::GetBuiltinEditor ( EditorBase eb)

◆ GetBuiltinEditor() [2/3]

cbEditor* EditorManager::GetBuiltinEditor ( int  index)
inline

Definition at line 93 of file editormanager.h.

References GetBuiltinEditor().

Referenced by GetBuiltinEditor().

◆ GetBuiltinEditor() [3/3]

cbEditor* EditorManager::GetBuiltinEditor ( const wxString filename)
inline

Definition at line 94 of file editormanager.h.

◆ GetColourSet()

EditorColourSet* EditorManager::GetColourSet ( )
inline

◆ GetEditor() [1/2]

EditorBase * EditorManager::GetEditor ( int  index)

◆ GetEditor() [2/2]

EditorBase* EditorManager::GetEditor ( const wxString filename)
inline

Definition at line 85 of file editormanager.h.

◆ GetEditorsCount()

int EditorManager::GetEditorsCount ( )

◆ GetEditorsInTabCtrl()

void EditorManager::GetEditorsInTabCtrl ( std::vector< EditorBase *> &  editors,
EditorBase editor 
)
private

Returns a vector with pointers to the editors that are in the same tab control as the passed editor.

Definition at line 658 of file editormanager.cpp.

◆ GetNotebook()

cbAuiNotebook* EditorManager::GetNotebook ( )
inline

◆ GetNotebookStack()

cbNotebookStack * EditorManager::GetNotebookStack ( )

Definition at line 196 of file editormanager.cpp.

References cbNotebookStack::next, NULL, cbNotebookStack::window, and wxNOT_FOUND.

◆ GetSelectionClipboard()

wxString EditorManager::GetSelectionClipboard ( )

◆ GetZoom()

int EditorManager::GetZoom ( ) const

Definition at line 2050 of file editormanager.cpp.

Referenced by EditorConfigurationDlg::EndModal(), and cbAuiNotebook::OnIdle().

◆ HideNotebook()

void EditorManager::HideNotebook ( )

Hides the editor notebook for layout purposes.

Definition at line 1828 of file editormanager.cpp.

Referenced by cbProject::CloseAllFiles(), and cbProject::LoadLayout().

◆ InternalGetBuiltinEditor()

cbEditor * EditorManager::InternalGetBuiltinEditor ( int  page)
protected

Definition at line 301 of file editormanager.cpp.

References EditorBase::IsBuiltinEditor().

◆ InternalGetEditorBase()

EditorBase * EditorManager::InternalGetEditorBase ( int  page)
protected

Definition at line 292 of file editormanager.cpp.

◆ IsBuiltinOpen()

cbEditor* EditorManager::IsBuiltinOpen ( const wxString filename)
inline

◆ IsHeaderSource()

bool EditorManager::IsHeaderSource ( const wxFileName candidateFile,
const wxFileName activeFile,
FileType  ftActive,
bool &  isCandidate 
)
private

◆ IsOpen()

EditorBase * EditorManager::IsOpen ( const wxString filename)

◆ MarkReadOnly()

void EditorManager::MarkReadOnly ( int  page,
bool  readOnly = true 
)

Definition at line 1039 of file editormanager.cpp.

References _T, cbLoadBitmap(), ConfigManager::GetDataFolder(), and wxNullBitmap.

Referenced by EditorBase::SetTitle().

◆ New()

cbEditor * EditorManager::New ( const wxString newFileName = wxEmptyString)

◆ OnAddFileToProject()

void EditorManager::OnAddFileToProject ( wxCommandEvent event)
private

◆ OnAppDoneStartup()

void EditorManager::OnAppDoneStartup ( wxCommandEvent event)
private

Definition at line 1813 of file editormanager.cpp.

◆ OnAppStartShutdown()

void EditorManager::OnAppStartShutdown ( wxCommandEvent event)
private

Definition at line 1818 of file editormanager.cpp.

◆ OnCheckForModifiedFiles()

void EditorManager::OnCheckForModifiedFiles ( wxCommandEvent event)
private

Definition at line 1823 of file editormanager.cpp.

◆ OnClose()

void EditorManager::OnClose ( wxCommandEvent event)
private

Definition at line 1707 of file editormanager.cpp.

◆ OnCloseAll()

void EditorManager::OnCloseAll ( wxCommandEvent event)
private

Definition at line 1712 of file editormanager.cpp.

◆ OnCloseAllOthers()

void EditorManager::OnCloseAllOthers ( wxCommandEvent event)
private

◆ OnGenericContextMenuHandler()

void EditorManager::OnGenericContextMenuHandler ( wxCommandEvent event)
private

◆ OnOpenContainingFolder()

void EditorManager::OnOpenContainingFolder ( wxCommandEvent event)
private

Definition at line 1742 of file editormanager.cpp.

◆ OnPageChanged()

void EditorManager::OnPageChanged ( wxAuiNotebookEvent event)
private

◆ OnPageChanging()

void EditorManager::OnPageChanging ( wxAuiNotebookEvent event)
private

◆ OnPageClose()

void EditorManager::OnPageClose ( wxAuiNotebookEvent event)
private

◆ OnPageContextMenu()

void EditorManager::OnPageContextMenu ( wxAuiNotebookEvent event)
private

◆ OnProperties()

void EditorManager::OnProperties ( wxCommandEvent event)
private

◆ OnRemoveFileFromProject()

void EditorManager::OnRemoveFileFromProject ( wxCommandEvent event)
private

◆ OnSave()

void EditorManager::OnSave ( wxCommandEvent event)
private

Definition at line 1727 of file editormanager.cpp.

◆ OnSaveAll()

void EditorManager::OnSaveAll ( wxCommandEvent event)
private

Definition at line 1732 of file editormanager.cpp.

◆ OnShowFileInTree()

void EditorManager::OnShowFileInTree ( wxCommandEvent event)
private

◆ OnSwapHeaderSource()

void EditorManager::OnSwapHeaderSource ( wxCommandEvent event)
private

Definition at line 1737 of file editormanager.cpp.

◆ OnTabPosition()

void EditorManager::OnTabPosition ( wxCommandEvent event)
private

◆ OnTreeItemActivated()

void EditorManager::OnTreeItemActivated ( wxTreeEvent event)
private

◆ OnTreeItemRightClick()

void EditorManager::OnTreeItemRightClick ( wxTreeEvent event)
private

◆ OnTreeItemSelected()

void EditorManager::OnTreeItemSelected ( wxTreeEvent event)
private

◆ OnUpdateUI()

void EditorManager::OnUpdateUI ( wxUpdateUIEvent event)
private

Definition at line 1840 of file editormanager.cpp.

References Manager::Get(), and cbEditor::GetControl().

◆ Open() [1/2]

cbEditor * EditorManager::Open ( const wxString filename,
int  pos = 0,
ProjectFile data = nullptr 
)

◆ Open() [2/2]

cbEditor * EditorManager::Open ( LoaderBase fileLdr,
const wxString filename,
int  pos = 0,
ProjectFile data = nullptr 
)

◆ OpenContainingFolder()

bool EditorManager::OpenContainingFolder ( )

◆ operator=()

EditorManager& EditorManager::operator= ( cb_unused const EditorManager rhs)
inline

Definition at line 64 of file editormanager.h.

References _T, and cbThrow.

◆ Print()

void EditorManager::Print ( PrintScope  ps,
PrintColourMode  pcm,
bool  line_numbers 
)

Definition at line 819 of file editormanager.cpp.

References cbEditor::Print(), psActiveEditor, psAllOpenEditors, and psSelection.

Referenced by MainFrame::OnFilePrint().

◆ QueryClose()

bool EditorManager::QueryClose ( EditorBase editor)

Definition at line 699 of file editormanager.cpp.

References EditorBase::QueryClose().

Referenced by cbProject::QueryCloseAllFiles().

◆ QueryCloseAll()

bool EditorManager::QueryCloseAll ( )

Definition at line 581 of file editormanager.cpp.

◆ RebuildNotebookStack()

void EditorManager::RebuildNotebookStack ( )

Definition at line 258 of file editormanager.cpp.

References cbNotebookStack::next.

Referenced by EnvironmentSettingsDlg::EndModal().

◆ RecreateOpenEditorStyles()

void EditorManager::RecreateOpenEditorStyles ( )

◆ RemoveCustomEditor()

void EditorManager::RemoveCustomEditor ( EditorBase eb)

Definition at line 521 of file editormanager.cpp.

Referenced by EditorBase::~EditorBase().

◆ RemoveEditorBase()

void EditorManager::RemoveEditorBase ( EditorBase eb,
bool  deleteObject = true 
)
protected

Definition at line 537 of file editormanager.cpp.

References Manager::IsAppShuttingDown().

◆ Save() [1/2]

bool EditorManager::Save ( const wxString filename)

◆ Save() [2/2]

bool EditorManager::Save ( int  index)

Definition at line 761 of file editormanager.cpp.

References EditorBase::Save().

◆ SaveActive()

bool EditorManager::SaveActive ( )

Definition at line 773 of file editormanager.cpp.

References EditorBase::Save().

Referenced by ScriptBindings::RegisterBindings().

◆ SaveActiveAs()

bool EditorManager::SaveActiveAs ( )

Definition at line 793 of file editormanager.cpp.

References EditorBase::SaveAs().

Referenced by MainFrame::OnFileSaveAs(), and ScriptBindings::RegisterBindings().

◆ SaveAll()

bool EditorManager::SaveAll ( )

◆ SaveAs()

bool EditorManager::SaveAs ( int  index)

Definition at line 785 of file editormanager.cpp.

References EditorBase::SaveAs().

Referenced by ScriptBindings::RegisterBindings().

◆ SetActiveEditor()

void EditorManager::SetActiveEditor ( EditorBase ed)

◆ SetColourSet()

void EditorManager::SetColourSet ( EditorColourSet theme)

Definition at line 337 of file editormanager.cpp.

References cbEditor::SetColourSet().

Referenced by EditorConfigurationDlg::EndModal().

◆ SetSelectionClipboard()

void EditorManager::SetSelectionClipboard ( const wxString data)

◆ SetZoom()

void EditorManager::SetZoom ( int  zoom)

Definition at line 2045 of file editormanager.cpp.

Referenced by EditorConfigurationDlg::EndModal(), and cbEditor::OnZoom().

◆ ShowNotebook()

void EditorManager::ShowNotebook ( )

Shows the previously hidden editor notebook.

Definition at line 1834 of file editormanager.cpp.

Referenced by cbProject::CloseAllFiles(), and cbProject::LoadLayout().

◆ SwapActiveHeaderSource()

bool EditorManager::SwapActiveHeaderSource ( )

◆ UpdateProjectFiles()

bool EditorManager::UpdateProjectFiles ( cbProject project)

Friends And Related Function Documentation

◆ EditorManagerInternalData

friend struct EditorManagerInternalData
friend

Definition at line 209 of file editormanager.h.

◆ Manager

friend class Manager
friend

Definition at line 70 of file editormanager.h.

◆ Mgr< EditorManager >

friend class Mgr< EditorManager >
friend

Definition at line 61 of file editormanager.h.

Member Data Documentation

◆ m_isCheckingForExternallyModifiedFiles

bool EditorManager::m_isCheckingForExternallyModifiedFiles
private

Definition at line 208 of file editormanager.h.

◆ m_nNotebookStackSize

size_t EditorManager::m_nNotebookStackSize
private

Definition at line 205 of file editormanager.h.

◆ m_pData

EditorManagerInternalData* EditorManager::m_pData
private

Definition at line 210 of file editormanager.h.

◆ m_pNotebook

cbAuiNotebook* EditorManager::m_pNotebook
private

Definition at line 202 of file editormanager.h.

◆ m_pNotebookStackHead

cbNotebookStack* EditorManager::m_pNotebookStackHead
private

Definition at line 203 of file editormanager.h.

◆ m_pNotebookStackTail

cbNotebookStack* EditorManager::m_pNotebookStackTail
private

Definition at line 204 of file editormanager.h.

◆ m_Theme

EditorColourSet* EditorManager::m_Theme
private

Definition at line 206 of file editormanager.h.

◆ m_Zoom

int EditorManager::m_Zoom
private

Definition at line 207 of file editormanager.h.

◆ s_CanShutdown

bool EditorManager::s_CanShutdown = true
staticprivate

Definition at line 62 of file editormanager.h.


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