Commit Graph

946 Commits

Author SHA1 Message Date
jfrancis%netscape.com
4670f5d134 improved handling of tabs (nested tables now work) and also fixed bug 13662
git-svn-id: svn://10.0.0.236/trunk@48256 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 10:32:21 +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
a2716305a8 putting tab handling back in KeyDown(). Else editor never gets tabs.
git-svn-id: svn://10.0.0.236/trunk@48254 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 10:30:30 +00:00
davidm%netscape.com
d5ff5ffdec Change the call to shutdown to a call to quit.
git-svn-id: svn://10.0.0.236/trunk@48118 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 00:29:01 +00:00
jfrancis%netscape.com
5df01a19dc fix for 13677
git-svn-id: svn://10.0.0.236/trunk@48051 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:15:12 +00:00
buster%netscape.com
5168cbc555 fixed some warnings
git-svn-id: svn://10.0.0.236/trunk@48009 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:22:13 +00:00
buster%netscape.com
1a9af19728 fixed a compiler warning
git-svn-id: svn://10.0.0.236/trunk@48008 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:19:50 +00:00
buster%netscape.com
2569ace39b fixed an assesrtion in ~nsHTMLEditor caused by calling GetDocument()
when Init() had never been called.  This is a legal sequence
(nsHTMLEditor is instantiated and destroyed without Init() ever being called),
so now it's allowed.


git-svn-id: svn://10.0.0.236/trunk@48006 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:18:50 +00:00
buster%netscape.com
f5e00214bc fixed a warning
git-svn-id: svn://10.0.0.236/trunk@48004 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:17:22 +00:00
akkana%netscape.com
2612638b20 Handle everything in KeyPress; make KeyDown a nop. This also fixes bug 13962
git-svn-id: svn://10.0.0.236/trunk@47988 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:11:13 +00:00
sfraser%netscape.com
3798e253d3 Fix the double reload problem in the editor, which fixes bug 14045 and maybe others.
git-svn-id: svn://10.0.0.236/trunk@47872 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 23:54:08 +00:00
sfraser%netscape.com
1ee388bccd Don't show the caret initially; it will be made visible when the editor, or text widget, gets a focus event.
git-svn-id: svn://10.0.0.236/trunk@47705 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 01:16:31 +00:00
buster%netscape.com
c3c148ab7b fixed bug 13810 by removing an extraneous check for empty string. empty strings are perfectly legal
in WillInsertText


git-svn-id: svn://10.0.0.236/trunk@47623 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 19:43:19 +00:00
akkana%netscape.com
89f665e0c5 Turn on whitespace insertion
git-svn-id: svn://10.0.0.236/trunk@47596 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 17:55:41 +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
ramiro%netscape.com
e324fbd024 Cleanup the neckutil linking thing.
git-svn-id: svn://10.0.0.236/trunk@47500 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 02:15:11 +00:00
cmanske%netscape.com
6023c37ee6 Put loading of EditorContent.css within an if DEBUG_cmanske 'cause it prevents initial reflow and others will complain!
git-svn-id: svn://10.0.0.236/trunk@47492 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 01:12:58 +00:00
cmanske%netscape.com
258c56a586 Fixed bug 8806 - printing from editor
git-svn-id: svn://10.0.0.236/trunk@47491 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 01:10:10 +00:00
sfraser%netscape.com
6adc6aa83b Changes to nsAutoStrings, and do the funky new caret thing.
git-svn-id: svn://10.0.0.236/trunk@47458 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 23:44:05 +00:00
sfraser%netscape.com
59455396ec Use nsAutoStrings where appropriate
git-svn-id: svn://10.0.0.236/trunk@47453 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 23:40:16 +00:00
buster%netscape.com
f15796dc95 fixed bug 13669, wrong password when user typed with 1 or more characters selected
git-svn-id: svn://10.0.0.236/trunk@47230 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 00:11:22 +00:00
akkana%netscape.com
3aa6d81b6f Fix an erroneous debug print; fix some build warnings
git-svn-id: svn://10.0.0.236/trunk@47174 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 21:39:51 +00:00
buster%netscape.com
ecfd3922d3 added GetAbsoluteOffsetsForPoints, so we can get the length of a document without
playing with it's selection.  Much faster, and doesn't mess with the display at all.


