jfrancis%netscape.com
145139b012
* fix for PDT+ 16481: need rules for deleting in tables
...
* fix for 19395: protect against zero length text inserts
r = floppy moose
git-svn-id: svn://10.0.0.236/trunk@54907 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 14:32:55 +00:00
jfrancis%netscape.com
c3b10ef137
fix for bug 20205: selection was getting jerked around by whitespace conversion code.
...
git-svn-id: svn://10.0.0.236/trunk@54765 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 21:58:37 +00:00
jfrancis%netscape.com
ed38a43f75
* 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
git-svn-id: svn://10.0.0.236/trunk@54561 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 08:28:46 +00:00
jfrancis%netscape.com
ba25bda682
cool! i cant believe it's not butter! (how did the mac ever compile this?)
...
fixing bizarre cut/paste error.
git-svn-id: svn://10.0.0.236/trunk@54470 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 01:34:42 +00:00
jfrancis%netscape.com
bd6345ff1b
fixing bad comptr usage (also not caught by mac compiler)
...
git-svn-id: svn://10.0.0.236/trunk@54468 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 00:39:55 +00:00
jfrancis%netscape.com
efe6e42352
fixing bad const in interface (not caught by mac compiler)
...
git-svn-id: svn://10.0.0.236/trunk@54466 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 00:36:34 +00:00
jfrancis%netscape.com
5020ab053b
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)
git-svn-id: svn://10.0.0.236/trunk@54463 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 00:19:45 +00:00
sspitzer%netscape.com
7fe343ca94
fix for blocker bug #19083 , compose html message causes a crash.
...
r=sfraser.
git-svn-id: svn://10.0.0.236/trunk@53789 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 22:34:41 +00:00
dmose%mozilla.org
0efb7c174c
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
jfrancis%netscape.com
53c8075ee8
fixes for bugs: 16361,12253,15696,15734; r=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@52381 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 15:15:35 +00:00
braddr%puremagic.com
d8fb5871d7
Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
...
r=scc
git-svn-id: svn://10.0.0.236/trunk@52044 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 03:16:48 +00:00
jfrancis%netscape.com
f4bfa77ae5
fix for 17056: making a list in empty doc didnt work; also making a new list item didn't work. r=floppy moose
...
git-svn-id: svn://10.0.0.236/trunk@52024 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 23:44:33 +00:00
ftang%netscape.com
c31d69ed3f
add debugging code. fix remove last uncomited IMEText. r=jfrancis
...
git-svn-id: svn://10.0.0.236/trunk@52012 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 22:56:36 +00:00
braddr%puremagic.com
1dde1a4f56
Ooops.. tree closed, better back these out for now. Sorry.
...
git-svn-id: svn://10.0.0.236/trunk@51979 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 21:01:37 +00:00
braddr%puremagic.com
7767d9393b
Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
...
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)
git-svn-id: svn://10.0.0.236/trunk@51977 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 20:24:21 +00:00
jfrancis%netscape.com
0209785bbb
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
...
git-svn-id: svn://10.0.0.236/trunk@49999 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 19:34:09 +00:00
akkana%netscape.com
9a532de0b1
14859: make rules code smarter about identifying blockquote type=cite
...
git-svn-id: svn://10.0.0.236/trunk@49330 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 20:20:31 +00:00
jfrancis%netscape.com
8e3610bfe2
revised UNDO; introduced first cut at the "mozdiv" typing rules
...
git-svn-id: svn://10.0.0.236/trunk@49317 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 20:08:15 +00:00
jfrancis%netscape.com
381ca4cab7
fixing a heap-o-undo problems and some mBogusNode problems
...
git-svn-id: svn://10.0.0.236/trunk@48297 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 01:31:44 +00:00
jfrancis%netscape.com
0db3f03a4f
fix bug 13469
...
git-svn-id: svn://10.0.0.236/trunk@48255 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 10:31:31 +00:00
jfrancis%netscape.com
572f6aa05f
fix for bug 13500 - typo that broke deletion
...
git-svn-id: svn://10.0.0.236/trunk@47541 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 05:43:25 +00:00
jfrancis%netscape.com
23d9478cc5
fix for 12675; also added a wrapper for GetNextNode()/GetPriorNode() that checks for containment in the <body>
...
git-svn-id: svn://10.0.0.236/trunk@47001 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 01:36:07 +00:00
jfrancis%netscape.com
dc37b61445
cleaning up warnings (bug 13469)
...
git-svn-id: svn://10.0.0.236/trunk@46900 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 00:20:59 +00:00
jfrancis%netscape.com
045ecf14d5
bug fix: paragraphs now merge properly.
...
git-svn-id: svn://10.0.0.236/trunk@46888 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 23:32:28 +00:00
jfrancis%netscape.com
14c949b1d4
fix for bug 13482
...
git-svn-id: svn://10.0.0.236/trunk@46644 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 22:22:14 +00:00
jfrancis%netscape.com
8771ef0e8a
making special mail-compose editing rules accessible to mail
...
git-svn-id: svn://10.0.0.236/trunk@46318 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 06:26:53 +00:00
jfrancis%netscape.com
132134ca11
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
git-svn-id: svn://10.0.0.236/trunk@46126 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 19:51:59 +00:00
sspitzer%netscape.com
d477f04e12
add newline to end of file to please certain UNIX compilers.
...
git-svn-id: svn://10.0.0.236/trunk@45876 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 10:43:00 +00:00
jfrancis%netscape.com
a1542a6e29
more deletion work...
...
git-svn-id: svn://10.0.0.236/trunk@45518 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 21:23:47 +00:00
jfrancis%netscape.com
9c5e2c817e
checkpointing some deletion work
...
git-svn-id: svn://10.0.0.236/trunk@45344 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 13:55:18 +00:00
mscott%netscape.com
eaeb6bff71
Fix pedantic build breakage for unix.
...
git-svn-id: svn://10.0.0.236/trunk@44313 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 18:38:21 +00:00
jfrancis%netscape.com
99de773e68
refactoring text insertion code; indent/outdent now work with lists and list items.
...
git-svn-id: svn://10.0.0.236/trunk@44276 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 08:56:51 +00:00
jfrancis%netscape.com
41485faa2c
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.
...
git-svn-id: svn://10.0.0.236/trunk@43484 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-18 08:13:06 +00:00
jfrancis%netscape.com
c5e0ffdf88
let VC 5 live!
...
git-svn-id: svn://10.0.0.236/trunk@43041 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 22:02:27 +00:00
jfrancis%netscape.com
22b6d64142
more block operation improvements to "make list"
...
git-svn-id: svn://10.0.0.236/trunk@43032 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 21:44:10 +00:00
jfrancis%netscape.com
6933a8242b
begginning of block operations honoring breaks...
...
git-svn-id: svn://10.0.0.236/trunk@42850 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 23:39:48 +00:00
jfrancis%netscape.com
9b541be769
fixing bug 9366
...
git-svn-id: svn://10.0.0.236/trunk@42836 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 22:51:40 +00:00
jfrancis%netscape.com
54dd82668d
smarts for creating empty lists in the right places;
...
prelim work for WillMakeHeader();
prelim work for indenting lists;
helper routine IsEmptyBlock();
git-svn-id: svn://10.0.0.236/trunk@42821 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 21:50:02 +00:00
buster%netscape.com
645dd7a8ea
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.
git-svn-id: svn://10.0.0.236/trunk@42775 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 18:39:49 +00:00
sfraser%netscape.com
4dd92661ce
Landing editor API changes. Removed nsITextEditor and nsTextEditor, split interfaces into more, non-overlapping interfaces, and other general cleanup.
...
git-svn-id: svn://10.0.0.236/trunk@42725 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 01:37:50 +00:00
kin%netscape.com
c89294e709
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 )
git-svn-id: svn://10.0.0.236/trunk@42152 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 18:36:19 +00:00
rhp%netscape.com
5c06ffe2e1
Fix for stopper bug #10504
...
git-svn-id: svn://10.0.0.236/trunk@41147 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 18:05:41 +00:00
jfrancis%netscape.com
d4d1113f4f
assorted work to expose nav html dtd to the editor
...
git-svn-id: svn://10.0.0.236/trunk@40179 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 22:49:21 +00:00
mjudge%netscape.com
329d39ba11
massive checkin for selection. adjusting nsIDOMSelection api and nsIFrameSelection. many "small" changes. this is not as bad as it looks. layout will not be affected other than "getter" calls for selection. and all consumers of selection should be in good shape.
...
git-svn-id: svn://10.0.0.236/trunk@39971 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 02:27:19 +00:00
buster%netscape.com
6382cd2eea
replaced IID's with CID's where they were appropriate, and removed lots of
...
NS_DEFINE_IID macros in favor of GetCID() wherever I could.
plus some minor bug fixes.
git-svn-id: svn://10.0.0.236/trunk@39546 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 19:13:46 +00:00
mjudge%netscape.com
757f22388f
checkin for carpool for multiple seleciton/ime selection and api changes
...
git-svn-id: svn://10.0.0.236/trunk@39542 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 18:19:20 +00:00
jfrancis%netscape.com
e78ee967a3
fix for bug 5903
...
git-svn-id: svn://10.0.0.236/trunk@38277 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 13:27:13 +00:00
jfrancis%netscape.com
30aa13a1d0
making the plain text selection pinning savvy to the other flavors of text editors, the ones that DONT have <pre> tags wrapping all the text
...
git-svn-id: svn://10.0.0.236/trunk@38021 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 07:53:08 +00:00
jfrancis%netscape.com
d1466999a5
bitten by lack of const enforcement in mac coimpiler once again.
...
git-svn-id: svn://10.0.0.236/trunk@37991 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 05:13:21 +00:00
jfrancis%netscape.com
1ad411ef7d
making rules savvy to multi-char insertions. this means that pasting in text with embedded tabs, returns, spaces, & nbsp's now get the full rules treatment.
...
git-svn-id: svn://10.0.0.236/trunk@37982 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 04:46:45 +00:00