home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega CD-ROM 1
/
megacd_rom_1.zip
/
megacd_rom_1
/
FREEMACS
/
CONTRIB.ZIP
/
MATPAREN.MIN
< prev
next >
Wrap
Text File
|
1990-03-09
|
1KB
|
44 lines
Show the parenthesis that match the one under the cursor in blue.
Kind of cute. If you position the cursor to a parenthesis character,
and wait one second, then the matching parenthesis will be found and
colored aqua. If the cursor is off the screen, then the matching line
is displayed at the top or bottom of the screen, as appropriate. This
might be useful if it were integrated better into the rest of
Freemacs.
#(F:vip-match-paren) would have to be replaced by code that returns a value
on no paren, rather than displaying a message on no paren.
abcd--[#(F:test)]--efgh
Name:F:test
[*]#(k)
#(ds,temp,#(it,100))
#(==,##(temp),Timeout,(
#(pm,1)
#(F:vip-match-paren)
#(sv,fc,3)
#(g?,##(lv,rs),##(lv,bl),(
#(xy,0,##(lv,bl))
#(ow,##(rm,^)##(rm,$)())
),(
#(g?,##(lv,tl),##(lv,rs),(
#(xy,0,#(--,##(lv,tl),1))
#(ow,##(rm,^)##(rm,$)())
),(
#(xy,##(--,##(lv,cs),1),##(--,##(lv,rs),1))
#(ow,##(rm,>))
))
))
#(sp,0)
#(xy,##(--,##(lv,cs),1),##(--,##(lv,rs),1))
#(sv,fc,#(F-fore-color))
#(pm)
#(d,#(g))
),(
#(d,##(temp))
))
#(SELF)
[*]