gtksourceview
Syntax highlighting for lex in gedit
I know i just need a file like /usr/share/gtksourceview-2.0/language-specs/javascript.lang. Where can i find a language definition like th开发者_Python百科is for lex ?You can find extra language defin[详细]
2023-03-26 15:48 分类:问答Linking undo history between multiple GtkSourceViews
I have an application which contains several GtkSourceView widgets. The main interface is a sheet containing multiple \"cells\" - each a GtkSourceView. GtkSourceView has built-in support for undo开发者[详细]
2023-03-08 08:46 分类:问答C Gtk+2 Glade3: how can i set a SourceBuffer to a GtkSourceView that was loaded from glade?
I\'m trying to load a .c file into a GtkSourceView widget. Using C Language, with Gtk+ 2.22.1 and Glade 3.6.7 and GtkSourceView 2.10.1.[详细]
2023-02-13 13:00 分类:问答Add a new language to gtksourceview (Django's template language for gedit)
I got a problem to add a new language to gtksourceview (used by gedit). I want to add the Django\'s template language and something does not work :[详细]
2023-01-07 23:10 分类:问答Determining the mime type of a file
How can I determine the mime-type of a file (in OCaml)? I am tryin开发者_StackOverflowg to set the language for a GtkSourceView control, but to do that, I need to first determine the language.The onl[详细]
2023-01-02 18:51 分类:问答Where should a class free its private variables?
As there is no garbage collection in Delphi, where exactly do you unload variables? Say I have a type with a set of private vars.[详细]
2022-12-19 06:52 分类:问答