Commit graph

10 commits

Author SHA1 Message Date
Tom Bogle
827d532265 [Mac] Issue 175: Solved compatibility problem with Open Office 2018-04-26 15:28:51 -04:00
Tom Bogle
fe8fccbf51 Limited context to 80 chars in KMInputMethodBrowserClientEventHandler
I had previously made a change to do this in the base class but overloooked that it was also a factor in this subclass, so I refactored a little to have a single method  in the base class that handles this. (Note: the base class method also checks to be sure that the client responds to the attributedSubstringFromRange method before calling it. This used to be done only in the subclass, but it seems like a useful safeguard in case some other client fails to implement this.
2018-03-01 12:07:13 -05:00
Tom Bogle
e42626d229 Permanently removed Chrome-specific behavior. 2018-01-12 14:34:20 -05:00
Tom Bogle
0d7a519220 Commented out Chrome-specific code (possibly temporary) 2018-01-12 11:52:44 -05:00
Tom Bogle
78be3af7d3 Fixed Chrome bug: MS Word sometimes treated like Google Docs 2018-01-12 09:30:09 -05:00
Tom Bogle
50cd075d03 Split browser-specific code into separate subclasses
Safari and Chrome get their own subclasses, but I need to compare performance.
2018-01-09 15:52:14 -05:00
Tom Bogle
0f091f9705 Commented out code for firefox
Added (and then commented out) code to have Firefox pretend not to change selection without reporting. Ths code improves some things but makes other things worse. I need to compare it to behavior before refactoring.
2018-01-08 22:22:57 -05:00
Tom Bogle
3ef48599f6 Cmd-A in Safari, insert chars individually in Chrome
Added logic to correct bug in Safari Google Docs introduced a few months back to clear selection after replacement. Refactored code and fixed bug to correctly handle Chrome's need to replace characters individually.
2018-01-08 21:35:28 -05:00
Tom Bogle
e716f42038 Google Chrome pending chars logic -> BrowserClientEventHandler.
Moved special logic for dealing with pending character buffer in Google Chrome into the BrowserClientEventHandler.
2018-01-08 15:12:39 -05:00
Tom Bogle
6176310073 Broke out browser client support into subclass
There is a problem with Google Docs in Safari now - did I break something?
2018-01-05 15:51:08 -05:00