joki%netscape.com
96be20de98
Changing dom event VK_* names to DOM_VK_*
1999-09-21 14:19:17 +00:00
waterson%netscape.com
848853d3e8
Fix Linux bustage.
1999-09-20 04:50:18 +00:00
buster%netscape.com
16446efc84
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.
1999-09-20 04:20:18 +00:00
buster%netscape.com
3c3fee1121
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.
1999-09-20 04:16:34 +00:00
jfrancis%netscape.com
2569f4a0cb
fixing a heap-o-undo problems and some mBogusNode problems
1999-09-20 01:31:44 +00:00
jfrancis%netscape.com
c91289428f
putting tab handling back in KeyDown(). Else editor never gets tabs.
1999-09-19 10:30:30 +00:00
jfrancis%netscape.com
248452a87c
fix for 13677
1999-09-17 23:15:12 +00:00
buster%netscape.com
420962b484
fixed a warning
1999-09-17 20:17:22 +00:00
akkana%netscape.com
6f7a630dad
Handle everything in KeyPress; make KeyDown a nop. This also fixes bug 13962
1999-09-17 20:11:13 +00:00
buster%netscape.com
8a995bfc5e
fixed bug 13810 by removing an extraneous check for empty string. empty strings are perfectly legal
...
in WillInsertText
1999-09-15 19:43:19 +00:00
sfraser%netscape.com
20029fa588
Use nsAutoStrings where appropriate
1999-09-14 23:40:16 +00:00
buster%netscape.com
161438718c
fixed bug 13669, wrong password when user typed with 1 or more characters selected
1999-09-14 00:11:22 +00:00
jfrancis%netscape.com
8de9e45071
implementing EditorKeyPress and handling tabs in tables and shift-return meaning <br>
1999-09-13 09:37:51 +00:00
jfrancis%netscape.com
bc8d6fdd33
adding a default case enum value for rules action enum
1999-09-12 01:33:20 +00:00
brade%netscape.com
86f98ddbd2
handle hard-coded keybindings on Mac; begin to support new key event spec (lower case letters for charcodes)
1999-09-10 14:42:20 +00:00
buster%netscape.com
dadb1ea557
fixed password editors, while maintaining output of empty HTML documents
...
fixes bug 13404, a blocker for enabling gfx text controls
1999-09-09 19:39:36 +00:00
sfraser%netscape.com
7aead9fea3
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).
1999-09-08 23:32:04 +00:00
jfrancis%netscape.com
adbfb599f8
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
1999-09-08 05:30:48 +00:00
kin%netscape.com
0e3c4c80ff
Fix for bug #13251 : gfx text fields are not accepting input
...
Reenabled call to ClearSelection() in nsTextEditRules::WillInsert().
1999-09-07 22:47:50 +00:00
jfrancis%netscape.com
0ae3fcf4ec
implementing RemoveList() - ie, list button now works as a toggle
1999-09-06 19:47:25 +00:00
jfrancis%netscape.com
0103003252
no longer clearing selection when we detect empty document - selection is a perfectly valid concept in an empty document.
1999-09-06 19:45:26 +00:00
bruce%cybersight.com
5f9f8618b6
Use nsCRT::free() instead of delete[] for char* data.
1999-09-06 06:22:51 +00:00
sspitzer%netscape.com
9cda4419de
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.
1999-09-03 08:31:33 +00:00
tague%netscape.com
d22744e0e1
Added support for a reply from the StartComposition message. Necessary for XIM support on UNIX.
1999-08-31 01:20:32 +00:00
sfraser%netscape.com
d77e2fc8d8
Back out cmanske's changes to these files, which he checked by by mistake.
1999-08-31 01:14:40 +00:00
cmanske%netscape.com
7d4fcc7485
Added checking if we need to save file before allowing close window or exit (bug 7615). Added support for Confirm and Alert message dialogs
1999-08-31 00:51:23 +00:00
pinkerton%netscape.com
23469bd682
clean up small mem leak.
1999-08-30 22:18:23 +00:00
buster%netscape.com
5c31873a0a
fixed bug 12680 (password fields broken)
...
fixed bug 12489 (static contructors must be removed)
1999-08-30 22:11:09 +00:00
kin%netscape.com
c4ea811665
Fix for bugs #7153 , #10673 , #12066 , #12067 , and #12793 .
...
editor/base/nsEditorEventListeners.cpp
editor/base/nsEditorEventListeners.h
- Added code to scroll the selection into view
after processing key events.
- Commented out the hack that redraws the entire
view when the focus is gained and lost. Replaced
the hack code with calls to RepaintSelection().
layout/base/public/nsIFrameSelection.h
layout/base/public/nsIPresShell.h
layout/html/base/src/nsPresShell.cpp
- Added ScrollSelectionIntoView() and RepaintSelection() methods.
layout/base/src/nsRangeList.cpp
- Added implementation for ScrollSelectionIntoView() and
RepaintSelection().
- Check for NULL primary frame in GetFocusNodeRect()
to fix bug #12793 .
1999-08-30 21:54:40 +00:00
akkana%netscape.com
b9c26e9b85
Handle lower-case alt-x as well as upper case
1999-08-28 00:31:06 +00:00
jfrancis%netscape.com
92a8df9ea6
making nsPresShell and nsDocument support weak references; using weak references to docs and pres shells within the editor
1999-08-25 10:51:55 +00:00
pinkerton%netscape.com
f4a7881b59
toString -> ToString idl change.
1999-08-25 09:15:18 +00:00
pinkerton%netscape.com
edc17e7846
IDL-ifying nsITransferable, nsIDragService, nsIDragSession, nsIFormatConverter.
1999-08-25 08:35:06 +00:00
akkana%netscape.com
70ab0ba259
Revise the doc encoder and content sink APIs yet again to make it easier
...
to add new flags (pass a flag in the constructor, rather than specific
booleans. This in order to fix:
11249: Add flag to write only the body in html output.
1999-08-24 18:30:19 +00:00
buster%netscape.com
664cb722e1
added a special case to the output text rules for an empty document
...
(one that contains the bogus node)
1999-08-24 13:48:08 +00:00
jfrancis%netscape.com
16045e64a5
refactoring text insertion code; indent/outdent now work with lists and list items.
1999-08-24 08:56:51 +00:00
buster%netscape.com
b9f8eebf77
Split out installing the editor's own event handler as a separate step.
...
The owner of the editor can now initialize the editor,
set up its own listeners if it wants to, then the editor will set up it's own
backstop listeners as part of PostCreate().
The backstop key listener now ignores ENTER for single line text controls.
Ugly to have to do it here, it would be better if the owner could just swallow the key event.
1999-08-23 06:42:04 +00:00
akkana%netscape.com
d78cbc0c02
Handle plaintext wrapping in style, rather than a pre tag in the body. Also fix a couple of warnings.
1999-08-20 22:39:48 +00:00
brade%netscape.com
d4a307dbb5
keyhandling for keybindings moved to keypress (was keydown)
1999-08-20 13:14:03 +00:00
pinkerton%netscape.com
98d586a525
add DragGesture to drag listener.
1999-08-19 19:48:33 +00:00
buster%netscape.com
d3b61f6c7b
Fixed a ton of errors where we were not handling error results correctly.
...
Added some comments of the form "// XXX: ERROR_HANDLING <explanation>"
wherever I saw a potential error but wasn't 100% sure of the intention of the code.
Fixed a few bugs along the way.
1999-08-19 13:30:48 +00:00
jfrancis%netscape.com
c37cc8a34d
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.
1999-08-18 08:13:06 +00:00
jfrancis%netscape.com
65ac5c1602
fixing bug 9366
1999-08-09 22:51:40 +00:00
buster%netscape.com
8e90ebd62a
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
d1b6789d87
Fix the nsTextEditRules init so that setting the flags works.
1999-08-09 18:22:13 +00:00
buster%netscape.com
1a79a33f3f
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
8e4aa41452
call SetFlags from Init, so plaintext logic gets executed.
1999-08-09 17:44:14 +00:00
sfraser%netscape.com
98818652df
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
buster%netscape.com
c45863f493
fixed handling of text controls with a max length set
1999-08-07 05:29:41 +00:00
buster%netscape.com
6a470ed99b
fixed disabled and readonly handling
...
added redraw hack to blur (in addition to focus, already done)
1999-08-07 05:28:57 +00:00