Commit Graph

946 Commits

Author SHA1 Message Date
sfraser%netscape.com
4dc3ba7bb6 Don't handle a key event as a keypress if the meta key is down.
git-svn-id: svn://10.0.0.236/trunk@39418 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 22:29:06 +00:00
tague%netscape.com
1a4c1a16ff Fix bug #8459, #6989 Can't move cursor within IME composition string.
git-svn-id: svn://10.0.0.236/trunk@39359 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 20:05:25 +00:00
waterson%netscape.com
d456e29100 Use allocated buffer instead of trying to allocate dynamic array on stack.
git-svn-id: svn://10.0.0.236/trunk@39350 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 19:41:05 +00:00
akkana%netscape.com
a878369d02 Restructure the editor output routines to allow passing in
a mime type and a flag argument.  Also fix the following bugs:
9746: get rid of bogus empty <style> in head.
8143: save wrap column in editor shell in case it's set before the
      editor is created.
9470, 9488: allow explicit specification of formatted output.


git-svn-id: svn://10.0.0.236/trunk@39332 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 18:54:29 +00:00
brade%netscape.com
805684b7be add GetTextLength()
git-svn-id: svn://10.0.0.236/trunk@39323 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 18:06:13 +00:00
cmanske%netscape.com
79fd9050ea Generic message dialog, fix insert element-related bugs, initial personal dictionary dialog, other editor bugs
git-svn-id: svn://10.0.0.236/trunk@39268 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 15:24:33 +00:00
rods%netscape.com
e7ee253d92 Fixed up paste code to help support HTML paste
git-svn-id: svn://10.0.0.236/trunk@38921 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-09 19:43:59 +00:00
buster%netscape.com
81c8ed2576 workaround for blocker bug 8123. approved by chofmann.
git-svn-id: svn://10.0.0.236/trunk@38807 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 19:52:44 +00:00
cmanske%netscape.com
4b2e3129eb Fixed bug 9287. Reviewed by mjudge, approved by chofmann
git-svn-id: svn://10.0.0.236/trunk@38774 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 03:28:34 +00:00
buster%netscape.com
12526f95d5 added code to manage setting/unsetting attribute-value pairs in complex selections.
cases like: <font color=blue>abc</font>some more text<font color=red>def</font>
with the selection from 'b' to 'e' and operations like "set font to green", and "remove font color"


git-svn-id: svn://10.0.0.236/trunk@38477 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 23:41:37 +00:00
buster%netscape.com
7200addfac minor fix for returning when a key is handled or not. This is a tiny part
of the fix for 8123, joki is working on the rest with tague and rods.


git-svn-id: svn://10.0.0.236/trunk@38470 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 23:31:08 +00:00
akkana%netscape.com
b704d40ce3 Fix formatted plaintext output -- it wasn't following prettyprint or wrap length
git-svn-id: svn://10.0.0.236/trunk@38461 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 23:13:15 +00:00
kin%netscape.com
d0b855c6a7 Fix for bug #7495: [PP]Undo on Linux shows intermediate steps.
Modified Undo() and Redo() to call Begin/EndUpdateViewBatch().


