Menu

#1066 Support surrounding text

Completed
closed
5
2023-05-01
2014-08-07
Ngô Chin
No

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
Update:
https://docs.gtk.org/gtk3/class.IMContext.html

Related

Feature Requests: #1310

Discussion

  • Neil Hodgson

    Neil Hodgson - 2014-08-08

    GTK+ IME behaviour is a current subject on the mailing list.
    https://groups.google.com/forum/#!topic/scintilla-interest/OrUYQm8a8I0

    It is unlikely I will work on implementing these handlers myself.

     
  • Neil Hodgson

    Neil Hodgson - 2014-08-08
    • labels: --> scintilla, IME, GTK+
    • assigned_to: Neil Hodgson
     
  • johnsonj

    johnsonj - 2023-05-01

    Now it seems to work good to input thai language.

     
  • Neil Hodgson

    Neil Hodgson - 2023-05-01
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,3 +4,5 @@
    
     http://www.gtk.org/api/2.6/gtk/GtkIMContext.html
     https://developer.gnome.org/gtk3/stable/GtkIMContext.html
    +Update:
    +https://docs.gtk.org/gtk3/class.IMContext.html
    
    • status: open --> closed
     
  • Neil Hodgson

    Neil Hodgson - 2023-05-01

    Closing and updating documentation link to work.

     

Log in to post a comment.