commit | 3952078a919caf9a44d271642122c413dbd487f9 | [log] [tgz] |
---|---|---|
author | Tom Ouyang <ouyang@google.com> | Thu Apr 09 11:14:07 2015 -0700 |
committer | Tom Ouyang <ouyang@google.com> | Thu Apr 09 11:45:55 2015 -0700 |
tree | 4336a06d6bda03f118f34d61f56bb941c1578a76 | |
parent | 7f386acdd1bcf7bfd6b48ee4d01bf3f2dc52e2ce [diff] |
Extract fewer characters in getWordRangeAtCursor(). Use LOOKBACK_CHARACTER_NUM = 80 instead of the previous EDITOR_CONTENTS_CACHE_SIZE = 1024 (which was overkill). This speeds up many InputLogic operations. Bug: 19987461 Change-Id: I62b6a589f87e5daab33376b3e48f1c615a66dcfb