[ < ] [ > ]   [ << ] [Plus haut] [ >> ]         [Top] [Table des matières] [Index] [ ? ]

38.13.4 Fringe Bitmaps

The fringe bitmaps are the actual bitmaps which represent the logical fringe indicators for truncated or continued lines, buffer boundaries, overlay arrow, etc. Fringe bitmap symbols have their own name space. The fringe bitmaps are shared by all frames and windows. You can redefine the built-in fringe bitmaps, and you can define new fringe bitmaps.

The way to display a bitmap in the left or right fringes for a given line in a window is by specifying the display property for one of the characters that appears in it. Use a display specification of the form (left-fringe bitmap [face]) or (right-fringe bitmap [face]) (voir la section The display Property). Here, bitmap is a symbol identifying the bitmap you want, and face (which is optional) is the name of the face whose colors should be used for displaying the bitmap, instead of the default fringe face. face is automatically merged with the fringe face, so normally face need only specify the foreground color for the bitmap.

Function: fringe-bitmaps-at-pos &optional pos window

This function returns the fringe bitmaps of the display line containing position pos in window window. The return value has the form (left right ov), where left is the symbol for the fringe bitmap in the left fringe (or nil if no bitmap), right is similar for the right fringe, and ov is non-nil if there is an overlay arrow in the left fringe.

The value is nil if pos is not visible in window. If window is nil, that stands for the selected window. If pos is nil, that stands for the value of point in window.


Ce document a été généré par Eric Reinbold le 13 Octobre 2007 en utilisant texi2html 1.78.