sspitzer%netscape.com
48e63af399
move the nsICmdLineHandler responsibilties from nsHTMLEditorLog to nsEditorService. r=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@61035 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 03:14:20 +00:00
sfraser%netscape.com
7fd02b94d1
Give the controller an Init method, and implement a bunch of commands the New Way. for bug 18395. r=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@61005 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 01:37:12 +00:00
sfraser%netscape.com
48d4c08c0d
Expose the transaction manager to outside, for bug 18395. r=akkana
...
git-svn-id: svn://10.0.0.236/trunk@61004 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 01:36:30 +00:00
cmanske%netscape.com
e080bb6c86
Table editing work (bug 20973). Fixed background colorpicker (bug 21410), disable unimplemented menu items (25137), make property bundle strings more localizable (26050). r=mjudge
...
git-svn-id: svn://10.0.0.236/trunk@60284 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 05:14:52 +00:00
cmanske%netscape.com
2ce1bef073
More table editing work (bug 20973) and Page Properies dialog work (bug 14344). Added missing 'tbody' to nsIAtoms list. r=mjudge
...
git-svn-id: svn://10.0.0.236/trunk@59605 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 02:06:10 +00:00
jfrancis%netscape.com
043767a4ef
more inline style feedback fixes (24574). r=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@59551 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:47:43 +00:00
cmanske%netscape.com
c4d88f4318
Table editing (bug 20973): added support for rowspan/colspan=0, Rewrote Spelling Dictionary dialog (bug 24264), removed beep from forceInteger filter, r=akkana
...
git-svn-id: svn://10.0.0.236/trunk@58784 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 14:57:43 +00:00
sfraser%netscape.com
a65a684b15
WIP for 18395, various editor command handling and updating changes. r=akkana
...
git-svn-id: svn://10.0.0.236/trunk@58123 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 21:50:15 +00:00
scc%netscape.com
96366ed541
Fix build bustage; r=sfraser. My theory for what the current build bustage is: `tainted' |nsCOMPtr<nsIDOMElement>| definition. The full definition of |nsIDOMElement| must be in scope first.
...
git-svn-id: svn://10.0.0.236/trunk@57780 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 04:14:09 +00:00
cmanske%netscape.com
d4e1176a34
Table editing work and fixed bug 21389, r=buster. Added detecting table, row, or cell for setting background color, bug 7992, r=kin. Renamed overloaded GetDocumentTitle to GetDocumentTitleString and set new URL of saved page in webshell, bug 23726, r=mjudge
...
git-svn-id: svn://10.0.0.236/trunk@57722 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 23:33:00 +00:00
akkana%netscape.com
5bf44a084f
22655: add API to allow specifying charset when inserting/quoting html. r=rhp
...
16015: Add API and implementation for delete-to-beginning (^U). r=slamm,rhp
490: Insert formatting newlines when inserting new nodes. r=rhp
git-svn-id: svn://10.0.0.236/trunk@56743 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 20:38:12 +00:00
jfrancis%netscape.com
11faed23b2
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).
git-svn-id: svn://10.0.0.236/trunk@56714 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 03:09:41 +00:00
waterson%netscape.com
b92492808a
Fix whitespace snafu that was tripping up my gmake.
...
git-svn-id: svn://10.0.0.236/trunk@56039 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 07:18:41 +00:00
mjudge%netscape.com
212f24a709
adding in nsEditorController to makesystem. adding in registration to allow someone to get an editorcontroller from the outside. also change editor shell to register a controller to handle keyboard navigation.
...
git-svn-id: svn://10.0.0.236/trunk@56025 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 03:46:27 +00:00
mjudge%netscape.com
7c3c21e478
adding in nsIEdkitorController.h
...
git-svn-id: svn://10.0.0.236/trunk@56023 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 03:36:12 +00:00
mjudge%netscape.com
8ce8204d2a
adding in header files for massive checkins. reviewed akkana, mcc
...
git-svn-id: svn://10.0.0.236/trunk@56022 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 03:35:44 +00:00
ftang%netscape.com
c02259352d
fix bug 12090 19358. Implement ForceCompositionEnd and add it in the beginning of AddInlineProperty/RemoveInlineProperty/InsertElement/InsertHTML
...
git-svn-id: svn://10.0.0.236/trunk@55702 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 03:39:36 +00:00
jfrancis%netscape.com
edba5add24
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.
...
git-svn-id: svn://10.0.0.236/trunk@55568 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 08:30:19 +00:00
ftang%netscape.com
199df01b45
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
...
git-svn-id: svn://10.0.0.236/trunk@55502 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 01:29:00 +00:00
akkana%netscape.com
4059b56e74
18033: Add editor API for delete methods, and hook up an initial
...
set of emacs key bindings for Unix. r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@54475 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 04:11:51 +00:00
jfrancis%netscape.com
6bcc04a122
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.
git-svn-id: svn://10.0.0.236/trunk@54462 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 00:16:56 +00:00
akkana%netscape.com
bcb564f007
19610: Change InsertAsQuotation API to return inserted node r=rhp
...
git-svn-id: svn://10.0.0.236/trunk@54423 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 20:48:59 +00:00
cmanske%netscape.com
fc50750177
Partial fix for 14344(Page Properties) and 18774(Increase/Decrease Font Size). Fixed 18234 (move Advanced Edit button), 18485 (don't prompt for title with Save As), 16714 (undefined value for para. property combobox) and 18494 (add filename to window caption). Improved Image Properties dialog and CSS style for toolbars. Added new Composer icons. r=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@53428 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 16:37:58 +00:00
dmose%mozilla.org
0efb7c174c
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
joki%netscape.com
c79e9c67d2
Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur
...
git-svn-id: svn://10.0.0.236/trunk@52691 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 07:11:45 +00:00
cmanske%netscape.com
3054ed7de9
Fixed bugs 6278, 9758, 17014, 17071, 17160. r=sfraser,mjudge
...
git-svn-id: svn://10.0.0.236/trunk@51910 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 23:13:00 +00:00
cmanske%netscape.com
1347e8f244
Fixed bugs 16204, 16118, 15831,15448,14342(partial) r=mjudge
...
git-svn-id: svn://10.0.0.236/trunk@50627 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 00:13:27 +00:00
jfrancis%netscape.com
0209785bbb
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 r=buster@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@49999 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 19:34:09 +00:00
cmanske%netscape.com
c586988364
Carpool checkin, r=brade. Lots of editor UI work, including new Advanced Edit dialog by Ben Goodger. Fixed style sheet loading leaks and implemented override style sheets for editor behavior, which be unloaded for edit mode vs. browser preview mode
...
git-svn-id: svn://10.0.0.236/trunk@49362 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 21:45:50 +00:00
jfrancis%netscape.com
8e3610bfe2
revised UNDO; introduced first cut at the "mozdiv" typing rules
...
git-svn-id: svn://10.0.0.236/trunk@49317 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 20:08:15 +00:00
cmanske%netscape.com
d733c2160f
More list property dialog work. Remaned GetParagraphStyle to more readable GetParagraphTags. Added GetListTags needed for list manipulation. Enhanced GetElementOrParentByTagName to handle lists
...
git-svn-id: svn://10.0.0.236/trunk@48795 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 05:52:44 +00:00
sfraser%netscape.com
f403aa7ad8
Expose the type-in state through nsIHTMLEditor
...
git-svn-id: svn://10.0.0.236/trunk@48714 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 01:21:56 +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
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
briano%netscape.com
6fe5ac28de
General cleanup.
...
git-svn-id: svn://10.0.0.236/trunk@46494 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 03:34:19 +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
sfraser%netscape.com
260ecde23a
File Removed.
...
git-svn-id: svn://10.0.0.236/trunk@46390 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 20:07:57 +00:00
sfraser%netscape.com
8d49bac555
Remove commented out nsIEditRules
...
git-svn-id: svn://10.0.0.236/trunk@46389 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 20:06:01 +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
cmanske%netscape.com
340b31c86b
Added CloneAttributes to IDL and nsIHTMLEditor. Reworked property dialogs to accomodate AdvancedEdit dialog. Preliminary version of AdvancedEdit dialog done
...
git-svn-id: svn://10.0.0.236/trunk@45620 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 01:47:18 +00:00
cmanske%netscape.com
4192db5431
Changed IsNodeBlock to NodeIsBlock for JS. Fixed all compiler warnings. Added Advanced property Edit files
...
git-svn-id: svn://10.0.0.236/trunk@45482 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 19:58:25 +00:00
cmanske%netscape.com
03f3145567
Exposed IsNodeBlock for JavaScript. Added comments for editor methods. Temporary fix for insert image bug (12917). Fixed bug 11857. Preliminary support for setting title and adding Cancel button in message dialogs.
...
git-svn-id: svn://10.0.0.236/trunk@45410 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:22:37 +00:00
cyeh%netscape.com
c6342ee432
Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
...
git-svn-id: svn://10.0.0.236/trunk@45379 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:54:34 +00:00
tague%netscape.com
6bbc6c0935
Added support for a reply from the StartComposition message. Necessary for XIM support on UNIX.
...
git-svn-id: svn://10.0.0.236/trunk@45252 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 01:20:32 +00:00
cmanske%netscape.com
117195748b
Removed string bundle code from nsEditor into EditorShell and added access for JavaScript. Moved most of Save document code into EditorShell and added filetype filters to save dialog. Placed Advanced Edit functionality in an overly file. Removed redundant entity strings, that are now in overlays, from DTD files.
...
git-svn-id: svn://10.0.0.236/trunk@44967 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 02:40:18 +00:00
cmanske%netscape.com
38146f9df0
Fixed bug 12126. Removed pref code from nsHTMLEditor - do HLine pref stuff in JS instead.
...
git-svn-id: svn://10.0.0.236/trunk@44747 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 04:12:47 +00:00
akkana%netscape.com
131d318ad4
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.
git-svn-id: svn://10.0.0.236/trunk@44308 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 18:30:19 +00:00
buster%netscape.com
9d94630564
fixed some documentation
...
git-svn-id: svn://10.0.0.236/trunk@43591 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 13:33:49 +00:00
tague%netscape.com
1bdbfaf844
Fix bug #11687 - [Dogfood] Enable ender to save documents in encodings other than ISO-8859-1. Approved by chofmann@netscape.com, reviewed by buster@netscape.com.
...
git-svn-id: svn://10.0.0.236/trunk@43310 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-13 22:26:50 +00:00
slamm%netscape.com
2125e5aafb
Add a newline to the end of the file.
...
git-svn-id: svn://10.0.0.236/trunk@43078 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 23:17:10 +00:00