Surrounding text is a feature of Gtk and many toolkits that allows input method editors to read and edit the text around the cursor.
To support it, you need to implement handlers for the "delete-surrounding" and "retrieve-surrounding" signals in GtkIMContext.
http://www.gtk.org/api/2.6/gtk/GtkIMContext.html
https://developer.gnome.org/gtk3/stable/GtkIMContext.html
This is a feature request, not a bug.
Also editing input behaviour is provided by the Scintilla editing widget we use, so the feature request should be directed to that project (www.scintilla.org).
Ticket moved from /p/geany/bugs/1061/
Can't be converted:
Moved to FR. Should this have been kept open?
Thanks for moving. As a feature request sure it can stay open, though the basic capability is still going to have to be in Scintilla first.
Thanks for moving and sorry for not filing it in the right place to begin with. I'll file the same issue in Scintilla.
Feature request on the Scintilla project:
https://sourceforge.net/p/scintilla/feature-requests/1066/