Table of Contents

TTMSFNCMemoMinimapOptions Class

Controls the appearance and behaviour of the minimap panel that renders a scaled-down overview of the full document alongside the editor.

API unit family: TMSFNCMemo Inherits from: TPersistent

Syntax

TTMSFNCMemoMinimapOptions = class(TPersistent)

Properties

Name Description
Autohide When True, the minimap slides out of view when the cursor leaves the editor area and reappears when the cursor returns.
Enabled When True, the minimap panel is shown; set to False to hide the minimap entirely.
MaxColumn Maximum number of columns rendered in the minimap before the view is clipped; default is 120.
RenderCharacters When True, actual characters are rendered in the minimap; set to False to render coloured blocks instead.
Scale Pixel scale factor applied when rendering characters in the minimap; increase for higher-density previews; default is 1.
ShowSlider When the viewport slider in the minimap is shown: soMouseOver shows it on hover, soAlways shows it at all times.
Side Side of the editor where the minimap is rendered: soRight places it on the right, soLeft on the left.
Size Sizing mode of the minimap: soActual uses the natural character size, soFill stretches to fill the panel, soFit shrinks to fit.

Methods

Name Description
ToJSString Serializes the minimap options to a Monaco editor JSON configuration string for use in the web-layer initialization call.