Method

IdeBufferAddinlanguage_set

Declaration

void
ide_buffer_addin_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 method.
language_id

Type: const gchar*

The GtkSourceView language identifier.

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