Re: nsIDOMRange insert node

2007-06-18 Thread krithika
On Jun 11, 11:59 am, Boris Zbarsky <[EMAIL PROTECTED]> wrote: > krithika wrote: > > I have a div surrounding a text which has a style -moz-column-count:3. > > In print engine code I just get the ColumnSetFrame iterate it to find > > the text where each column starts and create a range and insert a

Re: nsIDOMRange insert node

2007-06-11 Thread Boris Zbarsky
krithika wrote: > I have a div surrounding a text which has a style -moz-column-count:3. > In print engine code I just get the ColumnSetFrame iterate it to find > the text where each column starts and create a range and insert a > node. In the middle of the text? > if the all the text ranges happ

Re: nsIDOMRange insert node

2007-06-10 Thread krithika
On Jun 6, 10:51 pm, Jonas Sicking <[EMAIL PROTECTED]> wrote: > krithika wrote: > > On Jun 1, 6:00 am, Jonas Sicking <[EMAIL PROTECTED]> wrote: > >> krithika wrote: > >>> I have a problem in using nsIDOMRange.insertNode > >>> I create a range(with some start and end) inside a node and insert a > >>>

Re: nsIDOMRange insert node

2007-06-06 Thread Jonas Sicking
krithika wrote: > On Jun 1, 6:00 am, Jonas Sicking <[EMAIL PROTECTED]> wrote: >> krithika wrote: >>> I have a problem in using nsIDOMRange.insertNode >>> I create a range(with some start and end) inside a node and insert a >>> div node it works. >>> Immediately if i create another range(different

Re: nsIDOMRange insert node

2007-06-05 Thread krithika
On Jun 1, 6:00 am, Jonas Sicking <[EMAIL PROTECTED]> wrote: > krithika wrote: > > I have a problem in using nsIDOMRange.insertNode > > > I create a range(with some start and end) inside a node and insert a > > div node it works. > > > Immediately if i create another range(different offset) inside

Re: nsIDOMRange insert node

2007-05-31 Thread Jonas Sicking
krithika wrote: > I have a problem in using nsIDOMRange.insertNode > > I create a range(with some start and end) inside a node and insert a > div node it works. > > Immediately if i create another range(different offset) inside the > same node and insert a new div node , it fails. > > Is there

nsIDOMRange insert node

2007-05-30 Thread krithika
I have a problem in using nsIDOMRange.insertNode I create a range(with some start and end) inside a node and insert a div node it works. Immediately if i create another range(different offset) inside the same node and insert a new div node , it fails. Is there any restriction for create range