[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: Re: HighlightInterface
From: Anders Lund <anders () alweb ! dk>
Date: 2007-10-03 21:12:41
Message-ID: 200710032312.42422.anders () alweb ! dk
[Download RAW message or body]
On Wednesday 03 October 2007, Christoph Cullmann wrote:
> Am Mittwoch, 3. Oktober 2007 13:54:48 schrieb Anders Lund:
> > On Wednesday 03 October 2007, Christoph Cullmann wrote:
> > > Am Mittwoch, 3. Oktober 2007 10:29:30 schrieb Thomas Zander:
> > > > > virtual QString highlightSection( QString highlightName ) = 0;
> > > >
> > > > highlightName should be a const ref.
> > >
> > > I would be ok with a function
> > >
> > > virtual QString highlightingModeSection (const QString &name) = 0;
> >
> > Returning the section name of highlight with *name*
> >
> > > but in addition, a
> > >
> > > virtual QString modeSection (const QString &name) = 0;
> > >
> > > should be added, too, to have the section of modes available, too.
> >
> > What is the difference between the two?
>
> The mode is a more highlevel concept, see the thread on kwrite-devel some
> months ago. As the both concepts are linked, it would make sense to have
> the method to query the section either for both or for none.
>
> cu
> Christoph
Ah, right, 'mode'..
I am preparing a set of patches that adds and implements these, will finish
them tomorrow.
--
Anders
www: http://www.alweb.dk
jabber: anderslund@jabber.dk
_______________________________________________
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