RemoveTextPropery works in all cases now.

git-svn-id: svn://10.0.0.236/trunk@26481 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
buster%netscape.com
1999-04-06 18:21:43 +00:00
parent 650efcc5dd
commit e124ff90ed
6 changed files with 135 additions and 138 deletions

View File

@@ -23,7 +23,7 @@
#include "nsIEditorSupport.h"
#ifdef NS_DEBUG
static PRBool gNoisy = PR_FALSE;
static PRBool gNoisy = PR_TRUE;
#else
static const PRBool gNoisy = PR_FALSE;
#endif
@@ -117,7 +117,7 @@ NS_IMETHODIMP SplitElementTxn::Undo(void)
}
if (NS_SUCCEEDED(result))
{
if (gNoisy) { printf(" left node = %p removed\n", this, mNewLeftNode.get()); }
if (gNoisy) { printf(" left node = %p removed\n", mNewLeftNode.get()); }
nsCOMPtr<nsIDOMSelection>selection;
mEditor->GetSelection(getter_AddRefs(selection));
if (selection)