I have done this a long time ago. Have been using it very sucessfully in geany ( I build my own so this will work ) It may be out of date a bit, but should give you some hints.
see www.arrowtwins.com and look for the Editor.cxx link. It's all there. I tried to get this into Geany a year or so ago but there did not seem to be any interest.
chuck
Jeff Pohlmeyer wrote:
Enrico Tröger enrico.troeger@uvena.de wrote:
Jeff Pohlmeyer yetanothergeek@gmail.com wrote:
IMO Unicode support is more important than rectangular selection support. What do you think?
IMO rectangular selection support is more important than Unicode support :-)
One solution could be to detect whether we have a rectangular selection and then use the Scintilla commands and the GLib commands otherwise. So, rectangular selections will still work with toggle case even though Unicode characters are ignored. But this require that we know we have a rectangular selection.
Okay, here is a second attempt that does that...
- Jeff
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany