Hi All,
If you are interested, this is the function for print a TextView with
GtkSourceView.
context : PrintContext
op : PrintOperation
thecompositor : SourcePrintCompositor
/* * */
/*Print Function*/
Nicolas:
That's great!! thanks
i filed a bug with a patch (some days ago) that fix the cheader_filename of
SourcePrintCompositor.
http://bugzilla.gnome.org/show_bug.cgi?id=585894
Matias
___
Vala-list mailing list
Vala-list@gnome.org
Thank you Matías,
Oop's i forgot, the code:
if linenumber is true
thecompositor.set_print_line_numbers(1)
if highlightsyntax is true
thecompositor.set_highlight_syntax(true)
else if highlightsyntax is false
On Sat, 2009-06-20 at 09:34 -0700, Sam Danielson wrote:
Under Vala 0.6 the following worked.
switch (tree_store.get_column_type (n)) {
case typeof(string):
...
break;
}
In Vala 0.7 it does not -- error: Integer or string expression expected.
Should it actually be