Commit Graph

433 Commits

Author SHA1 Message Date
jfrancis%netscape.com
4c2532dd8b fixing bug 9366 1999-08-09 22:51:40 +00:00
jfrancis%netscape.com
4d7c1bf9f2 default impl for InsertHeader(); plus adapted to new definition of SplitNodeDeep() 1999-08-09 21:51:19 +00:00
jfrancis%netscape.com
250a479977 added InsertHeader() 1999-08-09 21:50:28 +00:00
jfrancis%netscape.com
2c1631036f smarts for creating empty lists in the right places; prelim work for WillMakeHeader(); prelim work for indenting lists; helper routine IsEmptyBlock(); 1999-08-09 21:50:02 +00:00
jfrancis%netscape.com
c8ee477692 added helper function IsEmptyBlock() 1999-08-09 21:49:25 +00:00
jfrancis%netscape.com
70c5b10ce6 SplitNodeDeep() now emits an out param that tells you what the effective split offset was. This routine no longer splits text nodes unless it has to; ie, if the original offset was at the beginning or end of the text node, no split occurs in it. 1999-08-09 21:45:52 +00:00
jfrancis%netscape.com
49b63463ff fix for 10584 1999-08-09 21:42:51 +00:00
buster%netscape.com
5b65a4e45f 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
ac5099a587 Fix the nsTextEditRules init so that setting the flags works. 1999-08-09 18:22:13 +00:00
buster%netscape.com
503defd7f0 backed out my last change, it didn't fix the problem I thought it would. 1999-08-09 18:01:08 +00:00
buster%netscape.com
151ee02b62 call SetFlags from Init, so plaintext logic gets executed. 1999-08-09 17:44:14 +00:00
sfraser%netscape.com
923338fe36 Fix bustage 1999-08-09 02:03:57 +00:00
sfraser%netscape.com
d73dfd8ddb 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
sfraser%netscape.com
6f28b668c9 First Checked In. 1999-08-09 01:34:04 +00:00
buster%netscape.com
fd79be28bb fixed handling of text controls with a max length set 1999-08-07 05:29:41 +00:00
buster%netscape.com
554895cb53 fixed disabled and readonly handling
added redraw hack to blur (in addition to focus, already done)
1999-08-07 05:28:57 +00:00
tague%netscape.com
58316bd322 Added support for replies from private DOM text events. See bug #4826 1999-08-06 02:32:13 +00:00
cmanske%netscape.com
33420b646e Further table editing work 1999-08-05 20:04:58 +00:00
kin%netscape.com
375eb2de71 Fixes for bug #10231 (crash making list after select all)
and bug #10815 (Crash deleting selected text and table)

