jfrancis%netscape.com
fe753fcd2a
backend work for 41034: getting format feedback and list feedback untangled from each other.
2000-06-02 07:47:53 +00:00
jfrancis%netscape.com
ab50efb62b
fixes
41075: forward delete can delete wrong char,
41149: incorrect format feedback when in lists
2000-06-02 06:03:46 +00:00
jfrancis%netscape.com
18736fd80c
fixes:
14753, 29843, 39864, 40141,
40139, 36679, 39542, 34729,
34855, 37216, 39292, 26447
r=sfraser,cmanske,fm; a=beppe
2000-05-24 23:00:24 +00:00
jfrancis%netscape.com
036ae8a748
editor embedding work; fixing bug with making lists
2000-05-09 21:06:49 +00:00
jfrancis%netscape.com
f20389fad6
fixing bugs with paste; making paste not inherit local inline stlyes
2000-05-05 20:42:36 +00:00
jfrancis%netscape.com
c6074113a2
fix for 29320; deletion putting caret in wrong table cell
2000-05-04 23:54:00 +00:00
mjudge%netscape.com
e983172b2f
massive change to prepare for ender-lite. should be a no-op for current implementation
2000-05-04 08:33:48 +00:00
jfrancis%netscape.com
b70e6e443b
partial fix for bug 30763
2000-05-03 01:34:34 +00:00
jfrancis%netscape.com
7a8d8c9f26
implementing list behavior spec, plus a few bug fixes
2000-05-03 00:14:28 +00:00
jfrancis%netscape.com
9176f7db24
lots of improvements to block transformations:
1) looks inside inlines for breaks;
2) fixes the "extra break when unlisting" bug
3) changing paragraph style to normal consistently gets breaks
4) any splitting needed occurs when blocks inserted
plus a lot of small bug fixes
2000-04-24 11:51:12 +00:00
jfrancis%netscape.com
1393a8f6a2
cleanup and small bug fixes
2000-03-30 22:57:19 +00:00
jfrancis%netscape.com
19853bbf17
making editor hip to inline style changes on collapsed selections. plus lots of removal of unused code.
2000-03-29 12:53:23 +00:00
jfrancis%netscape.com
d043aa611d
improved paste performance in editor (WIP) (bug 28783)
set/remove inline stlye rewrite (lots of bug #s)
2000-03-24 00:26:47 +00:00
jfrancis%netscape.com
9229dddc5e
fixes for the following bugs:
27914, 27305, 28690, 14608, 27306, 28757
These fixes reviewed by cmanske, apprvd rickg;
also fix for 28724 (caret positioning problems)
reviewed by mjudge, apprvd by jar.
2000-02-25 04:39:30 +00:00
jfrancis%netscape.com
3385024fd0
implementing font increase/decrease size for html editor (bug 18774) r=floppy moose
2000-02-08 12:53:34 +00:00
akkana%netscape.com
5164d678e3
22662, 16720: greatly improve formatting of html source for inserted html tags. r=jfrancis
2000-01-26 00:57:37 +00:00
jfrancis%netscape.com
e81efa5842
fix for 21412 - backspace wouldn't remove list items in html editor.
In addition some improvements were made to the adjustment of selection after an edit action (example: backspacing through a list item now pops you up to the previous item)
2000-01-17 12:41:34 +00:00
jfrancis%netscape.com
193dcd8f13
* fixed 19596;
* fixed 23597;
* fixed deletion bug that could cause to breaks to be deleted instead of one, when backspacing once. (no #)
* partial fix for current paragraph style not being properly reported in the composer toolbar. (no #)
2000-01-15 14:29:29 +00:00
jfrancis%netscape.com
0d229b7daa
added in some rules code for mail quoting. This
fixes bug: 19979 (extra blank line showing up in
mail that has quotes)
partial progress on block transformation work:
unlisting a list now works mostly correctly again,
instead of merging all the former list items into
one run of text (no bug number).
Moz-br's are now added in one more circumstance:
when you have a br at the end of some inline
content that is followed by a new block (like a
list, table, etc.). This is needed for the same
reason that the other moz-br's are: to generate a
blank line that the user expects after hitting
return. (no bug number)
DTD-related work to enable the editor to check if
you should be able to type given the current
selection.
fixed bug 22944: inserting an <A> in a table
splits the table.
Made some progress on text paste performance, but
it's still too slow. That's 19273, which I'm
leaving open
fixed bug 15258: selection capable of getting out
of the body element.
fixed a bug where code that merged adjacent text
nodes would merge the non-editable "formatting"
textnodes, (no bug number). Added code to prevent
selection from ending up inside a non-editable
text node.
fix for 11994, an IME bug.
2000-01-10 10:13:58 +00:00
jfrancis%netscape.com
07fcb7e952
Fix for bug 21346.
This is actually a major reworking of how the low level editor txns perturb selection. There is a mode now for telling the txns not to disturb the selection. There is also a fix for unlisting lists (sometimes list items got merged unintentionally when unlisting).
2000-01-04 03:09:41 +00:00
jfrancis%netscape.com
6b9ca53f07
fix for 20457: deletion in editor pretty darn screwy. Lots of changes to improve this. Document modifying entry points in editor now go thru a standard sandwich, which allows tracking of what changed in the doc, which allows proper post-processing of what changed. Also, all deletions now go thru the rules code, if applicable. Also some bugs in tracking the changed document portion have been fixed. Finally selection setting after a delete is improved.
1999-12-07 08:30:19 +00:00
jfrancis%netscape.com
9def206553
fix for bug 20205: selection was getting jerked around by whitespace conversion code.
1999-11-30 21:58:37 +00:00
jfrancis%netscape.com
79218192b4
* ported the html editor work for the "caret doesn't move when i hit return" bug (16715) back to the plaintext editor.
* fixed a paste/rules interaction problem (19367)
* introduced an init time pass over html documents to populate empty list items and table cells with special breaks so that the user can click in them and actually get a caret
* fixed some warnings
r = floppy moose
1999-11-29 08:28:46 +00:00
jfrancis%netscape.com
73c776acd1
fixing bad const in interface (not caught by mac compiler)
1999-11-25 00:36:34 +00:00
jfrancis%netscape.com
49e900609d
implemented a system to track what portion of a document is affect by an editor action. Used that system to help solve extensive whitespace handling problems, ans also problems with caret placement in response to returns (this lattter fix for html editors only - plaintext coming later). Fixed numerous list bugs involving outdenting, unlisting, and splitting lists.
Checkin addressees these bugzilla bugs:
2073 & 12337 - whitespace trouble when typing (you can end up with all nbsp's instead of spaces)
1999-11-25 00:19:45 +00:00
dmose%mozilla.org
8535dda53e
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:43:54 +00:00
jfrancis%netscape.com
66d3eb4808
fixes for bugs: 16361,12253,15696,15734; r=sfraser
1999-11-01 15:15:35 +00:00
jfrancis%netscape.com
62652e2962
revised rules system api to include "handled" parameter and ceased to overload the meaning of the "cancel" parameter; added TypedText() method to editor, editorshell, and logging, so that logging will work properly with typing; coallesce deletions for undo purposes r=buster@netscape.com
1999-10-06 19:34:09 +00:00
jfrancis%netscape.com
75ecd98021
revised UNDO; introduced first cut at the "mozdiv" typing rules
1999-09-29 20:08:15 +00:00
jfrancis%netscape.com
51ef4144c9
fix for 12675; also added a wrapper for GetNextNode()/GetPriorNode() that checks for containment in the <body>
1999-09-12 01:36:07 +00:00
jfrancis%netscape.com
89c84eeb43
fix for bug 13482
1999-09-09 22:22:14 +00:00
jfrancis%netscape.com
5772ba3e39
implemented RemoveList();
deletion doesn't scatter so many empty nodes;
mailcite rules started;
general deletion work (still WIP);
several small bugfixes;
refactored list item outdenting code
1999-09-06 19:51:59 +00:00
jfrancis%netscape.com
cb1186b037
more deletion work...
1999-09-01 21:23:47 +00:00
jfrancis%netscape.com
16045e64a5
refactoring text insertion code; indent/outdent now work with lists and list items.
1999-08-24 08:56:51 +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
3cd7a6362b
added helper function IsEmptyBlock()
1999-08-09 21:49:25 +00:00
buster%netscape.com
8e90ebd62a
moved handling of flags from rules constructor to rules init, so
...
rules code can call SetFlags with mEditor initialized and do real
processing if it wants to.
1999-08-09 18:39:49 +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
akkana%netscape.com
ac39ef67ec
Oops, I misunderstood tor's fix for the sunos bustage
1999-07-01 23:41:29 +00:00
buster%netscape.com
4abaa32e35
0. possible fix for Sun build bustage.
...
1. IsEditable is much less hacky. It basically says:
1. if the node is a special bogus text node, it's not editable
2. if the node is a text node with only newlines, then it's not editable
3. if the node has no frame associated with it, then it is not editable
4. otherwise, it is editable.
As part of this, I had to make IsEditable non-static. This had some cascading effects on static methods that called
IsEditable, which likewise had to be made non-static.
2. SetTextProperties now works when the endpoints are leaf nodes (like images), not just text. Charlie, you should
put this through some stress cases.
1999-07-01 18:42:28 +00:00
jfrancis%netscape.com
c491832078
some cleanup and also selection enforcement for plaintext documents: selection is pinned to within the PRE tag on any edit action
1999-07-01 13:42:03 +00:00
jfrancis%netscape.com
563cf4e689
improvement of editing rules for insert list, indent, outdent, and change alignment
1999-06-25 09:33:02 +00:00
jfrancis%netscape.com
de84bb53ed
editor rules framework for {make list, indent, outdent, change alignment}
1999-06-16 05:02:43 +00:00
buster%netscape.com
594211b55c
* Added nsAutoSelectionReset, a tiny class that resets the selection to what it was before a block transformation.
...
* Added some code to restore selection after RemoveTextProperty.
* Made a tiny change to the way the editor holds onto the transaction manager, so client (like the ender text control) can
turn undo on and off effectively
* Fixed a bug in IsNodeInline that was causing GetBlockParent to return the wrong parent node (and who knows what
other mischief) where atom compares were being done on strings of different case, for <B>, "b" vs. "B". The DOM
method nsIDOMElement::GetTagName forced the returned tag name to upper case. I don't know how long that has
been true, but I assume it's a fairly recent change (or something on our side related to it changed recently) or this method
never would have worked. I also found a few cases of nsString::Equals that I changed to EqualsIgnoreCase
* Made some general improvements to the interaction between editors and rules, so that the aCancel out param is always
intialized, and all rules with Will... are matched with a Did... call. Added Will/DidSetTextProperty() and
Will/DidRemoveTextProperty(). This helps enable plain text mode. Added a skeleton for max length support in text editor.
* fixed some warnings.
1999-06-08 06:04:51 +00:00
jfrancis%netscape.com
9cd009d527
groundwork for block transformation functionality
1999-06-03 06:01:08 +00:00
jfrancis%netscape.com
35b0d02e18
cleanup util function duplication
1999-05-28 21:17:30 +00:00
akkana%netscape.com
4123eec5cf
- Rename iDirection enum to ECollapsedSelectionAction
...
- Initial implementation of Insert HTML
1999-05-05 23:27:17 +00:00
jfrancis%netscape.com
a90187c285
revamped join on deletion
1999-05-04 08:03:07 +00:00
jfrancis%netscape.com
cad36f972d
more html typing rules implementation
1999-04-26 14:08:52 +00:00
jfrancis%netscape.com
db6b94b114
more typing rules work - space and tab occassionally do the right thing now
1999-04-21 14:49:58 +00:00