Patiencer / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

Cut hotkey Ctrl+X works after deleting and overlay others hotkeys. #288

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Tools >> Options >> Editor options >> Keystrokes
2. Create command "Delete line" on Ctrl+X

What is the expected output? What do you see instead?
I need to delete lines by Ctrl+X
But it's useless. 

What version of the product are you using? On what operating system?
1.9.9.6

Please provide any additional information below.
I try to delete manu hotkey "Edit >> Cut". Hotkey disappear, but continue work.

Original issue reported on code.google.com by blino...@gmail.com on 21 Feb 2009 at 11:54

GoogleCodeExporter commented 9 years ago
The problem here is that Ctrl+X, Ctrl+C, Ctrl+V are handled by Windows itself 
and
translated into WM_CUT, WM_COPY, WM_PASTE messages, which are handled by the 
editor
control.  So, the editor control nerer receives the Ctrl+X etc keystrokes.

I am afraid this is standard windows behavior and there isn't much I can do 
about this.

However if you assign for example Ctrl+X to an IDE command e.g. Edit, Select 
All,  it
is handled before Windows translates it to WM message.

To sum up do not reassign Ctrl+X etc to editor commands.

Original comment by pyscripter on 22 May 2009 at 11:28