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
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
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
buster%netscape.com
7391f40410
implemented most of max length handling
...
git-svn-id: svn://10.0.0.236/trunk@36964 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 22:57:26 +00:00
mcafee%netscape.com
d80754b545
Adding comment for BeOS.
...
git-svn-id: svn://10.0.0.236/trunk@36891 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 14:26:21 +00:00
jfrancis%netscape.com
475b049f3c
these are not the droids you are looking for
...
git-svn-id: svn://10.0.0.236/trunk@36871 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 10:36:54 +00:00
jfrancis%netscape.com
d314457228
improvement of editing rules for insert list, indent, outdent, and change alignment
...
git-svn-id: svn://10.0.0.236/trunk@36861 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 09:33:02 +00:00
cmanske%netscape.com
3a2e4a5152
Expanded nsIEditPropery to include all (I hope) HTML tags
...
git-svn-id: svn://10.0.0.236/trunk@36830 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 03:18:42 +00:00
buster%netscape.com
9c117ff5c2
added nsIEditProperty::img
...
git-svn-id: svn://10.0.0.236/trunk@36765 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 23:34:41 +00:00
cmanske%netscape.com
078a1a95b5
Fixed GetBodyElement. Changed editor test doc to not use CSS for background. Initial code to edit element properties when double-clicking on element.
...
git-svn-id: svn://10.0.0.236/trunk@36724 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 20:59:45 +00:00
warren%netscape.com
06d707be48
Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
...
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
akkana%netscape.com
4120467dac
Use deep first/last child for Beginning/EndOfDocument methods
...
git-svn-id: svn://10.0.0.236/trunk@36345 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 21:42:44 +00:00
jfrancis%netscape.com
b2f2bf7a70
turn off link following in the editor
...
git-svn-id: svn://10.0.0.236/trunk@36031 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 07:49:03 +00:00
valeski%netscape.com
4fa4e2e84d
NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061.
...
git-svn-id: svn://10.0.0.236/trunk@35863 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-18 17:34:08 +00:00
jfrancis%netscape.com
1b33a49066
bug 8303; rvd kin; aprvd buster; aprvd chofmann
...
git-svn-id: svn://10.0.0.236/trunk@35734 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 21:38:04 +00:00
akkana%netscape.com
e413aafe07
8283: Fix crash because selectin wasn't initialized. r=sfraser/a=leaf
...
git-svn-id: svn://10.0.0.236/trunk@35728 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 21:02:25 +00:00
jfrancis%netscape.com
ca6c1a3d36
editor rules framework for {make list, indent, outdent, change alignment}
...
git-svn-id: svn://10.0.0.236/trunk@35666 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:02:43 +00:00
kin%netscape.com
38bb3e3ed2
* Added StartLogging() and StopLogging() methods to nsIEditor,
...
nsIHTMLEditor, nsITextEditor, and nsIEditorShell and enabled
the "Start Log" and "End Log" menu items in the editor test bed.
* Modified makefiles for Unix and Win32 to turn on Editor API Logging.
* Added action argument to the DeleteSelection() method in nsIEditorShell.
* Modified nsJSTxnLog to use nsJSEditorLog when writing it's output.
git-svn-id: svn://10.0.0.236/trunk@35149 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:02:46 +00:00
buster%netscape.com
91f2070891
changed the way nsEditProperty is used. Right now, it's our placeholder
...
for HTML and CSS atoms, since we can't get these from layout yet. The old
use assumed one editor, but as we know many editors can exist simultaneously.
Now, the editors share a singleton which is fetched from a factory method,
saving memory and allocation overhead.
git-svn-id: svn://10.0.0.236/trunk@35033 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 21:15:14 +00:00
sfraser%netscape.com
84c77414a8
Add factory for EditorShell, and fix case of GetMonitor call.
...
git-svn-id: svn://10.0.0.236/trunk@34815 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:01:07 +00:00
akkana%netscape.com
91f72d1f82
Implement InsertHTML.
...
Also, some minor fixes, like warning removal and addition of error checking
in files which needed it.
git-svn-id: svn://10.0.0.236/trunk@34645 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:31:42 +00:00
kin%netscape.com
87f40affc1
First pass checkin of the JavaScript editor logging mechanism. All changes are
...
ifdef'd with ENABLE_JS_EDITOR_LOG.
git-svn-id: svn://10.0.0.236/trunk@34611 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 19:41:40 +00:00
cmanske%netscape.com
f46ece1554
Fixed fingers-to-quick checkin error
...
git-svn-id: svn://10.0.0.236/trunk@34350 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 02:28:47 +00:00
cmanske%netscape.com
45befba712
Moved destination of editor string bundle file to editor's chrome directory
...
git-svn-id: svn://10.0.0.236/trunk@34349 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 02:26:48 +00:00
cmanske%netscape.com
5cc87fa56e
Added support for prefs and string bundles for editor, various bug fixes, preliminary Horizontal Line dialog work
...
git-svn-id: svn://10.0.0.236/trunk@34343 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 01:27:08 +00:00
buster%netscape.com
4bad1b96b8
* Added nsAutoSelectionReset, a tiny class that resets the selection to what it was before a block transformation.
...
* Added some code to restore selection after RemoveTextProperty.
* Made a tiny change to the way the editor holds onto the transaction manager, so client (like the ender text control) can
turn undo on and off effectively
* Fixed a bug in IsNodeInline that was causing GetBlockParent to return the wrong parent node (and who knows what
other mischief) where atom compares were being done on strings of different case, for <B>, "b" vs. "B". The DOM
method nsIDOMElement::GetTagName forced the returned tag name to upper case. I don't know how long that has
been true, but I assume it's a fairly recent change (or something on our side related to it changed recently) or this method
never would have worked. I also found a few cases of nsString::Equals that I changed to EqualsIgnoreCase
* Made some general improvements to the interaction between editors and rules, so that the aCancel out param is always
intialized, and all rules with Will... are matched with a Did... call. Added Will/DidSetTextProperty() and
Will/DidRemoveTextProperty(). This helps enable plain text mode. Added a skeleton for max length support in text editor.
* fixed some warnings.
git-svn-id: svn://10.0.0.236/trunk@34183 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 06:04:51 +00:00
briano%netscape.com
a5a074461d
Handle the (Unix) platform-specific DLL naming conventions properly.
...
git-svn-id: svn://10.0.0.236/trunk@33800 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:17:30 +00:00
jfrancis%netscape.com
491c1d952c
fixing a comment
...
git-svn-id: svn://10.0.0.236/trunk@33510 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 05:58:38 +00:00
kin%netscape.com
ffa546bdb8
Fixed double addref in EnableUndo() that was causing us to leak the transaction manager on destruction of the editor.
...
git-svn-id: svn://10.0.0.236/trunk@33158 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 21:49:24 +00:00
jfrancis%netscape.com
677f048b01
cleanup util function duplication
...
git-svn-id: svn://10.0.0.236/trunk@33152 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 21:17:30 +00:00
sfraser%netscape.com
da0d7aa52f
Removed obsolete IID definitions, use GetIID() instead.
...
git-svn-id: svn://10.0.0.236/trunk@33047 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:20:41 +00:00
sfraser%netscape.com
580f23cfb4
Add unit test call to nsIEditor, and implement it in nsText- and nsHTMLEditors.
...
git-svn-id: svn://10.0.0.236/trunk@32880 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 04:10:04 +00:00
akkana%netscape.com
156d763247
Insert / Paste as Quotation.
...
git-svn-id: svn://10.0.0.236/trunk@32824 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 00:08:15 +00:00
cmanske%netscape.com
eaea155fe6
Continued UI work: Spell checker fixes, toolbar improvements, popup menus implemented for paragraph style, font face and color, setting font color test UI, etc.
...
git-svn-id: svn://10.0.0.236/trunk@32726 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:40:51 +00:00
kin%netscape.com
85e00a320c
Disabled HACKForceRedraw() calls. Added calls to nsIViewManager::BeginUpdateViewBatch() and nsIViewManager::EndUpdateViewBatch().
...
git-svn-id: svn://10.0.0.236/trunk@32714 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:18:12 +00:00
akkana%netscape.com
0325b11e9d
6773: an nsresult was being checked before it was initialized. Appv'd chofmann
...
git-svn-id: svn://10.0.0.236/trunk@32364 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 01:48:12 +00:00
kin%netscape.com
b1424f52bf
Fix for bug #4796 : UMR: nsEditor::JoinNodesImpl().
...
git-svn-id: svn://10.0.0.236/trunk@31903 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 18:59:40 +00:00
kin%netscape.com
31bd0fb412
Commented out all calls to HACKForceRedraw(). We now call it from
...
nsEditor::EndTransaction().
git-svn-id: svn://10.0.0.236/trunk@31897 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 13:31:56 +00:00
jfrancis%netscape.com
2a700f7f7c
insert list and indent work
...
git-svn-id: svn://10.0.0.236/trunk@31895 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 12:22:31 +00:00
mjudge%netscape.com
b1fe71c301
adding in selection ability for images in editor only
...
git-svn-id: svn://10.0.0.236/trunk@31873 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 00:21:50 +00:00
akkana%netscape.com
622007a1d7
5786: Cut shouldn't do anything when selection is collapsed
...
git-svn-id: svn://10.0.0.236/trunk@31638 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 19:24:10 +00:00
rods%netscape.com
089a8e7024
removed reference to nsIDataFlavor and merged nsITransferable and nsIGenericTransferable
...
git-svn-id: svn://10.0.0.236/trunk@31462 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 21:53:57 +00:00
sfraser%netscape.com
0659e88f57
Fix misplaced )
...
git-svn-id: svn://10.0.0.236/trunk@31407 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 04:42:11 +00:00
tague%netscape.com
4e4477d076
Added work around for #5912
...
git-svn-id: svn://10.0.0.236/trunk@31315 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 23:23:14 +00:00
sfraser%netscape.com
ac1a4a233b
Added file opening functionality
...
git-svn-id: svn://10.0.0.236/trunk@31300 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:24:47 +00:00
akkana%netscape.com
1c82a16281
Add test for IsDataFlavorSupported for xpfe folks to fix bug 6289
...
git-svn-id: svn://10.0.0.236/trunk@31169 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 23:34:40 +00:00
rods%netscape.com
220cb361cc
Removed static IID defs and am now using GetIID from the interface
...
git-svn-id: svn://10.0.0.236/trunk@30709 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:39:58 +00:00
dp%netscape.com
f015deb427
Converting stray UnregisterFactory calls to UnregisterComponent
...
git-svn-id: svn://10.0.0.236/trunk@30485 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:37:04 +00:00
akkana%netscape.com
392f2f0298
- Rename iDirection enum to ECollapsedSelectionAction
...
- Initial implementation of Insert HTML
git-svn-id: svn://10.0.0.236/trunk@30432 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:27:17 +00:00