yomichan/ext/js/pages/settings
toasted-nutbread 75d3059451
TextSource* API updates (#2236)
* 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.
2022-09-25 09:37:33 -04:00
..
anki-controller.js Add support for Anki API key (#2169) 2022-05-30 12:03:24 -04:00
anki-templates-controller.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
audio-controller.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
backup-controller.js ArrayBufferUtil (#2215) 2022-08-20 12:53:22 -04:00
collapsible-dictionary-controller.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
dictionary-controller.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
dictionary-import-controller.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
extension-keyboard-shortcuts-controller.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
generic-setting-controller.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
keyboard-mouse-input-field.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
keyboard-shortcuts-controller.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
mecab-controller.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
modal-controller.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
modal.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
nested-popups-controller.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
permissions-origin-controller.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
permissions-toggle-controller.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
persistent-storage-controller.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
popup-preview-controller.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
popup-preview-frame-main.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
popup-preview-frame.js TextSource* API updates (#2236) 2022-09-25 09:37:33 -04:00
popup-window-controller.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
profile-conditions-ui.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
profile-controller.js Profile index fixes (#2207) 2022-08-20 11:31:50 -04:00
scan-inputs-controller.js Settings modal updates (#2173) 2022-06-03 18:19:40 -04:00
scan-inputs-simple-controller.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
secondary-search-dictionary-controller.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
sentence-termination-characters-controller.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
settings-controller.js Profile index fixes (#2207) 2022-08-20 11:31:50 -04:00
settings-display-controller.js HTML page script refactoring (#2162) 2022-05-28 21:57:25 -04:00
settings-main.js Profile index fixes (#2207) 2022-08-20 11:31:50 -04:00
sort-frequency-dictionary-controller.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
status-footer.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
storage-controller.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
translation-text-replacements-controller.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00