pgAdmin III commit: Fix an issue with tab keypress on frmQuery. - Mailing list pgadmin-hackers

From Guillaume Lelarge
Subject pgAdmin III commit: Fix an issue with tab keypress on frmQuery.
Date
Msg-id 201008192013.o7JKDWe4030885@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
Commit: http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=680fb2332a40569fca97de7bc51be4548b0f5306

Log Message
-----------
Fix an issue with tab keypress on frmQuery.

On Windows, a user pressing tab on the scratch pad of the frmQuery window does
not insert a tab character on the scratch pad. It does insert it on the query
textbox.

This fix checks if the user presses tab in the query textbox or in the scratch
pad, and reacts accordingly. If he presses tab on another component, the event
is ignored.

Branch
------
master

Modified Files
--------------
CHANGELOG                      |    2 ++
pgadmin/frm/frmQuery.cpp       |   22 +++++++++++++++-------
pgadmin/include/frm/frmQuery.h |    3 ++-
3 files changed, 19 insertions(+), 8 deletions(-)


pgadmin-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: pgAdmin III commit: Fix an issue with tab keypress on frmQuery.
Next
From: "pgAdmin Trac"
Date:
Subject: [pgAdmin III] #225: Database designer