<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Syntax Highlighting in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Syntax-Highlighting/m-p/48652#M27673</link>
    <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/4550"&gt;@pmroz&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Here's a Notepad++ syntax highlighter I just threw together using Notepad++'s built-in tool. It obviously won't work as well as the regular JSL Script Editor, but it might do the job.&lt;/P&gt;
&lt;P&gt;Here's a preview:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 586px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/8686i164E3F794F369812/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I had to zip the file since the User Community does not allow uploading XML files.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Dec 2017 21:05:57 GMT</pubDate>
    <dc:creator>Justin_Chilton</dc:creator>
    <dc:date>2017-12-14T21:05:57Z</dc:date>
    <item>
      <title>Syntax Highlighting</title>
      <link>https://community.jmp.com/t5/Discussions/Syntax-Highlighting/m-p/48607#M27644</link>
      <description>&lt;P&gt;Does anyone have a list of all internal functions and constants used in JSL, or better yet a Lexer or similar file for syntax highlighting?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use git and gitlab for version control of JSL scripts and would like to see syntax highlighting on the&amp;nbsp; web interface for JSL scripts like for other languages. &amp;nbsp; Gitlab uses &lt;A href="https://rubygems.org/gems/rouge" target="_self"&gt;Rogue&lt;/A&gt; for syntax highlighting so it is possible to submit highlighting rules (&lt;A href="https://github.com/jneen/rouge/tree/master/lib/rouge/lexers" target="_self"&gt;similar to these&lt;/A&gt;) to be included in future releases.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 04:00:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Syntax-Highlighting/m-p/48607#M27644</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2017-12-14T04:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Highlighting</title>
      <link>https://community.jmp.com/t5/Discussions/Syntax-Highlighting/m-p/48638#M27663</link>
      <description>&lt;P&gt;Here's a way to get the Function Names and Object (mostly platform) Constructors from the Scripting Index. There's also the Show Commands() function to get a list of all functions (even&amp;nbsp;a few that are not in the SI).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Main Menu( "Scripting Index" );

cmb = Window( "Scripting Index" )[Combo Box( 1 )];
lb1 = Window( "Scripting Index" )[ListBoxBox( 1 )];
lb2 = Window( "Scripting Index" )[ListBoxBox( 2 )];

cmb &amp;lt;&amp;lt; Set( Contains( cmb &amp;lt;&amp;lt; get Items(), "Functions" ) );

lb1 &amp;lt;&amp;lt; Set Selected( 1 );

functionNames = lb2 &amp;lt;&amp;lt; get items;

cmb &amp;lt;&amp;lt; Set( Contains( cmb &amp;lt;&amp;lt; get Items(), "Objects" ) );

objectConstructorNames = lb1 &amp;lt;&amp;lt; get items;

// clean up the extra spaces
For( i = 1, i &amp;lt;= N Items( objectConstructorNames ), i++,
	objectConstructorNames[i] = Trim( objectConstructorNames[i] )
);
show( functionNames, "", objectConstructorNames );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Let me know if you get something working!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 16:54:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Syntax-Highlighting/m-p/48638#M27663</guid>
      <dc:creator>Justin_Chilton</dc:creator>
      <dc:date>2017-12-14T16:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Highlighting</title>
      <link>https://community.jmp.com/t5/Discussions/Syntax-Highlighting/m-p/48648#M27671</link>
      <description>&lt;P&gt;Along related lines, does anyone have the necessary customization file so that Notepad++ displays JSL files with the proper syntax colorization?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 20:09:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Syntax-Highlighting/m-p/48648#M27671</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2017-12-14T20:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Highlighting</title>
      <link>https://community.jmp.com/t5/Discussions/Syntax-Highlighting/m-p/48652#M27673</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/4550"&gt;@pmroz&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Here's a Notepad++ syntax highlighter I just threw together using Notepad++'s built-in tool. It obviously won't work as well as the regular JSL Script Editor, but it might do the job.&lt;/P&gt;
&lt;P&gt;Here's a preview:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 586px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/8686i164E3F794F369812/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I had to zip the file since the User Community does not allow uploading XML files.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 21:05:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Syntax-Highlighting/m-p/48652#M27673</guid>
      <dc:creator>Justin_Chilton</dc:creator>
      <dc:date>2017-12-14T21:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Highlighting</title>
      <link>https://community.jmp.com/t5/Discussions/Syntax-Highlighting/m-p/48669#M27680</link>
      <description>&lt;P&gt;Nice idea &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/4550"&gt;@pmroz&lt;/a&gt;&amp;nbsp;and thank you &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/1855"&gt;@Justin_Chilton&lt;/a&gt;! I didn't even think all the time I spend in Notepad++.&amp;nbsp;&amp;nbsp;Now I&amp;nbsp;finally have syntax highlighting for .jmpcust and .def files too!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I ever find myself with a free evening I will&amp;nbsp;work on a Lexer for Rogue.&amp;nbsp; If I submit something I will let you know.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 02:10:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Syntax-Highlighting/m-p/48669#M27680</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2017-12-15T02:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Highlighting</title>
      <link>https://community.jmp.com/t5/Discussions/Syntax-Highlighting/m-p/48752#M27714</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/4550"&gt;@pmroz&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;I use n++ for pretty much all my development.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached is my language for highlighting as&amp;nbsp;well as my parser so you can actually use the function list. It works pretty well.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="funciton list.png" style="width: 493px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/8716i9EA924F2077566EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="funciton list.png" alt="funciton list.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Dec 2017 00:22:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Syntax-Highlighting/m-p/48752#M27714</guid>
      <dc:creator>vince_faller</dc:creator>
      <dc:date>2017-12-16T00:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Highlighting</title>
      <link>https://community.jmp.com/t5/Discussions/Syntax-Highlighting/m-p/248315#M48740</link>
      <description>&lt;P&gt;Old thread, but just an update that&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/1855"&gt;@Justin_Chilton&lt;/a&gt;&amp;nbsp;updated Rogue to have some basic jsl and it got integrated into Gitlab in 12.5+.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 17:51:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Syntax-Highlighting/m-p/248315#M48740</guid>
      <dc:creator>vince_faller</dc:creator>
      <dc:date>2020-02-19T17:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Highlighting</title>
      <link>https://community.jmp.com/t5/Discussions/Syntax-Highlighting/m-p/248332#M48744</link>
      <description>&lt;P&gt;Than you &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/1855"&gt;@Justin_Chilton&lt;/a&gt;,&amp;nbsp;as usual you rock!!!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 18:43:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Syntax-Highlighting/m-p/248332#M48744</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2020-02-19T18:43:40Z</dc:date>
    </item>
  </channel>
</rss>

