waterson%netscape.com
a3557b2d24
Fix Linux bustage.
...
git-svn-id: svn://10.0.0.236/trunk@48318 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 04:50:18 +00:00
buster%netscape.com
28bdfeef11
most of the fix for bug 11804, type-in state wasn't properly removing
...
inline attributes from the next character entered (you're in a bold word
and user clicks bold button, should make next character not bold.)
all done except for font properties.
git-svn-id: svn://10.0.0.236/trunk@48316 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 04:20:18 +00:00
buster%netscape.com
6b43b634eb
turned off a debug flag
...
git-svn-id: svn://10.0.0.236/trunk@48315 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 04:17:05 +00:00
buster%netscape.com
1dcd85d64b
fixed recent bustage on windows that '.' key wouldn't work, making it
...
tough to type URL's in browser. still needs work, but it's usable again.
git-svn-id: svn://10.0.0.236/trunk@48314 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 04:16:34 +00:00
buster%netscape.com
4127d30662
turned off a noisy debug flag
...
git-svn-id: svn://10.0.0.236/trunk@48313 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 04:15:36 +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
buster%netscape.com
d631159edf
fixed an error where the out param was not being initialized to null.
...
This could cause an error in the caller if the caller fails to check the return
code as well as the pointer!=null before dereferencing the result.
git-svn-id: svn://10.0.0.236/trunk@48285 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 23:47:04 +00:00
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
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
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
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
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
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
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
bruce%cybersight.com
bf0dde26b0
Use nsCRT::free() instead of delete[] for char* data.
...
git-svn-id: svn://10.0.0.236/trunk@46092 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 06:22:51 +00:00
dougt%netscape.com
baeab23036
Changes nsIAtom iterface to return a shared (non-allocated) wstring when
...
GetUnicode() is called. (thanks waterson, jband)
Also fixing 12237. (thanks jband).
git-svn-id: svn://10.0.0.236/trunk@45945 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 22:21:29 +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
sspitzer%netscape.com
5059b5c5de
it really scares me to see my password get sent to the console when I type it. it's scaring others, see #13061 . wrapping this code with #ifdef DEBUG_<author>. I'll send them mail directly.
...
git-svn-id: svn://10.0.0.236/trunk@45858 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 08:31:33 +00:00