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

List:       ktexteditor-devel
Subject:    Re: question about EditInterface
From:       Jeroen Wijnhout <Jeroen.Wijnhout () kdemail ! net>
Date:       2005-05-13 18:08:21
Message-ID: 200505132008.21889.Jeroen.Wijnhout () kdemail ! net
[Download RAW message or body]

On Friday 13 May 2005 07:20 pm, Jens Herden wrote:
> I could not find functions to convert from one representation into the
> other. So I would like to have converter for the two representations. This
> can not be very hard because Kate must do this already, it is just not
> public available.

You are assuming that Kate represents the document as one big string 
internally, I didn't check but I would be surprised if this is the case. 
Personally I can live with have to store two integers instead of one, 
although one could encapsulated the two integers into one cursor class. A bit 
overkill, but nice.

best,
Jeroen
-- 
Kile - an Integrated LaTeX Environment for KDE
http://kile.sourceforge.net
_______________________________________________
Ktexteditor-devel mailing list
Ktexteditor-devel@kde.org
https://mail.kde.org/mailman/listinfo/ktexteditor-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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