User forums > Nightly builds
The 08 august 2006 build is out.
joachim:
Yes, now it works.
Pecan:
--- Quote from: MortenMacFly on August 10, 2006, 09:52:44 pm ---
--- Quote from: Pecan on August 10, 2006, 09:48:45 pm ---This may be a problem with wxScintilla translation of the WXK_NUMPAD_{RIGHT|LEFT|UP|DOWN} keys codes etc.
--- End quote ---
This could be a reason. May I ask the ones that experience this issue to check if they use SciTE
--- End quote ---
On Windows:
I do not have this problem with standalone scite 1.69.
I *do* have the problem with wxStEdit which uses stc 1.67
I *do* have the problem with CB which uses stc 1.67
This still does not clear up weither this is a config or version problem.
mandrav:
I can't help much since I can't reproduce this bug but I 'd like to point out that since for some people it works and for some others it doesn't, this gives a clue: put your system's codepage into the equations...
MortenMacFly:
--- Quote from: mandrav on August 11, 2006, 08:45:06 am ---put your system's codepage into the equations...
--- End quote ---
I'm not sure if this is true. Consider my case:
- SciTE 1.7.0: numpad works as expected
- SciTE 1.6.7: numpad works as expected
- SciTE 1.6.0: numpad works as expected
- C::B nightly (with wxsscintilla 1.6.7): Works in management pane but not in editor
- C::B SVN (with wxsscintilla 1.6.9.2): Works in management pane but not in editor
This all is on the same codepage.
With regards, Morten.
tiwag:
it has definitely to do with the wxScintilla,
because with the following patch it's working now on my PC
CodeBlocks\trunk\src\sdk\wxscintilla\src\ScintillaWX.cpp
--- Code: ---Index: ScintillaWX.cpp
===================================================================
--- ScintillaWX.cpp (revision 2830)
+++ ScintillaWX.cpp (working copy)
@@ -873,17 +873,29 @@
key += 'A' - 1;
switch (key) {
+ case WXK_NUMPAD_DOWN: // fall through
case WXK_DOWN: key = SCK_DOWN; break;
+ case WXK_NUMPAD_UP: // fall through
case WXK_UP: key = SCK_UP; break;
+ case WXK_NUMPAD_LEFT: // fall through
case WXK_LEFT: key = SCK_LEFT; break;
+ case WXK_NUMPAD_RIGHT: // fall through
case WXK_RIGHT: key = SCK_RIGHT; break;
+ case WXK_NUMPAD_HOME: // fall through
case WXK_HOME: key = SCK_HOME; break;
+ case WXK_NUMPAD_END: // fall through
case WXK_END: key = SCK_END; break;
+ case WXK_NUMPAD_PAGEUP: // fall through
case WXK_PAGEUP: // fall through
+ case WXK_NUMPAD_PRIOR: // fall through
case WXK_PRIOR: key = SCK_PRIOR; break;
+ case WXK_NUMPAD_PAGEDOWN: // fall through
case WXK_PAGEDOWN: // fall through
+ case WXK_NUMPAD_NEXT: // fall through
case WXK_NEXT: key = SCK_NEXT; break;
+ case WXK_NUMPAD_DELETE: // fall through
case WXK_DELETE: key = SCK_DELETE; break;
+ case WXK_NUMPAD_INSERT: // fall through
case WXK_INSERT: key = SCK_INSERT; break;
case WXK_ESCAPE: key = SCK_ESCAPE; break;
case WXK_BACK: key = SCK_BACK; break;
--- End code ---
obviously on "some" systems the keycodes get translated from NUMPAD to standard,
on "other" systems not ...
edit: updated to handle also WXK_NUMPAD_PRIOR, which is sent on my system when i press numpad pageup
edit2: Morten, could you try if it does work for you too ? it's in svn now
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version