c++,gtkmm,coredump,gtksourceview
You create a pointer, but you don't actually make it point anywhere. In essence, buffer is a null pointer. From the RefPtr default constructor refernece: Afterwards it will be null and use of -> will cause a segmentation fault. You need to explicitly create the object pointed to, using the...
Someone from the gedit mailing list answered me, apparently XML does not like the < character, it needs to be replaced: (?<=...) It works then. The regex flavour is PCRE. ...
It should be self.source = GtkSource.View() This works for me on Debian...
Unfortunately, there isn't really a less tedious way to do it. About your pattern: Note that GtkSourceView uses the PCRE regex engine that is an NFA regex engine. So when you write an alternation, the first alternative (from left to right) that matches will succeed and the regex engine will...