mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
Marking selected text with color by pressing Ctrl-B.
Выделенный текст можно отметить цветом. Снятия выделения повторным нажатием. При нажатии без выделения текста, циклический переход к выделенному тексту ниже.
This commit is contained in:
parent
ece60b55de
commit
c36176aafa
3 changed files with 64 additions and 13 deletions
|
|
@ -51,7 +51,7 @@ public:
|
|||
~ctlSQLBox();
|
||||
|
||||
void Create(wxWindow *parent, wxWindowID id = -1, const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, long style = 0);
|
||||
void HighlightBrace(int lb, int rb);
|
||||
void HighlightBrace(int start, int len,int indicator);
|
||||
void SetDatabase(pgConn *db);
|
||||
wxString TextToHtml(int start, int end, bool isAddNewLine=false);
|
||||
void Copy();
|
||||
|
|
@ -59,6 +59,7 @@ public:
|
|||
void OnAutoComplete(wxCommandEvent &event);
|
||||
void OnSearchReplace(wxCommandEvent &event);
|
||||
void OnTransformText(wxCommandEvent& ev);
|
||||
void OnTextMark(wxCommandEvent& ev);
|
||||
void OnCopy(wxCommandEvent& ev);
|
||||
void OnFuncHelp(wxCommandEvent& ev);
|
||||
void OnKillFocus(wxFocusEvent &event);
|
||||
|
|
|
|||
|
|
@ -61,6 +61,7 @@ enum
|
|||
MNU_FIND,
|
||||
MNU_REPLACE,
|
||||
MNU_TRANSFORM,
|
||||
MNU_TEXT_MARK,
|
||||
MNU_UNDO,
|
||||
MNU_REDO,
|
||||
MNU_CANCEL,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue