Community
    • Login

    Syntax Highlighting

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    1 Posts 1 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Bogdan  BatsakB
      Bogdan Batsak
      last edited by Bogdan Batsak

      I create syntax highlighting. It is necessary to comment consisted of a few lines and begin with the string
      rem — BeginComp: Armor —
      and ends with the line
      rem — EndComp —

      But the code looks like this:

      rem — BeginComp: Armor —
      ObjectTemplate.createComponent Armor
      ObjectTemplate.armor.maxHitPoints 1000
      rem --------------------------
      ObjectTemplate.createComponent Radio
      ObjectTemplate.Radio.spottedMessage air_spotted
      rem — EndComp —

      Due to space after the “rem” comment line ends in “rem --------------------------” rather than "rem — EndComp - - "
      Can I take into account the gap?
      I apologize for my English .

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors