Author Topic: numpad del doesn't work in Linux...  (Read 3255 times)

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
numpad del doesn't work in Linux...
« on: March 23, 2008, 03:35:33 am »
in my current install, i can't use the numpad Del key to delete a character. Whenever I press it, a "Ɓ" character shows up. Any idea of why it would happen? Other wxGTK apps don't do that, only CB. Please help :(

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: numpad del doesn't work in Linux...
« Reply #1 on: March 23, 2008, 03:40:24 am »
I found a fix...

in ScintillaWX.cpp:

Code: [Select]
    case WXK_DELETE:            key = SCK_DELETE;   break;

Prepend the following line:
Code: [Select]
    case WXK_NUMPAD_DELETE:

And it works now :)

Offline JGM

  • Lives here!
  • ****
  • Posts: 518
  • Got to practice :)
Re: numpad del doesn't work in Linux...
« Reply #2 on: March 23, 2008, 04:39:06 am »
without noticing you are becoming an active developer again!  :D

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5239
Re: numpad del doesn't work in Linux...
« Reply #3 on: March 23, 2008, 10:31:55 pm »
applied this, and did similar thing for the numeric keypad 'insert' :-)

Offline troels

  • Multiple posting newcomer
  • *
  • Posts: 71

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5239
Re: numpad del doesn't work in Linux...
« Reply #5 on: March 23, 2008, 11:51:39 pm »
I think we should really sort out, what version we should be using of scintilla and wxScintilla. Kind of stupid we are fixing bugs that are fixed ages ago :-(

@Yiannis : what do you think ? We go for a massive update of these components ?

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: numpad del doesn't work in Linux...
« Reply #6 on: March 24, 2008, 02:13:34 am »
I think that independently of what wxWhatever container we use for Scintilla, we should always use the latest version of scintilla and patch it according to our needs (it'd be better if we used additional files for our new functions so future versions don't have to be repatched).