[webkit-dev] A Range question

2010-04-09 Thread Finnur Thorarinsson
Hi all, I need a WebKit Ranger for this question: Imagine I have the word Foo inside an edit field (input type=text value=Foo) and the word bar outside of it, like so: [Foo]bar If I try to create a Range of the text Foobar, the range will get collapsed. It collapses because Range::setEnd has a

Re: [webkit-dev] A Range question

2010-04-09 Thread Finnur Thorarinsson
: On Apr 9, 2010, at 10:52 AM, Finnur Thorarinsson wrote: I need a WebKit Ranger for this question: Imagine I have the word Foo inside an edit field (input type=text value=Foo) and the word bar outside of it, like so: [Foo]bar If I try to create a Range of the text Foobar, the range

Re: [webkit-dev] A Range question

2010-04-09 Thread Finnur Thorarinsson
Excellent. If anyone has good ideas on how to improve it, I'm willing to come up with a patch, test it in my tree and submit it for review... On Fri, Apr 9, 2010 at 11:07, Darin Adler da...@apple.com wrote: On Apr 9, 2010, at 11:06 AM, Finnur Thorarinsson wrote: Fair enough. I can see why

Re: [webkit-dev] deleteOwnedPtr(T* ptr)

2010-11-11 Thread Finnur Thorarinsson
Umm... shouldn't this behavior be commented so that people are not left wondering why it fails and trying to fix it? On Wed, Nov 10, 2010 at 16:04, Darin Adler da...@apple.com wrote: On Nov 10, 2010, at 2:33 PM, Daebarkee Jung wrote: I found that the following lines made errors: //