sfraser%netscape.com
52a4a9f8d8
Expose the type-in state through nsIHTMLEditor
1999-09-22 01:21:56 +00:00
jfrancis%netscape.com
02f20427ef
improved handling of tabs (nested tables now work) and also fixed bug 13662
1999-09-19 10:32:21 +00:00
jfrancis%netscape.com
248452a87c
fix for 13677
1999-09-17 23:15:12 +00:00
buster%netscape.com
b10892ab14
added GetAbsoluteOffsetsForPoints, so we can get the length of a document without
...
playing with it's selection. Much faster, and doesn't mess with the display at all.
1999-09-13 20:44:38 +00:00
jfrancis%netscape.com
8de9e45071
implementing EditorKeyPress and handling tabs in tables and shift-return meaning <br>
1999-09-13 09:37:51 +00:00
sfraser%netscape.com
7aead9fea3
Add DocumentIsEmpty to EditorShell.idl and nsIEditor, and modify length and content getters to do the right thing with an empty document (which contains the bogus text node).
1999-09-08 23:32:04 +00:00
jfrancis%netscape.com
0ae3fcf4ec
implementing RemoveList() - ie, list button now works as a toggle
1999-09-06 19:47:25 +00:00
cmanske%netscape.com
0da377feae
Removed string bundle code from nsEditor into EditorShell and added access for JavaScript. Moved most of Save document code into EditorShell and added filetype filters to save dialog. Placed Advanced Edit functionality in an overly file. Removed redundant entity strings, that are now in overlays, from DTD files.
1999-08-28 02:40:18 +00:00
cmanske%netscape.com
7542d601b8
Fixed bug 12126. Removed pref code from nsHTMLEditor - do HLine pref stuff in JS instead.
1999-08-27 04:12:47 +00:00
buster%netscape.com
b9f8eebf77
Split out installing the editor's own event handler as a separate step.
...
The owner of the editor can now initialize the editor,
set up its own listeners if it wants to, then the editor will set up it's own
backstop listeners as part of PostCreate().
The backstop key listener now ignores ENTER for single line text controls.
Ugly to have to do it here, it would be better if the owner could just swallow the key event.
1999-08-23 06:42:04 +00:00
akkana%netscape.com
d78cbc0c02
Handle plaintext wrapping in style, rather than a pre tag in the body. Also fix a couple of warnings.
1999-08-20 22:39:48 +00:00
akkana%netscape.com
b9ced806e8
11684: remove redundant wrapcol variable from editor
...
(and fix type in obsolete text editor);
Partial work toward 11390, use style rather than embedded PRE for wrapping
(unfinished, currently ifdefed out).
1999-08-19 22:11:58 +00:00
buster%netscape.com
d3b61f6c7b
Fixed a ton of errors where we were not handling error results correctly.
...
Added some comments of the form "// XXX: ERROR_HANDLING <explanation>"
wherever I saw a potential error but wasn't 100% sure of the intention of the code.
Fixed a few bugs along the way.
1999-08-19 13:30:48 +00:00
jfrancis%netscape.com
c37cc8a34d
some reorg of block transformation code; implemented make-{header,preformatted,address,normal}; tweaked make list to honor <br> in some circumstances; rewrote "return in list item" to pop you out of list if item is empty; rewrote "return in header" to work with non-trivial headers.
1999-08-18 08:13:06 +00:00
jfrancis%netscape.com
305be45591
added InsertHeader()
1999-08-09 21:50:28 +00:00
sfraser%netscape.com
98818652df
Landing editor API changes. Removed nsITextEditor and nsTextEditor, split interfaces into more, non-overlapping interfaces, and other general cleanup.
1999-08-09 01:37:50 +00:00
tague%netscape.com
1e3c4f5ac5
Added support for replies from private DOM text events. See bug #4826
1999-08-06 02:32:13 +00:00
cmanske%netscape.com
5603ca24a3
Further table editing work
1999-08-05 20:04:58 +00:00
cmanske%netscape.com
4936a140bc
Table editing implementation
1999-08-04 02:06:03 +00:00
cmanske%netscape.com
ec0c057e63
Fixed lots of XUL (adjust for new titledbutton changes and XPMenus). Added initial table properties support and unit test for nsITableLayout methods. Removed unused InsertLink and InsertImage methods. Added lots of comments for interface methods.
1999-08-01 22:37:58 +00:00
mcafee%netscape.com
c61b6e8749
cmanske forgot to remove one reference to a removed header file, fixing linux bustage.
1999-07-28 00:33:50 +00:00
cmanske%netscape.com
f6fef62102
Initial table editing stuff. Removed table editing transactions (use basic node txns). Fixed TrimString JS methods. Fixed setting border in insert table.
1999-07-27 23:59:22 +00:00
cmanske%netscape.com
5c9096197a
Fixed GetSelectedElement to detect caret or selection inside link text. Link dialog will select entire link. Added GetParentLinkElement.
1999-07-25 01:24:12 +00:00
cmanske%netscape.com
80d18a0ea9
Fixed bugs relating to insert element
1999-07-23 00:52:17 +00:00
jfrancis%netscape.com
8e8f2f24ef
assorted work to expose nav html dtd to the editor
1999-07-19 22:49:21 +00:00
akkana%netscape.com
13530acf98
Add GetEmbeddedObjects API to editor shell
1999-07-19 22:36:12 +00:00
akkana%netscape.com
e93a9f9d7c
Add GetEmbeddedObjects API for mail/news
1999-07-19 19:06:39 +00:00
akkana%netscape.com
6d07c8eeb4
Restructure the editor output routines to allow passing in
...
a mime type and a flag argument. Also fix the following bugs:
9746: get rid of bogus empty <style> in head.
8143: save wrap column in editor shell in case it's set before the
editor is created.
9470, 9488: allow explicit specification of formatted output.
1999-07-14 18:54:29 +00:00
cmanske%netscape.com
8f1b0f0e2f
Generic message dialog, fix insert element-related bugs, initial personal dictionary dialog, other editor bugs
1999-07-14 15:24:33 +00:00
cmanske%netscape.com
c4259079e5
Implemented insert named anchor and table. Fixed dialogs to utilize autosizing. Popups are screwed up because of stupid box layout behavior
1999-07-04 23:01:10 +00:00
kin%netscape.com
41af01f373
Added ApplyStyleSheet() method to the various editor interfaces.
1999-07-01 19:32:35 +00:00
tague%netscape.com
b40147fcc6
Added clause and selection support for Input Methods. Fixes bug #8639 , #8459 , #6989 , #7824
1999-06-29 20:31:22 +00:00
sfraser%netscape.com
300205e3dd
Add new aSelectionOnly param to Output routines
1999-06-29 20:14:24 +00:00
kin%netscape.com
82e5aae898
* Added StartLogging() and StopLogging() methods to nsIEditor,
...
nsIHTMLEditor, nsITextEditor, and nsIEditorShell and enabled
the "Start Log" and "End Log" menu items in the editor test bed.
* Modified makefiles for Unix and Win32 to turn on Editor API Logging.
* Added action argument to the DeleteSelection() method in nsIEditorShell.
* Modified nsJSTxnLog to use nsJSEditorLog when writing it's output.
1999-06-14 20:02:46 +00:00
cmanske%netscape.com
264f43ee2c
Horizontal Line dialog and setting/getting hline settings from prefs implemented. Masked effect of bug 8058 by removing popupanchor attribute.
1999-06-12 21:22:12 +00:00
sfraser%netscape.com
0e1ee93e93
GetLocalFileURL has moved to the editorShell
1999-06-11 19:03:05 +00:00
akkana%netscape.com
e7a3465092
Implement InsertHTML.
...
Also, some minor fixes, like warning removal and addition of error checking
in files which needed it.
1999-06-10 21:31:42 +00:00
akkana%netscape.com
7bf706845e
Get rid of overloaded class names, to eliminate warnings
1999-06-07 21:12:01 +00:00
akkana%netscape.com
99285c6711
Add paste/insert as quotation into editor app cores to be accessible from JS.
1999-05-28 00:46:34 +00:00
sfraser%netscape.com
f2c128b7dc
Add unit test call to nsIEditor, and implement it in nsText- and nsHTMLEditors.
1999-05-27 04:10:04 +00:00
akkana%netscape.com
f4b48a2327
Insert / Paste as Quotation.
1999-05-27 00:08:15 +00:00
cmanske%netscape.com
68f95d7549
Continued UI work: Spell checker fixes, toolbar improvements, popup menus implemented for paragraph style, font face and color, setting font color test UI, etc.
1999-05-26 21:40:51 +00:00
jfrancis%netscape.com
e91f5fd66e
const crazy - bet you can't eat jsut one!
1999-05-17 14:14:36 +00:00
jfrancis%netscape.com
bc8ba48be5
fixing bustage
1999-05-17 13:10:29 +00:00
jfrancis%netscape.com
76905a8b3e
insert list and indent work
1999-05-17 12:22:31 +00:00
cmanske%netscape.com
85b5fc535d
Implemented InsertLinkAroundSelection
1999-05-07 22:26:23 +00:00
sfraser%netscape.com
ec7944405e
Implement Save, Save As in editor.
1999-05-07 05:02:35 +00:00
cmanske%netscape.com
ac1c0f7709
Added UI for paragraph style and preliminary versions of image and link dialogs
1999-05-05 23:29:18 +00:00
akkana%netscape.com
4123eec5cf
- Rename iDirection enum to ECollapsedSelectionAction
...
- Initial implementation of Insert HTML
1999-05-05 23:27:17 +00:00
buster%netscape.com
7803f612f1
1. block transformation infrastructure is now in place. We can go ahead and implement interesting
...
features like set paragraph style, set list type, indent, etc. I'm sure there's holes in my
implementation that these high level features will make obvious.
2. I've factored a lot of utility methods from several modules into nsEditor as public static methods.
This makes them easily accessable to all, and will help Joe and I remove redundant methods.
3. I changed the HTML tags to lower case, and made all string compares case-insensitive. No, this
isn't quite the right thing to do, but we don't have atoms from layout yet. The Right Thing is for us
to reuse those atoms.
1999-05-05 04:05:19 +00:00