Commit Graph

13 Commits

Author SHA1 Message Date
jfrancis%netscape.com
41074bcccd editor rules framework for {make list, indent, outdent, change alignment} 1999-06-16 05:02:43 +00:00
buster%netscape.com
6a3429ddc2 * 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
1522156259 groundwork for block transformation functionality 1999-06-03 06:01:08 +00:00
jfrancis%netscape.com
38b9a7c369 cleanup util function duplication 1999-05-28 21:17:30 +00:00
akkana%netscape.com
1f3151a20d - Rename iDirection enum to ECollapsedSelectionAction
- Initial implementation of Insert HTML
1999-05-05 23:27:17 +00:00
jfrancis%netscape.com
6035561262 revamped join on deletion 1999-05-04 08:03:07 +00:00
jfrancis%netscape.com
dfd141ac76 more html typing rules implementation 1999-04-26 14:08:52 +00:00
jfrancis%netscape.com
4eb392665e more typing rules work - space and tab occassionally do the right thing now 1999-04-21 14:49:58 +00:00
jfrancis%netscape.com
e816efb197 merging in rules work with Simon's selection changes 1999-04-13 13:35:08 +00:00
jfrancis%netscape.com
88527c7d24 attempting to fix unix build 1999-04-12 14:10:24 +00:00
jfrancis%netscape.com
0b0035a95c checkpointing html typing rules 1999-04-12 12:01:32 +00:00
jfrancis%netscape.com
fffd5158c3 redoing rules architecture 1999-04-05 17:21:59 +00:00
jfrancis%netscape.com
c7f3ede1e6 First Checked In. 1999-03-29 06:21:01 +00:00