Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Possible bug with shift-insert SVN 6378-6379
dmoore:
--- Quote from: killerbot on July 05, 2010, 08:02:24 pm ---
--- Code: ---void EditorTweaks::OnKeyPress(wxKeyEvent& event)
{
if(event.GetKeyCode()==WXK_INSERT)
event.Skip(false);
else
event.Skip(true);
}
--- End code ---
Yes, EditorTweaks is the guilty one. will look into this with the original author.
--- End quote ---
My fault. I vaguely recall that someone requested disabling of insert key because of some weird keyboard issue. I'll make it optional (and will never block insert with keyboard modifiers).
dmoore:
--- Quote from: killerbot on July 05, 2010, 08:02:24 pm ---
--- Code: ---void EditorTweaks::OnKeyPress(wxKeyEvent& event)
{
if(event.GetKeyCode()==WXK_INSERT)
event.Skip(false);
else
event.Skip(true);
}
--- End code ---
Yes, EditorTweaks is the guilty one. will look into this with the original author.
--- End quote ---
btw, it might take a day or so before I get to look at this, so if someone just wants to disable the KeyPress event as a temporary fix, that's ok with me.
dmoore:
A patch is attached -- apply it inside the editor tweaks plugin directory. I am happy to commit this, but would prefer someone to independently check it first.
[attachment deleted by admin]
dmoore:
updated patch (this one correctly disables the "Editor Tweaks" menu if all editors are closed)
[attachment deleted by admin]
killerbot:
applied the patch locally, I can confirm it is fixed.
will commit later today ...
Navigation
[0] Message Index
[*] Previous page
Go to full version