Bug 1442500 - Part 1. Rename editor/txtsvc to editor/spellchecker. r?masayuki
txtsvc is ambiguous name, so we should use functional name instead.
XPIDL_MODULE still keeps 'txtsvc' because 'spellchecker' is already used by
extensions/spellchek/idl. And all IDLs for editor may move to /editor since
most IDLs for editor is on /editor.
MozReview-Commit-ID: v9a5ENEs2M
--- a/editor/moz.build
+++ b/editor/moz.build
@@ -1,17 +1,17 @@
# -*- 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/.
DIRS += [
- 'txtsvc',
'libeditor',
+ 'spellchecker',
'txmgr',
'composer',
]
XPIDL_SOURCES += [
'nsIDocumentStateListener.idl',
'nsIEditActionListener.idl',
'nsIEditor.idl',
rename from editor/txtsvc/TextServicesDocument.cpp
rename to editor/spellchecker/TextServicesDocument.cpp
rename from editor/txtsvc/TextServicesDocument.h
rename to editor/spellchecker/TextServicesDocument.h
rename from editor/txtsvc/moz.build
rename to editor/spellchecker/moz.build
rename from editor/txtsvc/nsFilteredContentIterator.cpp
rename to editor/spellchecker/nsFilteredContentIterator.cpp
rename from editor/txtsvc/nsFilteredContentIterator.h
rename to editor/spellchecker/nsFilteredContentIterator.h
rename from editor/txtsvc/nsIInlineSpellChecker.idl
rename to editor/spellchecker/nsIInlineSpellChecker.idl
rename from editor/txtsvc/nsISpellChecker.h
rename to editor/spellchecker/nsISpellChecker.h
rename from editor/txtsvc/nsITextServicesFilter.idl
rename to editor/spellchecker/nsITextServicesFilter.idl