75d3059451
* Move TextSourceRange static functions to DocumentUtil getWritingMode is also simplified * Update Google Docs range to be empty to match other range sources * Rename imposterContainer to imposterElement * Add static creation functions * Add static creation function * Remove unused collapse function * Don't select imposter elements * Refactor setEndOffset * Adjust argument order for setEndOffset * Update TextSourceRange constructor * Remove unused isConnected * Cache rects * Fix test * Remove unused getRect * Revert "Fix test" * Remove cachedRect * Use the source element rect to handle scroll differences * Writing mode update * Remove _cachedRects update This shouldn't be necessary as the imposter is usually detached almost immediately after scanning, giving no time for the window to be resized or scrolled. |
||
---|---|---|
.. | ||
anki-controller.js | ||
anki-templates-controller.js | ||
audio-controller.js | ||
backup-controller.js | ||
collapsible-dictionary-controller.js | ||
dictionary-controller.js | ||
dictionary-import-controller.js | ||
extension-keyboard-shortcuts-controller.js | ||
generic-setting-controller.js | ||
keyboard-mouse-input-field.js | ||
keyboard-shortcuts-controller.js | ||
mecab-controller.js | ||
modal-controller.js | ||
modal.js | ||
nested-popups-controller.js | ||
permissions-origin-controller.js | ||
permissions-toggle-controller.js | ||
persistent-storage-controller.js | ||
popup-preview-controller.js | ||
popup-preview-frame-main.js | ||
popup-preview-frame.js | ||
popup-window-controller.js | ||
profile-conditions-ui.js | ||
profile-controller.js | ||
scan-inputs-controller.js | ||
scan-inputs-simple-controller.js | ||
secondary-search-dictionary-controller.js | ||
sentence-termination-characters-controller.js | ||
settings-controller.js | ||
settings-display-controller.js | ||
settings-main.js | ||
sort-frequency-dictionary-controller.js | ||
status-footer.js | ||
storage-controller.js | ||
translation-text-replacements-controller.js |