зеркало из https://github.com/mozilla/pjs.git
594211b55c
* 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. |
||
---|---|---|
.. | ||
.cvsignore | ||
MANIFEST | ||
Makefile.in | ||
makefile.win | ||
nsEditorCID.h | ||
nsICiter.h | ||
nsIContextLoader.h | ||
nsIEditActionListener.h | ||
nsIEditRules.h | ||
nsIEditor.h | ||
nsIHTMLEditor.h | ||
nsITextEditor.h |