<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Tue, 21 May 2013 21:50:30 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHP-GTK Community Site: Using GtkSourceview to build a php editor with syntax highlighting]]></title>
      <guid>http://www.phpdeveloper.org/news/6930</guid>
      <link>http://www.phpdeveloper.org/news/6930</link>
      <description><![CDATA[<p>
There's a <a href="http://www.php-gtk.eu/code-snippets/extending-gtksourceview-widget">new tutorial</a> posted on the PHP-GTK Community site today - a quick one showing how to use GtkSourceview to create a simple PHP editor with syntax highlighting.
</p>
<blockquote>
This widget is nearly usable as a real php-gtk IDE. It extends GtkSourceView widget and internally manages both a text buffer and language object classes.
</blockquote>
<p>
They <a href="http://www.php-gtk.eu/code-snippets/extending-gtksourceview-widget">provide the code</a>, but not too much in the way of explanation for it. Thankfully, most of it is pretty straight-forward. There are a few things that the script has to manage to make the it work - a text buffer for the data, a viewer (window), and the syntax highlighting component. For the view, there are a few handy functions already built in so you won't have to create them - undos, the syntax highlighting, line numbering, markers, and bracket highlighting.
</p>]]></description>
      <pubDate>Tue, 19 Dec 2006 08:34:00 -0600</pubDate>
    </item>
  </channel>
</rss>
