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