[Qt-creator] Shift+End give '1'
Thorbjørn Lindeijer
thorbjorn.lindeijer at nokia.com
Wed Mar 11 12:13:00 CET 2009
Kuiper, Luuk wrote:
> Sorry for my first word in the subject.
Haha! I hadn't even noticed it. :P
> ------------------------------------------------------------------------
> *From:* qt-creator-bounces at trolltech.com
> [mailto:qt-creator-bounces at trolltech.com] *On Behalf Of *Kuiper, Luuk
> *Sent:* 06 March 2009 11:56
> *To:* qt-creator at trolltech.com
> *Subject:* [Qt-creator] Shit+End give '1'
>
> Is it not possible to define the keypad in a way that Shit+End on the
> numeric keypad means: select until end of line.
> Even so with Shift+PgUp etc.
>
> I think that when 'Num lock' is off, End, Home, PgUp, etc should react
> the same as the separate End, Home etc keys.
> As in most editors.
Unfortunately you don't mention which platform you're on, which matters
in cases like this. I've tested it on X11 and am seeing in my opinion
very strange behaviour, but it's consistent when comparing Qt (Creator),
GTK (gedit) and SWT (Eclipse) applications
With Num Lock ON:
Normally numbers work, but when used with Shift, the Home/End/etc. keys
work and do selection.
With Num Lock OFF:
The Home/End keys now work, but when used with Shift, numbers are
inserted instead.
To me this is backwards, I would expect either numbers or Home/End to
work, and not that it changes again based on whether I have Shift
pressed. However, seeing as this is how basically my whole desktop
behaves, I don't see a good reason to change either Qt's or Qt Creator's
behaviour.
Regards,
Bjørn
--
Thorbjørn Lindeijer
Software Engineer
Nokia, Qt Software
More information about the Qt-creator-old
mailing list