mozilla/editor/base/nsHTMLEditRules.cpp
  - Added check, in WillDeleteSelection(),  to see if
    endpoints of the range are in the body before calling
    GetBlockNodeParent(). (Bug #10231)
  - Modified GetPromotedPoint() to check for NULL in the
    case where aWhere == kEnd and GetChildAt() returns NULL.
    (Bug #10815)

mozilla/layout/base/src/nsGenericElement.cpp
  - Modified RangeAdd() so that it doesn't add
    a range if it's already in the list.  (Bug #10231)

mozilla/layout/base/src/nsRangeList.cpp
  - Modified GetPrimaryFrameForFocusNode() to
    initialize aReturnFrame and to return a failure
    if ChildAt() returns NULL. (Bug #10231)
1999-08-04 18:36:19 +00:00
cmanske%netscape.com
14bb564bf2 Table editing implementation 1999-08-04 02:06:03 +00:00
sfraser%netscape.com
bbeffd28f0 Fix the document state listener mechanism so that you can install listeners after the editor has been created, and still get their 'document creation' notification called. 1999-08-03 06:53:45 +00:00
buster%netscape.com
414c95e223 added the same hack for blur as for focus, to force a repaint
handle TAB in keyDown, not keyPress, so we can surpress focus manager
using TAB to swap focus from the editor.
1999-08-03 06:07:29 +00:00
buster%netscape.com
c05df307b2 added a missing break that was leading to an assert in NotifyDocumentListeners 1999-08-03 06:05:29 +00:00
warren%netscape.com
5f088dfe9e Fixing Simon's stuff. 1999-08-03 01:57:26 +00:00
sfraser%netscape.com
dd24fdb884 Make the nsIDocumentStateListener interface more useful, with doc creation and destruction notifiers. 1999-08-03 00:58:38 +00:00
buster%netscape.com
1941ea5807 selection and caret are not displayed at Init time any more. This is done on Focus now.
checking in temp hack to repaint on focus
1999-08-02 13:53:23 +00:00
buster%netscape.com
e0138bce18 enabled string bundles, now that NECKO has landed
selection and caret are not displayed at Init time any more.  This is done on Focus now.
1999-08-02 13:51:50 +00:00
cmanske%netscape.com
0fef13e963 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
akkana%netscape.com
2a0454f835 10525: Only handle plaintext paste in base and text editors 1999-07-30 23:46:18 +00:00
jfrancis%netscape.com
5e6c751652 fixed blocker bug 10698; rvwd: akkana; apprvd: chofmann 1999-07-29 23:40:21 +00:00
sfraser%netscape.com
8c8a92675a Remove references to nsIContextLoader. 1999-07-28 03:08:21 +00:00
sfraser%netscape.com
6c31c915dd Implement support for nsIDocumentStateListeners. 1999-07-28 02:55:40 +00:00
cmanske%netscape.com
89c5a45a40 Fixed bug in GetElementOrParentByTagname 1999-07-28 01:37:51 +00:00
cmanske%netscape.com
5a9c33f49e Fixed build bustage - removed references to removed .h files 1999-07-28 00:35:41 +00:00
mcafee%netscape.com
a7f6ec1243 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
d54ddc3632 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
akkana%netscape.com
441f4aad9d 490: Insert a line break after a br tag. Also fix some warnings 1999-07-27 21:18:10 +00:00
rhp%netscape.com
5fc2eec4f2 Fix for stopper bug #10504 1999-07-26 18:05:41 +00:00
buster%netscape.com
cc49e3182a Clean-up
1) fixed unit tests
2) fixed a bunch of leaks having to do with using enumerators.  Thanks for noticing these, Simon.
3) fixed a tiny problem in nsTextEditRules::WillDoAction().
This method was overly aggressive in checking input args, sel can be null for some operations.
1999-07-25 18:14:44 +00:00
jfrancis%netscape.com
ab73427f9c default to setting selection _after_ a created element 1999-07-25 09:25:02 +00:00
jfrancis%netscape.com
491557ab29 making plaintext flag force a "white-space: pre" style on the body. this is a fix for bug 9153 1999-07-25 05:34:02 +00:00
cmanske%netscape.com
556c28ed92 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
db6e5788b8 Fixed insert element bugs. Added message if no misspelled words. Changed 'More Atrributes' to 'Advanced Edit' in dialogs. Improved generic message dialog. Added remove link button to link dialog 1999-07-24 20:27:53 +00:00
cmanske%netscape.com
16ff2d941c Fixed bugs relating to insert element 1999-07-23 00:52:17 +00:00
sfraser%netscape.com
5f74f88c68 Turn on selection for all documents that are being edited. This enables selection in GFX ender widgets. 1999-07-23 00:11:00 +00:00
sfraser%netscape.com
f4d8e41aad #ifdef out loading the string bundle, because it causes onEndDocumentLoad handlers to fire, which is very bad. 1999-07-22 23:52:08 +00:00
tague%netscape.com
27e1b6498d Fixed bug #10242 - crash when typing space after IME composition 1999-07-22 23:13:59 +00:00
tao%netscape.com
0d92312a0a Adopt new str res api prototype. 1999-07-22 04:41:11 +00:00
akkana%netscape.com
b50909c48d Find file: URLs when searching for embedded elements -- bug 10134 1999-07-20 20:38:04 +00:00
kin%netscape.com
21186cafc1 Switch from override style sheets to doc
style sheets.
1999-07-20 19:34:35 +00:00