August 14, 2010

dusktreader dusktreader
Lab Rat
59 posts

Code folding short cut doesn’t work

 

I do most of my development on a Linux platform (RHEL or Ubuntu). I have found that I can’t get the code folding keyboard shortcut to work. This is ctrl+< by default, I believe. When I add a shortcut for fold/unfold all, this works fine. I would really like the code folding shortcut to work. Any ideas on how to get this going?

 Signature 

“Machines take me by surprise with great frequency.” —Alan Mathison Turing

11 replies

August 14, 2010

Tobias Hunger Tobias Hunger
Mad Scientist
3224 posts

Which program (and version) are you using to edit your code? There are so many editors available;-)

August 16, 2010

dusktreader dusktreader
Lab Rat
59 posts

Qt Creator 2.0

 Signature 

“Machines take me by surprise with great frequency.” —Alan Mathison Turing

August 16, 2010

SABROG SABROG
Lab Rat
82 posts

dusktreader wrote:
This is ctrl+< by default, I believe.

QtCreator 1.3.1 WindowsXP, it work with Ctrl+*Shift*+<

 Signature 

QT - Apple QuickTime
Qt - Nokia’s Qt Development Frameworks
Apple is a competitor of Nokia, so QT != Qt

August 17, 2010

dusktreader dusktreader
Lab Rat
59 posts
SABROG wrote:
dusktreader wrote:
This is ctrl+&lt; by default, I believe.
QtCreator 1.3.1 WindowsXP, it work with Ctrl+*Shift*+<

Much Love! This worked. It’s kind of frustrating, however, because in the keyboard shortcuts it is listed as Ctrl+<.

Thank you!

 Signature 

“Machines take me by surprise with great frequency.” —Alan Mathison Turing

August 18, 2010

Tobias Hunger Tobias Hunger
Mad Scientist
3224 posts

Could you please file a bug report about the keybinding being wrong?

Our bugtracker is here [bugreports.qt.nokia.com].

Thank you!

August 18, 2010

SABROG SABROG
Lab Rat
82 posts

dusktreader wrote:

It's kind of frustrating, however, because in the keyboard shortcuts it is listed as Ctrl+<.
Thank you!

It’s because button on keyboard can have few characters. For example Ctr+, (go to bookmark)
, but this same button have “<” character, and for printing it we must press Shift before.

 Signature 

QT - Apple QuickTime
Qt - Nokia’s Qt Development Frameworks
Apple is a competitor of Nokia, so QT != Qt

August 18, 2010

dusktreader dusktreader
Lab Rat
59 posts

SABROG wrote:
dusktreader wrote:

It&#39;s kind of frustrating, however, because in the keyboard shortcuts it is listed as Ctrl+&lt;.
Thank you!

It's because button on keyboard can have few characters. For example Ctr+, (go to bookmark)
, but this same button have “<” character, and for printing it we must press Shift before.

[facepalm]duh[/facepalm]

I can’t believe I missed this. Thank you for enlightening me.

 Signature 

“Machines take me by surprise with great frequency.” —Alan Mathison Turing

August 18, 2010

Tobias Hunger Tobias Hunger
Mad Scientist
3224 posts

Please do not report this as a bug then;-)

August 18, 2010

dusktreader dusktreader
Lab Rat
59 posts

I will not heap more scorn upon myself by posting this as a bug. However, it seems that the short-cut should read ctrl+shift+, as that is a much clearer specification of the short-cut.

 Signature 

“Machines take me by surprise with great frequency.” —Alan Mathison Turing

August 18, 2010

Tobias Hunger Tobias Hunger
Mad Scientist
3224 posts

I think the problem is that some keyboards have < as Shift-. and others have the symbol accessible without shift.

August 19, 2010

dusktreader dusktreader
Lab Rat
59 posts

Ah….fair enough!

 Signature 

“Machines take me by surprise with great frequency.” —Alan Mathison Turing

 
  ‹‹ Multiple editor / designer windows      .pro editor broken in Eclipse Helios ››

You must log in to post a reply. Not a member yet? Register here!