Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-37540

The IBus platform input context does not support surrounding text yet

    XMLWordPrintable

Details

    Description

      Surrounding text is a feature that allows input methods to query the text and cursor position in the current text input field and also to delete part of that surrounding text.

      IBus docs: http://ibus.googlecode.com/svn/docs/ibus-1.5/IBusInputContext.html#IBusInputContext-delete-surrounding-text

      We can delete surrounding text by using QInputMethodEvent::commitString() with an empty string and non-zero replaceLength. On the other hand, getting surrounding text can be done with a QWidget::inputMethodQuery(Qt::ImSurroundingText).

      Attachments

        For Gerrit Dashboard: QTBUG-37540
        # Subject Branch Project Status CR V

        Activity

          People

            laknoll Lars Knoll
            lewtds Trung Ngo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: