, mSelectedCellIndex(0)
nsHTMLEditor::nsHTMLEditor(): nsEditor(), mTypeInState(nsnull), mRules(nsnull), mIsComposing(PR_FALSE), mMaxTextLength(-1){// Done in nsEditor// NS_INIT_REFCNT();  mBoldAtom = getter_AddRefs(NS_NewAtom("b"));  mItalicAtom = getter_AddRefs(NS_NewAtom("i"));  mUnderlineAtom = getter_AddRefs(NS_NewAtom("u"));  mFontAtom = getter_AddRefs(NS_NewAtom("font"));  mLinkAtom = getter_AddRefs(NS_NewAtom("a"));  if (!gTypingTxnName)    gTypingTxnName = NS_NewAtom("Typing");  else    NS_ADDREF(gTypingTxnName);  if (!gIMETxnName)    gIMETxnName = NS_NewAtom("IME");  else    NS_ADDREF(gIMETxnName);  if (!gDeleteTxnName)    gDeleteTxnName = NS_NewAtom("Deleting");  else    NS_ADDREF(gDeleteTxnName);} 