Re: A zvt proposition
- From: Hassan Aurag <aurag crm umontreal ca>
- To: zucchi zedzone mmc com au (NotZed)
- CC: lyndon stat auckland ac nz (Lyndon Drake), aurag crm umontreal ca (Hassan Aurag), gnome-devel-list gnome org
- Subject: Re: A zvt proposition
- Date: Tue, 16 Nov 1999 15:23:46 GMT
I need to say this:
ALL HAIL KING NOTZED THE FIRST.
AND GOD SHAVE THE KING (OH NO SAVE!)
Btw, is it a king or a queen. I am just wondering!
Anyway, this is great news for me(I am too lazy) and I think for at
least half a million wanna-be developers like myself!
Thanks a lot
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
On 11/16/99, 1:18:24 AM, zucchi@zedzone.mmc.com.au (NotZed) wrote
regarding Re: A zvt proposition:
> Well for starters I dont think its a particularly "required" feature,
> although it would be nice I guess.
> There is no need to add any new api for this, the existing
> one has enough space to include the colour information as well
> (as part of the attribute setting).
> Ok, well, to save you the time and avoid the probably destabilising
> effects of somone unfamiliar working with the code, i've just coded it
> up, it was eaiser than i'd thought.
> I'm just about to check this into gnome-libs stable, the api hasn't
> changed, you can just now also pass foreground/background colour with
> the 'highlight_mask' attribute.
> e.g. to set foreground colour 2, and background colour 5, use
> highlight_mask = (2<<VTATTR_FORECOLOURB)|(5<<VTATTR_BACKCOLOURB);
> bold/underline/inverse can be combined with these also.
> With an older version of zvt, theOBse flags will be explicitly
ignored
> by zvt_match_add(), so they are safe to use anywhere.
> Enjoy!
> Michael
> >
> > On Mon, Nov 15, 1999 at 10:28:56PM +0000, Hassan Aurag wrote:
> > > This is really out of my head. Feel free to criticize .........
> > >
> > > Would be extremely difficult to add the possibility of another type of
> > > match_add in zvt? Instead of just highlighting, it would colorize!
> > >
> > > Yes I know I could do it myself! However, I don't know how, and that's
> > > why I am asking. Moreover, I think that a lot of zvt based apps would
> > > benefit from this.
> > >
> > > We would then have a color_match_add function that would do this on
> > > regex tags! Simple to use, blahblahblah!
> >
> > As my previous messages indicated, I would be really interested in
this.
> > I can't dedicate a great deal of time to implementing it, but I would
be
> > happy to help as much as I can.
> >
> > Perhaps NotZed (or someone else who understands the way the vt code
works)
> > could suggest a way to implement it. Those who are interested in
seeing
> > the functionality could then write the code.
> >
> > --
> > Lyndon Drake | Desktop:
http://www.gnome.org
> > isenguard | Mail client: http://www.mutt.org
> > ICQ#: 12558803 | Editor: http://www.vim.org
> > http://stat.auckland.ac.nz/~lyndon | OS:
http://www.linux.com
> >
> >
> > --
> > To unsubscribe: mail gnome-devel-list-request@gnome.org with
"unsubscribe"
> > as the Subject.
> >
> >
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]