begin/end highlighting

Eric Bouyoux eric.bouyoux at insidefr.com
Mon Aug 14 14:23:26 CEST 2006


   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.

(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.

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


More information about the Discuss mailing list