6 #ifndef CBSTYLEDTEXTCTRL_H_INCLUDED 7 #define CBSTYLEDTEXTCTRL_H_INCLUDED 33 void EnableTabSmartJump(
bool enable =
true);
35 bool IsCharacter(
int style);
37 bool IsString(
int style);
39 bool IsPreprocessor(
int style);
41 bool IsComment(
int style);
45 bool IsBraceShortcutActive();
57 void DoBraceCompletion(
const wxChar& ch);
65 bool DoSelectionBraceCompletion(
const wxChar& ch);
67 static std::map<int, std::set<int> > &GetCharacterLexerStyles();
68 static std::map<int, std::set<int> > &GetStringLexerStyles();
69 static std::map<int, std::set<int> > &GetPreprocessorLexerStyles();
70 static std::map<int, std::set<int> > &GetCommentLexerStyles();
78 void MakeNearbyLinesVisible(
int line);
88 bool AllowTabSmartJump();
89 void HighlightRightBrace();
90 void EmulateDwellStart();
108 #endif // CBSTYLEDTEXTCTRL_H_INCLUDED
wxString GetLastSelectedText() const
bool m_braceShortcutState
void OnKeyDown(wxKeyEvent &evt)
wxDateTime GetLastFocusTime() const
wxUSE_UNICODE_dependent wxChar
static std::map< int, std::set< int > > CharacterLexerStyles
static std::map< int, std::set< int > > PreprocessorLexerStyles
wxLongLong m_lastFocusTime
const wxSize wxDefaultSize
const wxPoint wxDefaultPosition
void OnMouseLeftUp(wxMouseEvent &evt)
void CallTipCancel()
Remove the call tip from the screen.
static std::map< int, std::set< int > > StringLexerStyles
wxString m_lastSelectedText