git-svn-id: svn://10.0.0.236/trunk@38453 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 23:02:12 +00:00
kin%netscape.com
11e8a5e806 Fixed warning message by adding missing return.
git-svn-id: svn://10.0.0.236/trunk@38452 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 23:00:30 +00:00
cmanske%netscape.com
d03358a474 Trying to get dialogs to work again.
git-svn-id: svn://10.0.0.236/trunk@38383 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 00:19:40 +00:00
cmanske%netscape.com
ae3903e3fb Implemented insert named anchor and table. Fixed dialogs to utilize autosizing. Popups are screwed up because of stupid box layout behavior
git-svn-id: svn://10.0.0.236/trunk@38329 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-04 23:01:10 +00:00
jfrancis%netscape.com
476746d630 SetParagraphFormat() to list item now does someting halfway sane
git-svn-id: svn://10.0.0.236/trunk@38303 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-04 00:34:58 +00:00
cmanske%netscape.com
51d5e97637 Fixed SetCaretAfterElement (but cursor still not redrawn correctly)
git-svn-id: svn://10.0.0.236/trunk@38280 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 17:07:08 +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
117edd04eb turning off ill fated coercion of selection for plaintext editing. I'll turn this back on when I know how to correctly detect when it's needed.
git-svn-id: svn://10.0.0.236/trunk@38247 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 05:13:30 +00:00
cmanske%netscape.com
0d518f0131 Modified InsertElement to insert a Named Anchor before the selection, completing that feature
git-svn-id: svn://10.0.0.236/trunk@38219 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 01:49:30 +00:00
cmanske%netscape.com
c9cdbce32c Changes to editor XUL dialogs to accomodate new window-as-box changes
git-svn-id: svn://10.0.0.236/trunk@38177 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 22:52:34 +00:00
dveditz%netscape.com
1008384826 makeile cleanups
git-svn-id: svn://10.0.0.236/trunk@38041 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 13:38:47 +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
waterson%netscape.com
f1daa4f406 Fix nsCOMPtr bustage.
git-svn-id: svn://10.0.0.236/trunk@37992 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 05:20:31 +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
sfraser%netscape.com
b089efa46d Added nsStyleSheetTxns.cpp
git-svn-id: svn://10.0.0.236/trunk@37967 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 04:01:38 +00:00
sfraser%netscape.com
c474a7e978 Added transactions for applying and removing style sheets
git-svn-id: svn://10.0.0.236/trunk@37965 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 03:57:50 +00:00
sfraser%netscape.com
2bd49a3742 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@37962 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 03:56:25 +00:00
akkana%netscape.com
ce6c1f2bdd Oops, I misunderstood tor's fix for the sunos bustage
git-svn-id: svn://10.0.0.236/trunk@37911 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 23:41:29 +00:00
akkana%netscape.com
1ced106a53 Fix gcc 2.7.2.3 build -- thanks to tor@boojum.cs.brown.edu (Tim Rowley) for the fix
git-svn-id: svn://10.0.0.236/trunk@37909 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 23:31:03 +00:00
warren%netscape.com
be69b669fb Added necko util glue.
git-svn-id: svn://10.0.0.236/trunk@37881 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 21:49:24 +00:00
warren%netscape.com
32f5401615 Fixed NewURL for necko.
git-svn-id: svn://10.0.0.236/trunk@37880 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 21:48:46 +00:00
buster%netscape.com
210b24c193 minor bug fixes
git-svn-id: svn://10.0.0.236/trunk@37864 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 20:46:59 +00:00
kin%netscape.com
0d49f312e2 Added ApplyStyleSheet() method to the various editor interfaces.
git-svn-id: svn://10.0.0.236/trunk@37845 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 19:32:35 +00:00
warren%netscape.com
8b1231e0ae Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport.
git-svn-id: svn://10.0.0.236/trunk@37754 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 19:30:20 +00:00
akkana%netscape.com
49826cb224 Oops, making wrapcolumn unsigned was a mistake. (Thanks to slamm's
warnings page for showing me that!)  Change it back to signed.


git-svn-id: svn://10.0.0.236/trunk@37746 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 19:01:04 +00:00
buster%netscape.com
0513dccdf4 0. possible fix for Sun build bustage.
1. IsEditable is much less hacky.  It basically says:
  1. if the node is a special bogus text node, it's not editable
  2. if the node is a text node with only newlines, then it's not editable
  3. if the node has no frame associated with it, then it is not editable
  4. otherwise, it is editable.
As part of this, I had to make IsEditable non-static.  This had some cascading effects on static methods that called
IsEditable, which likewise had to be made non-static.

2. SetTextProperties now works when the endpoints are leaf nodes (like images), not just text.  Charlie, you should
put this through some stress cases.


git-svn-id: svn://10.0.0.236/trunk@37741 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 18:42:28 +00:00
buster%netscape.com
4a772c42c0 fixed unit test to handle new default doc
git-svn-id: svn://10.0.0.236/trunk@37729 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 18:24:07 +00:00
jfrancis%netscape.com
aaaa87a18c some cleanup and also selection enforcement for plaintext documents: selection is pinned to within the PRE tag on any edit action
git-svn-id: svn://10.0.0.236/trunk@37698 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 13:42:03 +00:00
akkana%netscape.com
2fb45d996c - New dialog and editor shell API for Insert HTML Source
- Add wrapcolumn setting to document encoders, and use it in the editor
- Fix numbered lists in the html to text sink stream.


git-svn-id: svn://10.0.0.236/trunk@37529 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 19:26:08 +00:00
kin%netscape.com
ae35fb03ad Fix Linux build bustage by including nsIDOMCharacterData.h.
git-svn-id: svn://10.0.0.236/trunk@37507 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 00:52:25 +00:00
tague%netscape.com
9c7f494efd Fixed conditional problem on Unix.
git-svn-id: svn://10.0.0.236/trunk@37469 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 21:12:43 +00:00
scc%netscape.com
a2d0be4d64 |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()|
git-svn-id: svn://10.0.0.236/trunk@37444 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 21:01:31 +00:00
tague%netscape.com
ea708a16a8 Added clause and selection support for Input Methods. Fixes bug #8639, #8459, #6989, #7824
git-svn-id: svn://10.0.0.236/trunk@37435 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 20:31:22 +00:00
sfraser%netscape.com
20ffc454a0 Call the Output routines with a new param for selection only.
git-svn-id: svn://10.0.0.236/trunk@37426 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 20:14:58 +00:00
sfraser%netscape.com
1cd4f8b45d Add new aSelectionOnly param to Output routines
git-svn-id: svn://10.0.0.236/trunk@37424 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 20:14:24 +00:00
buster%netscape.com
61945a51b0 caret is placed after inserted element, matches Nav 4 behavior.
git-svn-id: svn://10.0.0.236/trunk@37236 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 21:35:57 +00:00
akkana%netscape.com
6923eadd06 Fix a warning
git-svn-id: svn://10.0.0.236/trunk@37234 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 21:26:31 +00:00