<?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: Syntax Highlighting for NSTextView with flex</title>
	<atom:link href="http://www.stiefels.net/2008/01/22/syntax-highlighting-for-nstextview-with-flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stiefels.net/2008/01/22/syntax-highlighting-for-nstextview-with-flex/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 10 Feb 2010 12:43:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: SpookyET</title>
		<link>http://www.stiefels.net/2008/01/22/syntax-highlighting-for-nstextview-with-flex/comment-page-1/#comment-114</link>
		<dc:creator>SpookyET</dc:creator>
		<pubDate>Mon, 18 Jan 2010 03:12:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.stiefels.net/2008/01/22/syntax-highlighting-for-nstextview-with-flex/#comment-114</guid>
		<description>I have the same problem with these warnings. XCode can’t detect non-existant functions since they aren’t generated yet. I can’t figure out what you did in your project to hide the errors.

1 – implicit declaration of function ‘yystatereset’
2 – implicit declaration of function ‘yy_scan_string’
3 – implicit declaration of function ‘yylex’

Also, the generated code is leaking memory and the objective-c code calls autorelease pool way too often. yy_delete_buffer isn’t getting called.

NSString *tokenString = [[NSString stringWithUTF8String: yyText] autorelease]; &lt;— that’s bad.</description>
		<content:encoded><![CDATA[<p>I have the same problem with these warnings. XCode can’t detect non-existant functions since they aren’t generated yet. I can’t figure out what you did in your project to hide the errors.</p>
<p>1 – implicit declaration of function ‘yystatereset’<br />
2 – implicit declaration of function ‘yy_scan_string’<br />
3 – implicit declaration of function ‘yylex’</p>
<p>Also, the generated code is leaking memory and the objective-c code calls autorelease pool way too often. yy_delete_buffer isn’t getting called.</p>
<p>NSString *tokenString = [[NSString stringWithUTF8String: yyText] autorelease]; &lt;— that’s bad.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Radost Mantic</title>
		<link>http://www.stiefels.net/2008/01/22/syntax-highlighting-for-nstextview-with-flex/comment-page-1/#comment-59</link>
		<dc:creator>Radost Mantic</dc:creator>
		<pubDate>Tue, 09 Jun 2009 21:35:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.stiefels.net/2008/01/22/syntax-highlighting-for-nstextview-with-flex/#comment-59</guid>
		<description>&lt;p&gt;The problem with this approach is performance. Try a &gt; 1000 lines text (wrapped at 80 columns; ~100,000 chars); each stroke goes through the delegate and degrades responsiveness. Interesting approach, though.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>The problem with this approach is performance. Try a &gt; 1000 lines text (wrapped at 80 columns; ~100,000 chars); each stroke goes through the delegate and degrades responsiveness. Interesting approach, though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://www.stiefels.net/2008/01/22/syntax-highlighting-for-nstextview-with-flex/comment-page-1/#comment-58</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Sat, 07 Feb 2009 18:07:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.stiefels.net/2008/01/22/syntax-highlighting-for-nstextview-with-flex/#comment-58</guid>
		<description>&lt;p&gt;@David,
You can download git for OS X from http://code.google.com/p/git-osx-installer/.
Git is a command line tool but all you need to do is to clone the repository (see in comments above).&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>@David,<br />
You can download git for OS X from <a href="http://code.google.com/p/git-osx-installer/" rel="nofollow">http://code.google.com/p/git-osx-installer/</a>.<br />
Git is a command line tool but all you need to do is to clone the repository (see in comments above).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.stiefels.net/2008/01/22/syntax-highlighting-for-nstextview-with-flex/comment-page-1/#comment-57</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sat, 07 Feb 2009 15:39:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.stiefels.net/2008/01/22/syntax-highlighting-for-nstextview-with-flex/#comment-57</guid>
		<description>&lt;p&gt;How do I make Git work? Is there a download for it and is it an app?&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>How do I make Git work? Is there a download for it and is it an app?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://www.stiefels.net/2008/01/22/syntax-highlighting-for-nstextview-with-flex/comment-page-1/#comment-56</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Wed, 12 Nov 2008 14:40:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.stiefels.net/2008/01/22/syntax-highlighting-for-nstextview-with-flex/#comment-56</guid>
		<description>&lt;p&gt;Could you send me your project (or parts of it) so I can have a look at it?&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Could you send me your project (or parts of it) so I can have a look at it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mic</title>
		<link>http://www.stiefels.net/2008/01/22/syntax-highlighting-for-nstextview-with-flex/comment-page-1/#comment-55</link>
		<dc:creator>Mic</dc:creator>
		<pubDate>Tue, 11 Nov 2008 22:10:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.stiefels.net/2008/01/22/syntax-highlighting-for-nstextview-with-flex/#comment-55</guid>
		<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I have used this code in my own project and although it&#039;s almost identical to yours, I get three build warnings when I compile, which I don&#039;t when I compile yours. The program still runs okay, but the warnings I get are ..&lt;/p&gt;

&lt;p&gt;1 - implicit declaration of function &#039;yystatereset&#039;
2 - implicit declaration of function &#039;yy_scan_string&#039;
3 - implicit declaration of function &#039;yylex&#039;&lt;/p&gt;

&lt;p&gt;All in the delegate method for textStorageDidProcessEditing.&lt;/p&gt;

&lt;p&gt;Any ideas on what might be causing this ?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;-Mic&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have used this code in my own project and although it&#8217;s almost identical to yours, I get three build warnings when I compile, which I don&#8217;t when I compile yours. The program still runs okay, but the warnings I get are ..</p>
<p>1 &#8211; implicit declaration of function &#8216;yystatereset&#8217;<br />
2 &#8211; implicit declaration of function &#8216;yy_scan_string&#8217;<br />
3 &#8211; implicit declaration of function &#8216;yylex&#8217;</p>
<p>All in the delegate method for textStorageDidProcessEditing.</p>
<p>Any ideas on what might be causing this ?</p>
<p>Thanks</p>
<p>-Mic</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://www.stiefels.net/2008/01/22/syntax-highlighting-for-nstextview-with-flex/comment-page-1/#comment-54</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Fri, 22 Aug 2008 03:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.stiefels.net/2008/01/22/syntax-highlighting-for-nstextview-with-flex/#comment-54</guid>
		<description>&lt;p&gt;@Marc:&lt;br /&gt;
Please use http as the transport protocol:&lt;br /&gt;
git clone http://www.stiefels.net/~sst/repos/CaptureReals.git&lt;/p&gt;

&lt;p&gt;That should work.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>@Marc:<br />
Please use http as the transport protocol:<br />
git clone <a href="http://www.stiefels.net/~sst/repos/CaptureReals.git" rel="nofollow">http://www.stiefels.net/~sst/repos/CaptureReals.git</a></p>
<p>That should work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc</title>
		<link>http://www.stiefels.net/2008/01/22/syntax-highlighting-for-nstextview-with-flex/comment-page-1/#comment-53</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Thu, 21 Aug 2008 10:52:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.stiefels.net/2008/01/22/syntax-highlighting-for-nstextview-with-flex/#comment-53</guid>
		<description>&lt;p&gt;I have a connection error when i try to get the project:
$ git clone git://www.stiefels.net/~sst/repos/CaptureReals.git
Initialized empty Git repository in /Users/Marc/CaptureReals/.git/
www.stiefels.net[0: 88.198.17.171]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>I have a connection error when i try to get the project:<br />
$ git clone git://www.stiefels.net/~sst/repos/CaptureReals.git<br />
Initialized empty Git repository in /Users/Marc/CaptureReals/.git/<br />
<a href="http://www.stiefels.net0" rel="nofollow">http://www.stiefels.net0</a>: 88.198.17.171]: errno=Connection refused<br />
fatal: unable to connect a socket (Connection refused)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.stiefels.net/2008/01/22/syntax-highlighting-for-nstextview-with-flex/comment-page-1/#comment-52</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Mon, 14 Jul 2008 22:50:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.stiefels.net/2008/01/22/syntax-highlighting-for-nstextview-with-flex/#comment-52</guid>
		<description>&lt;p&gt;Nice article,&lt;/p&gt;

&lt;p&gt;I&#039;ll be having a play with this for an app I&#039;m working on.
Only need basic syntax colouring on a small amount of text.&lt;/p&gt;

&lt;p&gt;Ben&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Nice article,</p>
<p>I&#8217;ll be having a play with this for an app I&#8217;m working on.<br />
Only need basic syntax colouring on a small amount of text.</p>
<p>Ben</p>
]]></content:encoded>
	</item>
</channel>
</rss>
