views:

26

answers:

0

How do you enable actions like

  • Goto line number
  • Find(/Replace)

There don't appear to be default triggers for these actions. There are a bunch of methods on the control, but I'm missing the first step of how to get the 'events' that would trigger these. For instance, how does one hook ctrl+f or F3/Alt+F3 in the control and make them do a find? Should I be looking at each key using EVT_STC_KEY?

Would also like any examples of using this control with

  • Custom language definition (say something similar to C++, but not C++)
  • Auto completion (basic keywords to start, or including variables)