Re: mc editor small changes III - unified diff

2005-08-21 Thread Leonard den Ottolander
Hi František, On Thu, 2005-08-11 at 09:07 +0200, František Řezníček wrote: > -const char * const b = "{}{[][()(<><", *p; > +const char * const b = "{}{[][()(", *p; > -if (strchr ("{[(<", c)) > +if (strchr ("{[(", c)) If you'd like the extra match please implement this so the stri

Re: mc editor small changes III - unified diff

2005-08-15 Thread Roland Illig
František Řezníček wrote: You're right that nowadays C code doesn't require that, but are we sure that for instance function templates feature aren't going to be available in C? We can be. From [1]: "The Committee is content to let C++ be the big and ambitious language. While some features of

Re: mc editor small changes III - unified diff

2005-08-15 Thread František Řezníček
we sure that for instance function templates feature aren't going to be available in C ? We may think about conditioning this feature, but it requires bigger changes to CoolEdit used in MC. Kind Regards, Frantisek > Puvodni zprava > Od: Jindrich Novy <[

Re: mc editor small changes III - unified diff

2005-08-14 Thread Oswald Buddenhagen
On Sun, Aug 14, 2005 at 03:27:45PM +0200, Leonard den Ottolander wrote: > So I don't see why we couldn't extend the current functionality (until > you've finished the syntax highlighting rewrite ;)). > :-P > > the highlighting hurts - not much, but it is still annoying. > > It's already there fo

Re: mc editor small changes III - unified diff

2005-08-14 Thread Leonard den Ottolander
Hi Oswald, On Sun, 2005-08-14 at 15:27, Leonard den Ottolander wrote: > On Sun, 2005-08-14 at 15:01, Oswald Buddenhagen wrote: > > wow, _that_ was new to me ... haha. > > ? Not sure what to make of this (cynicism or a genuine remark). I ment > they use different code paths (afaict). Never mind t

Re: mc editor small changes III - unified diff

2005-08-14 Thread Leonard den Ottolander
On Sun, 2005-08-14 at 15:01, Oswald Buddenhagen wrote: > On Sun, Aug 14, 2005 at 02:03:25PM +0200, Leonard den Ottolander wrote: > > > i think it should be part of the syntax definition, which would be > > > extended from highlighting only. > > > > This is not about highlighting, the highlighting

Re: mc editor small changes III - unified diff

2005-08-14 Thread Oswald Buddenhagen
On Sun, Aug 14, 2005 at 02:03:25PM +0200, Leonard den Ottolander wrote: > > i think it should be part of the syntax definition, which would be > > extended from highlighting only. > > This is not about highlighting, the highlighting is a side effect of > the "jump to matching bracket" option. > >

Re: mc editor small changes III - unified diff

2005-08-14 Thread Leonard den Ottolander
Hi Oswald, On Sun, 2005-08-14 at 12:14, Oswald Buddenhagen wrote: > On Sat, Aug 13, 2005 at 11:08:48PM +0200, Leonard den Ottolander wrote: > > An editor_match_bracket_open_str and editor_match_bracket_close_str > > option in ini. > > > i think it should be part of the syntax definition, which wou

Re: mc editor small changes III - unified diff

2005-08-14 Thread Oswald Buddenhagen
On Sat, Aug 13, 2005 at 11:08:48PM +0200, Leonard den Ottolander wrote: > On Sat, 2005-08-13 at 15:25, Jindrich Novy wrote: > > I can imagine the enhancement can be useful for XML/HTML/PHP, etc. but > > maybe it could be a configurable feature if considered to be committed > > at all. > > I like t

Re: mc editor small changes III - unified diff

2005-08-13 Thread Leonard den Ottolander
Hi Jindrich, On Sat, 2005-08-13 at 15:25, Jindrich Novy wrote: > I can imagine the enhancement can be useful for XML/HTML/PHP, etc. but > maybe it could be a configurable feature if considered to be committed > at all. I like that idea. An editor_match_bracket_open_str and editor_match_bracket_cl

Re: mc editor small changes III - unified diff

2005-08-13 Thread Jindrich Novy
On Sat, 2005-08-13 at 14:31 +0200, Leonard den Ottolander wrote: > Hi Jindrich, > > On Sat, 2005-08-13 at 11:45, Jindrich Novy wrote: > > The question is whether highlighting of '<' and '>' is desirable in all > > cases. Highlighting of such characters doesn't make too much sense when > > editing

Re: mc editor small changes III - unified diff

2005-08-13 Thread Leonard den Ottolander
Hi Jindrich, On Sat, 2005-08-13 at 11:45, Jindrich Novy wrote: > The question is whether highlighting of '<' and '>' is desirable in all > cases. Highlighting of such characters doesn't make too much sense when > editing C source files for instance. I figured this patch is about the "Go to matchi

Re: mc editor small changes III - unified diff

2005-08-13 Thread Leonard den Ottolander
Hi Jindrich, On Sat, 2005-08-13 at 11:45, Jindrich Novy wrote: > The question is whether highlighting of '<' and '>' is desirable in all > cases. Highlighting where? Is this in any way related to the syntax highlighting? > Highlighting of such characters doesn't make too much sense when > editin

Re: mc editor small changes III - unified diff

2005-08-13 Thread Jindrich Novy
Hello Frantisek, On Thu, 2005-08-11 at 09:07 +0200, František Řezníček wrote: > here are the changes (just unified diff) : Please send the patch as an attachment for the next time, it makes extraction of it less painful. > # Should I use the latest nighbuild and incorporate the changes there or y

Re: mc editor small changes III - unified diff

2005-08-12 Thread Leonard den Ottolander
Hi Pavel, On Fri, 2005-08-12 at 15:45, Pavel Tsekov wrote: > The description of the patch can be found at the end of the email i.e. > after the patch :) What exactly is edit_get_bracket used for? Doesn't seem to have anything to do with syntax highlighting. So my question is what this bracket ma

Re: mc editor small changes III - unified diff

2005-08-12 Thread Pavel Tsekov
Hello, On Thu, 11 Aug 2005, Leonard den Ottolander wrote: > Hi František, > > On Thu, 2005-08-11 at 09:07, František Řezníček wrote: > > 4 files changed edit/edit.c, edit/editdraw.c, src/color.c, src/color.h. > > Changes were done on night build mc-2004-12-01-22.tar.gz. > > If you request to be r

Re: mc editor small changes III - unified diff

2005-08-11 Thread Leonard den Ottolander
Hi František, On Thu, 2005-08-11 at 09:07, František Řezníček wrote: > 4 files changed edit/edit.c, edit/editdraw.c, src/color.c, src/color.h. > Changes were done on night build mc-2004-12-01-22.tar.gz. > If you request to be redone on the last code, let me know. Could you please briefly explain

mc editor small changes III - unified diff

2005-08-11 Thread František Řezníček
Hello all, 4 files changed edit/edit.c, edit/editdraw.c, src/color.c, src/color.h. Changes were done on night build mc-2004-12-01-22.tar.gz. If you request to be redone on the last code, let me know. here are the changes (just unified diff) : xx008:reznicek> diff -u edit/edit.c edit/edit.c.0