Virtual Method

IdeBufferAddinlanguage_set

Declaration

void
language_set (
  IdeBufferAddin* self,
  IdeBuffer* buffer,
  const gchar* language_id
)

Description

This vfunc is called when the source language in the buffer changes. This will only be delivered to addins that support multiple languages.

Parameters

buffer

Type: IdeBuffer

An IdeBuffer.

The data is owned by the caller of the function.
language_id

Type: const gchar*

The GtkSourceView language identifier.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.