gecko-dev/editor
kin%netscape.com 117932d74b Fix for bug 199490: A crash occurs after clicking in (HTML tags )document - Trunk [@
nsHTMLEditor::SetFinalSize]

  - A one line fix in HideResizers() which prevents the
    reported crash by setting mIsResizing to false. I assume
    we can't be resizing if the resize handles are being hidden.
    The assertion and null check in SetFinalSize() are just because
    I'm paranoid, but they should never be triggered if HideResizers()
    is called first.

  - The changes in StartResizing() makes it so that we don't create
    a new mouse motion listener if we already have one. We were
    creating a new listener each time we clicked on the handles, and
    never unregistering the old one ... this meant that the old
    listeners could be triggered if the editor were ever destroyed
    and the document left in tact ... allowing us to crash because the
    listeners keep an un-addref'd pointer to the HTMLEditor. Note that
    this crash is not likely to be hit in Mozilla since we always
    destroy the document and editor in Composer and MailCompose, but
    it can happen in an embedding context.

r=glazman@netscape.com  sr=sfraser@netscape.com
2003-04-09 21:10:58 +00:00
..
composer EditorOverride.css contained slow CSS rules; b=196625, r=kin, sr=kin 2003-03-25 15:16:21 +00:00
docs correct some API changes; add a few more commands; still incomplete (NOT PART OF BUILD) 2003-04-01 09:54:28 +00:00
idl Fixes for bug 192569 (allow foreign transactions to be added to the queue) 2003-04-04 20:50:25 +00:00
libeditor Fix for bug 199490: A crash occurs after clicking in (HTML tags )document - Trunk [@ 2003-04-09 21:10:58 +00:00
macbuild Remove extra line that seems to have broken the mac builds. b=47066 Fixing bustage. 2003-02-24 15:32:34 +00:00
public Add a configure option to disable building composer (bug 170136). Move handling of the -composer command-line option from libeditor/base/ to composer/src/. Remove unused nsIEditorService interface. r=seawood, sr=sfraser. 2002-10-01 00:16:51 +00:00
txmgr Create a new xpcom obsolete library (and component library). 2003-03-15 01:04:32 +00:00
txtsvc bug 145916, add GetDocument to nsITextServicesDocument; r=brade, sr=kin; submitted by Darabos Daniel (cyhawk@sch.bme.hu) 2003-01-16 15:02:33 +00:00
ui Bug 193712 Text and highlight colours don't translate rgb in css mode r=glazman sr=kin 2003-04-07 08:11:21 +00:00
.cvsignore
Makefile.in Add a configure option to disable building composer (bug 170136). Move handling of the -composer command-line option from libeditor/base/ to composer/src/. Remove unused nsIEditorService interface. r=seawood, sr=sfraser. 2002-10-01 00:16:51 +00:00
README.html Editor README from Daniel Howard <dhoward@numeritech.com> 1999-12-04 02:04:30 +00:00

<html>
<!-- 
   - 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.org code.
   - 
   - 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):
   - Daniel Howard
   - 
   - Alternatively, the contents of this file may be used under the
   - terms of the GNU Public License (the "GPL"), in which case the
   - provisions of the GPL are applicable instead of those above.
   - If you wish to allow use of your version of this file only
   - under the terms of the GPL and not to allow others to use your
   - version of this file under the NPL, indicate your decision by
   - deleting the provisions above and replace them with the notice
   - and other provisions required by the GPL.  If you do not delete
   - the provisions above, a recipient may use your version of this
   - file under either the NPL or the GPL.
  -->
<body>
<h1>
<span CLASS=LXRSHORTDESC>
HTML (i.e. Composer) and plaintext editor<p>
</span>
</h1>
<span CLASS=LXRLONGDESC>
The editor directory contains C++ interfaces, C++ code, and XUL/Javascript
for the embeddable editor component, which is used for the HTML Editor
("Composer"), for plain and html mail compose, and for text fields and
text areas throughout the product.
<p>
The editor is designed like a "browser window with editing features": it
adds some special classes for editing text and managing transaction
undo/redo, but reuses browser code for nearly everything else.
</span>
</body>
</html>