<?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 Why SPL syntax highlighting not working correctly? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-SPL-syntax-highlighting-not-working-correctly/m-p/606810#M211011</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I've created this rather complicated piece of SPL. To make it a bit more understandable I added some comment lines. In the screenshot you can see the SPL syntax highlighting stops working correctly from line #20. The strange thing is that when I remove line 20 all together it works fine, and there are more comment lines further on. Whatever comment I put on that position causes this behaviour.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hoekb03_2-1658741735482.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/20651iFB834550F37B21FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hoekb03_2-1658741735482.png" alt="Hoekb03_2-1658741735482.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Line removed, it works fine:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hoekb03_3-1658742001878.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/20652i385CE6BD8CB34694/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hoekb03_3-1658742001878.png" alt="Hoekb03_3-1658742001878.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Comment ```test comment``` breaks the thing down again.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hoekb03_4-1658742080743.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/20653iE3E98E07328127A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hoekb03_4-1658742080743.png" alt="Hoekb03_4-1658742080743.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It's just a minor cosmetic thing, but I'd like to know what's happening here and why. We're using splunk Enterprise 8.1.10.1 on my site. Any thoughts appreciated!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jul 2022 16:03:24 GMT</pubDate>
    <dc:creator>Hoekb03</dc:creator>
    <dc:date>2022-07-25T16:03:24Z</dc:date>
    <item>
      <title>Why SPL syntax highlighting not working correctly?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-SPL-syntax-highlighting-not-working-correctly/m-p/606810#M211011</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I've created this rather complicated piece of SPL. To make it a bit more understandable I added some comment lines. In the screenshot you can see the SPL syntax highlighting stops working correctly from line #20. The strange thing is that when I remove line 20 all together it works fine, and there are more comment lines further on. Whatever comment I put on that position causes this behaviour.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hoekb03_2-1658741735482.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/20651iFB834550F37B21FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hoekb03_2-1658741735482.png" alt="Hoekb03_2-1658741735482.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Line removed, it works fine:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hoekb03_3-1658742001878.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/20652i385CE6BD8CB34694/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hoekb03_3-1658742001878.png" alt="Hoekb03_3-1658742001878.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Comment ```test comment``` breaks the thing down again.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hoekb03_4-1658742080743.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/20653iE3E98E07328127A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hoekb03_4-1658742080743.png" alt="Hoekb03_4-1658742080743.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It's just a minor cosmetic thing, but I'd like to know what's happening here and why. We're using splunk Enterprise 8.1.10.1 on my site. Any thoughts appreciated!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 16:03:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-SPL-syntax-highlighting-not-working-correctly/m-p/606810#M211011</guid>
      <dc:creator>Hoekb03</dc:creator>
      <dc:date>2022-07-25T16:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: SPL syntax highlighting not working correctly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-SPL-syntax-highlighting-not-working-correctly/m-p/606843#M211022</link>
      <description>&lt;P&gt;My query doesn't do the trick btw, still curious about the cause of the highlighting not working.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 13:01:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-SPL-syntax-highlighting-not-working-correctly/m-p/606843#M211022</guid>
      <dc:creator>Hoekb03</dc:creator>
      <dc:date>2022-07-25T13:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: SPL syntax highlighting not working correctly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-SPL-syntax-highlighting-not-working-correctly/m-p/606860#M211025</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/177432"&gt;@Hoekb03&lt;/a&gt;&amp;nbsp;... I am using Splunk 8.2.5 and its SPL highlighting working fine even after 20 lines. Are you using older versions ah?!?!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Splunk 8.2.5.png" style="width: 295px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/20660i6BE555E56D569FC8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Splunk 8.2.5.png" alt="Splunk 8.2.5.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 14:18:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-SPL-syntax-highlighting-not-working-correctly/m-p/606860#M211025</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2022-07-25T14:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: SPL syntax highlighting not working correctly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-SPL-syntax-highlighting-not-working-correctly/m-p/607119#M211104</link>
      <description>&lt;P&gt;It's not that highlighting stops after 20 lines, in my case there are comment lines after line 20, when I remove the line on 20 the rest works fine. Syntax auto fill also stops working in my example I just noted. I tried it at home where I use 9.0 with no problem at all. I'll just wait for a new version @ the office.&amp;nbsp; I'll accept your answer for now.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 06:14:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-SPL-syntax-highlighting-not-working-correctly/m-p/607119#M211104</guid>
      <dc:creator>Hoekb03</dc:creator>
      <dc:date>2022-07-27T06:14:12Z</dc:date>
    </item>
  </channel>
</rss>

