/[emacs]/emacs/lisp/font-lock.el
ViewVC logotype

Diff of /emacs/lisp/font-lock.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.236 by teirllm, Mon Mar 28 16:45:43 2005 UTC revision 1.237 by lute, Fri Apr 8 12:50:08 2005 UTC
# Line 383  word \"bar\" following the word \"anchor Line 383  word \"bar\" following the word \"anchor
383    
384  MATCH-HIGHLIGHT should be of the form:  MATCH-HIGHLIGHT should be of the form:
385    
386   (MATCH FACENAME OVERRIDE LAXMATCH)   (MATCH FACENAME [[OVERRIDE [LAXMATCH]])
387    
388  MATCH is the subexpression of MATCHER to be highlighted.  FACENAME is an  MATCH is the subexpression of MATCHER to be highlighted.  FACENAME is an
389  expression whose value is the face name to use.  Face default attributes  expression whose value is the face name to use.  Face default attributes
390  can be modified via \\[customize].  Instead of a face, FACENAME can  can be modified via \\[customize].  Instead of a face, FACENAME can
391  evaluate to a property list of the form (face VAL1 PROP2 VAL2 PROP3 VAL3 ...)  evaluate to a property list of the form (face FACE PROP1 VAL1 PROP2 VAL2 ...)
392  in which case all the listed text-properties will be set rather than  in which case all the listed text-properties will be set rather than
393  just `face'.  In such a case, you will most likely want to put those  just FACE.  In such a case, you will most likely want to put those
394  properties in `font-lock-extra-managed-props' or to override  properties in `font-lock-extra-managed-props' or to override
395  `font-lock-unfontify-region-function'.  `font-lock-unfontify-region-function'.
396    
# Line 426  the last, instance MATCH-ANCHORED's MATC Line 426  the last, instance MATCH-ANCHORED's MATC
426  used to initialise before, and cleanup after, MATCHER is used.  Typically,  used to initialise before, and cleanup after, MATCHER is used.  Typically,
427  PRE-MATCH-FORM is used to move to some position relative to the original  PRE-MATCH-FORM is used to move to some position relative to the original
428  MATCHER, before starting with MATCH-ANCHORED's MATCHER.  POST-MATCH-FORM might  MATCHER, before starting with MATCH-ANCHORED's MATCHER.  POST-MATCH-FORM might
429  be used to move, before resuming with MATCH-ANCHORED's parent's MATCHER.  be used to move back, before resuming with MATCH-ANCHORED's parent's MATCHER.
430    
431  For example, an element of the form highlights (if not already highlighted):  For example, an element of the form highlights (if not already highlighted):
432    
# Line 436  For example, an element of the form high Line 436  For example, an element of the form high
436   discrete occurrences of \"item\" (on the same line) in the value of `item-face'.   discrete occurrences of \"item\" (on the same line) in the value of `item-face'.
437   (Here PRE-MATCH-FORM and POST-MATCH-FORM are nil.  Therefore \"item\" is   (Here PRE-MATCH-FORM and POST-MATCH-FORM are nil.  Therefore \"item\" is
438   initially searched for starting from the end of the match of \"anchor\", and   initially searched for starting from the end of the match of \"anchor\", and
439   searching for subsequent instance of \"anchor\" resumes from where searching   searching for subsequent instances of \"anchor\" resumes from where searching
440   for \"item\" concluded.)   for \"item\" concluded.)
441    
442  The above-mentioned exception is as follows.  The limit of the MATCHER search  The above-mentioned exception is as follows.  The limit of the MATCHER search

Legend:
Removed from v.1.236  
changed lines
  Added in v.1.237

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26