/usr/include/codeblocks/cbstyledtextctrl.h is in codeblocks-dev 10.05-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | /*
* This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3
* http://www.gnu.org/licenses/lgpl-3.0.html
*/
#ifndef CBSTYLEDTEXTCTRL_H_INCLUDED
#define CBSTYLEDTEXTCTRL_H_INCLUDED
#include "wx/wxscintilla.h"
#include <wx/longlong.h>
class wxContextMenuEvent;
class wxFocusEvent;
class wxMouseEvent;
class cbStyledTextCtrl : public wxScintilla
{
public:
cbStyledTextCtrl(wxWindow* pParent, int id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0);
virtual ~cbStyledTextCtrl();
wxDateTime GetLastFocusTime() const {return m_lastFocusTime;}
private:
void OnContextMenu(wxContextMenuEvent& event);
void OnKillFocus(wxFocusEvent& event);
void OnGetFocus(wxFocusEvent& event);
void OnGPM(wxMouseEvent& event);
wxWindow* m_pParent;
wxLongLong m_lastFocusTime;
DECLARE_EVENT_TABLE()
};
#endif // CBSTYLEDTEXTCTRL_H_INCLUDED
|