[MonoDevelop] SVN Monodevelop + No Syntax Highlighting

Zach Lute zach.lute at gmail.com
Sat Aug 4 19:57:23 EDT 2007


I sent him my version of the file and that didn't seem to help either.
 When I delete my SyntaxHighlighting.xml file and then start and close
MD, it generates a new one with all of the appropriate data in it
(which is just a list of languages anyway).

>From looking at SourceViewService.cs, it looks like it just finds
languages in GtkSourceView's SourceLanguageManager and updates them
with any data in that XML file, then at close it just writes out that
list.  So it's never actually adding anything based on that file, just
modifying the highlighting or whatever.

So it looks like something is causing the AvailableLanguages list in
GtkSourceView.SourceLanguageManager to be empty.  I don't know
anything about GtkSourceView, though.

On 8/4/07, John Anderson <sontek at gmail.com> wrote:
>
>
> >
> > That looks like a problem. Try deleting that file. Is it recreated at
> > shutdown? Is there an error at shutdown when MD tries to write the
> > file?
> It does create the file on shutdown but its empty
>
> <?xml version="1.0" encoding="utf-8"?>
>  <SyntaxHighlighting />
>
> and I also get these errors on shutdown
>
> (MonoDevelop:25301): Gtk-CRITICAL **: gtk_style_detach: assertion
> `style->attach_count > 0' failed
>
> (MonoDevelop:25301): Gtk-CRITICAL **: gtk_style_detach: assertion
> `style->attach_count > 0' failed
>
> (MonoDevelop:25301): Gtk-CRITICAL **: gtk_style_detach: assertion
> `style->attach_count > 0' failed
>
> (MonoDevelop:25301): Gtk-CRITICAL **: gtk_style_detach: assertion
> `style->attach_count > 0' failed
>
> (MonoDevelop:25301): Gtk-CRITICAL **: gtk_style_detach: assertion
> `style->attach_count > 0' failed
>
> (MonoDevelop:25301): Gtk-CRITICAL **: gtk_style_detach: assertion
> `style->attach_count > 0' failed
>
> (MonoDevelop:25301): Gtk-CRITICAL **: gtk_style_detach: assertion
> `style->attach_count > 0' failed
>
> (MonoDevelop:25301): Gtk-CRITICAL **: gtk_style_detach: assertion
> `style->attach_count > 0' failed
>
> (MonoDevelop:25301): Gtk-CRITICAL **: gtk_style_detach: assertion
> `style->attach_count > 0' failed
>
> (MonoDevelop:25301): Gtk-CRITICAL **: gtk_style_detach: assertion
> `style->attach_count > 0' failed
>
> (MonoDevelop:25301): Gtk-CRITICAL **: gtk_style_detach: assertion
> `style->attach_count > 0' failed
>
> (MonoDevelop:25301): Gtk-CRITICAL **: gtk_style_detach: assertion
> `style->attach_count > 0' failed
>
> (MonoDevelop:25301): Gtk-CRITICAL **: gtk_style_detach: assertion
> `style->attach_count > 0' failed
>
> (MonoDevelop:25301): Gtk-CRITICAL **: gtk_style_detach: assertion
> `style->attach_count > 0' failed
> Segmentation fault
>
>
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>


More information about the Monodevelop-list mailing list