Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK2
GTK2.SourceBuffer

Method GTK2.SourceBuffer()->set_language()


Method set_language

GTK2.SourceBuffer set_language(GTK2.SourceLanguage lang)

Description

Sets the source language the source buffer will use, adding GTK2.SourceTag tags with the language's patterns and setting the escape character with set_escape_char(). Note that this will remove any GTK2.SourceTag tags currently in the buffer's tag table.