begin/end highlighting
Eric Bouyoux
eric.bouyoux at insidefr.com
Tue Aug 15 09:47:41 CEST 2006
Joerg Fischer a écrit :
> Eric Bouyoux wrote:
>
>
> Joerg Fischer a écrit :
>
> Eric Bouyoux wrote:
>
>
>
> With nedit, all characters between "(" and ")" or "{" and "}" (for
> instance) are automatically highlighted (in red color for exemple). Is
> it possible (and how) to have the same feature with "begin" and "end"
> keywords ?
>
>
> There is a rather big patch doing this, see
> [1]http://sourceforge.net/tracker/index.php?func=detail&aid=1067422&group_id=11
> 005&atid=311005
>
>
>
> Hi,
> I ran the patch command =>
> Hunk #12 FAILED at 3229.
> Hunk #14 FAILED at 3277.
> Hunk #15 FAILED at 4326.
> I ran "make all" in doc directory => no problem.
> I ran "make linux" =>
> patternMatch.c: In function 'doesPatternElementMatch':
> patternMatch.c:691: error: too many arguments to function 'ExecRE'
> patternMatch.c: In function 'searchPatternForward':
> patternMatch.c:1001: error: too many arguments to function 'ExecRE'
> patternMatch.c: In function 'searchPatternBackward':
> patternMatch.c:1133: error: too many arguments to function 'ExecRE'
> patternMatch.c: In function 'getPatternLocatedAtPos':
> patternMatch.c:1985: error: too many arguments to function 'ExecRE'
> make[1]: *** [patternMatch.o] Erreur
> 1
> Do you have any idea to solve the problem ?
> Regards.
> Eric.
>
> Hi,
> if a patch fails it doesn't make sense to try to compile the
> program. Even if it compiles, it won't work properly in almost
> any case. Now, mp041114-V3-0.tar.gz is the patch that seems to
> be for nedit 5.5. So, unless you can check out a cvs version
> from 17.02.05, you should get version 5.5 and apply the patch
> there.
>
Hi,
Thank you. I successfully compiled nedit 5.5. I am sorry but I don't
know too much about compilation. I didn't even know the "patch" command
and I think I run 3 "make" commands in my life (this one is the 4th one).
> Cheers,
> Jörg
> (BTW, do you really like mails in this format?)
>
No, I don't know what happens. Usually, it is not so ugly. I always use
Thunderbird without any problem.
>
>
> (also [2]http://www.nedit.org/niki/index.php/Patches)
>
> Apart from this it would be possible to hack a macro if it is only
> for begin/end.
>
Yes, probably, but it means I need to learn nedit macro language. I
wanted to do it many times these 5 (or more) past years but I always
have something more urgent to do. Maybe another day.
Regards.
Eric.
>
>
> Cheers,
> Jörg
>
> References
>
> 1. http://sourceforge.net/tracker/index.php?func=detail&aid=1067422&group_id=11005&atid=311005
> 2. http://www.nedit.org/niki/index.php/Patches
> --
> NEdit Discuss mailing list - Discuss at nedit.org
> http://www.nedit.org/mailman/listinfo/discuss
>
>
More information about the Discuss
mailing list