Re: PATCH: Enable backwards search in SQL Box

Поиск
Список
Период
Сортировка
От Akshay Joshi
Тема Re: PATCH: Enable backwards search in SQL Box
Дата
Msg-id CANxoLDehNBe3Tuiv8+0tfM7iU_ND_aw1rdS6eAYWcOWj12g+fg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PATCH: Enable backwards search in SQL Box  (Ashesh Vashi <ashesh.vashi@enterprisedb.com>)
Ответы Re: PATCH: Enable backwards search in SQL Box  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-hackers
Hi Dave 

Ashesh asked me to review the patch. I have reviewed the patch and tested it. Found one behavior which gets change after applying the patch.

Behavior Before:- When search direction is forward and user press F3, it searches the string in forward direction. Similarly if search direction is backward and user press F3, it searches the string in the backward direction. Nothing will be happen when user press Shift-F3. 

Behavior After :-  When user press F3, it searches the string in forward direction while on pressing Shift-F3, it searches the string in backward direction. It is not dependent on the search direction selected from the dialog. Also the selection of radio button is dependent on the key press, if F3 is pressed then forward button is selected and if Shift-F3 is pressed then backward is selected. 

Is this behavior acceptable? 


On Thu, Feb 20, 2014 at 5:09 PM, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:
Sure.
I will do that.


On Thu, Feb 20, 2014 at 4:52 PM, Dave Page <dpage@pgadmin.org> wrote:
Ashesh, can you look at, and if appropriate, commit this please?

Thanks.

On Mon, Feb 17, 2014 at 5:46 PM, J.F. Oster <jinfroster@mail.ru> wrote:
> Hello!
>
> Pressing F3 in query editor makes the previously started search
> continue forwards.
> This patch adds expected behavior for Shift-F3.
>
> There is a minor inconvenience when just changing the search direction
> - you have to press (Shift-)F3 *twice* for the (previous)next occurence
> to get highlighted. That's because first time goes for cursor movement
> to the corresponding boundary of current occurence. But that also
> happens when search direction is changed with dialog radio-buttons, so
> I think it's ok.
>
> --
> Best regards,
>  J.F.
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



--
--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA:
Enterprise PostgreSQL Company

 

http://www.linkedin.com/in/asheshvashi




--
Akshay Joshi
Principal Software Engineer 


Phone: +91 20-3058-9517
Mobile: +91 976-788-8246

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Ashesh Vashi
Дата:
Сообщение: Re: PATCH: Enable backwards search in SQL Box
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: Add CREATE EXTENSION Support