Interface UITextDocumentProxy

    • Method Detail

      • adjustTextPositionByCharacterOffset

        void adjustTextPositionByCharacterOffset​(long offset)
      • documentContextAfterInput

        java.lang.String documentContextAfterInput()
      • documentContextBeforeInput

        java.lang.String documentContextBeforeInput()
      • documentInputMode

        UITextInputMode documentInputMode()
        An app can store UITextInputMode in its document context, when user switches to the document, the host will pass the inputMode as documentInputMode to the UIInputViewController, which can switch to the inputMode and set primaryLanguage if it supports it.
      • documentIdentifier

        NSUUID documentIdentifier()
      • selectedText

        java.lang.String selectedText()
      • setMarkedTextSelectedRange

        void setMarkedTextSelectedRange​(java.lang.String markedText,
                                        NSRange selectedRange)
        Setting marked text either replaces the existing marked text or, if none is present, inserts it in place of the current input location.
      • unmarkText

        void unmarkText()
        Unmark the currently marked text.