mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
922488424d
This is a mistake at replacing the argument value `aOffset` to `aOffsetInTextInBlock`. https://searchfox.org/mozilla-central/diff/886c96059ef6408618040356017028621bc574b9/editor/spellchecker/TextServicesDocument.cpp#1662 And also make `mozSpellChecker::Replace()` stop replacing if `TextServicesDocument` fails to set selection or insert text because if `TextServicesDocument` succeeded to insert text, but failed to delete text, the loop becomes an infinite loop. Differential Revision: https://phabricator.services.mozilla.com/D123282
30 lines
723 B
Python
30 lines
723 B
Python
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
MOCHITEST_MANIFESTS += ["tests/mochitest.ini"]
|
|
|
|
MOCHITEST_CHROME_MANIFESTS += ["tests/chrome.ini"]
|
|
|
|
XPIDL_SOURCES += [
|
|
"nsIInlineSpellChecker.idl",
|
|
]
|
|
|
|
XPIDL_MODULE = "txtsvc"
|
|
|
|
EXPORTS.mozilla += [
|
|
"EditorSpellCheck.h",
|
|
"TextServicesDocument.h",
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
"EditorSpellCheck.cpp",
|
|
"FilteredContentIterator.cpp",
|
|
"nsComposeTxtSrvFilter.cpp",
|
|
"TextServicesDocument.cpp",
|
|
]
|
|
|
|
FINAL_LIBRARY = "xul"
|