GutterLines.hasClass

bool hasClass(uint line, string name)

Checks to see if [gtksource.gutter_lines.GutterLines.addClass] was called with the name for line.

A faster version of this function is provided via [gtksource.gutter_lines.GutterLines.hasQclass] for situations where the quark is known ahead of time.

Parameters

linea line number starting from zero
namea class name that may be converted, to a #GQuark

Returns

true if line contains name