const nsString *aAttribute,
const nsAReadableString *aAttribute,
void nsHTMLEditor::IsTextStyleSet(nsIStyleContext *aSC,                                   nsIAtom *aProperty,                                   const nsString *aAttribute,                                    PRBool &aIsSet) const{  aIsSet = PR_FALSE;  if (aSC && aProperty)  {    nsStyleFont* font = (nsStyleFont*)aSC->GetStyleData(eStyleStruct_Font);    if (nsIEditProperty::i==aProperty)    {      aIsSet = PRBool(font->mFont.style & NS_FONT_STYLE_ITALIC);    }    else if (nsIEditProperty::b==aProperty)    { // XXX: check this logic with Peter      aIsSet = PRBool(font->mFont.weight > NS_FONT_WEIGHT_NORMAL);    }  }}