git-svn-id: svn://10.0.0.236/trunk@47162 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 20:44:38 +00:00
jfrancis%netscape.com
e3f5506102 implementing EditorKeyPress and handling tabs in tables and shift-return meaning <br>
git-svn-id: svn://10.0.0.236/trunk@47113 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 09:37:51 +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
9650db2cbc adding a default case enum value for rules action enum
git-svn-id: svn://10.0.0.236/trunk@47000 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 01:33:20 +00:00
jfrancis%netscape.com
0dfe1a3e42 fix for 12675
git-svn-id: svn://10.0.0.236/trunk@46999 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 01:31:57 +00:00
jfrancis%netscape.com
928bacd9fd fix for 13516
git-svn-id: svn://10.0.0.236/trunk@46998 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 01:30:53 +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
a3d10bd693 bug fix (no #) for GetPriorNode/GetNextNode
git-svn-id: svn://10.0.0.236/trunk@46887 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 23:31:43 +00:00
jfrancis%netscape.com
b227e7b10c bug fix for 13500
git-svn-id: svn://10.0.0.236/trunk@46883 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 23:30:35 +00:00
akkana%netscape.com
84288de56c Better debug prints: tell which tag we're creating
git-svn-id: svn://10.0.0.236/trunk@46852 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 22:34:18 +00:00
akkana%netscape.com
c02f965115 490: infrastructure for inserting formatting whitespace. Not turned on yet except for DEBUG_akkana
git-svn-id: svn://10.0.0.236/trunk@46804 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 18:54:13 +00:00
brade%netscape.com
afe4e8cbac handle hard-coded keybindings on Mac; begin to support new key event spec (lower case letters for charcodes)
git-svn-id: svn://10.0.0.236/trunk@46772 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 14:42:20 +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
buster%netscape.com
d7d624a6ed fixed password editors, while maintaining output of empty HTML documents
fixes bug 13404, a blocker for enabling gfx text controls


git-svn-id: svn://10.0.0.236/trunk@46602 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 19:39:36 +00:00
briano%netscape.com
6fe5ac28de General cleanup.
git-svn-id: svn://10.0.0.236/trunk@46494 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 03:34:19 +00:00
sfraser%netscape.com
8a797c14a4 Add DocumentIsEmpty to EditorShell.idl and nsIEditor, and modify length and content getters to do the right thing with an empty document (which contains the bogus text node).
git-svn-id: svn://10.0.0.236/trunk@46444 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 23:32:04 +00:00
sfraser%netscape.com
8345bb8af2 File Removed.
git-svn-id: svn://10.0.0.236/trunk@46396 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 20:17:32 +00:00
sfraser%netscape.com
260ecde23a File Removed.
git-svn-id: svn://10.0.0.236/trunk@46390 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 20:07:57 +00:00
jfrancis%netscape.com
b77bd7e19a oops, missed a case....
git-svn-id: svn://10.0.0.236/trunk@46372 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 19:10:13 +00:00
jfrancis%netscape.com
96bf193e44 fixing case sensitivity problem
git-svn-id: svn://10.0.0.236/trunk@46360 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 18:49:01 +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
fc7ebc0ae1 restoring 1.54 checkin: no longer clearing selection when we detect empty document - selection is a perfectly valid concept in an empty document.
fix for bug 13251 is now in layout/src/base/nsRange.cpp


git-svn-id: svn://10.0.0.236/trunk@46308 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 05:30:48 +00:00
kin%netscape.com
3f07e6a437 Fix for bug #13251: gfx text fields are not accepting input
Reenabled call to ClearSelection() in nsTextEditRules::WillInsert().


git-svn-id: svn://10.0.0.236/trunk@46234 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 22:47:50 +00:00
cmanske%netscape.com
0522028cc7 Fixed bug 13164 preventing Open from working in editor
git-svn-id: svn://10.0.0.236/trunk@46195 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 19:08:24 +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
jfrancis%netscape.com
a5341f92a7 implementing RemoveList() - ie, list button now works as a toggle
git-svn-id: svn://10.0.0.236/trunk@46125 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 19:47:25 +00:00
jfrancis%netscape.com
33cc588b93 no longer clearing selection when we detect empty document - selection is a perfectly valid concept in an empty document.
git-svn-id: svn://10.0.0.236/trunk@46124 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 19:45:26 +00:00