Method GTK2.SourceBuffer()->set_escape_char()
- Method
set_escape_char
GTK2.SourceBuffer
set_escape_char(int
escape_char
)- Description
Sets the escape character to be used by the highlighting engine.
When performing the initial analysis, the engine will discard a matching syntax pattern if it's prefixed with an odd number of escape characters. This allows for example to correctly highlight strings with escaped quotes embedded.
This setting affects only syntax patterns.