IBM
Contents Index Previous Next



Customizing


Type Faces for Endpoints

The type face for endpoints without associated links is called sdtlinks-endpoint-face. The default appearance is underlined, blue text.

The type face for endpoints with associated links is called sdtlinks-endpoint-with-links-face. The default appearance is underlined, bold, blue text.

These type faces can be redefined.

Example 25

An example to make endpoints without associated links appear as bold, red text:

...
(make-face 'sdtlinks-endpoint-face)
(make-face-bold 'sdtlinks-endpoint-face nil t)
(set-face-foreground 'sdtlinks-endpoint-face "red")
...
(require 'sdtlinks)

Maximum Number of Endpoints in a Document

Due to the nature of the execution environment for Emacs, only a finite number of endpoints are manageable in a document. By default, this limit is set to 1000 endpoints, which should be sufficient for most situations. If, however, a larger number is required, this can be achieved by setting the variable sdtemacs-max-no-of-endpoints.

Example 26

An example to allow 1500 endpoints:

...
(setq sdtemacs-max-no-of-endpoints 1500)
...
(require 'sdtlinks)


http://www.ibm.com/rational
Contents Index Previous Next