[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
[email protected]
83e76ed094
don't prompt to save changes to an empty/new window (bug #13933 ) fix by sfraser r=brade
1999-12-21 15:27:54 +00:00
[email protected]
389d4120c1
21534 (part of 18033 and 18046): handle delete word and to-end functionality
...
outside of any selection batching (didn't work when inside a batch).
r=jfrancis; part of Mike's 18046 fixes which are a=chofmann.
1999-12-14 23:07:12 +00:00
[email protected]
a4bd62eb2c
bug 21378
...
r=rods
a=chofmann
changed CanUndo and CanRedo to return the right value. They were returning the opposite of what they ought to have returned.
1999-12-10 21:43:52 +00:00
[email protected]
30344ef65e
fix bug 19358. r=jfrancis . Forece commit when we Undo, SelectAll or Paste
1999-12-09 22:35:17 +00:00
[email protected]
00270059ab
fix bug 12090 19358. Implement ForceCompositionEnd and add it in the beginning of AddInlineProperty/RemoveInlineProperty/InsertElement/InsertHTML
1999-12-08 03:39:36 +00:00
[email protected]
898a1b4dcd
fix for 20457: deletion in editor pretty darn screwy. Lots of changes to improve this. Document modifying entry points in editor now go thru a standard sandwich, which allows tracking of what changed in the doc, which allows proper post-processing of what changed. Also, all deletions now go thru the rules code, if applicable. Also some bugs in tracking the changed document portion have been fixed. Finally selection setting after a delete is improved.
1999-12-07 08:30:19 +00:00
[email protected]
aba663db9f
add query composition event which get current curosor position. add timer base IME x y location query for gtk. r=erik. fix bug 17916 20550
1999-12-07 01:29:00 +00:00
[email protected]
ec72f4551c
18033: Editor changes to use the new nsISelectionController interface.
...
Triggered from key events. Untested since the nsISelectionController
implementation isn't in yet (bug 18046), but key events do call
the stub routines. r=mjudge
1999-12-02 21:47:30 +00:00
[email protected]
3abca0bf7e
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
1999-11-30 04:50:42 +00:00
[email protected]
19707be118
removing obsolete d&d code and changing from CID's to progID's in d&d code. r=akkana.
1999-11-30 00:10:55 +00:00
[email protected]
41639d5260
18033: Add editor API for delete methods, and hook up an initial
...
set of emacs key bindings for Unix. r=jfrancis
1999-11-25 04:11:51 +00:00
[email protected]
5290635763
implemented a system to track what portion of a document is affect by an editor action. Used that system to help solve extensive whitespace handling problems, ans also problems with caret placement in response to returns (this lattter fix for html editors only - plaintext coming later). Fixed numerous list bugs involving outdenting, unlisting, and splitting lists.
Checkin addressees these bugzilla bugs:
2073 & 12337 - whitespace trouble when typing (you can end up with all nbsp's instead of spaces)
16715 - caret gone or wrong after hitting return
16988 - aim foiled by our mozDIVs
17908 - enter at end of document does nothing
16085 - 4.x mail replied foiled by mozDIVs
19368 - inline style lost after typing return
17059 - "normal" made a paragraph, but typing made a div. Now they both just use direct text in the body (or wherever)
18717 - exiting list gives UBER caret (note: this will only be fixed most of the time, not all)
17778 - cant type beside an image (it ends up above or below it) - this was a rather strange ramification of the old mozDIV
rules which are now gone.
1999-11-25 00:16:56 +00:00
[email protected]
5a35d3bb06
during CloneAttributes, delete all the nodes attached (not half of them); discovered when fixing bug #14750 ; [email protected]
1999-11-18 20:34:15 +00:00
[email protected]
e9a4645ad0
Use Recycle to free nsStrings; and fix a warning
1999-11-18 19:40:30 +00:00
[email protected]
cbaff26b40
some fixes for deletion and also selection movement, contributed by Steve Clark. fixes bug 18537 (backspace can delete entire line); r = buster
1999-11-17 11:30:39 +00:00
[email protected]
7d20cf662f
rewrote GetFirstEditableNode() / GetLastEditableNode(). This fixes bugs: 18922, 18938, 18723; r=floppy moose
1999-11-17 11:03:25 +00:00
[email protected]
7f3709df3b
pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov
1999-11-14 02:51:25 +00:00
[email protected]
ff2ca40495
partial fix for bug 14599. We no longer crash. The frameset loads in the editor window,
...
but no editor is actually attached, so no editing is possible. Next step is
to detect the error case and stop the document load altogether.
1999-11-11 19:22:30 +00:00
[email protected]
20621227af
updated xPL license boilerplate to v1.1, [email protected] ,[email protected]
1999-11-06 03:43:54 +00:00
[email protected]
9806bd5f8c
bug 17744; a=choffman; r=floppy moose
1999-11-05 00:46:06 +00:00
[email protected]
824ba18df3
Removed unused NECKO ifdefs.
...
a=leaf
1999-11-02 23:34:03 +00:00
[email protected]
2ad1b77704
Changed NS_NOTREACHED to be NS_WARN_IF_FALSE() so as to not crash everyone. r=sfraser.
1999-11-02 05:12:05 +00:00
[email protected]
6b5a1f64cd
fixes for bugs: 16361,12253,15696,15734; r=sfraser
1999-11-01 15:15:35 +00:00
[email protected]
fc254abc98
Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
...
r=scc
1999-10-28 03:16:48 +00:00
[email protected]
d6d793f443
Ooops.. tree closed, better back these out for now. Sorry.
1999-10-27 21:01:37 +00:00
[email protected]
2bc87841c4
Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
...
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)
1999-10-27 20:24:21 +00:00
[email protected]
466feb317f
reworking editor IME supoprt; r=kin; bugs: 13576, 11878, 11994, 13494, 16432
1999-10-26 18:54:47 +00:00
[email protected]
71ff04097f
Removal of calls to PR_MumbleMonitor, which were way too heavy-handed for the job. Replaced with PR_AtomicInc/Decrement. part of module sweep, r=morse, pavlov
1999-10-21 05:36:21 +00:00
[email protected]
063250d5f8
1. add asserting code to check null ptr
2. add if code and return NS_ERROR_NULL_POINTER if the ptr is null
3. add code to check return value
r=myself
1999-10-18 14:48:41 +00:00
[email protected]
338f20ecd0
fixed my part of bug 15814 (Cleanup build warnings)
...
so trivial, no reviewer needed
fixed my part of bug 5403 (Services improperly released: Use NS_WITH_SERVICE)
a handful of subtle error handling bugs were fixed as a side effect
r=Akkana
1999-10-08 14:39:20 +00:00
[email protected]
046efa064f
Whoops, backed out last check - wasn't supposed to land it
1999-10-07 20:46:50 +00:00
[email protected]
1fd9a4bb2b
r=kin; Added in ctor/dtor counts
1999-10-07 20:45:56 +00:00
[email protected]
bbbba65277
fixed some space leaks reported by kipp. no bug #, r=tague
...
added some assertions and error checking to nsEditor::Do, no bug #, r=kin
fixed bug 14898 (implemented type-in state for any context), r=jfrancis
1999-10-06 20:27:41 +00:00
[email protected]
1da48ebc1c
revised rules system api to include "handled" parameter and ceased to overload the meaning of the "cancel" parameter; added TypedText() method to editor, editorshell, and logging, so that logging will work properly with typing; coallesce deletions for undo purposes [email protected]
1999-10-06 19:34:09 +00:00
[email protected]
2201b32c6d
14731: only insert formatting whitespace for block nodes
1999-09-29 20:19:20 +00:00
[email protected]
6e591b2920
revised UNDO; introduced first cut at the "mozdiv" typing rules
1999-09-29 20:08:15 +00:00
[email protected]
c3218394f2
fixed bug 13887, caret in odd place at editor launch
...
a=chofmann, r=sfraser
1999-09-28 00:49:56 +00:00
[email protected]
84763c193b
fixed IsEditable again, based on new info.
...
Now, only \n are held in the content model, making the original
implementation correct.
a=chofmann, r=akkana
1999-09-23 19:08:42 +00:00