Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes

CodeCompletion Class Reference

Inheritance diagram for CodeCompletion:
Inheritance graph
[legend]
Collaboration diagram for CodeCompletion:
Collaboration graph
[legend]

List of all members.

Classes

struct  FunctionScope
struct  FunctionsScopePerFile
struct  NameSpace

Public Types

typedef map< wxString,
FunctionsScopePerFile
FunctionsScopeMap
typedef std::vector
< FunctionScope
FunctionsScopeVec
typedef std::vector< NameSpaceNameSpaceVec

Public Member Functions

virtual void BuildMenu (wxMenuBar *menuBar)
virtual void BuildModuleMenu (const ModuleType type, wxMenu *menu, const FileTreeData *data=0)
virtual bool BuildToolBar (wxToolBar *toolBar)
virtual bool CanDetach () const
virtual int CodeComplete ()
virtual void CodeCompleteIncludes ()
virtual int Configure ()
void EditorEventHook (cbEditor *editor, wxScintillaEvent &event)
virtual wxArrayString GetCallTips ()
virtual int GetConfigurationGroup () const
virtual cbConfigurationPanelGetConfigurationPanel (wxWindow *parent)
virtual int GetConfigurationPriority () const
virtual cbConfigurationPanelGetProjectConfigurationPanel (wxWindow *parent, cbProject *project)
virtual PluginType GetType () const
bool IsAttached () const
virtual void OnAttach ()
virtual void OnRelease (bool appShutDown)
void RereadOptions ()
virtual void ShowCallTip ()

Protected Member Functions

virtual void NotImplemented (const wxString &log) const

Protected Attributes

bool m_IsAttached
PluginType m_Type

Private Member Functions

int DoAllMethodsImpl ()
int DoClassMethodDeclImpl ()
void DoCodeComplete ()
void DoInsertCodeCompleteToken (wxString tokName)
void FindFunctionAndUpdate (int currentLine)
int FunctionPosition () const
void GotoFunctionPrevNext (bool next=false)
void LoadTokenReplacements ()
int NameSpacePosition () const
void OnAppDoneStartup (CodeBlocksEvent &event)
void OnClassMethod (wxCommandEvent &event)
void OnCodeComplete (wxCommandEvent &event)
void OnCodeCompleteTimer (wxTimerEvent &event)
void OnEditorActivated (CodeBlocksEvent &event)
void OnEditorClosed (CodeBlocksEvent &event)
void OnEditorOpen (CodeBlocksEvent &event)
void OnFunction (wxCommandEvent &event)
void OnGotoDeclaration (wxCommandEvent &event)
void OnGotoFunction (wxCommandEvent &event)
void OnGotoNextFunction (wxCommandEvent &event)
void OnGotoPrevFunction (wxCommandEvent &event)
void OnOpenIncludeFile (wxCommandEvent &event)
void OnParserEnd (wxCommandEvent &event)
void OnProjectActivated (CodeBlocksEvent &event)
void OnProjectClosed (CodeBlocksEvent &event)
void OnProjectFileAdded (CodeBlocksEvent &event)
void OnProjectFileRemoved (CodeBlocksEvent &event)
void OnProjectSaved (CodeBlocksEvent &event)
void OnReparseActiveEditor (CodeBlocksEvent &event)
void OnShowCallTip (wxCommandEvent &event)
void OnStartParsingFunctions (wxTimerEvent &event)
void OnUnimplementedClassMethods (wxCommandEvent &event)
void OnUpdateUI (wxUpdateUIEvent &event)
void OnUserListSelection (CodeBlocksEvent &event)
void OnValueTooltip (CodeBlocksEvent &event)
void OnViewClassBrowser (wxCommandEvent &event)
void OnWorkspaceChanged (CodeBlocksEvent &event)
void ParseActiveProjects ()
void ParseFunctionsAndFillToolbar (bool force=false)
void SaveTokenReplacements ()

Private Attributes

int m_ActiveCalltipsNest
FunctionsScopeMap m_AllFunctionsScopes
int m_CurrentLine
wxMenu * m_EditMenu
int m_EditorHookId
wxChoice * m_Function
FunctionsScopeVec m_FunctionsScope
bool m_InitDone
bool m_IsAutoPopup
wxString m_LastFile
int m_LastPosForCodeCompletion
bool m_LexerKeywordsToInclude [9]
NameSpaceVec m_NameSpaces
NativeParser m_NativeParser
bool m_NeedReparse
int m_PageIndex
set< cbProject *, less
< cbProject * > > 
m_ParsedProjects
cbEditorm_pCodeCompletionLastEditor
wxChoice * m_Scope
map< wxString, int > m_SearchItem
wxMenu * m_SearchMenu
int m_StartIdxNameSpaceInScope
wxTimer m_TimerCodeCompletion
wxTimer m_TimerFunctionsParsing
bool m_ToolbarChanged
wxMenu * m_ViewMenu

Detailed Description

Definition at line 26 of file codecompletion.h.


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

Generated by  Doxygen 1.6.0   Back to index