<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : LexClass Folding Program</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Syntax Edit : LexClass Folding Program]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 23 May 2026 03:45:24 +0000</pubDate>
  <lastBuildDate>Mon, 23 Nov 2020 11:04:49 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=24099</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[LexClass Folding Program : I refer to the configuration file...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24099&amp;PID=77946&amp;title=lexclass-folding-program#77946</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9453">yixincheng</a><br /><strong>Subject:</strong> 24099<br /><strong>Posted:</strong> 23 November 2020 at 11:04am<br /><br /><div><br></div><div>I refer to the configuration file related to lexClass, such as _cpp.schclass of C++ language, and modify it to generate a new file. The folding part is written like this</div><div><div><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">lexClass： </font></font><span style="white-space:pre">	</span></div><div><span style="white-space:pre">	</span>name&nbsp;<font style="vertical-align: inherit;"><font style="vertical-align: inherit;">= c_STCodeBlock</font></font></div><div><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><span style="white-space:pre">	</span>parent：dyn </font></font><span style="white-space:pre">	</span><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">= c_ST，c_STCodeBlock</font></font></div><div><span style="white-space:pre">	</span><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">start：tag </font></font><span style="white-space:pre">	</span><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">='VAR'，'VAR_INPUT'</font></font></div><div><span style="white-space:pre">	</span><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">// skip：tag </font></font><span style="white-space:pre">	</span><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">='\\\ r \ n'，'\\\ n \ r'，'\\\ n'，'\\\ r'，'\\\ t \ n'</font></font><span style="white-space:pre">	</span></div><div><span style="white-space:pre">	</span><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">end：tag </font></font><span style="white-space:pre">		</span><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">='END_VAR'</font></font></div><div><span style="white-space:pre">	</span>Collapsable<span style="white-space:pre">	</span><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">= 1&nbsp;</font></font></div><div><span style="white-space:pre">	</span><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">CollapsedText </font></font><span style="white-space:pre">	</span><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">='...'</font></font><span style="white-space:pre">	</span></div></div><div><br></div><div><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">or</font></font></div><div><br></div><div><div>lexClass: <span style="white-space:pre">	</span></div><div><span style="white-space:pre">	</span>name<span style="white-space:pre">		</span>= c_STCodeBlock</div><div><span style="white-space:pre">	</span>parent:dyn<span style="white-space:pre">	</span>= c_ST, c_STCodeBlock</div><div><span style="white-space:pre">	</span>start:tag<span style="white-space:pre">	</span>= 'VAR'</div><div><span style="white-space:pre">	</span>start:tag<span style="white-space:pre">	</span>= 'PROGRAM'</div><div><span style="white-space:pre">	</span>start:tag<span style="white-space:pre">	</span>= 'FUNCTION'</div><div><span style="white-space:pre">	</span>start:tag<span style="white-space:pre">	</span>= 'FUNCTION_BLOCK'</div><div><span style="white-space:pre">	</span>start:tag<span style="white-space:pre">	</span>= 'UNION'</div><div><span style="white-space:pre">	</span>start:tag<span style="white-space:pre">	</span>= 'TYPE'</div><div><span style="white-space:pre">	</span>start:tag<span style="white-space:pre">	</span>= 'STRUCT'</div><div><span style="white-space:pre">	</span>start:tag<span style="white-space:pre">	</span>= 'CASE'</div><div><span style="white-space:pre">	</span>start:tag<span style="white-space:pre">	</span>= 'FOR'</div><div><span style="white-space:pre">	</span>start:tag<span style="white-space:pre">	</span>= 'REPEAT'</div><div><span style="white-space:pre">	</span>start:tag<span style="white-space:pre">	</span>= 'WHILE'</div><div><span style="white-space:pre">	</span>start:tag<span style="white-space:pre">	</span>= 'IF'</div><div><span style="white-space:pre">	</span>start:tag<span style="white-space:pre">	</span>= ':'</div><div><span style="white-space:pre">	</span>start:tag<span style="white-space:pre">	</span>= 'VAR_INPUT'</div><div><span style="white-space:pre">	</span>start:tag<span style="white-space:pre">	</span>= 'VAR_OUTPUT'</div><div><span style="white-space:pre">	</span>start:tag<span style="white-space:pre">	</span>= 'VAR_IN_OUT'</div><div><span style="white-space:pre">	</span>start:tag<span style="white-space:pre">	</span>= 'VAR_GLOBAL'</div><div><span style="white-space:pre">	</span>end:tag<span style="white-space:pre">		</span>= 'END_VAR'</div><div><span style="white-space:pre">	</span>end:tag<span style="white-space:pre">		</span>= 'END_PROGRAM'</div><div><span style="white-space:pre">	</span>end:tag<span style="white-space:pre">		</span>= 'END_FUNCTION'</div><div><span style="white-space:pre">	</span>end:tag<span style="white-space:pre">		</span>= 'END_FUNCTION_BLOCK'</div><div><span style="white-space:pre">	</span>end:tag<span style="white-space:pre">		</span>= 'END_UNION'</div><div><span style="white-space:pre">	</span>end:tag<span style="white-space:pre">		</span>= 'END_TYPE'</div><div><span style="white-space:pre">	</span>end:tag<span style="white-space:pre">		</span>= 'END_STRUCT'</div><div><span style="white-space:pre">	</span>end:tag<span style="white-space:pre">		</span>= 'END_CASE'</div><div><span style="white-space:pre">	</span>end:tag<span style="white-space:pre">		</span>= 'END_FOR'</div><div><span style="white-space:pre">	</span>end:tag<span style="white-space:pre">		</span>= 'END_REPEAT'</div><div><span style="white-space:pre">	</span>end:tag<span style="white-space:pre">		</span>= 'END_WHILE'</div><div><span style="white-space:pre">	</span>end:tag<span style="white-space:pre">		</span>= 'END_IF'</div><div><span style="white-space:pre">	</span>end:tag<span style="white-space:pre">		</span>= 'JMP'</div><div><span style="white-space:pre">	</span>Collapsable<span style="white-space:pre">	</span>= 1&nbsp;</div><div><span style="white-space:pre">	</span>CollapsedText<span style="white-space:pre">	</span>= '...'</div><div><span style="white-space:pre">	</span>DisplayName<span style="white-space:pre">		</span>= 'Curly Braces'<span style="white-space:pre">	</span></div></div><div><img src="uploads/9453/1.png" height="285" width="426" border="0" /><br></div><div>There are folds, but the keyword color has changed, and nested folds are not supported<br></div>]]>
   </description>
   <pubDate>Mon, 23 Nov 2020 11:04:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24099&amp;PID=77946&amp;title=lexclass-folding-program#77946</guid>
  </item> 
 </channel>
</rss>