[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kafka
Subject:    Re: Writing the selection code
From:       Thomas <zander () xs4all ! nl>
Date:       2000-11-23 21:09:29
[Download RAW message or body]

> 
> I looked at KHTML and its DOM implementation and i had an idea how to select 
> the text but perhaps it's stupid. What about getting the index of the 
> selected element from the DOM Tree and then jump to the *index*ed occurance 
> of this element in the source.

This will not work since the DOM is the only copy of the document we have. Unless
we start editing in html code then we use source code. But the 2 types will never
co-exist.

So the problem is not how to create a relation between the DOM and another type 
of description of that document.

-- 
Thomas Zander                                            zander@earthling.net
The only thing worse than failure is the fear of trying something new
_______________________________________________
Kde-kafka mailing list
Kde-kafka@master.kde.org
http://master.kde.org/mailman/listinfo/kde-kafka

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic