<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: GtkSourceView 2 API frozen</title>
	<atom:link href="http://blogs.gnome.org/pbor/2007/09/11/gtksourceview-2-api-frozen/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.gnome.org/pbor/2007/09/11/gtksourceview-2-api-frozen/</link>
	<description>pbor's little blue box</description>
	<lastBuildDate>Sat, 07 Nov 2009 19:09:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: pbor</title>
		<link>http://blogs.gnome.org/pbor/2007/09/11/gtksourceview-2-api-frozen/comment-page-1/#comment-51</link>
		<dc:creator>pbor</dc:creator>
		<pubDate>Wed, 10 Oct 2007 08:14:19 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/pbor/2007/09/11/gtksourceview-2-api-frozen/#comment-51</guid>
		<description>Yeah, we want to revise the API a bit and since once released the API is set in stone we decided to punt it for 2.0.

That said with the word &quot;patch&quot; I meant that help is very much welcome both in figuring out the best API and in the implementation.</description>
		<content:encoded><![CDATA[<p>Yeah, we want to revise the API a bit and since once released the API is set in stone we decided to punt it for 2.0.</p>
<p>That said with the word &#8220;patch&#8221; I meant that help is very much welcome both in figuring out the best API and in the implementation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cristian</title>
		<link>http://blogs.gnome.org/pbor/2007/09/11/gtksourceview-2-api-frozen/comment-page-1/#comment-50</link>
		<dc:creator>Cristian</dc:creator>
		<pubDate>Tue, 09 Oct 2007 23:52:55 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/pbor/2007/09/11/gtksourceview-2-api-frozen/#comment-50</guid>
		<description>&quot;Oh wait, I have a better idea: you can submit a patch to make markers happen sooner than later! :-)&quot;

My understanding was that it is not a matter of implementation as much as it is about the API not being completely flushed out as of this time (WRT markers)...</description>
		<content:encoded><![CDATA[<p>&#8220;Oh wait, I have a better idea: you can submit a patch to make markers happen sooner than later! :-)&#8221;</p>
<p>My understanding was that it is not a matter of implementation as much as it is about the API not being completely flushed out as of this time (WRT markers)&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pbor</title>
		<link>http://blogs.gnome.org/pbor/2007/09/11/gtksourceview-2-api-frozen/comment-page-1/#comment-49</link>
		<dc:creator>pbor</dc:creator>
		<pubDate>Tue, 09 Oct 2007 20:45:46 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/pbor/2007/09/11/gtksourceview-2-api-frozen/#comment-49</guid>
		<description>Cristian: yes, I guess you can either stick to version 1.0 and wait for 2.2 to come out with gnome 2,22 or you can try to reimplement them locally for now (it&#039;s not that much code, though you would probably need some hacks to draw markers in the left margin...)

Oh wait, I have a better idea: you can submit a patch to make markers happen sooner than later! :-)</description>
		<content:encoded><![CDATA[<p>Cristian: yes, I guess you can either stick to version 1.0 and wait for 2.2 to come out with gnome 2,22 or you can try to reimplement them locally for now (it&#8217;s not that much code, though you would probably need some hacks to draw markers in the left margin&#8230;)</p>
<p>Oh wait, I have a better idea: you can submit a patch to make markers happen sooner than later! :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cristian</title>
		<link>http://blogs.gnome.org/pbor/2007/09/11/gtksourceview-2-api-frozen/comment-page-1/#comment-48</link>
		<dc:creator>Cristian</dc:creator>
		<pubDate>Tue, 09 Oct 2007 18:01:09 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/pbor/2007/09/11/gtksourceview-2-api-frozen/#comment-48</guid>
		<description>I am using gtksourceview (and gtksourceviewmm) in a debugger application, and I depend on source markers to show breakpoints, the line at the program counter and so on, as you can see here:
http://www.zero-bugs.com/images/zero-2.png

What are my options, to stick with gtksourceview-1.0 until the markers make it into the 2.2 API? Do you have any better recommendations?

Thank you!</description>
		<content:encoded><![CDATA[<p>I am using gtksourceview (and gtksourceviewmm) in a debugger application, and I depend on source markers to show breakpoints, the line at the program counter and so on, as you can see here:<br />
<a href="http://www.zero-bugs.com/images/zero-2.png" rel="nofollow">http://www.zero-bugs.com/images/zero-2.png</a></p>
<p>What are my options, to stick with gtksourceview-1.0 until the markers make it into the 2.2 API? Do you have any better recommendations?</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pbor</title>
		<link>http://blogs.gnome.org/pbor/2007/09/11/gtksourceview-2-api-frozen/comment-page-1/#comment-32</link>
		<dc:creator>pbor</dc:creator>
		<pubDate>Thu, 13 Sep 2007 12:52:01 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/pbor/2007/09/11/gtksourceview-2-api-frozen/#comment-32</guid>
		<description>Onkar: what to do with assembler highlighting is being a bit debated internally because usually there is no mime type for assembler and because there are many assembler variants, but hopefully for the next version you&#039;ll get both the lang file and the markers api back so that your app can benefit from gsv2. Anyway note that the api allows an app to specify a cutsom path where to look for lang files.

Murray: since you already know which language highlighting you want you can simply use gtk_source_language_manager_get_language() and use the id of the language you want, in this case simply &#039;python&#039;</description>
		<content:encoded><![CDATA[<p>Onkar: what to do with assembler highlighting is being a bit debated internally because usually there is no mime type for assembler and because there are many assembler variants, but hopefully for the next version you&#8217;ll get both the lang file and the markers api back so that your app can benefit from gsv2. Anyway note that the api allows an app to specify a cutsom path where to look for lang files.</p>
<p>Murray: since you already know which language highlighting you want you can simply use gtk_source_language_manager_get_language() and use the id of the language you want, in this case simply &#8216;python&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Murray Cumming</title>
		<link>http://blogs.gnome.org/pbor/2007/09/11/gtksourceview-2-api-frozen/comment-page-1/#comment-31</link>
		<dc:creator>Murray Cumming</dc:creator>
		<pubDate>Thu, 13 Sep 2007 12:39:54 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/pbor/2007/09/11/gtksourceview-2-api-frozen/#comment-31</guid>
		<description>In Glom, we currently have this code (simplified and translated to C), to get python syntax highlighting:

GtkSourceLanguage* language = gtk_source_languages_manager_get_language_from_mime_type(&quot;application/x-python&quot;);
GtkSourceBuffer* buffer = gtk_source_buffer_new(language);
gtk_source_buffer_set_highlght(buffer, TRUE);
gtk_text_view_set_buffer (text_view, buffer);

Not what get_language_from_mime_type() is gone, how should we say that we want Python sytntax highlighting?</description>
		<content:encoded><![CDATA[<p>In Glom, we currently have this code (simplified and translated to C), to get python syntax highlighting:</p>
<p>GtkSourceLanguage* language = gtk_source_languages_manager_get_language_from_mime_type(&#8221;application/x-python&#8221;);<br />
GtkSourceBuffer* buffer = gtk_source_buffer_new(language);<br />
gtk_source_buffer_set_highlght(buffer, TRUE);<br />
gtk_text_view_set_buffer (text_view, buffer);</p>
<p>Not what get_language_from_mime_type() is gone, how should we say that we want Python sytntax highlighting?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Onkar</title>
		<link>http://blogs.gnome.org/pbor/2007/09/11/gtksourceview-2-api-frozen/comment-page-1/#comment-30</link>
		<dc:creator>Onkar</dc:creator>
		<pubDate>Thu, 13 Sep 2007 07:59:12 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/pbor/2007/09/11/gtksourceview-2-api-frozen/#comment-30</guid>
		<description>I am currently maintaining a project called gnusim8085 which uses GtkSourceView as editor component. It is a 8085 simulator and we use GtkSourceMarker to mark debug points in the editor.
Also for this simulator we had developed a .lang file for 8085 syntax highlighting. It was submitted in a bug on GNOME bugzilla. Looks like it will never get included in GtkSourceView now. I will be glad if it gets included in GtkSourceView2.
http://bugzilla.gnome.org/show_bug.cgi?id=412587

You can try the simulator yourself if you wish. http://www.sourceforge.net/projects/gnusim8085</description>
		<content:encoded><![CDATA[<p>I am currently maintaining a project called gnusim8085 which uses GtkSourceView as editor component. It is a 8085 simulator and we use GtkSourceMarker to mark debug points in the editor.<br />
Also for this simulator we had developed a .lang file for 8085 syntax highlighting. It was submitted in a bug on GNOME bugzilla. Looks like it will never get included in GtkSourceView now. I will be glad if it gets included in GtkSourceView2.<br />
<a href="http://bugzilla.gnome.org/show_bug.cgi?id=412587" rel="nofollow">http://bugzilla.gnome.org/show_bug.cgi?id=412587</a></p>
<p>You can try the simulator yourself if you wish. <a href="http://www.sourceforge.net/projects/gnusim8085" rel="nofollow">http://www.sourceforge.net/projects/gnusim8085</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pbor</title>
		<link>http://blogs.gnome.org/pbor/2007/09/11/gtksourceview-2-api-frozen/comment-page-1/#comment-29</link>
		<dc:creator>pbor</dc:creator>
		<pubDate>Tue, 11 Sep 2007 19:25:52 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/pbor/2007/09/11/gtksourceview-2-api-frozen/#comment-29</guid>
		<description>Brian: Yes, it can highlight stuff like that, for instance we highlight gtk-doc inside C comments. That said, currently csharp.lang doesn&#039;t take advantage of that... patches are welcome! :-)</description>
		<content:encoded><![CDATA[<p>Brian: Yes, it can highlight stuff like that, for instance we highlight gtk-doc inside C comments. That said, currently csharp.lang doesn&#8217;t take advantage of that&#8230; patches are welcome! :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Nickel</title>
		<link>http://blogs.gnome.org/pbor/2007/09/11/gtksourceview-2-api-frozen/comment-page-1/#comment-28</link>
		<dc:creator>Brian Nickel</dc:creator>
		<pubDate>Tue, 11 Sep 2007 19:10:42 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/pbor/2007/09/11/gtksourceview-2-api-frozen/#comment-28</guid>
		<description>That didn&#039;t print right:

/// &lt;see
///    cref=&quot;string&quot; /&lt;</description>
		<content:encoded><![CDATA[<p>That didn&#8217;t print right:</p>
<p>/// &lt;see<br />
///    cref=&#8221;string&#8221; /&lt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Nickel</title>
		<link>http://blogs.gnome.org/pbor/2007/09/11/gtksourceview-2-api-frozen/comment-page-1/#comment-27</link>
		<dc:creator>Brian Nickel</dc:creator>
		<pubDate>Tue, 11 Sep 2007 19:09:58 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/pbor/2007/09/11/gtksourceview-2-api-frozen/#comment-27</guid>
		<description>Does the new syntax-with-a-syntax support cover things like XML docs in C#?

/// </description>
		<content:encoded><![CDATA[<p>Does the new syntax-with-a-syntax support cover things like XML docs in C#?</p>
<p>///</p>
]]></content:encoded>
	</item>
</channel>
</rss>
