[webkit-dev] Newline translation issue with textareas
Darin Adler
darin at apple.com
Mon Jun 20 14:10:01 PDT 2005
On Jun 20, 2005, at 2:03 PM, Kevin Ballard wrote:
> Alright, I'll do the translation in
> HTMLTextAreaElementImpl::setValue. And yes, it is a QString,
> although the QString is taken from a const DOMString, and those
> replace calls look like they replace-in-place. I'm not familiar
> with QString (or DOMString) yet, so is there any issue with calling
> these 2 lines on the QString returned by value.string() (where
> value is a const DOMString &)? Is that returning a value in the
> DOMString, or does the DOMString::string call copy its contents
> into a new QString?
No issue. Modifying the QString is fine. It's a copy.
-- Darin
More information about the webkit-dev
mailing list