[Qt-creator] ctrl-shift-arrow selecting includes whitespaces (with attachment)

Thorbjørn Lindeijer thorbjorn.lindeijer at nokia.com
Tue Feb 10 10:44:54 CET 2009


ext Oswald Buddenhagen wrote:
> On Mon, Feb 09, 2009 at 11:52:35AM +0100, Thorbjørn Lindeijer wrote:
>> ext Boy Lenssen wrote:
>>> What I would like is an option to treat (successive) whitespace as
>>> words. In case between two words a tab, space and a tab is located, or 5
>>> spaces after each other, they would be treated as one word.
> having suggested something similar myself before ...
> 
>> Personally I think this is too uncommon to be really worth making an
>> option for, but of course you can always make a patch and see how it
>> works. :)
>>
> i finally realized where i saw direction-dependent word jumping before:
> in the thunderbird composer. it feels very natural, except that it does
> not see operators and such as separate tokens for obvious reasons.

Yes, but this isn't about direction-dependent word jumping, as seen in 
XUL and GTK (but not on Windows or Java Swing). Boy Lenssen suggested we 
treat the whitespace in between words also as words.

I'm all for direction-dependent word jumping, but I'm not sure if we can 
realistically change the way Qt works by default (which in my opinion is 
the level on which something like that should be changed).

Regards,
Bjørn

-- 
Thorbjørn Lindeijer
Software Engineer
Nokia, Qt Software



More information about the Qt-creator-old mailing list