src/swipl-devel/packages/xpce/man/refmanual/md/text_margin.md

class text_margin {#class-text_margin}

A text_margin object may be attached to an editor object using the editor ->margin_width method. The margin displays image objects for fragment objects defined on the text_buffer object associated with the editor and thus provides a way for annotating textual information.

Class text_margin is not generally usable; it's functionality is closely related to class editor. The user should not explicitly create instances of this class.

@see class style @see style-icon @see editor->margin_width @see editor-margin @see class fragment

Instance variables {#class-text_margin-instvars}

Send methods {#class-text_margin-send}

Get methods {#class-text_margin-get}



Try the rswipl package in your browser

Any scripts or data that you put into this service are public.

rswipl documentation built on June 16, 2026, 5:07 p.m.