set_language
Description:
Associates a SourceLanguage with the buffer.
Note that a SourceLanguage affects not only the syntax highlighting, but also the context classes. If you want to disable just the syntax highlighting, see set_highlight_syntax.
The buffer holds a reference to language.
Parameters:
| this |
a SourceBuffer. |
| language |
a SourceLanguage to set, or null. |