Commit Graph
277 Commits
Author SHA1 Message Date
[email protected] 510f25ee7f Fixed problem in nsEditor::CloneAttributes where undo system used when it shouldn't. b=41862. r=sfraser. a=beppe 2000-06-14 01:32:27 +00:00
[email protected] 86464b6803 bug=34896 changing use of CreateElement to CreateElementNS. this was necessary outside of ender-lite also. good change. r=jfrancis a=beppe 2000-06-07 01:18:12 +00:00
[email protected] acba9d4138 fixing caret usages. hiding caret now is done by giving the stack destructor a caret * not a presshell 2000-06-01 02:38:13 +00:00
[email protected] d1845c26a4 fixes: 14753, 29843, 39864, 40141, 40139, 36679, 39542, 34729, 34855, 37216, 39292, 26447 r=sfraser,cmanske,fm; a=beppe 2000-05-24 23:00:24 +00:00
[email protected] f5152be16c no point in turning off the link handler if we are allready in text only mode. 2000-05-15 05:18:45 +00:00
[email protected] b41a13ff87 changes to add hidden attribute on selection. also to make setcaret go through the selection controller 2000-05-11 04:22:32 +00:00
[email protected] 2e5d962486 editor embedding work; fixing bug with making lists 2000-05-09 21:06:49 +00:00
[email protected] 3005d83e28 we get selection controller not from pres shell. we get it from GetSelectionController 2000-05-08 04:01:26 +00:00
[email protected] 2c0d652f5b fixing bugs with paste; making paste not inherit local inline stlyes 2000-05-05 20:42:36 +00:00
[email protected] 52992a87eb merge error. my fault. fix 2000-05-04 09:32:40 +00:00
[email protected] 5a4454305b massive change to prepare for ender-lite. should be a no-op for current implementation 2000-05-04 08:33:48 +00:00
[email protected] a0f10eeda6 implementing list behavior spec, plus a few bug fixes 2000-05-03 00:14:28 +00:00
[email protected] df1bc44c8e massive change to stop the editor fromknowing about nsIPresShell or nsIDocument 2000-04-28 06:20:36 +00:00
[email protected] 2e85db0702 ender lite checkin. 2000-04-27 07:37:12 +00:00
[email protected] b45a35fb67 Change Save File APIs in layout and editor to eliminate the specific
references to text and html and make them more general (take a mime type).
In the editor, prettyprint all output if editor.prettyprint_html is set.
2000-04-26 01:00:50 +00:00
[email protected] 0f1dbde8d2 lots of improvements to block transformations: 1) looks inside inlines for breaks; 2) fixes the "extra break when unlisting" bug 3) changing paragraph style to normal consistently gets breaks 4) any splitting needed occurs when blocks inserted plus a lot of small bug fixes 2000-04-24 11:51:12 +00:00
[email protected] ff5d498e92 making string conversions explicit 2000-04-18 07:44:58 +00:00
[email protected] 9b73f043d0 Fix for bug 30958: Reflow commands are now processed asynchronously all the time. The semantics of the API for queuing and processing reflow commands has changed. Now, AppendReflowCommand() initiates an asynchronous reflow event and all reflow command processing happens when that event fires. It is no longer possible for consumers outside the presentation shell to call ProcessReflowCommands() synchronously. Because of this change, reflow locks are no longer needed and have been removed. 2000-04-17 07:13:57 +00:00
[email protected] 9ba70943d6 Lots and lots of bug fixes and XUL widget conversions. Work in progress, but must checkin to allow XPFE to fix bugs 2000-04-14 03:19:31 +00:00
[email protected] d8d253bfb0 Wrote RemoveAllInlineProperties() to deal with clearing out inline style, and also fixed a bunch of IME bugs. 2000-04-13 21:50:19 +00:00
[email protected] 9b2a1387e8 making editor hip to inline style changes on collapsed selections. plus lots of removal of unused code. 2000-03-29 12:53:23 +00:00
[email protected] 1c9deee7ca small changes to clients of string converting APIs 2000-03-26 11:39:08 +00:00
[email protected] fee84118d5 33208: Fix problem of editor not initializing on pages with JS. r=sfraser 2000-03-25 02:27:57 +00:00
[email protected] 067bb0b087 improved paste performance in editor (WIP) (bug 28783) set/remove inline stlye rewrite (lots of bug #s) 2000-03-24 00:26:47 +00:00
[email protected] 9b88bd5f90 Fix miscellaneous editor leaks. [email protected] 2000-03-23 01:14:49 +00:00
[email protected] 684b64f73b Finished implementation of menu-driven table selection. Implemented detection of row or column selection. r=mjudge 2000-03-21 06:05:24 +00:00
[email protected] 280fabfb0f fix crashing bug 30120. check in for [email protected] since the crash is
verified and test on my machine. r=ftang, a=bobj. Will check into the beta
branch also.
2000-03-13 02:33:19 +00:00
[email protected] f893513a91 removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
[email protected] d7d46154d9 Fix for 17419. [email protected], [email protected] 2000-03-10 01:30:07 +00:00
[email protected] e54db154c1 Expose the transaction manager to outside, for bug 18395. r=akkana 2000-02-16 01:36:30 +00:00
[email protected] 468208262e 27144: make sure the editor bogus node starts with _moz, and strip it out in html output. r=smfr 2000-02-12 01:58:40 +00:00
[email protected] f8b4591837 Table editing work (bug 20973). Fixed background colorpicker (bug 21410), disable unimplemented menu items (25137), make property bundle strings more localizable (26050). r=mjudge 2000-02-10 05:14:52 +00:00
[email protected] 08010069e2 Prevent synchronous paints during reflows bug 20150; [email protected]
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; [email protected]
2000-02-09 15:48:01 +00:00
[email protected] 7559ed8f2f implementing font increase/decrease size for html editor (bug 18774) r=floppy moose 2000-02-08 12:53:34 +00:00
[email protected] 04714a6896 fixing warning; r=akkana 2000-02-03 23:29:09 +00:00
[email protected] c0d1aebc1c fix for 26299 - editor now uses reflow batching. Long live refow batching! r=kin 2000-02-03 23:17:08 +00:00
[email protected] 8a3be202eb More table editing work (bug 20973) and Page Properies dialog work (bug 14344). Added missing 'tbody' to nsIAtoms list. r=mjudge 2000-02-03 02:06:10 +00:00
[email protected] 85205d27ca make selection sticky across undo/redo (24573); get bold/italic/underline toolbar feedback working (24574); fix for 24856: unable to unbold text; fix for 24572: cant get selection between split lists 2000-01-31 10:30:12 +00:00
[email protected] b992cfdff1 Forgot to remove bogus NS_NOTREACHED line in IsMozEditorBogusNode(). 2000-01-18 23:52:23 +00:00
[email protected] f98db388f1 Fix for bug #24253: [REGRESSION] Redo adds newlines instead of redoing.
mozilla/editor/base/nsEditor.cpp
    mozilla/editor/base/nsEditor.h
      - Added IsMozEditorBogusNode() method.

    mozilla/editor/base/nsTextEditRules.cpp
      - Modified CreateBogusNodeIfNeeded() to check if bodyChild is a
        MozEditorBogusNode so that it doesn't create more than one.
      - Modified DidUndo() and DidRedo() to use IsMozEditorBogusNode().

[email protected]
2000-01-18 23:45:35 +00:00
[email protected] 73d96ff980 WIP for 18395, various editor command handling and updating changes. r=akkana 2000-01-18 21:50:15 +00:00
[email protected] 4d49f9e1e3 * fixed 19596; * fixed 23597; * fixed deletion bug that could cause to breaks to be deleted instead of one, when backspacing once. (no #) * partial fix for current paragraph style not being properly reported in the composer toolbar. (no #) 2000-01-15 14:29:29 +00:00
[email protected] d459b2ef64 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, [email protected]
2000-01-11 20:49:15 +00:00
[email protected] 4192880dbf added in some rules code for mail quoting. This fixes bug: 19979 (extra blank line showing up in mail that has quotes) partial progress on block transformation work: unlisting a list now works mostly correctly again, instead of merging all the former list items into one run of text (no bug number). Moz-br's are now added in one more circumstance: when you have a br at the end of some inline content that is followed by a new block (like a list, table, etc.). This is needed for the same reason that the other moz-br's are: to generate a blank line that the user expects after hitting return. (no bug number) DTD-related work to enable the editor to check if you should be able to type given the current selection. fixed bug 22944: inserting an <A> in a table splits the table. Made some progress on text paste performance, but it's still too slow. That's 19273, which I'm leaving open fixed bug 15258: selection capable of getting out of the body element. fixed a bug where code that merged adjacent text nodes would merge the non-editable "formatting" textnodes, (no bug number). Added code to prevent selection from ending up inside a non-editable text node. fix for 11994, an IME bug. 2000-01-10 10:13:58 +00:00
[email protected] 6440a80186 23169: Fix uninitialized variables, including one which was disallowing splitting lines by hitting return. r=jfrancis 2000-01-06 22:35:04 +00:00
[email protected] 86bd708fe0 continuing the war on the Case Of The Happy Caret 2000-01-05 12:24:10 +00:00
[email protected] 4b03bd99b4 Fixing unix bustage. 2000-01-04 04:28:39 +00:00
[email protected] 20cc199f62 adding construct-time value for an editor member bool. 2000-01-04 04:24:04 +00:00
[email protected] 193b0fa7aa Fix for bug 21346. This is actually a major reworking of how the low level editor txns perturb selection. There is a mode now for telling the txns not to disturb the selection. There is also a fix for unlisting lists (sometimes list items got merged unintentionally when unlisting). 2000-01-04 03:09:41 +00:00
[email protected] d4988b06cc partial fix for bug 15533 (size part). 1. change the return value from nsPiont to nsRect. Change widget code to reflect the change. In Gtk, change XIM FontSet based on the rect height. r=cata a=chofmann 1999-12-22 07:56:40 +00:00