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

Name Type
colors TextStudio.TextStudioGlyphColorQuad[]
count System.Int32

Returns

System.Boolean