| Extracted from Pike v7.8 release 866 at 2018-02-09.

[Top]
GTK2
GTK2.SourceBuffer

# 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.