gecko-dev/editor/base
buster%netscape.com 7bc9bfc2b0 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.
1999-07-01 18:42:28 +00:00
..
.cvsignore Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
ChangeAttributeTxn.cpp fixed warnings 1999-06-28 13:44:40 +00:00
ChangeAttributeTxn.h Changed transactions not to have owning pointers to the Editor. 1999-05-28 00:13:02 +00:00
CreateElementTxn.cpp fixed warnings 1999-06-28 13:44:40 +00:00
CreateElementTxn.h Changed transactions not to have owning pointers to the Editor. 1999-05-28 00:13:02 +00:00
DeleteElementTxn.cpp Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
DeleteElementTxn.h Changed transactions not to have owning pointers to the Editor. 1999-05-28 00:13:02 +00:00
DeleteRangeTxn.cpp Changed transactions not to have owning pointers to the Editor. 1999-05-28 00:13:02 +00:00
DeleteRangeTxn.h Changed transactions not to have owning pointers to the Editor. 1999-05-28 00:13:02 +00:00
DeleteTableCellTxn.cpp Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
DeleteTableCellTxn.h Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
DeleteTableColumnTxn.cpp Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
DeleteTableColumnTxn.h Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
DeleteTableRowTxn.cpp Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
DeleteTableRowTxn.h Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
DeleteTableTxn.cpp Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
DeleteTableTxn.h Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
DeleteTextTxn.cpp Changed transactions not to have owning pointers to the Editor. 1999-05-28 00:13:02 +00:00
DeleteTextTxn.h Changed transactions not to have owning pointers to the Editor. 1999-05-28 00:13:02 +00:00
EditAggregateTxn.cpp fixed illegal use of nsCOMPtr 1999-06-24 23:33:18 +00:00
EditAggregateTxn.h fixed illegal use of nsCOMPtr 1999-06-24 23:33:18 +00:00
EditTable.cpp Removed causes of warnings 1999-06-27 17:55:37 +00:00
EditTxn.cpp Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
EditTxn.h Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
IMECommitTxn.cpp Fixed conditional problem on Unix. 1999-06-29 21:12:43 +00:00
IMECommitTxn.h Added clause and selection support for Input Methods. Fixes bug #8639, #8459, #6989, #7824 1999-06-29 20:31:22 +00:00
IMETextTxn.cpp Added clause and selection support for Input Methods. Fixes bug #8639, #8459, #6989, #7824 1999-06-29 20:31:22 +00:00
IMETextTxn.h Added clause and selection support for Input Methods. Fixes bug #8639, #8459, #6989, #7824 1999-06-29 20:31:22 +00:00
InsertElementTxn.cpp caret is placed after inserted element, matches Nav 4 behavior. 1999-06-28 21:35:57 +00:00
InsertElementTxn.h Implement InsertHTML. 1999-06-10 21:31:42 +00:00
InsertTableCellTxn.cpp Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
InsertTableCellTxn.h Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
InsertTableColumnTxn.cpp Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
InsertTableColumnTxn.h Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
InsertTableRowTxn.cpp Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
InsertTableRowTxn.h Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
InsertTableTxn.cpp Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
InsertTableTxn.h Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
InsertTextTxn.cpp Added clause and selection support for Input Methods. Fixes bug #8639, #8459, #6989, #7824 1999-06-29 20:31:22 +00:00
InsertTextTxn.h Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
JoinElementTxn.cpp Change the transactions to have non-owning pointers to the editor. 1999-05-28 00:16:55 +00:00
JoinElementTxn.h Change the transactions to have non-owning pointers to the editor. 1999-05-28 00:16:55 +00:00
JoinTableCellsTxn.cpp Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
JoinTableCellsTxn.h Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
Makefile.in Added clause and selection support for Input Methods. Fixes bug #8639, #8459, #6989, #7824 1999-06-29 20:31:22 +00:00
makefile.win Added clause and selection support for Input Methods. Fixes bug #8639, #8459, #6989, #7824 1999-06-29 20:31:22 +00:00
nsAOLCiter.cpp |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +00:00
nsAOLCiter.h Add Internet and AOL style citers 1999-05-26 23:14:05 +00:00
nsContextLoader.cpp Implemented nsHTMLEditor. Changed prototypes to be use NS_IMETHOD and NS_IMETHODIMP. Started table editing transactions 1999-03-02 05:30:53 +00:00
nsEditFactory.cpp |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +00:00
nsEditFactory.h * the viewer test app now instantiates an nsITextEditor via nsRepository for "Editor mode" 1999-02-12 17:18:58 +00:00
nsEditor.cpp 0. possible fix for Sun build bustage. 1999-07-01 18:42:28 +00:00
nsEditor.h 0. possible fix for Sun build bustage. 1999-07-01 18:42:28 +00:00
nsEditorEventListeners.cpp - New dialog and editor shell API for Insert HTML Source 1999-06-30 19:26:08 +00:00
nsEditorEventListeners.h Preparation for ender-based text control 1999-05-28 21:24:18 +00:00
nsEditorShell.cpp - New dialog and editor shell API for Insert HTML Source 1999-06-30 19:26:08 +00:00
nsEditorShell.h - New dialog and editor shell API for Insert HTML Source 1999-06-30 19:26:08 +00:00
nsEditorShellFactory.cpp Eliminate static nsCOMPtr variables in editor factory classes. 1999-06-18 21:10:59 +00:00
nsEditorShellFactory.h First Checked In. 1999-06-10 23:50:26 +00:00
nsEditProperty.cpp |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +00:00
nsEditProperty.h changed the way nsEditProperty is used. Right now, it's our placeholder 1999-06-12 21:15:14 +00:00
nsEditRules.h checkpointing html typing rules 1999-04-12 12:01:32 +00:00
nsHTMLEditFactory.cpp Eliminate static nsCOMPtr variables in editor factory classes. 1999-06-18 21:10:59 +00:00
nsHTMLEditFactory.h New files for nsHTMLEditor and table editing transactions (not working yet) 1999-03-01 19:54:47 +00:00
nsHTMLEditor.cpp Added clause and selection support for Input Methods. Fixes bug #8639, #8459, #6989, #7824 1999-06-29 20:31:22 +00:00
nsHTMLEditor.h Added clause and selection support for Input Methods. Fixes bug #8639, #8459, #6989, #7824 1999-06-29 20:31:22 +00:00
nsHTMLEditRules.cpp 0. possible fix for Sun build bustage. 1999-07-01 18:42:28 +00:00
nsHTMLEditRules.h 0. possible fix for Sun build bustage. 1999-07-01 18:42:28 +00:00
nsIEditorSupport.h rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
nsIEditProperty.h Changing to using B,I,U for editor style toolbar and remove 'Clear all styles' icon 1999-06-25 20:16:30 +00:00
nsInsertHTMLTxn.cpp Fix build bustage on Win32. 1999-06-10 21:56:47 +00:00
nsInsertHTMLTxn.h Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
nsInternetCiter.cpp |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +00:00
nsInternetCiter.h Add Internet and AOL style citers 1999-05-26 23:14:05 +00:00
nsJSEditorLog.cpp Added clause and selection support for Input Methods. Fixes bug #8639, #8459, #6989, #7824 1999-06-29 20:31:22 +00:00
nsJSEditorLog.h Added clause and selection support for Input Methods. Fixes bug #8639, #8459, #6989, #7824 1999-06-29 20:31:22 +00:00
nsJSTxnLog.cpp Fix for bug #8309: Need to Flush() during Editor API Logging. 1999-06-16 21:27:46 +00:00
nsJSTxnLog.h Fix for bug #8309: Need to Flush() during Editor API Logging. 1999-06-16 21:27:46 +00:00
nsTextEditFactory.cpp |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +00:00
nsTextEditFactory.h Implemented nsHTMLEditor. Changed prototypes to be use NS_IMETHOD and NS_IMETHODIMP. Started table editing transactions 1999-03-02 05:30:53 +00:00
nsTextEditor.cpp 0. possible fix for Sun build bustage. 1999-07-01 18:42:28 +00:00
nsTextEditor.h 0. possible fix for Sun build bustage. 1999-07-01 18:42:28 +00:00
nsTextEditRules.cpp 0. possible fix for Sun build bustage. 1999-07-01 18:42:28 +00:00
nsTextEditRules.h some cleanup and also selection enforcement for plaintext documents: selection is pinned to within the PRE tag on any edit action 1999-07-01 13:42:03 +00:00
PlaceholderTxn.cpp As a reminder, we decided to do this based strictly content. Some support for style-based text properties is written, but not used 1999-04-01 17:58:07 +00:00
PlaceholderTxn.h added PlaceholderTxn. This is an aggregate transaction that sits on the undo stack 1999-03-15 00:57:32 +00:00
SplitElementTxn.cpp Change the transactions to have non-owning pointers to the editor. 1999-05-28 00:16:55 +00:00
SplitElementTxn.h Change the transactions to have non-owning pointers to the editor. 1999-05-28 00:16:55 +00:00
TextEditorTest.cpp fixed unit test to handle new default doc 1999-07-01 18:24:07 +00:00
TextEditorTest.h Add unit test call to nsIEditor, and implement it in nsText- and nsHTMLEditors. 1999-05-27 04:10:04 +00:00
TransactionFactory.cpp Added clause and selection support for Input Methods. Fixes bug #8639, #8459, #6989, #7824 1999-06-29 20:31:22 +00:00
TransactionFactory.h minor fixes and lots of comments 1999-02-15 18:25:30 +00:00
TypeInState.h Must define inline methods _before_ calling them on AIX 4.2 with xlC. 1999-04-23 16:47:30 +00:00