Changed name of constant from KHTMLInterchangeNewline to AppleInterchangeNewline.
I discussed this with Hyatt and he agreed that going with "Apple" names was OK.
* khtml/editing/html_interchange.h: Name change, as described above.
* khtml/editing/htmlediting.cpp:
(khtml::ReplacementFragment::isInterchangeNewlineComment): Ditto.
* khtml/xml/dom2_rangeimpl.cpp:
(DOM::RangeImpl::toHTML): Ditto.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8146
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2004-12-07 Ken Kocienda <kocienda@apple.com>
+
+ Reviewed by John
+
+ Changed name of constant from KHTMLInterchangeNewline to AppleInterchangeNewline.
+ I discussed this with Hyatt and he agreed that going with "Apple" names was OK.
+
+ * khtml/editing/html_interchange.h: Name change, as described above.
+ * khtml/editing/htmlediting.cpp:
+ (khtml::ReplacementFragment::isInterchangeNewlineComment): Ditto.
+ * khtml/xml/dom2_rangeimpl.cpp:
+ (DOM::RangeImpl::toHTML): Ditto.
+
2004-12-07 Ken Kocienda <kocienda@apple.com>
Reviewed by me
class QString;
-#define KHTMLInterchangeNewline "KHTMLInterchangeNewline"
+#define AppleInterchangeNewline "Apple-interchange-newline"
#define AppleConvertedSpace "Apple-converted-space"
enum EAnnotateForInterchange { DoNotAnnotateForInterchange, AnnotateForInterchange };
bool ReplacementFragment::isInterchangeNewlineComment(const NodeImpl *node)
{
- return isComment(node) && node->nodeValue() == KHTMLInterchangeNewline;
+ return isComment(node) && node->nodeValue() == AppleInterchangeNewline;
}
bool ReplacementFragment::isInterchangeConvertedSpaceSpan(const NodeImpl *node)
NodeImpl *block = pos.node()->enclosingBlockFlowElement();
NodeImpl *upstreamBlock = pos.upstream().node()->enclosingBlockFlowElement();
if (block != upstreamBlock) {
- addCommentToHTMLMarkup(KHTMLInterchangeNewline, markups, AppendToMarkup);
+ addCommentToHTMLMarkup(AppleInterchangeNewline, markups, AppendToMarkup);
}
}