WebCore already has a very similar function, and keeping these in separate projects is extremely confusing. Also, we need this functionality in WK2.
Created attachment 88335 [details] proposed patch
Comment on attachment 88335 [details] proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=88335&action=review > Source/WebCore/platform/mac/WebNSAttributedStringExtras.h:2 > + * Copyright (C) 2005 Apple Computer, Inc. All rights reserved. Should change company name to Apple Inc.
Committed <http://trac.webkit.org/changeset/83000>.