mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -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
|
|
@ -453,6 +453,17 @@ public:
|
|||
{
|
||||
WriteInt(wxT("LineEndingType"), newval);
|
||||
}
|
||||
int GetWidthCaretForKeyboardLayout() const
|
||||
{
|
||||
int i;
|
||||
int defval = 1;
|
||||
Read(wxT("WidthCaretForKeyboardLayout"), &i, defval);
|
||||
return i;
|
||||
}
|
||||
void SetWidthCaretForKeyboardLayout(const int newval)
|
||||
{
|
||||
WriteInt(wxT("WidthCaretForKeyboardLayout"), newval);
|
||||
}
|
||||
wxString GetFavouritesFile();
|
||||
void SetFavouritesFile(const wxString &newval)
|
||||
{
|
||||
|
|
@ -599,6 +610,16 @@ public:
|
|||
{
|
||||
WriteBool(wxT("ctlSQLBox/UseSystemBackground"), newval);
|
||||
}
|
||||
bool GetCaretUseSystemBackground() const
|
||||
{
|
||||
bool b;
|
||||
Read(wxT("ctlSQLBox/CaretUseSystemBackground"), &b, true);
|
||||
return b;
|
||||
}
|
||||
void SetCaretUseSystemBackground(const bool newval)
|
||||
{
|
||||
WriteBool(wxT("ctlSQLBox/CaretUseSystemBackground"), newval);
|
||||
}
|
||||
bool GetSQLBoxUseSystemForeground() const
|
||||
{
|
||||
bool b;
|
||||
|
|
@ -609,6 +630,16 @@ public:
|
|||
{
|
||||
WriteBool(wxT("ctlSQLBox/UseSystemForeground"), newval);
|
||||
}
|
||||
wxString GetCaretColourBackground() const
|
||||
{
|
||||
wxString s;
|
||||
Read(wxT("ctlSQLBox/CaretColourBackground"), &s, wxT("#ffffff"));
|
||||
return s;
|
||||
}
|
||||
void SetCaretColourBackground(const wxString& newval)
|
||||
{
|
||||
Write(wxT("ctlSQLBox/CaretColourBackground"), newval);
|
||||
}
|
||||
|
||||
wxString GetSQLBoxColourBackground() const
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue