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

List:       ktexteditor-devel
Subject:    Re: interface for arbitrary highlight?
From:       Anders Lund <anders () alweb ! dk>
Date:       2007-02-06 22:12:58
Message-ID: 200702062312.59795.anders () alweb ! dk
[Download RAW message or body]

On Tuesday 06 February 2007, Dominik Haumann wrote:
> On Tuesday 06 February 2007 09:40, Anders Lund wrote:
> > Hi,
> >
> > I would like to be able to use the arbitrary highlight interface from the
> > word completion (to mark strings inserted by directional completion), but
> > there is no interface for it.
> >
> > Would it be a good idea to add one?
>
> I thought you can do this already by using KTE::Range + KTE::Attribute ?
> Range::setAttribute ...

Hum, in fact i can't find how to set the attribute. Range.h mentions class 
Attribute, but it's never used. If I can set a attrib on a normal Range, that 
would be very easy.

-anders
-- 
www: http://www.alweb.dk
jabber: anderslund@jabber.dk
_______________________________________________
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