News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

wxEVT_SCI_KEY event isn't sent

Started by p2rkw, November 26, 2012, 11:14:54 PM

Previous topic - Next topic

p2rkw

I can't handle up and down arrows because wxEVT_SCI_KEY isn't sent. Why there are only wxEVT_SCI_TAB and wxEVT_SCI_ESC? Can I fire this event in wxScintilla::OnKeyDown ?

dmoore

I think that by design wxEVT_SCI_KEY only triggers for keystrokes that aren't processed by scintilla. You can process wxEVT_KEY* events instead
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]