48 Connect(ID_List, -1, wxEVT_COMMAND_LIST_ITEM_ACTIVATED,
49 (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction)
69 if (!filename.IsAbsolute())
70 filename.MakeAbsolute(
m_Base);
71 file = filename.GetFullPath();
74 li.m_itemId = selIndex;
79 li.m_text.ToLong(&line);
89 ctrl->EnsureVisible(line);
int GetSelectedItemCount() const
static Manager * Get()
Use Manager::Get() to get a pointer to its instance Manager::Get() is guaranteed to never return an i...
~cbSearchResultsLog() override
long GetNextItem(long item, int geometry=wxLIST_NEXT_ALL, int state=wxLIST_STATE_DONTCARE) const
void GotoLine(int line, bool centerOnScreen=true) override
Move the caret at the specified line.
a logger which prints messages to a wxListCtrl
virtual void Activate()
Activate this editor.
#define wxLIST_STATE_SELECTED
wxWindow * GetAppWindow() const
EditorManager * GetEditorManager() const
bool SetItemState(long item, long state, long stateMask)
cbStyledTextCtrl * GetControl() const
Returns a pointer to the underlying cbStyledTextCtrl object (which itself is the wxWindows implementa...
void FocusEntry(size_t index)
void OnDoubleClick(wxCommandEvent &event)
wxString GetItemText(long item, int col=0) const
cbEditor * Open(const wxString &filename, int pos=0, ProjectFile *data=nullptr)
wxWindow * CreateControl(wxWindow *parent) override
wxArray< int > wxArrayInt
void SyncEditor(int selIndex)
bool EnsureVisible(long item)
wxWindow * CreateControl(wxWindow *parent) override
bool GetItem(wxListItem &info) const
#define wxLIST_STATE_FOCUSED