Broken keyboard shortcuts in new Scintilla

CodeLite installation/troubleshooting forum
marfi
CodeLite Expert
Posts: 159
Joined: Mon Nov 03, 2008 9:17 pm
Contact:

Broken keyboard shortcuts in new Scintilla

Post by marfi »

Hi Eran,
it looks like keyboard shortcuts (at least assigned to external tools) don't work after update to new Scintilla. For example, I've attached F1 key to external tool which launch CHM help viewer but now after pressing of F1 key just some strange character is inserted to a source code at a cursor position and nothing more happen... Observed on Ubuntu 9.04 and CL 2934.

Regards
Michal
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Broken keyboard shortcuts in new Scintilla

Post by eranif »

Well, I expected such things to happen... I will have a look at it.

I too noticed that hitting F1 inserts a strange char into the editor (Linux only), BUT if I open the keyboard shortcuts dialog (from 'Settings -> Keyboard shortcuts...') and clicking OK it seems to fix it.

Any other keys that you noticed that are broken?
Eran
Make sure you have read the HOW TO POST thread
marfi
CodeLite Expert
Posts: 159
Joined: Mon Nov 03, 2008 9:17 pm
Contact:

Re: Broken keyboard shortcuts in new Scintilla

Post by marfi »

Actually all user-defined function keys were broken till I applied your "patch". After closing of Keyboard shortcuts dialog by OK button everything seem to work again. Thanx for the tip!

Btw: is there any way how to pass selected text from code editor to external tools definition? What is the point: if I could pass selected text to arguments of external tool, then I could define things like "yelp man:selected text" which would open manpages for selected keywords, etc. This feature would be useful also for Windows, because you could "implement" context sensitive help using hh.exe as well.

Regards
Michal
Post Reply