On Sat, Mar 28, 2009 at 8:50 AM, Mike Crowe <[email protected]> wrote:

>
> Hi folks,
>
> When possible, could somebody please tweak the word selection within
> Qt?  Here's the two major ones I see (and they may be related):
>
> 1)  In Tk, if I have:
>    "variable"                  (the " are significant in this example)
> and double-click inside it, the following is selected:
>    variable
> In Qt, this is selected:
>    "variable"
> The Tk functionality is normal, IMO
>
> 2) In Outline mode, I often need to change a word.  I often make my node
> names the same as the function:
>    function testme(params)
> If I double click on the node, it goes into edit mode.  Then, I want to
> select "testme" to rename the function.I often double-click "testme".
> In Qt, the following is selected:
>    testme(
> I think this should just be
>    testme
> However, in Tk, this is selected:
>    testme(params)
> In this case, I definitely think the Qt select process is wrong, and
> prefer for it to select a true word (testme in this case).
>
> Do these seem reasonable?


These seem quite reasonable.  I'm pretty sure I didn't put in any code in
this area, and in fact I don't see any way in QLineEdit (the widget used
when editing tree items) to change the default behavior.

It's possible that some kind of custom widget could be used instead of
QLineEdit, but that would be a lot of work.

Edward

>
>
> TIA
> Mike
>
> >
>


-- 
--------------------------------------------------------------------
Edward K. Ream email: [email protected]
Leo: http://webpages.charter.net/edreamleo/front.html
--------------------------------------------------------------------

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to