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

List:       kwrite-devel
Subject:    Re: Impending removal of Smart* code from katepart
From:       Christoph Cullmann <cullmann () absint ! com>
Date:       2010-04-12 14:09:18
Message-ID: 201004121609.18940.cullmann () absint ! com
[Download RAW message or body]

On Monday 12 April 2010 11:07:45 Milian Wolff wrote:
> > You can do so and move the code to kdevelop, as internal interface, the
> > new TextBuffer provides signals for changes which work.
> > Still the interface for the ranges with attributes is not done for the
> > replacement, see below for the current plan for fast lookup.
> > 
> > > Do you have any design in mind for the "ability to add attributes to
> > > the new Kate::TextRange's and efficient lookup." ?
> > 
> > The text blocks will have set of ranges affecting it, if a range spans
> > multiple blocks, which is unlikely, beside for selection, it will be
> > added to all blocks spanned.
> > This way you ever only need to lookup the ranges for the block, given the
> > block is small per default (256 lines), this should be fast.
> 
> Can you please point me to the new API for custom highlighting, or is that
> not yet written?
> 
> Thanks
Its not yet written, atm nothing works beside that ranges move and you can 
kind of look up them fast for a line.

Greetings
Christoph

-- 
-------------------------------------- Christoph Cullmann ---------
AbsInt Angewandte Informatik GmbH      Email: cullmann@AbsInt.com
Science Park 1                         Tel:   +49-681-38360-22
66123 Saarbrücken                      Fax:   +49-681-38360-20
GERMANY                                WWW:   http://www.AbsInt.com
--------------------------------------------------------------------
Geschäftsführung: Dr.-Ing. Christian Ferdinand
Eingetragen im Handelsregister des Amtsgerichts Saarbrücken, HRB 11234
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel

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

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