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

List:       ktexteditor-devel
Subject:    Re: STATUS: My Interfaces changes planed for KDE 4.0
From:       Christoph Cullmann <cullmann () babylon2k ! de>
Date:       2005-06-06 21:31:39
Message-ID: 200506062331.43011 () cullmann
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Sunday 05 June 2005 15:52, Christoph Cullmann wrote:
> On Friday 27 May 2005 11:57, Christoph Cullmann wrote:
> > hi,
> > here my changes I would like to do in a while:
> > 
> > a) convert use of unsigned int to int, as QT has changed to use int in nearly all \
> > places, it atm is a hassle to convert back to int in all loops, length compares \
> > and lookups, should make code more readable I guess
> will follow
is in progress ;)

I have added a KTextEditor::Cursor class, which is a baseclass for a cursor \
implementation, featuring just the basic concepts of  a textcursor, not much more \
than e.g. QPoint, but with some more meaningful API for textcursors, this class \
should be powerful enough to allow further extension in the editor parts, kate \
already uses it as baseclass for it's internal cursors

I think it will be more useful to not only convert the API of EditInterface and co to \
int's but also just convert them to use KTextEditor::Cursor parameters, as this makes \
the whole stuff just lot more clear than the massive use of line/col tuples, the \
line/col api will stay as second overload, but the cursors should really be more \
promiment ;)

cu
Christoph

-- 
Christoph Cullmann
KDE Developer, kde.org Maintainance Team
http://www.babylon2k.de, cullmann@kde.org


[Attachment #5 (application/pgp-signature)]

_______________________________________________
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