tallforasmurf / PPQT

A post-processing tool for PGDP written in Python, PyQt4, and Qt
GNU General Public License v3.0
4 stars 2 forks source link

"char" tab and "find" #96

Closed bibimbop closed 11 years ago

bibimbop commented 11 years ago

In the char tab, if I double click on a character to see where it is in the text, the tab automatically switches to "find". It's a bit annoying if there is several characters I want to check, because it creates a back-and-forth between find and char.

Also, the "Respect case" in the "find" tab should be ticked.

Same issue with the "word" tab.

A different angle would be to cycle through the occurences of the letter/word without leaving the tab. The first double-click could show the first one, and each new double-click would should the next, until the last one is reached.

tallforasmurf commented 11 years ago

Agree that double-click-initiated-search from Char or Word should set Respect Case (and Whole Word in the case of Word panel). I seem to remember coding that at some point...?

But the search initiated that way does more, it does a Find First, and throws the focus into the Edit panel so you are set to do ^g to walk through all occurrences. Hmmm but does that imply the Find panel has to be visible? Maybe not -- I shall see if the Find First can be done without actually exposing the find panel.

tallforasmurf commented 11 years ago

Commit 155fe05