gecko-dev/editor/spellchecker
Masayuki Nakano 60811c73f8 Bug 1726080 - Make TextServicesDocument and OffsetEntryArray use raw pointer of OffsetEntry instead of reference to UniquePtr r=m_kato
If array size grows up, the array data may be reallocated.  Therefore, after
getting a reference of an array item, we shouldn't modify array.

This makes them use raw pointer if they need to modify the array.  Otherwise,
keep using the reference, but adds a stack class to detect the bug only in debug
build.

Differential Revision: https://phabricator.services.mozilla.com/D122920
2021-08-18 11:49:50 +00:00
..
tests Bug 1724718 - forget AddTask.js ever existed as bug 1544051 already removed it, r=bgrins 2021-08-10 22:33:06 +00:00
EditorSpellCheck.cpp Bug 1719110 - Add nsIEditorSpellCheck.suggest to get rid of PRemoteSpellcheckEngine.CheckAndSuggest. r=masayuki 2021-08-10 03:55:25 +00:00
EditorSpellCheck.h
FilteredContentIterator.cpp
FilteredContentIterator.h
moz.build
nsComposeTxtSrvFilter.cpp
nsComposeTxtSrvFilter.h
nsIInlineSpellChecker.idl
TextServicesDocument.cpp Bug 1726080 - Make TextServicesDocument and OffsetEntryArray use raw pointer of OffsetEntry instead of reference to UniquePtr r=m_kato 2021-08-18 11:49:50 +00:00
TextServicesDocument.h Bug 1722748 - Make TextServicesDocument::OffsetEntryArray::RemoveInvalidElements() adjust selection indexes when middle of the selection start and end entry is removed r=m_kato 2021-08-04 04:40:38 +00:00