mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-08-24 14:22:42 -06:00
New features UI query tools.
1. Добавлена подсветка строки с курсором. В настройках можно выбрать цвет фона. 2. Можно указать ширину курсора для раскладки отличной от 0x409 "En" (только Windows). 3. Исправлена проблема с выделением найденного UNICODE текста.
This commit is contained in:
parent
925c8e119f
commit
f92c101ace
5 changed files with 158 additions and 12 deletions
|
|
@ -39,7 +39,7 @@ struct TextToFind
|
|||
};
|
||||
|
||||
class sysProcess;
|
||||
|
||||
enum { TIMER_REFRESHUICARRET_ID =300 };
|
||||
// Class declarations
|
||||
class ctlSQLBox : public wxStyledTextCtrl
|
||||
{
|
||||
|
|
@ -108,14 +108,17 @@ public:
|
|||
|
||||
protected:
|
||||
void OnEndProcess(wxProcessEvent &ev);
|
||||
void OnRefreshUITimer(wxTimerEvent& event);
|
||||
void UpdateTitle();
|
||||
|
||||
sysProcess *process;
|
||||
long processID;
|
||||
wxString processOutput, processErrorOutput;
|
||||
int processExitCode;
|
||||
|
||||
int caretWidth = 1;
|
||||
wxTimer* refreshUITimer;
|
||||
private:
|
||||
void SetCaretWidthForKeyboardLayout();
|
||||
void OnPositionStc(wxStyledTextEvent &event);
|
||||
void OnDoubleClick(wxStyledTextEvent &event);
|
||||
void OnMarginClick(wxStyledTextEvent &event);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue