1999-05-14 00:59:08 +04:00
|
|
|
<?xml version="1.0"?>
|
1999-08-25 18:40:33 +04:00
|
|
|
|
|
|
|
<!--
|
|
|
|
- The contents of this file are subject to the Netscape Public
|
|
|
|
- License Version 1.1 (the "License"); you may not use this file
|
|
|
|
- except in compliance with the License. You may obtain a copy of
|
|
|
|
- the License at http://www.mozilla.org/NPL/
|
|
|
|
-
|
|
|
|
- Software distributed under the License is distributed on an "AS
|
|
|
|
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
- implied. See the License for the specific language governing
|
|
|
|
- rights and limitations under the License.
|
|
|
|
-
|
|
|
|
- The Original Code is Mozilla Communicator client code, released
|
|
|
|
- March 31, 1998.
|
|
|
|
-
|
|
|
|
- The Initial Developer of the Original Code is Netscape
|
|
|
|
- Communications Corporation. Portions created by Netscape are
|
|
|
|
- Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
|
|
|
- Rights Reserved.
|
|
|
|
-
|
|
|
|
- Contributor(s):
|
|
|
|
-->
|
|
|
|
|
2001-03-23 05:57:15 +03:00
|
|
|
<?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
|
|
|
|
<?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
|
1999-08-09 17:33:03 +04:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://editor/locale/EditorSpellCheck.dtd">
|
1999-07-14 22:00:26 +04:00
|
|
|
|
1999-05-14 00:59:08 +04:00
|
|
|
<!-- dialog containing a control requiring initial setup -->
|
2000-01-18 23:27:21 +03:00
|
|
|
<window class="dialog" title="&windowTitle.label;"
|
2000-06-15 13:54:41 +04:00
|
|
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
2000-01-18 23:27:21 +03:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
1999-07-03 02:52:34 +04:00
|
|
|
onload = "Startup()"
|
2000-10-11 01:40:39 +04:00
|
|
|
onclose = "onClose()"
|
2000-04-21 19:00:23 +04:00
|
|
|
orient="vertical">
|
1999-05-14 00:59:08 +04:00
|
|
|
|
2001-03-13 18:35:07 +03:00
|
|
|
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://editor/content/EdSpellCheck.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://global/content/strres.js" />
|
Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis
2000-08-23 04:29:24 +04:00
|
|
|
|
|
|
|
<spring id="location" offsetY="50" persist="offsetX offsetY"/>
|
|
|
|
<keyset id="keys">
|
|
|
|
<key keycode="VK_ENTER" oncommand="doDefault()"/>
|
|
|
|
<key keycode="VK_RETURN" oncommand="doDefault()"/>
|
|
|
|
<key keycode="VK_ESCAPE" oncommand="onClose()"/>
|
|
|
|
</keyset>
|
2000-01-18 23:27:21 +03:00
|
|
|
<broadcaster id="args" value=""/>
|
Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis
2000-08-23 04:29:24 +04:00
|
|
|
|
2000-05-05 02:21:35 +04:00
|
|
|
<grid>
|
2001-03-23 05:57:15 +03:00
|
|
|
<columns>
|
2001-04-04 08:05:14 +04:00
|
|
|
<column class="spell-check"/>
|
|
|
|
<column class="spell-check"/>
|
2001-03-23 05:57:15 +03:00
|
|
|
</columns>
|
2000-05-05 02:21:35 +04:00
|
|
|
<rows>
|
2001-02-16 06:35:02 +03:00
|
|
|
<row valign="middle" autostretch="never">
|
Big UI fix! bugs=47898, 26843, 26871, 37152, 38944, 41545, 42246, 42343, 43089, 45463, 45904, 46001, 47644, 47314, 47510, 47515, 47622, 47650, 47653, 47699, 47700, 46179, 47696, 47693. r=sfraser
2000-08-10 06:10:17 +04:00
|
|
|
<text class="label" id="MisspelledWordLabel" value="&misspelledWord.label;"/>
|
2001-02-16 06:35:02 +03:00
|
|
|
<text class="label bold" id="MisspelledWord" crop="right"/>
|
2000-05-05 02:21:35 +04:00
|
|
|
<spring/>
|
|
|
|
</row>
|
2001-02-16 06:35:02 +03:00
|
|
|
<row valign="middle" autostretch="never">
|
Big UI fix! bugs=47898, 26843, 26871, 37152, 38944, 41545, 42246, 42343, 43089, 45463, 45904, 46001, 47644, 47314, 47510, 47515, 47622, 47650, 47653, 47699, 47700, 46179, 47696, 47693. r=sfraser
2000-08-10 06:10:17 +04:00
|
|
|
<text class="label" id="ReplaceWordLabel" value="&wordEditField.label;"/>
|
2001-04-04 08:05:14 +04:00
|
|
|
<box valign="middle" autostretch="never" flex="1">
|
|
|
|
<!-- flex doesn't seem to work on textbox? -->
|
|
|
|
<textbox id="ReplaceWordInput" oninput="ChangeReplaceWord()" flex="1"/>
|
|
|
|
<button class="dialog" id="CheckWord" oncommand="CheckWord()" label="&checkwordButton.label;"/>
|
2001-02-16 06:35:02 +03:00
|
|
|
</box>
|
2000-05-05 02:21:35 +04:00
|
|
|
</row>
|
Big UI fix! bugs=47898, 26843, 26871, 37152, 38944, 41545, 42246, 42343, 43089, 45463, 45904, 46001, 47644, 47314, 47510, 47515, 47622, 47650, 47653, 47699, 47700, 46179, 47696, 47693. r=sfraser
2000-08-10 06:10:17 +04:00
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
<text class="label" id="SuggestedListLabel" value="&suggestions.label;"/>
|
2001-03-23 05:57:15 +03:00
|
|
|
<grid flex="1">
|
2001-04-04 08:05:14 +04:00
|
|
|
<columns><column flex="1"/><column flex="1"/></columns>
|
Big UI fix! bugs=47898, 26843, 26871, 37152, 38944, 41545, 42246, 42343, 43089, 45463, 45904, 46001, 47644, 47314, 47510, 47515, 47622, 47650, 47653, 47699, 47700, 46179, 47696, 47693. r=sfraser
2000-08-10 06:10:17 +04:00
|
|
|
<rows>
|
2001-03-23 05:57:15 +03:00
|
|
|
<row flex="1">
|
2000-05-05 02:21:35 +04:00
|
|
|
<!-- BUG! setting class="MinWidth20em" on tree doesn't work (width=0) -->
|
2001-02-16 06:35:02 +03:00
|
|
|
<tree rows="8" class="list" id="SuggestedList" onselect="SelectSuggestedWord()">
|
2001-03-23 05:57:15 +03:00
|
|
|
<treecolgroup>
|
|
|
|
<treecol flex="1"/>
|
|
|
|
</treecolgroup>
|
2000-06-22 07:13:08 +04:00
|
|
|
</tree>
|
2001-04-04 08:05:14 +04:00
|
|
|
<box orient="vertical">
|
|
|
|
<grid flex="1" autostretch="never">
|
|
|
|
<columns><column class="spell-check" flex="1"/><column class="spell-check" flex="1"/></columns>
|
|
|
|
<rows>
|
|
|
|
<row>
|
|
|
|
<button class="dialog" id="Ignore" oncommand="Ignore()" label="&ignoreButton.label;"/>
|
2001-03-23 05:57:15 +03:00
|
|
|
<button class="dialog" id="IgnoreAll" oncommand="IgnoreAll()" label="&ignoreAllButton.label;"/>
|
2001-04-04 08:05:14 +04:00
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<button class="dialog" id="Replace" oncommand="Replace()" label="&changeButton.label;"/>
|
|
|
|
<button class="dialog" id="ReplaceAll" oncommand="ReplaceAll()" label="&changeAllButton.label;"/>
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
<spring flex="1"/>
|
|
|
|
<text class="label" value="&userDictionary.label;"/>
|
|
|
|
<box flex="1" autostretch="never">
|
|
|
|
<button class="dialog spell-check" id="AddToDictionary" oncommand="AddToDictionary()" label="&addToUserDictionaryButton.label;" />
|
|
|
|
<button class="dialog spell-check" id="EditDictionary" oncommand="EditDictionary()" label="&editUserDictionaryButton.label;" />
|
|
|
|
</box>
|
|
|
|
</box>
|
2000-05-05 02:21:35 +04:00
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<text class="label" value ="&languagePopup.label;"/>
|
|
|
|
<spring/>
|
|
|
|
</row>
|
|
|
|
<row>
|
2001-02-16 06:35:02 +03:00
|
|
|
<menulist id="LanguageMenulist" oncommand="SelectLanguage()"/>
|
2001-03-23 05:57:15 +03:00
|
|
|
<!-- contents are appended by JS -->
|
2000-05-05 02:21:35 +04:00
|
|
|
<box flex="1">
|
2001-04-04 08:05:14 +04:00
|
|
|
<button class="dialog spell-check" id="Recheck" label="&recheckButton.label;" oncommand="Recheck()"/>
|
|
|
|
<button class="dialog spell-check" id="Close" label="&closeButton.label;" oncommand="onClose()"/>
|
2000-05-05 02:21:35 +04:00
|
|
|
</box>
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
2000-01-18 23:27:21 +03:00
|
|
|
</window>
|