Re: KTextEditor Highlighting custom area

2012-02-16 Thread Milian Wolff
On Thursday 16 February 2012 19:24:11 Alex Turbov wrote: > On Thu, Feb 16, 2012 at 4:00 PM, Dominik Haumann wrote: > > So basically it's > > 1. get the MovingInterface, > > 2. create a newMovingRange, > > 3. set the attributes. > > > > All this is thoroughly documented in the API documentation (M

Re: KTextEditor Highlighting custom area

2012-02-16 Thread Alex Turbov
On Thu, Feb 16, 2012 at 4:00 PM, Dominik Haumann wrote: > > So basically it's > 1. get the MovingInterface, > 2. create a newMovingRange, > 3. set the attributes. > > All this is thoroughly documented in the API documentation (MovingRange, > MovingInterface): > >  http://api.kde.org/4.x-api/kdeli

Re: KTextEditor Highlighting custom area

2012-02-16 Thread Milian Wolff
On Thursday 16 February 2012 13:00:40 Dominik Haumann wrote: > Hi Daniel, > > let's move this discussion to kwrite-de...@kde.org. > > On Thursday, 16. February 2012 04:01:21 Daniel Nagy wrote: > > Therefore I want to highlight a KTextEditor::Range object in a > > KTextEditor::View object as kdevp

Re: KTextEditor Highlighting custom area

2012-02-16 Thread Dominik Haumann
Hi Daniel, let's move this discussion to kwrite-de...@kde.org. On Thursday, 16. February 2012 04:01:21 Daniel Nagy wrote: > Therefore I want to highlight a KTextEditor::Range object in a > KTextEditor::View object as kdevplatform does it in its duchain > highlighting. > [...] > It seems to me tha

KTextEditor Highlighting custom area

2012-02-15 Thread Daniel Nagy
Hello I have a question about the KTextEditor highlighting. I am working on a KDE XPath Part where I want to highlight the matching tags of a XPathquery in a KatePart. Therefore I want to highlight a KTextEditor::Range object in a KTextEditor::View object as kdevplatform does it in its duchain