SourceBuffer.this

Creates a new source buffer using the highlighting patterns in @language. This is equivalent to creating a new source buffer with a new tag table and then calling gtk_source_buffer_set_language().

Parameters

language SourceLanguage

a #GtkSourceLanguage.

Return: a new source buffer which will highlight text according to the highlighting patterns in @language.

Throws

ConstructionException GTK+ fails to create the object.

Meta