Skip to content

ITextStudioSourceColorBackend

InterfaceTextStudioTextStudio
public interface ITextStudioSourceColorBackend

Optional backend capability for refreshing source colors without rebuilding layout.

TryRefreshSourceColors(TextStudioGlyphColorQuad[], int)

Section titled “TryRefreshSourceColors(TextStudioGlyphColorQuad[], int)”
bool TryRefreshSourceColors(TextStudioGlyphColorQuad[] colors, int count)

Copies current colors into caller-owned storage for the committed semantic units. Returns false when a new layout is required.

Parameters

NameType
colorsTextStudio.TextStudioGlyphColorQuad[]
countSystem.Int32

Returns

System.Boolean