Code::Blocks
SVN r11506
|
#include <main.h>
Public Member Functions | |
MainFrame & | operator= (cb_unused const MainFrame &rhs) |
MainFrame (wxWindow *parent=(wxWindow *) NULL) | |
CloseFullScreen event handling. More... | |
~MainFrame () | |
bool | Open (const wxString &filename, bool addToHistory=true) |
bool | OnDropFiles (wxCoord x, wxCoord y, const wxArrayString &filenames) |
void | ShowTips (bool forceShow=false) |
wxScrollingDialog * | GetBatchBuildDialog () |
wxString | ShowOpenFileDialog (const wxString &caption, const wxString &filter) |
bool | OpenGeneric (const wxString &filename, bool addToHistory=true) |
void | StartupDone () |
cbProjectManagerUI * | GetProjectManagerUI () |
Public Attributes | |
wxAcceleratorTable * | m_pAccel |
Protected Types | |
enum | { Installed, Uninstalled, Unloaded } |
typedef std::map< int, const wxString > | MenuIDToScript |
Private Attributes | |
wxAuiManager | m_LayoutManager |
LayoutViewsMap | m_LayoutViews |
LayoutViewsMap | m_LayoutMessagePane |
|
protected |
|
protected |
|
private |
CloseFullScreen event handling.
Shift-Tab bug workaround Used for mouse right click in the free area of MainFrame
Definition at line 555 of file main.cpp.
References _(), _T, FileFilters::AddDefaultFileFilters(), appglobals::AppName, appglobals::AppVersion, cbFileDropTarget::cbFileDropTarget(), LogManager::DebugLog(), Manager::Get(), Manager::GetCCManager(), Manager::GetConfigManager(), Manager::GetLogManager(), wxAuiPaneInfo::Hide(), idCtrlAltTab, idFileClose, idFileCloseAll, idFileNext, idFilePrev, idShiftTab, wxString::IsEmpty(), ConfigManager::Read(), ConfigManager::ReadBool(), wxAcceleratorEntry::Set(), ConfigManager::Write(), wxACCEL_ALT, wxACCEL_CTRL, wxACCEL_SHIFT, wxICON, WXK_F4, WXK_F6, and WXK_TAB.
MainFrame::~MainFrame | ( | ) |
Definition at line 663 of file main.cpp.
References DeInitPrinting(), and wxNullAcceleratorTable.
|
protected |
|
protected |
Definition at line 1266 of file main.cpp.
References OnHelpPluginMenu().
|
protected |
Definition at line 1212 of file main.cpp.
References _T, wxString::CmpNoCase(), wxMenu::FindItem(), wxMenu::FindItemByPosition(), Manager::Get(), wxMenuItem::GetItemLabelText(), wxMenu::GetMenuItemCount(), PluginManager::GetPluginInfo(), Manager::GetPluginManager(), wxMenu::Insert(), PluginInfo::name, PluginInfo::title, wxEmptyString, wxITEM_CHECK, wxITEM_NORMAL, and wxNewId().
|
protected |
Definition at line 1251 of file main.cpp.
References _T, OnPluginsExecuteMenu(), and wxID_SEPARATOR.
|
protected |
Definition at line 1176 of file main.cpp.
References cbLoadBitmap(), and wxBITMAP_TYPE_PNG.
|
protected |
Definition at line 730 of file main.cpp.
References _(), _T, wxAuiPaneInfo::Caption(), cbFileDropTarget::cbFileDropTarget(), Float, Manager::Get(), Manager::GetColourManager(), Manager::GetConfigManager(), Manager::GetEditorManager(), wxSize::GetHeight(), Manager::GetLogManager(), Manager::GetProjectManager(), idCloseFullScreen, Manager::IsBatchBuild(), wxAuiPaneInfo::Layer(), wxAuiPaneInfo::Left(), ColourManager::Load(), wxAuiPaneInfo::Name(), ConfigManager::ReadInt(), wxDefaultPosition, and wxT.
|
protected |
Definition at line 961 of file main.cpp.
References _(), _T, wxMenu::Append(), wxMenu::AppendRadioItem(), wxMenu::Break(), cbPlugin::BuildMenu(), ToolsManager::BuildToolsMenu(), cbEVT_MENUBAR_CREATE_BEGIN, cbEVT_MENUBAR_CREATE_END, ScriptBindings::ScriptPluginWrapper::CreateMenu(), LogManager::DebugLog(), wxMenu::FindItem(), wxMenuBar::FindItem(), wxMenuBar::FindMenu(), wxString::Format(), wxXmlResource::Get(), Manager::Get(), EditorColourSet::GetAllHighlightLanguages(), EditorManager::GetColourSet(), wxArrayString::GetCount(), ConfigManager::GetDataFolder(), Manager::GetDebuggerManager(), Manager::GetEditorManager(), wxLocale::GetLanguageInfo(), Manager::GetLogManager(), wxMenuBar::GetMenu(), Manager::GetPluginManager(), PluginManager::GetPlugins(), wxMenuItem::GetSubMenu(), Manager::GetToolsManager(), cbPlugin::GetType(), idEditCompleteCode, idEditHighlightModeText, idHelpPlugins, idViewSwitchTabs, cbPlugin::IsAttached(), Manager::IsBatchBuild(), wxLanguageInfo::Language, wxXmlResource::Load(), wxXmlResource::LoadMenuBar(), OnEditHighlightMode(), Manager::ProcessEvent(), ptTool, wxMenuItem::SetItemLabel(), DebuggerManager::SetMenuHandler(), cbException::ShowErrorMessage(), wxLANGUAGE_CHINESE, wxLANGUAGE_CHINESE_TAIWAN, wxLANGUAGE_DEFAULT, wxLANGUAGE_JAPANESE, wxLANGUAGE_KOREAN, wxNewId(), wxNOT_FOUND, and wxT.
|
protected |
Definition at line 1096 of file main.cpp.
References _(), _T, Manager::AddonToolBar(), wxAuiPaneInfo::Caption(), Manager::CreateEmptyToolbar(), LogManager::DebugLog(), wxXmlResource::Get(), Manager::Get(), ConfigManager::GetDataFolder(), Manager::GetLogManager(), Manager::GetPluginManager(), PluginManager::GetPlugins(), cbPlugin::IsAttached(), wxXmlResource::Load(), NULL, OnToolBarRightClick(), wxAuiPaneInfo::Position(), Manager::ProcessPendingEvents(), wxAuiPaneInfo::Row(), ToolbarInfo::toolbar, wxAuiPaneInfo::ToolbarPane(), wxAuiPaneInfo::Top(), wxID_ANY, and wxT.
|
protected |
Definition at line 1653 of file main.cpp.
References cbPlugin::BuildMenu(), cbPlugin::GetType(), wxAuiPaneInfo::IsToolbar(), NULL, OnToolBarRightClick(), ToolbarInfo::paneInfo, ptTool, cbException::ShowErrorMessage(), ToolbarInfo::toolbar, wxID_ANY, and wxPoint::x.
|
protected |
Definition at line 1600 of file main.cpp.
References cbStatusBar::AdjustFieldsSize(), and cbPlugin::CreateStatusField().
|
protected |
Definition at line 1614 of file main.cpp.
References _(), _T, cbPlugin::BuildToolBar(), wxAuiPaneInfo::Caption(), cbThrow, wxMenuItem::Check(), Manager::CreateEmptyToolbar(), wxMenu::FindItem(), Manager::Get(), PluginManager::GetPluginInfo(), Manager::GetPluginManager(), cbPlugin::GetToolBarPriority(), idViewToolMain, InitToolbar(), wxAuiPaneInfo::Name(), PluginInfo::name, OnToggleBar(), ToolbarInfo::paneInfo, ToolbarInfo::priority, PluginInfo::title, and ToolbarInfo::toolbar.
|
protected |
Definition at line 1532 of file main.cpp.
References _(), _T, wxString::Format(), Manager::Get(), AnnoyingDialog::rtCANCEL, AnnoyingDialog::rtSAVE_CHOICE, AnnoyingDialog::rtYES, AnnoyingDialog::ShowModal(), wxString::wx_str(), wxART_QUESTION, AnnoyingDialog::YES_NO, and AnnoyingDialog::YES_NO_CANCEL.
|
protected |
Definition at line 1875 of file main.cpp.
References ProjectManager::CloseWorkspace(), Manager::Get(), and Manager::GetProjectManager().
|
protected |
Definition at line 1880 of file main.cpp.
References _(), wxStatusBar::GetFieldRect(), idHighlightButton, wxStatusBar::SetMinHeight(), wxBORDER_NONE, wxBU_EXACTFIT, wxBU_LEFT, wxDefaultPosition, wxDefaultSize, and wxT.
|
protected |
Definition at line 1562 of file main.cpp.
References wxDefaultSize.
|
protected |
Definition at line 2451 of file main.cpp.
References _(), _T, Manager::Get(), Manager::GetConfigManager(), wxFileDialog::GetDirectory(), wxFileDialog::GetFilterIndex(), FileFilters::GetFilterIndexFromName(), FileFilters::GetFilterNameFromIndex(), FileFilters::GetFilterString(), FileFilters::GetIndexForFilterAll(), wxFileDialog::GetPaths(), wxString::IsEmpty(), cbFileDropTarget::OnDropFiles(), PlaceWindow(), ConfigManager::Read(), wxFileDialog::SetFilterIndex(), wxFileDialog::ShowModal(), ConfigManager::Write(), wxEmptyString, wxFD_MULTIPLE, wxFD_OPEN, and wxID_OK.
|
protected |
Definition at line 1861 of file main.cpp.
References EditorBase::Activate(), Manager::Get(), Manager::GetEditorManager(), EditorBase::GetFilename(), and EditorManager::Open().
|
protected |
Definition at line 1840 of file main.cpp.
References _(), cbMessageBox(), Manager::Get(), CompileTargetBase::GetFilename(), Manager::GetProjectManager(), ProjectManager::LoadProject(), wxFileExists(), and wxICON_ERROR.
|
protected |
Definition at line 1577 of file main.cpp.
References _T, wxMenu::FindItem(), Manager::Get(), Manager::GetConfigManager(), wxMenu::GetMenuItems(), idViewLayoutSave, and ConfigManager::Write().
|
protected |
Definition at line 2110 of file main.cpp.
References _T, wxString::Append(), appglobals::AppName, appglobals::AppVersion, Manager::Get(), EditorManager::GetActiveEditor(), ProjectManager::GetActiveProject(), Manager::GetEditorManager(), ProjectFile::GetParentProject(), Manager::GetProjectManager(), EditorBase::GetTitle(), CompileTargetBase::GetTitle(), EditorBase::IsBuiltinEditor(), and wxString::IsEmpty().
|
protected |
Definition at line 2044 of file main.cpp.
References _T, Manager::Get(), Manager::GetConfigManager(), Manager::GetEditorManager(), EditorManager::GetNotebook(), ConfigManager::ReadInt(), wxAuiNotebook::SetTabCtrlHeight(), wxCLIP_CHILDREN, and wxNO_FULL_REPAINT_ON_RESIZE.
|
protected |
Definition at line 2000 of file main.cpp.
References _T, Manager::Get(), Manager::GetConfigManager(), ConfigManager::ReadBool(), ConfigManager::ReadInt(), wxAuiNotebook::SetArtProvider(), and wxAuiNotebook::SetTabCtrlHeight().
|
protected |
Definition at line 2076 of file main.cpp.
References _T, Manager::Get(), wxAuiDockArt::GetColour(), Manager::GetConfigManager(), wxAuiDockArt::GetMetric(), ConfigManager::ReadColour(), ConfigManager::ReadInt(), wxAuiDockArt::SetColour(), wxAuiDockArt::SetMetric(), wxAUI_DOCKART_ACTIVE_CAPTION_COLOUR, wxAUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR, wxAUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR, wxAUI_DOCKART_CAPTION_SIZE, wxAUI_DOCKART_INACTIVE_CAPTION_COLOUR, wxAUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR, wxAUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR, wxAUI_DOCKART_PANE_BORDER_SIZE, wxAUI_DOCKART_SASH_SIZE, wxAUI_MGR_ALLOW_ACTIVE_PANE, wxAUI_MGR_DEFAULT, wxAUI_MGR_TRANSPARENT_DRAG, wxAUI_MGR_TRANSPARENT_HINT, and wxAUI_MGR_VENETIAN_BLINDS_HINT.
|
protected |
Definition at line 1927 of file main.cpp.
References _(), _T, appglobals::AppName, changeButtonLabel(), Manager::Get(), EditorManager::GetActiveEditor(), EditorManager::GetBuiltinActiveEditor(), EditorManager::GetColourSet(), wxScintilla::GetColumn(), cbEditor::GetControl(), wxScintilla::GetCurrentLine(), wxScintilla::GetCurrentPos(), Manager::GetEditorManager(), cbEditor::GetEncodingName(), wxScintilla::GetEOLMode(), EditorBase::GetFilename(), cbEditor::GetLanguage(), EditorColourSet::GetLanguageName(), cbEditor::GetModified(), wxScintilla::GetOvertype(), wxScintilla::GetReadOnly(), Manager::IsAppShuttingDown(), wxString::Printf(), wxEmptyString, wxSCI_EOL_CR, wxSCI_EOL_CRLF, and wxSCI_EOL_LF.
Referenced by OnEditorUpdateUI().
|
inline |
|
protected |
Definition at line 2254 of file main.cpp.
References _(), _T, Manager::Get(), ProjectManager::GetActiveProject(), EditorBase::GetFilename(), ProjectFile::GetParentProject(), Manager::GetProjectManager(), CompileTargetBase::GetTitle(), EditorBase::IsBuiltinEditor(), NULL, and wxEmptyString.
|
inline |
|
protected |
|
protected |
|
private |
Definition at line 1454 of file main.cpp.
References _(), _T, wxArrayString::Add(), wxString::Format(), wxStringTokenizer::GetNextToken(), wxStringTokenizer::HasMoreTokens(), wxString::Len(), wxString::Right(), wxStringTokenizer::SetString(), wxArrayString::Sort(), wxString::StartsWith(), and wxString::ToULong().
|
private |
Definition at line 1503 of file main.cpp.
References _T, wxArrayString::Add(), wxString::AfterLast(), wxString::BeforeLast(), wxStringTokenizer::GetNextToken(), wxStringTokenizer::HasMoreTokens(), wxStringTokenizer::SetString(), and wxArrayString::Sort().
|
protected |
Definition at line 1395 of file main.cpp.
References cbEVT_SWITCHED_VIEW_LAYOUT, gDefaultLayout, Manager::Get(), wxString::IsEmpty(), CodeBlocksLayoutEvent::layout, and Manager::ProcessEvent().
|
protected |
Definition at line 1297 of file main.cpp.
References _T, Manager::Get(), wxRect::GetBottom(), wxDisplay::GetClientArea(), Manager::GetConfigManager(), wxDisplay::GetCount(), wxDisplay::GetFromWindow(), wxRect::GetHeight(), wxRect::GetLeft(), wxSystemSettings::GetMetric(), wxRect::GetRight(), wxRect::GetTop(), wxRect::GetWidth(), wxRect::height, ConfigManager::ReadBool(), ConfigManager::ReadInt(), wxRect::SetBottom(), wxRect::SetLeft(), wxRect::SetRight(), wxRect::SetTop(), wxRect::width, and wxSYS_MENU_Y.
|
protected |
Definition at line 1272 of file main.cpp.
References _T, ConfigManager::EnumerateSubPaths(), Manager::Get(), Manager::GetConfigManager(), wxArrayString::GetCount(), and ConfigManager::Read().
|
private |
Definition at line 4997 of file main.cpp.
References Manager::Get(), Manager::GetLogManager(), CodeBlocksLogEvent::icon, Manager::IsAppShuttingDown(), CodeBlocksLogEvent::logger, LogManager::NotifyUpdate(), and CodeBlocksLogEvent::title.
Referenced by RegisterEvents().
|
private |
Definition at line 2716 of file main.cpp.
References _(), _T, Manager::BlockYields(), EditorManager::CanShutdown(), ProjectManager::CanShutdown(), cbAssert, cbEVT_APP_START_SHUTDOWN, cbHasRunningCompilers(), cbMessageBox(), cbStopRunningCompilers(), LogManager::DebugLog(), Manager::Get(), Manager::GetLogManager(), Manager::IsBatchBuild(), OnToolBarRightClick(), Manager::ProcessEvent(), Manager::SetAppShuttingDown(), Manager::Shutdown(), wxBell(), wxICON_QUESTION, wxID_ANY, wxID_YES, wxNO_DEFAULT, wxYES_NO, and Manager::Yield().
|
overrideprotected |
Definition at line 5131 of file main.cpp.
References wxStatusBar::SetFieldsCount().
|
private |
|
private |
Definition at line 4974 of file main.cpp.
Referenced by RegisterEvents().
bool MainFrame::OnDropFiles | ( | wxCoord | x, |
wxCoord | y, | ||
const wxArrayString & | filenames | ||
) |
Definition at line 2396 of file main.cpp.
References FileTypeOf(), ftCodeBlocksWorkspace, ftMSVC6Workspace, ftMSVC7Workspace, wxArrayString::GetCount(), and wxString::IsEmpty().
Referenced by IPC::Entry(), and cbFileDropTarget::OnDropFiles().
|
private |
Definition at line 2850 of file main.cpp.
References Manager::Get(), EditorManager::GetActiveEditor(), Manager::GetEditorManager(), and EditorBase::IsBuiltinEditor().
|
private |
Definition at line 2836 of file main.cpp.
References Manager::Get(), EditorManager::GetActiveEditor(), Manager::GetEditorManager(), and EditorBase::IsBuiltinEditor().
|
private |
Definition at line 2843 of file main.cpp.
References Manager::Get(), EditorManager::GetActiveEditor(), Manager::GetEditorManager(), and EditorBase::IsBuiltinEditor().
|
private |
Definition at line 2829 of file main.cpp.
References Manager::Get(), EditorManager::GetActiveEditor(), Manager::GetEditorManager(), and EditorBase::IsBuiltinEditor().
|
private |
Fix a glitch: when selecting multiple lines and the caret is at the start of the line after the last line selected, the code would, wrongly, (un)comment that line too. This fixes it.
Definition at line 3642 of file main.cpp.
References wxScintilla::BeginUndoAction(), CommentToken::boxCommentEnd, CommentToken::boxCommentMid, CommentToken::boxCommentStart, wxScintilla::EndUndoAction(), Manager::Get(), EditorManager::GetBuiltinActiveEditor(), EditorManager::GetColourSet(), wxScintilla::GetColumn(), EditorColourSet::GetCommentToken(), cbEditor::GetControl(), Manager::GetEditorManager(), wxScintilla::GetEOLMode(), GetEOLStr(), cbEditor::GetLanguage(), wxScintilla::GetLineEndPosition(), wxScintilla::GetSelectionEnd(), wxScintilla::GetSelectionStart(), wxScintilla::InsertText(), wxScintilla::LineFromPosition(), wxScintilla::LineLength(), wxScintilla::PositionFromLine(), wxScintilla::SetSelectionVoid(), CommentToken::streamCommentEnd, CommentToken::streamCommentStart, wxEmptyString, and wxSCI_INVALID_POSITION.
|
private |
Definition at line 2876 of file main.cpp.
References EditorBase::ClearHistory(), Manager::Get(), EditorManager::GetActiveEditor(), and Manager::GetEditorManager().
|
private |
Fix a glitch: when selecting multiple lines and the caret is at the start of the line after the last line selected, the code would, wrongly, (un)comment that line too. This fixes it.
Definition at line 3337 of file main.cpp.
References wxScintilla::BeginUndoAction(), wxScintilla::EndUndoAction(), Manager::Get(), EditorManager::GetBuiltinActiveEditor(), EditorManager::GetColourSet(), wxScintilla::GetColumn(), EditorColourSet::GetCommentToken(), cbEditor::GetControl(), Manager::GetEditorManager(), cbEditor::GetLanguage(), wxScintilla::GetLineEndPosition(), wxScintilla::GetSelectionEnd(), wxScintilla::GetSelectionStart(), wxScintilla::InsertText(), CommentToken::lineComment, wxScintilla::LineFromPosition(), wxScintilla::LineLength(), wxScintilla::PositionFromLine(), wxScintilla::SetSelectionVoid(), CommentToken::streamCommentEnd, CommentToken::streamCommentStart, wxEmptyString, and wxSCI_INVALID_POSITION.
|
private |
Definition at line 3714 of file main.cpp.
References cbEVT_COMPLETE_CODE, Manager::Get(), and Manager::ProcessEvent().
|
private |
Definition at line 2883 of file main.cpp.
References EditorBase::Copy(), Manager::Get(), EditorManager::GetActiveEditor(), and Manager::GetEditorManager().
|
private |
Definition at line 2890 of file main.cpp.
References EditorBase::Cut(), Manager::Get(), EditorManager::GetActiveEditor(), and Manager::GetEditorManager().
|
private |
Definition at line 3815 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), Manager::GetEditorManager(), cbEditor::GetUseBom(), idEditEncodingAscii, idEditEncodingDefault, idEditEncodingUnicode, idEditEncodingUnicode16BE, idEditEncodingUnicode16LE, idEditEncodingUnicode32BE, idEditEncodingUnicode32LE, idEditEncodingUseBom, idEditEncodingUtf16, idEditEncodingUtf32, idEditEncodingUtf7, idEditEncodingUtf8, cbEditor::SetEncoding(), cbEditor::SetUseBom(), wxFONTENCODING_ISO8859_1, wxFONTENCODING_SYSTEM, wxFONTENCODING_UNICODE, wxFONTENCODING_UTF16, wxFONTENCODING_UTF16BE, wxFONTENCODING_UTF16LE, wxFONTENCODING_UTF32, wxFONTENCODING_UTF32BE, wxFONTENCODING_UTF32LE, wxFONTENCODING_UTF7, and wxFONTENCODING_UTF8.
|
private |
Definition at line 3791 of file main.cpp.
References wxScintilla::BeginUndoAction(), wxScintilla::ConvertEOLs(), wxScintilla::EndUndoAction(), Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), wxScintilla::GetEOLMode(), idEditEOLCR, idEditEOLCRLF, idEditEOLLF, wxScintilla::SetEOLMode(), wxSCI_EOL_CR, wxSCI_EOL_CRLF, and wxSCI_EOL_LF.
|
private |
Definition at line 3749 of file main.cpp.
References cbEditor::FoldAll(), Manager::Get(), EditorManager::GetBuiltinActiveEditor(), and Manager::GetEditorManager().
|
private |
Definition at line 3770 of file main.cpp.
References cbEditor::FoldBlockFromLine(), Manager::Get(), EditorManager::GetBuiltinActiveEditor(), and Manager::GetEditorManager().
|
private |
Definition at line 3129 of file main.cpp.
References wxScintilla::AutoCompActive(), wxScintilla::AutoCompCancel(), Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), and wxScintilla::LineEnd().
|
private |
Definition at line 2822 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), Manager::GetEditorManager(), and cbEditor::GotoMatchingBrace().
|
private |
Definition at line 3720 of file main.cpp.
References _T, changeButtonLabel(), wxMenu::FindItem(), Manager::Get(), EditorManager::GetBuiltinActiveEditor(), Manager::GetCCManager(), EditorManager::GetColourSet(), Manager::GetEditorManager(), EditorColourSet::GetHighlightLanguage(), wxMenuItem::GetItemLabelText(), EditorColourSet::GetLanguageName(), idEditHighlightModeText, CCManager::NotifyPluginStatus(), and cbEditor::SetLanguage().
Referenced by CreateMenubar().
|
private |
Definition at line 3116 of file main.cpp.
References wxScintilla::AutoCompActive(), wxScintilla::AutoCompCancel(), Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), and wxScintilla::NewLine().
|
private |
Definition at line 3174 of file main.cpp.
References InsertNewLine().
|
private |
Definition at line 3169 of file main.cpp.
References InsertNewLine().
|
private |
Definition at line 3009 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), and wxScintilla::LineCopy().
|
private |
Definition at line 2981 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), and wxScintilla::LineCut().
|
private |
Definition at line 2988 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), and wxScintilla::LineDelete().
|
private |
Definition at line 2995 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), and wxScintilla::LineDuplicate().
|
private |
Definition at line 3036 of file main.cpp.
References wxScintilla::BeginUndoAction(), wxScintilla::DeleteRange(), wxScintilla::EndUndoAction(), Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), wxScintilla::GetLineCount(), wxScintilla::GetLineEndPosition(), wxScintilla::GetSelectionEnd(), wxScintilla::GetSelections(), wxScintilla::GetSelectionStart(), wxScintilla::GetTextRange(), idEditLineUp, wxScintilla::InsertText(), wxScintilla::LineFromPosition(), wxScintilla::PositionFromLine(), and wxScintilla::SetSelectionVoid().
|
private |
Definition at line 3016 of file main.cpp.
References wxScintilla::BeginUndoAction(), wxScintilla::EndUndoAction(), Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), wxScintilla::GetCurrentPos(), Manager::GetEditorManager(), wxScintilla::GotoLine(), wxScintilla::GotoPos(), wxScintilla::LineFromPosition(), and wxScintilla::Paste().
|
private |
Definition at line 3002 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), and wxScintilla::LineTranspose().
|
private |
Definition at line 3109 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), and wxScintilla::LowerCase().
|
private |
Definition at line 4121 of file main.cpp.
References _T, EditorBase::CanPaste(), EditorBase::CanRedo(), EditorBase::CanSelectAll(), EditorBase::CanUndo(), wxMenuBar::Check(), wxMenuBar::Enable(), wxMenuBar::FindItem(), wxMenu::FindItem(), Manager::Get(), EditorManager::GetActiveEditor(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetColourSet(), cbEditor::GetControl(), Manager::GetEditorManager(), cbEditor::GetEncoding(), wxScintilla::GetEOLMode(), cbEditor::GetLanguage(), EditorColourSet::GetLanguageName(), wxLocale::GetSystemEncoding(), cbEditor::GetUseBom(), EditorBase::HasSelection(), idEditBookmarks, idEditBoxCommentSelected, idEditClearHistory, idEditCommentSelected, idEditCompleteCode, idEditCopy, idEditCut, idEditEncoding, idEditEncodingAscii, idEditEncodingDefault, idEditEncodingUnicode, idEditEncodingUnicode16BE, idEditEncodingUnicode16LE, idEditEncodingUnicode32BE, idEditEncodingUnicode32LE, idEditEncodingUseBom, idEditEncodingUtf16, idEditEncodingUtf32, idEditEncodingUtf7, idEditEncodingUtf8, idEditEOLCR, idEditEOLCRLF, idEditEOLLF, idEditEOLMode, idEditFolding, idEditGotoMatchingBrace, idEditHighlightMode, idEditHighlightModeText, idEditPaste, idEditRedo, idEditSelectAll, idEditSelectNext, idEditSelectNextSkip, idEditShowCallTip, idEditSpecialCommands, idEditSpecialCommandsCase, idEditStreamCommentSelected, idEditSwapHeaderSource, idEditToggleCommentSelected, idEditUncommentSelected, idEditUndo, Manager::IsAppShuttingDown(), EditorBase::IsReadOnly(), NULL, wxFONTENCODING_ISO8859_1, wxFONTENCODING_SYSTEM, wxFONTENCODING_UNICODE, wxFONTENCODING_UTF16, wxFONTENCODING_UTF16BE, wxFONTENCODING_UTF16LE, wxFONTENCODING_UTF32, wxFONTENCODING_UTF32BE, wxFONTENCODING_UTF32LE, wxFONTENCODING_UTF7, wxFONTENCODING_UTF8, wxNOT_FOUND, wxSCI_EOL_CR, wxSCI_EOL_CRLF, and wxSCI_EOL_LF.
|
private |
Definition at line 4824 of file main.cpp.
References _T, Manager::Get(), Manager::GetConfigManager(), EditorBase::IsBuiltinEditor(), and ConfigManager::ReadBool().
Referenced by RegisterEvents().
|
private |
Definition at line 4844 of file main.cpp.
Referenced by RegisterEvents().
|
private |
Definition at line 4857 of file main.cpp.
Referenced by RegisterEvents().
|
private |
Definition at line 4818 of file main.cpp.
Referenced by RegisterEvents().
|
private |
Definition at line 4851 of file main.cpp.
Referenced by RegisterEvents().
|
private |
Definition at line 4319 of file main.cpp.
References DoUpdateStatusBar(), Manager::Get(), EditorManager::GetActiveEditor(), wxAuiManager::GetAllPanes(), wxAuiManager::GetArtProvider(), CodeBlocksEvent::GetEditor(), Manager::GetEditorManager(), wxAuiDockArt::GetMetric(), wxAuiManager::GetPane(), Manager::IsAppShuttingDown(), wxAuiPaneInfo::IsShown(), wxAuiPaneInfo::IsToolbar(), operator<(), wxAuiPaneInfo::Position(), wxAuiPaneInfo::Row(), wxAUI_DOCKART_GRIPPER_SIZE, and wxRect::x.
Referenced by RegisterEvents().
|
private |
Definition at line 2918 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), and wxScintilla::ParaDown().
|
private |
Definition at line 2925 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), and wxScintilla::ParaDownExtend().
|
private |
Definition at line 2904 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), and wxScintilla::ParaUp().
|
private |
Definition at line 2911 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), and wxScintilla::ParaUpExtend().
|
private |
Definition at line 2897 of file main.cpp.
References Manager::Get(), EditorManager::GetActiveEditor(), Manager::GetEditorManager(), and EditorBase::Paste().
|
private |
Definition at line 2869 of file main.cpp.
References Manager::Get(), EditorManager::GetActiveEditor(), Manager::GetEditorManager(), and EditorBase::Redo().
|
private |
Definition at line 3179 of file main.cpp.
References _(), wxScintilla::AddSelection(), InfoWindow::Display(), wxString::find_first_of(), wxScintilla::FindText(), Manager::Get(), EditorManager::GetActiveEditor(), Manager::GetEditorManager(), wxScintilla::GetLength(), wxScintilla::GetMainSelection(), wxScintilla::GetSelectionNAnchor(), wxScintilla::GetSelectionNCaret(), wxScintilla::GetSelections(), wxScintilla::IndicatorClearRange(), wxScintilla::LineFromPosition(), main(), cbStyledTextCtrl::MakeNearbyLinesVisible(), wxString::npos, EditorBase::SelectAll(), wxScintilla::SetAdditionalSelectionTyping(), wxScintilla::SetMultiPaste(), wxSCI_FIND_MATCHCASE, wxSCI_FIND_WHOLEWORD, wxSCI_INVALID_POSITION, and wxT.
|
private |
Definition at line 3250 of file main.cpp.
References Manager::Get(), EditorManager::GetActiveEditor(), Manager::GetEditorManager(), wxScintilla::GetTextRange(), EditorBase::IsBuiltinEditor(), wxScintilla::SetSelection(), wxScintilla::WordEndPosition(), and wxScintilla::WordStartPosition().
|
private |
Definition at line 3275 of file main.cpp.
References wxScintilla::AddSelection(), wxScintilla::ClearSelections(), Manager::Get(), EditorManager::GetActiveEditor(), Manager::GetConfigManager(), Manager::GetEditorManager(), wxScintilla::GetSelectionNAnchor(), wxScintilla::GetSelectionNCaret(), wxScintilla::GetSelections(), wxScintilla::GetTextRange(), wxScintilla::IndicatorFillRange(), EditorBase::IsBuiltinEditor(), ConfigManager::ReadBool(), wxScintilla::SetSelectionNAnchor(), wxScintilla::SetSelectionNCaret(), and wxT.
|
private |
Definition at line 3708 of file main.cpp.
References cbEVT_SHOW_CALL_TIP, Manager::Get(), and Manager::ProcessEvent().
|
private |
Fix a glitch: when selecting multiple lines and the caret is at the start of the line after the last line selected, the code would, wrongly, (un)comment that line too. This fixes it.
Definition at line 3562 of file main.cpp.
References _T, wxScintilla::BeginUndoAction(), wxScintilla::EndUndoAction(), Manager::Get(), EditorManager::GetBuiltinActiveEditor(), wxScintilla::GetCharAt(), EditorManager::GetColourSet(), wxScintilla::GetColumn(), EditorColourSet::GetCommentToken(), cbEditor::GetControl(), wxScintilla::GetCurrentPos(), Manager::GetEditorManager(), cbEditor::GetLanguage(), wxScintilla::GetLength(), wxScintilla::GetLineEndPosition(), wxScintilla::GetSelectionEnd(), wxScintilla::GetSelectionStart(), wxScintilla::GetTextRange(), wxScintilla::GotoPos(), wxScintilla::InsertText(), wxString::Length(), wxScintilla::LineFromPosition(), wxScintilla::PositionFromLine(), wxScintilla::ReplaceTarget(), wxScintilla::SetSelectionVoid(), wxScintilla::SetTargetEnd(), wxScintilla::SetTargetStart(), CommentToken::streamCommentEnd, CommentToken::streamCommentStart, wxScintilla::WordEndPosition(), wxScintilla::WordStartPosition(), wxEmptyString, and wxSCI_INVALID_POSITION.
|
private |
Definition at line 2816 of file main.cpp.
References Manager::Get(), Manager::GetEditorManager(), and EditorManager::SwapActiveHeaderSource().
|
private |
Definition at line 3763 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), Manager::GetEditorManager(), and cbEditor::ToggleAllFolds().
|
private |
Fix a glitch: when selecting multiple lines and the caret is at the start of the line after the last line selected, the code would, wrongly, (un)comment that line too. This fixes it.
Definition at line 3484 of file main.cpp.
References wxScintilla::BeginUndoAction(), wxScintilla::EndUndoAction(), wxString::Find(), Manager::Get(), EditorManager::GetBuiltinActiveEditor(), EditorManager::GetColourSet(), wxScintilla::GetColumn(), EditorColourSet::GetCommentToken(), cbEditor::GetControl(), Manager::GetEditorManager(), cbEditor::GetLanguage(), wxScintilla::GetLine(), wxScintilla::GetSelectionEnd(), wxScintilla::GetSelectionStart(), wxScintilla::InsertText(), wxString::Length(), wxScintilla::LineFromPosition(), wxScintilla::LineLength(), wxScintilla::PositionFromLine(), wxScintilla::ReplaceTarget(), wxScintilla::SetSelectionVoid(), wxScintilla::SetTargetEnd(), wxScintilla::SetTargetStart(), wxString::Strip(), wxEmptyString, and wxSCI_INVALID_POSITION.
|
private |
Definition at line 3784 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), Manager::GetEditorManager(), and cbEditor::ToggleFoldBlockFromLine().
|
private |
Fix a glitch: when selecting multiple lines and the caret is at the start of the line after the last line selected, the code would, wrongly, (un)comment that line too. This fixes it.
Definition at line 3393 of file main.cpp.
References wxScintilla::BeginUndoAction(), wxString::EndsWith(), wxScintilla::EndUndoAction(), wxString::Find(), Manager::Get(), EditorManager::GetBuiltinActiveEditor(), EditorManager::GetColourSet(), wxScintilla::GetColumn(), EditorColourSet::GetCommentToken(), cbEditor::GetControl(), Manager::GetEditorManager(), cbEditor::GetLanguage(), wxScintilla::GetLine(), wxScintilla::GetSelectionEnd(), wxScintilla::GetSelectionStart(), wxString::Length(), CommentToken::lineComment, wxScintilla::LineFromPosition(), wxScintilla::LineLength(), wxString::npos, wxScintilla::PositionFromLine(), wxScintilla::ReplaceTarget(), wxString::rfind(), wxScintilla::SetSelectionVoid(), wxScintilla::SetTargetEnd(), wxScintilla::SetTargetStart(), wxString::StartsWith(), CommentToken::streamCommentEnd, CommentToken::streamCommentStart, wxString::Strip(), wxEmptyString, and wxSCI_INVALID_POSITION.
|
private |
Definition at line 2857 of file main.cpp.
References wxScintilla::AutoCompActive(), wxScintilla::AutoCompCancel(), EditorBase::CanUndo(), Manager::Get(), EditorManager::GetActiveEditor(), EditorManager::GetBuiltinEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), and EditorBase::Undo().
|
private |
Definition at line 3756 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), Manager::GetEditorManager(), and cbEditor::UnfoldAll().
|
private |
Definition at line 3777 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), Manager::GetEditorManager(), and cbEditor::UnfoldBlockFromLine().
|
private |
Definition at line 3102 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), and wxScintilla::UpperCase().
|
private |
Definition at line 2932 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), and wxScintilla::WordPartLeft().
|
private |
Definition at line 2939 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), and wxScintilla::WordPartLeftExtend().
|
private |
Definition at line 2946 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), and wxScintilla::WordPartRight().
|
private |
Definition at line 2953 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), and wxScintilla::WordPartRightExtend().
|
private |
Definition at line 2960 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), and wxScintilla::ZoomIn().
|
private |
Definition at line 2967 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), and wxScintilla::ZoomOut().
|
private |
Definition at line 2974 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), and wxScintilla::SetZoom().
|
private |
|
private |
Definition at line 2655 of file main.cpp.
References EditorManager::CloseActive(), Manager::Get(), and Manager::GetEditorManager().
|
private |
Definition at line 2662 of file main.cpp.
References EditorManager::CloseAll(), Manager::Get(), and Manager::GetEditorManager().
|
private |
Definition at line 2587 of file main.cpp.
References EditorManager::CanShutdown(), ProjectManager::CanShutdown(), ProjectManager::CloseActiveProject(), Manager::Get(), Manager::GetProjectManager(), and wxBell().
|
private |
|
private |
Definition at line 2600 of file main.cpp.
References _(), _T, FileFilters::DEVCPP_EXT, and FileFilters::GetFilterString().
|
private |
Definition at line 2605 of file main.cpp.
References _(), _T, FileFilters::GetFilterString(), and FileFilters::MSVC6_EXT.
|
private |
Definition at line 2610 of file main.cpp.
References _(), _T, FileFilters::GetFilterString(), and FileFilters::MSVC6_WORKSPACE_EXT.
|
private |
Definition at line 2615 of file main.cpp.
References _(), _T, FileFilters::GetFilterString(), and FileFilters::MSVC7_EXT.
|
private |
Definition at line 2620 of file main.cpp.
References _(), _T, FileFilters::GetFilterString(), and FileFilters::MSVC7_WORKSPACE_EXT.
|
private |
Definition at line 4058 of file main.cpp.
References EditorManager::CanShutdown(), ProjectManager::CanShutdown(), g_StartHereTitle, Manager::Get(), EditorManager::GetActiveEditor(), ProjectManager::GetActiveProject(), EditorManager::GetBuiltinActiveEditor(), cbProject::GetCurrentlyCompilingTarget(), EditorManager::GetEditor(), Manager::GetEditorManager(), EditorBase::GetModified(), cbWorkspace::GetModified(), cbProject::GetModified(), Manager::GetProjectManager(), ProjectManager::GetWorkspace(), idFileClose, idFileCloseAll, idFileCloseProject, idFileCloseWorkspace, idFileOpen, idFileOpenDefWorkspace, idFilePrint, idFileReopenProject, idFileSave, idFileSaveAll, idFileSaveAs, idFileSaveProject, idFileSaveProjectAs, idFileSaveProjectTemplate, idFileSaveWorkspace, idFileSaveWorkspaceAs, and Manager::IsAppShuttingDown().
|
private |
Definition at line 2425 of file main.cpp.
References CopyMenu(), wxMenuBar::FindItem(), and idFileNewProject.
|
private |
Definition at line 2310 of file main.cpp.
References _(), _T, ProjectManager::AddFileToProject(), cbEVT_PROJECT_NEW, cbEVT_PROJECT_OPEN, cbMessageBox(), EditorManager::CheckForExternallyModifiedFiles(), Manager::Get(), Mgr< TemplateManager >::Get(), ProjectManager::GetActiveProject(), CompileTargetBase::GetBasePath(), cbEditor::GetControl(), Manager::GetEditorManager(), cbProject::GetFileByFilename(), Manager::GetPluginManager(), Manager::GetProjectManager(), idFileNewCustom, idFileNewEmpty, idFileNewFile, idFileNewProject, idFileNewTarget, idFileNewUser, wxString::IsEmpty(), TemplateManager::New(), EditorManager::New(), PluginManager::NotifyPlugins(), cbProject::Save(), cbProject::SaveAllFiles(), wxScintilla::SetChangeCollection(), totCustom, totFiles, totProject, totTarget, totUser, wxICON_QUESTION, wxID_YES, wxSetWorkingDirectory(), and wxYES_NO.
|
private |
Definition at line 2668 of file main.cpp.
References EditorManager::ActivateNext(), Manager::Get(), and Manager::GetEditorManager().
|
private |
|
private |
Definition at line 2625 of file main.cpp.
References _(), cbMessageBox(), Manager::Get(), Manager::GetProjectManager(), ProjectManager::GetWorkspace(), cbWorkspace::IsDefault(), ProjectManager::LoadWorkspace(), and wxICON_WARNING.
|
private |
|
private |
|
private |
Definition at line 2674 of file main.cpp.
References EditorManager::ActivatePrevious(), Manager::Get(), and Manager::GetEditorManager().
|
private |
Definition at line 2680 of file main.cpp.
References Manager::Get(), Manager::GetEditorManager(), PrintDialog::GetPrintColourMode(), PrintDialog::GetPrintLineNumbers(), PrintDialog::GetPrintScope(), PlaceWindow(), EditorManager::Print(), wxDialog::ShowModal(), and wxID_OK.
|
private |
|
private |
|
private |
Definition at line 2516 of file main.cpp.
References wxID_CBFILE01.
|
private |
Definition at line 2503 of file main.cpp.
References wxID_CBFILE17.
|
private |
Definition at line 2529 of file main.cpp.
References _(), cbMessageBox(), Manager::Get(), wxString::Printf(), and wxICON_ERROR.
|
private |
Definition at line 2565 of file main.cpp.
References _T, ConfigManager::Flush(), Manager::Get(), Manager::GetConfigManager(), Manager::GetEditorManager(), cbWorkspace::GetFilename(), cbWorkspace::GetModified(), Manager::GetProjectManager(), ProjectManager::GetWorkspace(), cbWorkspace::IsDefault(), EditorManager::SaveAll(), ProjectManager::SaveAllProjects(), and ProjectManager::SaveWorkspace().
|
private |
Definition at line 2540 of file main.cpp.
References Manager::Get(), Manager::GetEditorManager(), and EditorManager::SaveActiveAs().
|
private |
Definition at line 2546 of file main.cpp.
References Manager::Get(), ProjectManager::GetActiveProject(), CompileTargetBase::GetFilename(), Manager::GetProjectManager(), and ProjectManager::SaveActiveProject().
|
private |
Definition at line 2556 of file main.cpp.
References Manager::Get(), ProjectManager::GetActiveProject(), CompileTargetBase::GetFilename(), Manager::GetProjectManager(), and ProjectManager::SaveActiveProjectAs().
|
private |
Definition at line 2582 of file main.cpp.
References Manager::Get(), Mgr< TemplateManager >::Get(), and TemplateManager::SaveUserTemplate().
|
private |
Definition at line 2636 of file main.cpp.
References Manager::Get(), cbWorkspace::GetFilename(), Manager::GetProjectManager(), ProjectManager::GetWorkspace(), and ProjectManager::SaveWorkspace().
|
private |
Definition at line 2643 of file main.cpp.
References _T, Manager::Get(), cbWorkspace::GetFilename(), Manager::GetProjectManager(), ProjectManager::GetWorkspace(), and ProjectManager::SaveWorkspaceAs().
|
private |
Definition at line 4534 of file main.cpp.
References cbAuiNotebook::FocusActiveTabCtrl(), Manager::Get(), Manager::GetEditorManager(), and EditorManager::GetNotebook().
|
private |
|
private |
Definition at line 4542 of file main.cpp.
References cbAuiNotebook::FocusActiveTabCtrl().
|
private |
Definition at line 5039 of file main.cpp.
Referenced by RegisterEvents().
|
private |
Definition at line 4739 of file main.cpp.
References UserVariableManager::Configure(), Manager::Get(), and Manager::GetUserVariableManager().
|
private |
Definition at line 4046 of file main.cpp.
References pdlHead, PlaceWindow(), and wxDialog::ShowModal().
|
private |
Definition at line 2291 of file main.cpp.
References _T, LogManager::DebugLog(), F(), Manager::Get(), Manager::GetLogManager(), PluginManager::GetPluginInfo(), Manager::GetPluginManager(), wxString::IsEmpty(), PlaceWindow(), and wxDialog::ShowModal().
Referenced by AddPluginInHelpPluginsMenu().
|
private |
|
private |
Definition at line 5062 of file main.cpp.
References _T, and Manager::Get().
Referenced by RegisterEvents().
|
private |
Definition at line 5023 of file main.cpp.
References CodeBlocksLogEvent::logger, and CodeBlocksLogEvent::window.
Referenced by RegisterEvents().
|
private |
Definition at line 5092 of file main.cpp.
References wxMenu::Append(), wxMenu::Break(), wxMenuItem::Check(), wxMenu::FindItem(), Manager::Get(), EditorManager::GetBuiltinActiveEditor(), EditorManager::GetColourSet(), Manager::GetEditorManager(), wxMenuItem::GetHelp(), wxMenuItem::GetId(), wxMenuItem::GetItemLabel(), wxMenuItem::GetKind(), wxMenu::GetMenuItems(), wxRect::GetPosition(), idEditHighlightModeText, wxMenuItem::IsCheckable(), and wxMenuItem::IsChecked().
|
private |
Definition at line 4986 of file main.cpp.
References gDefaultLayout.
Referenced by RegisterEvents().
|
private |
Definition at line 4992 of file main.cpp.
References CodeBlocksLayoutEvent::layout.
Referenced by RegisterEvents().
|
private |
Definition at line 4980 of file main.cpp.
Referenced by RegisterEvents().
|
private |
Definition at line 5072 of file main.cpp.
References _T, and Manager::Get().
Referenced by RegisterEvents().
|
private |
|
private |
Definition at line 3943 of file main.cpp.
References _T, Manager::Get(), Manager::GetConfigManager(), ConfigManager::Read(), and ConfigManager::ReadBool().
|
private |
|
private |
Definition at line 4661 of file main.cpp.
References CodeBlocksEvent::GetPlugin().
Referenced by RegisterEvents().
|
private |
Definition at line 4673 of file main.cpp.
References _(), _T, LogManager::DebugLog(), F(), Manager::Get(), Manager::GetLogManager(), PluginManager::GetPluginInfo(), Manager::GetPluginManager(), PluginInfo::title, and wxString::wx_str().
Referenced by RegisterEvents().
|
private |
Definition at line 2282 of file main.cpp.
References _T, LogManager::DebugLog(), PluginManager::ExecutePlugin(), F(), Manager::Get(), Manager::GetLogManager(), Manager::GetPluginManager(), and wxString::IsEmpty().
Referenced by AddPluginInPluginsMenu().
|
private |
Definition at line 4666 of file main.cpp.
References CodeBlocksEvent::GetPlugin(), and Manager::IsAppShuttingDown().
Referenced by RegisterEvents().
|
private |
Definition at line 4685 of file main.cpp.
References cbAssert, Manager::IsAppShuttingDown(), OnToolBarRightClick(), cbStatusBar::RemoveField(), and wxID_ANY.
Referenced by RegisterEvents().
|
private |
Definition at line 4806 of file main.cpp.
Referenced by RegisterEvents().
|
private |
Definition at line 4863 of file main.cpp.
Referenced by RegisterEvents().
|
private |
|
private |
Definition at line 4812 of file main.cpp.
Referenced by RegisterEvents().
|
private |
Definition at line 5013 of file main.cpp.
References Manager::IsAppShuttingDown(), CodeBlocksLogEvent::logger, and CodeBlocksLogEvent::window.
Referenced by RegisterEvents().
|
private |
Definition at line 4903 of file main.cpp.
References _T, wxAuiPaneInfo::BestSize(), wxAuiPaneInfo::Bottom(), wxAuiPaneInfo::Caption(), wxAuiPaneInfo::CloseButton(), CodeBlocksDockEvent::column, CodeBlocksDockEvent::desiredSize, CodeBlocksDockEvent::dockSide, CodeBlocksDockEvent::dsBottom, CodeBlocksDockEvent::dsFloating, CodeBlocksDockEvent::dsLeft, CodeBlocksDockEvent::dsRight, CodeBlocksDockEvent::dsTop, CodeBlocksDockEvent::dsUndefined, wxAuiPaneInfo::Float(), CodeBlocksDockEvent::floatingPos, wxAuiPaneInfo::FloatingPosition(), wxAuiPaneInfo::FloatingSize(), CodeBlocksDockEvent::floatingSize, wxString::Format(), CodeBlocksDockEvent::hideable, Manager::IsAppShuttingDown(), wxString::IsEmpty(), wxAuiPaneInfo::Layer(), wxAuiPaneInfo::Left(), CodeBlocksDockEvent::minimumSize, wxAuiPaneInfo::MinSize(), wxAuiPaneInfo::Name(), wxAuiPaneInfo::Position(), CodeBlocksDockEvent::pWindow, wxAuiPaneInfo::Right(), wxAuiPaneInfo::Row(), CodeBlocksDockEvent::row, wxAuiPaneInfo::Show(), CodeBlocksDockEvent::shown, CodeBlocksDockEvent::stretch, CodeBlocksDockEvent::title, and wxAuiPaneInfo::Top().
Referenced by RegisterEvents().
|
private |
Definition at line 4964 of file main.cpp.
References cbEVT_DOCK_WINDOW_VISIBILITY, Manager::Get(), Manager::ProcessEvent(), and CodeBlocksDockEvent::pWindow.
Referenced by RegisterEvents().
|
private |
Definition at line 4954 of file main.cpp.
References cbEVT_DOCK_WINDOW_VISIBILITY, Manager::Get(), Manager::ProcessEvent(), and CodeBlocksDockEvent::pWindow.
Referenced by RegisterEvents().
|
private |
Definition at line 4944 of file main.cpp.
References wxAuiPaneInfo::IsOk(), and CodeBlocksDockEvent::pWindow.
Referenced by RegisterEvents().
|
private |
Definition at line 3976 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), Manager::GetEditorManager(), and idSearchFindInFiles.
|
private |
Definition at line 3984 of file main.cpp.
References idSearchFindPrevious.
|
private |
Definition at line 3990 of file main.cpp.
References idSearchFindSelectedPrevious.
|
private |
Definition at line 4004 of file main.cpp.
References _(), _T, cbGetTextFromUser(), wxString::Format(), Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), wxScintilla::GetLength(), cbEditor::GotoLine(), wxScintilla::LineFromPosition(), wxString::ToLong(), and cbEditor::UnfoldBlockFromLine().
|
private |
Definition at line 4032 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), Manager::GetEditorManager(), and cbEditor::GotoNextChanged().
|
private |
Definition at line 4039 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), Manager::GetEditorManager(), and cbEditor::GotoPreviousChanged().
|
private |
Definition at line 4283 of file main.cpp.
References _T, cbEditor::CanRedo(), cbEditor::CanUndo(), wxMenuBar::Enable(), Manager::Get(), EditorManager::GetBuiltinEditor(), Manager::GetConfigManager(), Manager::GetEditorManager(), idSearchFind, idSearchFindNext, idSearchFindPrevious, idSearchFindSelectedNext, idSearchFindSelectedPrevious, idSearchGotoLine, idSearchGotoNextChanged, idSearchGotoPreviousChanged, idSearchReplace, Manager::IsAppShuttingDown(), and ConfigManager::ReadBool().
|
private |
Definition at line 3996 of file main.cpp.
References Manager::Get(), EditorManager::GetBuiltinActiveEditor(), Manager::GetEditorManager(), and idSearchReplaceInFiles.
|
private |
Definition at line 4765 of file main.cpp.
References cbEVT_SETTINGS_CHANGED, cbSettingsType::Compiler, Manager::Get(), PlaceWindow(), Manager::ProcessEvent(), wxDialog::ShowModal(), and wxID_OK.
|
private |
Definition at line 4777 of file main.cpp.
References cbEVT_SETTINGS_CHANGED, cbSettingsType::Debugger, Manager::Get(), PlaceWindow(), Manager::ProcessEvent(), wxDialog::ShowModal(), and wxID_OK.
|
private |
Definition at line 4744 of file main.cpp.
References cbEVT_SETTINGS_CHANGED, cbSettingsType::Editor, Manager::Get(), Manager::GetEditorManager(), PlaceWindow(), Manager::ProcessEvent(), EditorManager::RecreateOpenEditorStyles(), wxDialog::ShowModal(), wxBeginBusyCursor(), wxEndBusyCursor(), and wxID_OK.
|
private |
Definition at line 4711 of file main.cpp.
References _(), _T, cbEVT_SETTINGS_CHANGED, cbMessageBox(), cbSettingsType::Environment, Manager::Get(), Manager::GetCCManager(), Manager::GetConfigManager(), Manager::GetEditorManager(), Manager::GetLogManager(), LogManager::NotifyUpdate(), PlaceWindow(), Manager::ProcessEvent(), ConfigManager::ReadBool(), EditorManager::RecreateOpenEditorStyles(), CCManager::UpdateEnvSettings(), wxICON_INFORMATION, and wxID_OK.
|
private |
|
private |
Definition at line 4789 of file main.cpp.
References cbEVT_SETTINGS_CHANGED, Manager::Get(), cbSettingsType::Plugins, Manager::ProcessEvent(), and wxID_OK.
|
private |
Definition at line 4799 of file main.cpp.
References wxDialog::ShowModal(), and wxID_OK.
|
private |
Definition at line 4875 of file main.cpp.
References cbEditor::DoUnIndent(), Manager::Get(), EditorManager::GetBuiltinActiveEditor(), and Manager::GetEditorManager().
|
private |
Definition at line 5053 of file main.cpp.
References _T, and Manager::Get().
Referenced by RegisterEvents().
|
private |
Definition at line 2699 of file main.cpp.
References wxRect::GetPosition(), wxRect::GetSize(), and wxRect::SetPosition().
Referenced by cbStatusBar::cbStatusBar().
|
private |
Definition at line 2200 of file main.cpp.
References _T, wxString::AfterLast(), RecentItemsList::AskToRemoveFileFromHistory(), wxString::empty(), RecentItemsList::GetHistoryFile(), idFileNewProject, wxString::IsSameAs(), wxString::StartsWith(), and wxString::ToULong().
|
private |
Definition at line 4555 of file main.cpp.
References _(), _T, wxSwitcherItems::AddGroup(), wxSwitcherItems::AddItem(), Manager::Get(), Manager::GetEditorManager(), wxSwitcherItem::GetId(), wxSwitcherItems::GetIndexForFocus(), wxSwitcherItems::GetItem(), wxSwitcherItems::GetItemCount(), EditorManager::GetNotebook(), wxAuiNotebook::GetPage(), wxAuiNotebook::GetPageBitmap(), wxAuiNotebook::GetPageCount(), wxAuiNotebook::GetPageIndex(), wxAuiNotebook::GetPageText(), wxSwitcherDialog::GetSelection(), wxSwitcherItem::GetWindow(), cbNotebookStack::next, NULL, wxSwitcherDialog::SetExtraNavigationKey(), wxSwitcherDialog::SetModifierKey(), wxAuiNotebook::SetSelection(), wxSwitcherItems::SetSelection(), wxDialog::ShowModal(), cbNotebookStack::window, wxGetApp(), wxID_OK, WXK_ALT, wxNOT_FOUND, and wxT.
|
private |
Definition at line 5031 of file main.cpp.
References CodeBlocksLogEvent::logger, and CodeBlocksLogEvent::window.
Referenced by RegisterEvents().
|
private |
Definition at line 4474 of file main.cpp.
References PluginManager::FindPluginByName(), Manager::Get(), Manager::GetPluginManager(), idViewLogManager, idViewManager, idViewToolDebugger, idViewToolMain, and wxString::IsEmpty().
Referenced by DoAddPluginToolbar(), and PluginsUpdated().
|
private |
Definition at line 4636 of file main.cpp.
References wxSize::GetHeight(), wxSize::GetWidth(), wxFULLSCREEN_NOBORDER, wxFULLSCREEN_NOCAPTION, and wxFULLSCREEN_NOTOOLBAR.
|
private |
Definition at line 4625 of file main.cpp.
References g_StartHereTitle, Manager::Get(), and NULL.
|
private |
Definition at line 4519 of file main.cpp.
References _T, Manager::Get(), Manager::GetConfigManager(), ConfigManager::ReadBool(), and ConfigManager::Write().
|
private |
Definition at line 5146 of file main.cpp.
Referenced by CreateToolbars(), DoAddPlugin(), OnApplicationClose(), and OnPluginUnloaded().
|
private |
Definition at line 5079 of file main.cpp.
References _T, and Manager::Get().
Referenced by RegisterEvents().
|
private |
Definition at line 3960 of file main.cpp.
References _T, Manager::Get(), Manager::GetConfigManager(), Manager::GetEditorManager(), EditorManager::GetNotebook(), wxAuiNotebook::GetTabCtrlHeight(), wxAuiNotebook::SetTabCtrlHeight(), and ConfigManager::Write().
|
private |
Definition at line 3855 of file main.cpp.
Referenced by SaveViewLayout().
|
private |
Definition at line 3876 of file main.cpp.
References _(), cbMessageBox(), wxMenu::Delete(), wxString::find(), wxMenu::FindItem(), wxString::Format(), gDefaultLayout, gDefaultLayoutData, gDefaultMessagePaneLayoutData, gMinimalLayout, gMinimalLayoutData, gMinimalMessagePaneLayoutData, idViewLayoutSave, wxString::wx_str(), wxICON_INFORMATION, wxICON_QUESTION, wxID_YES, wxNO_DEFAULT, wxNOT_FOUND, and wxYES_NO.
|
private |
Definition at line 3860 of file main.cpp.
References _(), _T, cbGetTextFromUser(), wxString::empty(), Manager::Get(), Manager::GetConfigManager(), wxString::IsEmpty(), and ConfigManager::Read().
|
private |
Definition at line 4249 of file main.cpp.
References wxMenuBar::Check(), wxMenuBar::Enable(), wxMenu::FindItem(), g_StartHereTitle, Manager::Get(), EditorManager::GetBuiltinActiveEditor(), Manager::GetEditorManager(), idViewFocusEditor, idViewFocusLogsAndOthers, idViewFocusManagement, idViewFullScreen, idViewHideEditorTabs, idViewLogManager, idViewManager, idViewScriptConsole, idViewStartPage, idViewStatusbar, idViewToolMain, Manager::IsAppShuttingDown(), and NULL.
|
private |
|
private |
|
private |
bool MainFrame::Open | ( | const wxString & | filename, |
bool | addToHistory = true |
||
) |
Definition at line 1725 of file main.cpp.
References _T, LogManager::DebugLog(), wxString::Format(), Manager::Get(), wxFileName::GetFullPath(), Manager::GetLogManager(), LogManager::LogError(), wxFileName::Normalize(), wxString::wx_str(), and wxT.
Referenced by CodeBlocksApp::LoadDelayedFiles(), and RegisterScriptFunctions().
bool MainFrame::OpenGeneric | ( | const wxString & | filename, |
bool | addToHistory = true |
||
) |
Definition at line 1754 of file main.cpp.
References _(), _T, cbMessageBox(), wxFileName::ClearExt(), FileTypeOf(), ftCodeBlocksProject, ftCodeBlocksWorkspace, ftHeader, ftResource, ftSource, ftTemplateSource, Manager::Get(), wxFileName::GetFullPath(), PluginManager::GetMIMEHandlerForFile(), Manager::GetPluginManager(), Manager::GetProjectManager(), wxString::IsEmpty(), ProjectManager::IsOpen(), ProjectManager::LoadWorkspace(), cbMimePlugin::OpenFile(), wxFileName::SetExt(), ProjectManager::SetProject(), and wxICON_ERROR.
|
protected |
Definition at line 900 of file main.cpp.
References wxMenuItem::Check(), wxMenu::FindItem(), Manager::Get(), PluginManager::GetPluginInfo(), Manager::GetPluginManager(), PluginManager::GetPlugins(), idViewToolMain, IsWindowReallyShown(), OnToggleBar(), PluginInfo::title, and wxNOT_FOUND.
|
private |
Definition at line 5152 of file main.cpp.
References _(), wxMenu::Append(), wxMenu::FindItem(), wxMenu::FindItemByPosition(), wxMenuBar::FindMenu(), Manager::Get(), Manager::GetAppFrame(), wxMenuItem::GetHelp(), wxMenuItem::GetId(), wxMenuItem::GetItemLabelText(), wxMenuItem::GetKind(), wxMenuBar::GetMenu(), wxMenu::GetMenuItemCount(), and wxNOT_FOUND.
|
protected |
Definition at line 674 of file main.cpp.
References cbEVT_ADD_DOCK_WINDOW, cbEVT_ADD_LOG_WINDOW, cbEVT_DOCK_WINDOW_VISIBILITY, cbEVT_EDITOR_ACTIVATED, cbEVT_EDITOR_CLOSE, cbEVT_EDITOR_MODIFIED, cbEVT_EDITOR_OPEN, cbEVT_EDITOR_SAVE, cbEVT_EDITOR_UPDATE_UI, cbEVT_GET_ACTIVE_LOG_WINDOW, cbEVT_HIDE_DOCK_WINDOW, cbEVT_HIDE_LOG_MANAGER, cbEVT_HIDE_LOG_WINDOW, cbEVT_LOCK_LOG_MANAGER, cbEVT_PLUGIN_ATTACHED, cbEVT_PLUGIN_INSTALLED, cbEVT_PLUGIN_RELEASED, cbEVT_PLUGIN_UNINSTALLED, cbEVT_PROJECT_ACTIVATE, cbEVT_PROJECT_CLOSE, cbEVT_PROJECT_OPEN, cbEVT_QUERY_VIEW_LAYOUT, cbEVT_REMOVE_DOCK_WINDOW, cbEVT_REMOVE_LOG_WINDOW, cbEVT_SHOW_DOCK_WINDOW, cbEVT_SHOW_LOG_MANAGER, cbEVT_SWITCH_TO_LOG_WINDOW, cbEVT_SWITCH_VIEW_LAYOUT, cbEVT_UNLOCK_LOG_MANAGER, cbEVT_UPDATE_VIEW_LAYOUT, Manager::Get(), OnAddLogWindow(), OnDockWindowVisibility(), OnEditorActivated(), OnEditorClosed(), OnEditorModified(), OnEditorOpened(), OnEditorSaved(), OnEditorUpdateUI(), OnGetActiveLogWindow(), OnHideLogManager(), OnHideLogWindow(), OnLayoutQuery(), OnLayoutSwitch(), OnLayoutUpdate(), OnLockLogManager(), OnPluginInstalled(), OnPluginLoaded(), OnPluginUninstalled(), OnPluginUnloaded(), OnProjectActivated(), OnProjectClosed(), OnProjectOpened(), OnRemoveLogWindow(), OnRequestDockWindow(), OnRequestHideDockWindow(), OnRequestShowDockWindow(), OnRequestUndockWindow(), OnShowLogManager(), OnSwitchToLogWindow(), OnUnlockLogManager(), and Manager::RegisterEventSink().
|
protected |
|
protected |
|
protected |
Definition at line 860 of file main.cpp.
References _(), _T, ScriptingManager::DisplayErrors(), ScriptEntry::enabled, ConfigManager::EnumerateKeys(), F(), Manager::Get(), Manager::GetConfigManager(), wxArrayString::GetCount(), Manager::GetLogManager(), Manager::GetScriptingManager(), wxString::IsEmpty(), wxFileName::IsRelative(), ScriptingManager::LoadScript(), ConfigManager::LocateDataFile(), LogManager::LogWarning(), ScriptEntry::menu, ConfigManager::Read(), ScriptEntry::registered, ScriptingManager::RegisterScriptMenu(), ScriptEntry::script, sdScriptsGlobal, sdScriptsUser, ScriptEntry::SerializeIn(), and wxString::wx_str().
|
protected |
Definition at line 1431 of file main.cpp.
References _(), wxMenu::FindItem(), wxString::Format(), wxMenu::GetMenuItemCount(), idViewLayoutSave, wxMenu::InsertCheckItem(), wxString::IsEmpty(), OnViewLayout(), wxString::wx_str(), wxNewId(), and wxNOT_FOUND.
|
protected |
Definition at line 1349 of file main.cpp.
References _T, ConfigManager::DeleteSubPath(), ConfigManager::EnumerateSubPaths(), wxString::Format(), Manager::Get(), Manager::GetConfigManager(), wxArrayString::GetCount(), wxDisplay::GetFromWindow(), and ConfigManager::Write().
|
protected |
Definition at line 1183 of file main.cpp.
References _(), cbEVT_PLUGIN_LOADING_COMPLETE, Manager::Get(), Manager::GetLogManager(), Manager::GetPluginManager(), ConfigManager::GetPluginsFolder(), PluginManager::LoadAllPlugins(), LogManager::Log(), PluginManager::NotifyPlugins(), and PluginManager::ScanForPlugins().
|
private |
Definition at line 5179 of file main.cpp.
References wxMenuItem::Check(), wxMenu::Check(), PluginManager::FindPluginByName(), Manager::Get(), wxMenuItem::GetId(), wxMenu::GetMenuItemCount(), wxMenu::GetMenuItems(), Manager::GetPluginManager(), idViewToolDebugger, idViewToolMain, and wxString::IsEmpty().
|
protected |
Definition at line 828 of file main.cpp.
References DECLARE_INSTANCE_TYPE(), Manager::Get(), Manager::GetAppWindow(), Manager::GetDebuggerManager(), Manager::IsBatchBuild(), and DebuggerManager::SetInterfaceFactory().
|
protected |
Definition at line 783 of file main.cpp.
References _(), _T, LogManager::app_log, cbFileDropTarget::cbFileDropTarget(), Logger::CreateControl(), LogManager::debug_log, Manager::Get(), Manager::GetConfigManager(), LogSlot::GetLogger(), Manager::GetLogManager(), wxSize::GetWidth(), LogSlot::icon, Manager::IsBatchBuild(), LogManager::max_logs, LogManager::NotifyUpdate(), ConfigManager::ReadInt(), LogManager::SetLog(), LogManager::Slot(), LogSlot::title, wxEXPAND, wxT, and wxVERTICAL.
|
protected |
Definition at line 2190 of file main.cpp.
References cbEVT_HIDE_DOCK_WINDOW, cbEVT_SHOW_DOCK_WINDOW, Manager::Get(), Manager::IsBatchBuild(), IsWindowReallyShown(), Manager::ProcessEvent(), and CodeBlocksDockEvent::pWindow.
|
protected |
Definition at line 2146 of file main.cpp.
References _T, g_StartHereTitle, Manager::Get(), Manager::GetConfigManager(), EditorManager::GetEditor(), Manager::GetEditorManager(), Manager::GetProjectManager(), ProjectManager::GetProjects(), Manager::IsBatchBuild(), and ConfigManager::ReadBool().
Definition at line 1739 of file main.cpp.
References wxFileDialog::GetPath(), PlaceWindow(), wxFileDialog::ShowModal(), wxEmptyString, wxFD_OPEN, and wxID_OK.
void MainFrame::ShowTips | ( | bool | forceShow = false | ) |
Definition at line 715 of file main.cpp.
References _T, Manager::Get(), Manager::GetConfigManager(), wxTipProvider::GetCurrentTip(), ConfigManager::GetDataFolder(), ConfigManager::ReadBool(), ConfigManager::ReadInt(), ConfigManager::Write(), wxCreateFileTipProvider(), and wxShowTip().
Referenced by CodeBlocksApp::OnInit().
void MainFrame::StartupDone | ( | ) |
Definition at line 5125 of file main.cpp.
Referenced by CodeBlocksApp::OnInit().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
private |
|
protected |
wxAcceleratorTable* MainFrame::m_pAccel |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |