<?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: Blogging with Eclipse on Windows &#8211; Another Afae Update</title>
	<atom:link href="http://robrohan.com/2007/03/04/blogging-with-eclipse-on-windows-another-afae-update/feed/" rel="self" type="application/rss+xml" />
	<link>http://robrohan.com/2007/03/04/blogging-with-eclipse-on-windows-another-afae-update/</link>
	<description>技术任意</description>
	<lastBuildDate>Fri, 04 Dec 2009 04:36:16 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: rob</title>
		<link>http://robrohan.com/2007/03/04/blogging-with-eclipse-on-windows-another-afae-update/comment-page-1/#comment-1068</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Mon, 05 Mar 2007 20:36:25 +0000</pubDate>
		<guid isPermaLink="false">http://robrohan.com/2007/03/04/blogging-with-eclipse-on-windows-another-afae-update/#comment-1068</guid>
		<description>&lt;p&gt;I take that back, using KEYWORD2 will also autoclose tags (used in XSLT)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I take that back, using KEYWORD2 will also autoclose tags (used in XSLT)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: rob</title>
		<link>http://robrohan.com/2007/03/04/blogging-with-eclipse-on-windows-another-afae-update/comment-page-1/#comment-1067</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Mon, 05 Mar 2007 20:31:27 +0000</pubDate>
		<guid isPermaLink="false">http://robrohan.com/2007/03/04/blogging-with-eclipse-on-windows-another-afae-update/#comment-1067</guid>
		<description>&lt;p&gt;I didn&#039;t really say that bug right - when you are at the very end of the file the tag wont auto close (i.e. it wont write past the end of the file). Open a new file hit enter then go up one line the tag should autoclose.&lt;/p&gt;

&lt;p&gt;I just took a real quick stab at the cf mode, and you&#039;re probably going to run into a few things with it. First, afae will auto close, but only if the partition type is set to MARKUP. Unless you want cftags and html tags to be the same color you won&#039;t be able to get auto closing on cftags from the present code base.&lt;/p&gt;

&lt;p&gt;The other thing is you can only do a regex hash char once and &lt; is being used by the javascript regex rule. So that&#039;ll take some tweaking to get to work.&lt;/p&gt;

&lt;p&gt;I put adding cf on my list, it&#039;ll be out on the next release (sometime this week if time allows). You might want to wait till then and then tweak the rules. If you&#039;re tough though, go for it and let me know how you get on.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t really say that bug right &#8211; when you are at the very end of the file the tag wont auto close (i.e. it wont write past the end of the file). Open a new file hit enter then go up one line the tag should autoclose.</p>

<p>I just took a real quick stab at the cf mode, and you&#8217;re probably going to run into a few things with it. First, afae will auto close, but only if the partition type is set to MARKUP. Unless you want cftags and html tags to be the same color you won&#8217;t be able to get auto closing on cftags from the present code base.</p>

<p>The other thing is you can only do a regex hash char once and &lt; is being used by the javascript regex rule. So that&#8217;ll take some tweaking to get to work.</p>

<p>I put adding cf on my list, it&#8217;ll be out on the next release (sometime this week if time allows). You might want to wait till then and then tweak the rules. If you&#8217;re tough though, go for it and let me know how you get on.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ron Stewart</title>
		<link>http://robrohan.com/2007/03/04/blogging-with-eclipse-on-windows-another-afae-update/comment-page-1/#comment-1066</link>
		<dc:creator>Ron Stewart</dc:creator>
		<pubDate>Mon, 05 Mar 2007 19:55:04 +0000</pubDate>
		<guid isPermaLink="false">http://robrohan.com/2007/03/04/blogging-with-eclipse-on-windows-another-afae-update/#comment-1066</guid>
		<description>&lt;p&gt;Thanks, Rob...&lt;/p&gt;

&lt;p&gt;1) I am going to take a whack at an updated ColdFusion mode file, and will send it to you to review.&lt;/p&gt;

&lt;p&gt;2) I /think/ I understand. I will play with it a bit and see if I can get where I want to be...&lt;/p&gt;

&lt;p&gt;3) Hmmm. It isn&#039;t the first tag. Create an empty HTML file. Put in a paragraph. It won&#039;t close. Put in a table. It won&#039;t close. Inside the table, put in a tr -- that one will auto-close.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks, Rob&#8230;</p>

<p>1) I am going to take a whack at an updated ColdFusion mode file, and will send it to you to review.</p>

<p>2) I /think/ I understand. I will play with it a bit and see if I can get where I want to be&#8230;</p>

<p>3) Hmmm. It isn&#8217;t the first tag. Create an empty HTML file. Put in a paragraph. It won&#8217;t close. Put in a table. It won&#8217;t close. Inside the table, put in a tr &#8212; that one will auto-close.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: rob</title>
		<link>http://robrohan.com/2007/03/04/blogging-with-eclipse-on-windows-another-afae-update/comment-page-1/#comment-1064</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Mon, 05 Mar 2007 19:16:29 +0000</pubDate>
		<guid isPermaLink="false">http://robrohan.com/2007/03/04/blogging-with-eclipse-on-windows-another-afae-update/#comment-1064</guid>
		<description>&lt;p&gt;This numbering thing is kind of fun :)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Ok, I&#039;ll put the coldfusion mode back in the mix (Don&#039;t kill me Mark, I mean you no harm ;D)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Not really. When a mode file is loaded, as it is loading the entity references are expanded. So &javascriptrules; becomes the contents of the file inc/javascript_rules.ixml. It&#039;s using an XML feature called &quot;unparsed entities&quot;: http://www.xml.com/pub/a/98/08/xmlqna2.html . So if you want to add javascript support to a coldfusion mode file, you&#039;d make a delegate rule within the coldfusion file and for the body of the rule you&#039;d add &amp;javascript_rules; (see the php.xml mode file)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;They all should close by default. What you might be running into the small bug of &quot;the first tag in a file wont auto close&quot;. Otherwise, you&#039;ve hit a new bug (if you could sent me the html file that isn&#039;t closing tags properly, please let me know)&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
</description>
		<content:encoded><![CDATA[<p>This numbering thing is kind of fun :)</p>

<ol>
<li><p>Ok, I&#8217;ll put the coldfusion mode back in the mix (Don&#8217;t kill me Mark, I mean you no harm ;D)</p></li>
<li><p>Not really. When a mode file is loaded, as it is loading the entity references are expanded. So &amp;javascriptrules; becomes the contents of the file inc/javascript_rules.ixml. It&#8217;s using an XML feature called &#8220;unparsed entities&#8221;: <a href="http://www.xml.com/pub/a/98/08/xmlqna2.html" rel="nofollow">http://www.xml.com/pub/a/98/08/xmlqna2.html</a> . So if you want to add javascript support to a coldfusion mode file, you&#8217;d make a delegate rule within the coldfusion file and for the body of the rule you&#8217;d add &amp;javascript_rules; (see the php.xml mode file)</p></li>
<li><p>They all should close by default. What you might be running into the small bug of &#8220;the first tag in a file wont auto close&#8221;. Otherwise, you&#8217;ve hit a new bug (if you could sent me the html file that isn&#8217;t closing tags properly, please let me know)</p></li>
</ol>]]></content:encoded>
	</item>
	<item>
		<title>By: Ron Stewart</title>
		<link>http://robrohan.com/2007/03/04/blogging-with-eclipse-on-windows-another-afae-update/comment-page-1/#comment-1063</link>
		<dc:creator>Ron Stewart</dc:creator>
		<pubDate>Mon, 05 Mar 2007 18:23:22 +0000</pubDate>
		<guid isPermaLink="false">http://robrohan.com/2007/03/04/blogging-with-eclipse-on-windows-another-afae-update/#comment-1063</guid>
		<description>&lt;p&gt;Thanks, Rob...&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;I am in an odd spot with CFEclipse right now, as there is a bug in it -- logged, but not yet fixed -- that causes CFEclipse to hang or freeze in specific situations on a very repeatable (and unfortunately, frequent) basis. As a result, I am looking for something to use in the interim -- and AFAE looks promising. Hopefully, Mark Drew will be able to get that one resolved, but in the interim I am looking for an alternative. I have spent some time in the past -- not recently, though -- tweaking the stock jEdit ColdFusion mode to work more like I wanted it to (e.g., delegation of CSS, JS, SQL within CF source files), so the thought of getting the AFAE mode set up in a similar way isn&#039;t too intimidating for me. I&#039;d be more than willing to share whatever I come up with.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;So does AFAE just load all of the .ixml files? Or is there something there that specifically directs AFEA to load a specific file so that we can reference the rules, etc., defined there?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;On some tags, AFAE is automagically supplying the closing tag, but not for every tag -- which in most cases is cool, but I&#039;d like to make the same thing happen on some of the tags not currently functioning in that manner and I&#039;d like to make the same thing happen in ColdFusion mode for some of the tags. What I&#039;m not seeing is why some do and some don&#039;t (e.g., td vs table in an HTML file).&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks, Rob&#8230;</p>

<ol>
<li><p>I am in an odd spot with CFEclipse right now, as there is a bug in it &#8212; logged, but not yet fixed &#8212; that causes CFEclipse to hang or freeze in specific situations on a very repeatable (and unfortunately, frequent) basis. As a result, I am looking for something to use in the interim &#8212; and AFAE looks promising. Hopefully, Mark Drew will be able to get that one resolved, but in the interim I am looking for an alternative. I have spent some time in the past &#8212; not recently, though &#8212; tweaking the stock jEdit ColdFusion mode to work more like I wanted it to (e.g., delegation of CSS, JS, SQL within CF source files), so the thought of getting the AFAE mode set up in a similar way isn&#8217;t too intimidating for me. I&#8217;d be more than willing to share whatever I come up with.</p></li>
<li><p>So does AFAE just load all of the .ixml files? Or is there something there that specifically directs AFEA to load a specific file so that we can reference the rules, etc., defined there?</p></li>
<li><p>On some tags, AFAE is automagically supplying the closing tag, but not for every tag &#8212; which in most cases is cool, but I&#8217;d like to make the same thing happen on some of the tags not currently functioning in that manner and I&#8217;d like to make the same thing happen in ColdFusion mode for some of the tags. What I&#8217;m not seeing is why some do and some don&#8217;t (e.g., td vs table in an HTML file).</p></li>
</ol>]]></content:encoded>
	</item>
	<item>
		<title>By: rob</title>
		<link>http://robrohan.com/2007/03/04/blogging-with-eclipse-on-windows-another-afae-update/comment-page-1/#comment-1045</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Mon, 05 Mar 2007 16:51:35 +0000</pubDate>
		<guid isPermaLink="false">http://robrohan.com/2007/03/04/blogging-with-eclipse-on-windows-another-afae-update/#comment-1045</guid>
		<description>&lt;p&gt;Hi Ron,&lt;/p&gt;

&lt;p&gt;1) I wasn&#039;t planning on turning on the coldfusion one since it&#039;d make it somewhat in competition with http://cfeclipse.org , but if people want it I&#039;ll update and turn it on.&lt;/p&gt;

&lt;p&gt;2) Sure. Eclipse doesn&#039;t really have a notion of delegation - at least that I could find - so in order to allow sub sections to color code correctly (for example a JS section inside an HTML file) the rules are included for each  mode individually. Instead of duplicating the rules, the .ixml (include xml) files are used. For example, if you look at html.xml you&#039;ll see an entity reference to javascriptrules which include the javascript rules into that section - same thing in rhtml and php etc. (I am working on a better way to implement this)&lt;/p&gt;

&lt;p&gt;I hope that kind of made sense. Another place to use for reference is the xmode.dtd where you can see how they are included.&lt;/p&gt;

&lt;p&gt;3) Not sure I understand what you mean. Look at html.ixml in the inc directory, that might clear it up.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Ron,</p>

<p>1) I wasn&#8217;t planning on turning on the coldfusion one since it&#8217;d make it somewhat in competition with <a href="http://cfeclipse.org" rel="nofollow">http://cfeclipse.org</a> , but if people want it I&#8217;ll update and turn it on.</p>

<p>2) Sure. Eclipse doesn&#8217;t really have a notion of delegation &#8211; at least that I could find &#8211; so in order to allow sub sections to color code correctly (for example a JS section inside an HTML file) the rules are included for each  mode individually. Instead of duplicating the rules, the .ixml (include xml) files are used. For example, if you look at html.xml you&#8217;ll see an entity reference to javascriptrules which include the javascript rules into that section &#8211; same thing in rhtml and php etc. (I am working on a better way to implement this)</p>

<p>I hope that kind of made sense. Another place to use for reference is the xmode.dtd where you can see how they are included.</p>

<p>3) Not sure I understand what you mean. Look at html.ixml in the inc directory, that might clear it up.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ron Stewart</title>
		<link>http://robrohan.com/2007/03/04/blogging-with-eclipse-on-windows-another-afae-update/comment-page-1/#comment-1023</link>
		<dc:creator>Ron Stewart</dc:creator>
		<pubDate>Mon, 05 Mar 2007 14:53:45 +0000</pubDate>
		<guid isPermaLink="false">http://robrohan.com/2007/03/04/blogging-with-eclipse-on-windows-another-afae-update/#comment-1023</guid>
		<description>&lt;p&gt;Great stuff! A couple of quick questions related to syntax highlighting for you...&lt;/p&gt;

&lt;p&gt;1) Any plans to re-do the coldfusion.xml mode file, based on these updates to the mode handling?&lt;/p&gt;

&lt;p&gt;2) Can you explain the relationships between the html.xml, inc/html.ixml, and inc/html_spans.ixml files (and the other inc/*.ixml files, for that matter) that comprise the html mode? After looking at them (and being familiar with jEdit), I don&#039;t see anything specific that explicitly defines the delegation and/or where to file the &quot;external&quot; rulesets.&lt;/p&gt;

&lt;p&gt;3) What is it that enables &quot;tag matching&quot; for some tags in html mode (e.g., th, td) but not others (e.g., table, p)?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Great stuff! A couple of quick questions related to syntax highlighting for you&#8230;</p>

<p>1) Any plans to re-do the coldfusion.xml mode file, based on these updates to the mode handling?</p>

<p>2) Can you explain the relationships between the html.xml, inc/html.ixml, and inc/html_spans.ixml files (and the other inc/*.ixml files, for that matter) that comprise the html mode? After looking at them (and being familiar with jEdit), I don&#8217;t see anything specific that explicitly defines the delegation and/or where to file the &#8220;external&#8221; rulesets.</p>

<p>3) What is it that enables &#8220;tag matching&#8221; for some tags in html mode (e.g., th, td) but not others (e.g., table, p)?</p>]]></content:encoded>
	</item>
</channel>
</rss>
