Author Topic: KeyDown Event Hook  (Read 2500 times)

Offline joubertdj

  • Multiple posting newcomer
  • *
  • Posts: 120
KeyDown Event Hook
« on: January 05, 2007, 07:44:49 am »
 :( I have tried to no avail, the implementation of a KeyDown event within CBEditor or EditorManager classes.

The reason that I require this, is that when you have code such as:

Code: [Select]
12    //Comment or other code
13 + void Proc(){
18

If the lines 12 and 13 are selected and deleted, it does not unfold or delete the hidden lines... it keeps them hidden...
I want to fix this without changing wxScintilla or Scintilla... to do this I need a hook within cbEditor or editormanager... I can't seem to achieve this... probably a stupid error... please help...

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: KeyDown Event Hook
« Reply #1 on: January 05, 2007, 08:45:31 am »
First tell us how did you try to hook cbEditor events so that we can take it from there and help you...
Be patient!
This bug will be fixed soon...

Offline joubertdj

  • Multiple posting newcomer
  • *
  • Posts: 120
Re: KeyDown Event Hook
« Reply #2 on: January 05, 2007, 08:58:58 am »
Okay, as I was typing the explanation when I realized something... I was using the cbEditor event decleration table instead of the cbStyledTextCtrl event Table... Itried that quickly and it worked... So... of I go to squish a bug...