Code::Blocks
SVN r11506
|
Structure representing a generic token, passed between CC plugins and CCManager. More...
#include <cbplugin.h>
Public Member Functions | |
CCToken (int _id, const wxString &dispNm, int categ=-1) | |
Convenience constructor. More... | |
CCToken (int _id, const wxString &dispNm, const wxString &nm, int _weight, int categ=-1) | |
Construct a fully specified CCToken. More... | |
Public Attributes | |
int | id |
CCManager will pass this back unmodified. Use it as an internal identifier for the token. More... | |
int | category |
The category corresponding to the index of the registered image (during autocomplete). More... | |
int | weight |
Lower numbers are placed earlier in listing, 5 is default; try to keep 0-10. More... | |
wxString | displayName |
Verbose string representing the token. More... | |
wxString | name |
Minimal name of the token that CCManager may choose to display in restricted circumstances. More... | |
Structure representing a generic token, passed between CC plugins and CCManager.
Definition at line 746 of file cbplugin.h.
|
inline |
Convenience constructor.
Represents a generic token, passed between CC plugins and CCManager.
_id | Internal identifier for a CC plugin to reference the token in its data structure. |
dispNm | The string CCManager will use to display this token. |
categ | The category corresponding to the index of the registered image (during autocomplete). Negative values are reserved for CCManager. |
Definition at line 757 of file cbplugin.h.
|
inline |
Construct a fully specified CCToken.
Represents a generic token, passed between CC plugins and CCManager.
_id | Internal identifier for a CC plugin to reference the token in its data structure. |
dispNm | The verbose string CCManager will use to display this token. |
nm | Minimal name of the token that CCManager may choose to display in restricted circumstances. |
_weight | Lower numbers are placed earlier in listing, 5 is default; try to keep 0-10. |
categ | The category corresponding to the index of the registered image (during autocomplete). Negative values are reserved for CCManager. |
Definition at line 771 of file cbplugin.h.
int cbCodeCompletionPlugin::CCToken::category |
The category corresponding to the index of the registered image (during autocomplete).
Definition at line 775 of file cbplugin.h.
wxString cbCodeCompletionPlugin::CCToken::displayName |
Verbose string representing the token.
Definition at line 777 of file cbplugin.h.
Referenced by CodeCompletion::DoAutocomplete(), CCManager::DoBufferedCC(), and TokenSorter::operator()().
int cbCodeCompletionPlugin::CCToken::id |
CCManager will pass this back unmodified. Use it as an internal identifier for the token.
Definition at line 774 of file cbplugin.h.
Referenced by CodeCompletion::GetDocumentation().
wxString cbCodeCompletionPlugin::CCToken::name |
Minimal name of the token that CCManager may choose to display in restricted circumstances.
Definition at line 778 of file cbplugin.h.
int cbCodeCompletionPlugin::CCToken::weight |
Lower numbers are placed earlier in listing, 5 is default; try to keep 0-10.
Definition at line 776 of file cbplugin.h.
Referenced by TokenSorter::operator()().