KeyboardKit Pro can now get all text from the proxy

Oct 5, 2022 releasesproproxy

KeyboardKit Pro 6.4.2 has been extended with new text document proxy extensions that let you read all text from the proxy.

Icon badge

As you may have noticed, UITextDocumentProxy documentContextBefore/AfterInput don’t give you all content before and after the text input cursor, just the content that is closest to the text cursor. Any new paragraph may stop the proxy from fetching more content, which makes it hard to do more complex operations, like proof-reading a document.

KeyboardKit Pro has therefore been extended with brand new proxy extensions that let you access all text from the proxy. You can get the fullDocumentContext() as well as the full context before and after the input cursor. Calling these functions will cause the input cursor to move through the entire text, after which it will return to its original position.

The online documentation has a new article that explains the extensions in more details together with some sample code.