CnPack Forum


 
Subject: howto: Enable Alt + Space for code input helper
caleb007
新警察
Rank: 1



UID 40758
Digest Posts 0
Credits 4
Posts 1
点点分 4
Reading Access 10
Registered 2008-8-8
Status Offline
Post at 2008-8-8 17:51  Profile | Blog | P.M. 
howto: Enable Alt + Space for code input helper

Hi
First things first:
- CnWizards is very very good, thanks!
- Apologies if this has come up before, but I can't seem to figure out how to search the forum (I can't read the language in which the results are returned)
For some reason, I can't set certain keyboard shortcuts, e.g. Alt + Space for the Code Input Helper Popup doesn't stick, but Shift + F7 is fine. ?However, you can set the value manually in the registry.
In
?
HKEY_CURRENT_USER\Software\CnPack\CnWizards\ShortCuts
?
Set
?
CnInputHelperPopup = 8020 (Hex)
?
You will need to restart Delphi after this, and then Alt + Space will bring up the input helper, as long as Alt + Space has also been disabled under the Editor Enhancements.
I assume the problem is simply the edit component used in the options for the Code Input Helper, or the way the instruction is parsed/saved. ?If I find some time, I will look at, but until then the settings can be enabled in the registry as above.


Regards
Caleb
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6688
Posts 3523
点点分 6688
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2008-8-9 11:45  Profile | Blog | P.M. 
Thanks for your suggestion. In fact, Alt+Space can't be entered in Delphi's Hotkey component in form defaultly. It need some adjustment.

In our Editor Enhancement settings dialog, the hotkey control, which is adjusted, can let us enter Alt+Space. We'll try to do the same in code input helper setting dialog.
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6688
Posts 3523
点点分 6688
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2008-8-9 22:19  Profile | Blog | P.M. 
We published a new nightly build version CnWizards_0.8.8.431 in our website, which allows ALT+SPACE in code input helper settings dialog. Could you download and verify it?

http://www.cnpack.org/downbuilds.php
Top
freeman
灌水科科长
Rank: 3Rank: 3



UID 40762
Digest Posts 0
Credits 187
Posts 63
点点分 187
Reading Access 10
Registered 2008-8-10
Status Offline
Post at 2008-8-10 00:15  Profile | Blog | P.M. 
I test in
Delphi 2007 on XP pro
Key Mappings -> IDE Classics
IDE color -> Twilight

I can set ALT+SPACE from menu, after than test in IDE, cnwizard's imput helper doesnt work. IDE's code completion work when I press ALT+SPACE

Best regards
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6688
Posts 3523
点点分 6688
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2008-8-10 10:22  Profile | Blog | P.M. 
It need disable another fucntion in our Source Editor Enhancement settings. Defaultly, Source Editor Enhancement add a hotkey Alt+Space for code completion.
Top
freeman
灌水科科长
Rank: 3Rank: 3



UID 40762
Digest Posts 0
Credits 187
Posts 63
点点分 187
Reading Access 10
Registered 2008-8-10
Status Offline
Post at 2008-8-10 17:22  Profile | Blog | P.M. 
Yes, Now its working, Its super
Best regards
Top
 




All times are GMT++8, the time now is 2022-9-25 00:01

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.010817 second(s), 7 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP