[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-27 22:15:30
[Download RAW message or body]

> > >  - if the position in the HTML widget is going to be set with setPos and
> > > using a QPoint, how can be line up the text with the cursor?
> >
> > I don't understand.
> 
> I meant if I was to set the cursor position with a coordinate, the cursor may 
> not be on the same line as the text and slightly above or below it. Eg.:
> 
>         The cat sat on the
> 
> If in the above text I placed the cursor at the end of the word 'the'. to 
> make the remaining word I need to enter (mat) look correct, the cursor would 
> need to be at the same height as the text so all the words like like they are 
> on the same line. When I say this, I mean a visual cursor and not a pointer 
> in the DOM.

The DOM will do the rendering, you only need to worry about the position of the
cursor. 
I believe this problem will solve itself if you delve into the code.

-- 
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