Community
    • Login

    Question about programming language

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 124 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.
    • I
      IronWalkers
      last edited by

      Hi all.

      If there any language that only uses the [ ] square brackets. I will need for ai-music “programming”.
      Example like this
      [Intro]

      [Verse 1]

      [Chorus]

      And then I write the textlines under the [name]. Pretty simple codes so is there a language to use. I have try a lot but not finding any that works for this

      tia

      Thomas

      PeterJonesP 1 Reply Last reply Reply Quote 1
      • PeterJonesP
        PeterJones @IronWalkers
        last edited by

        @IronWalkers ,

        Language > I > INI file

        a97dc2ec-7270-424f-9454-73c8ae1f75c8-image.png

        Though if you have any = in the “textlines under the [name]”, the = will be red and the text to the left will be blue italics (in the default styerls.xml theme; your selected/customized theme may use different colors):
        335c9aac-8799-4504-9152-0d64750c4dc9-image.png

        If you don’t like the = behavior , then you could define a simple UDL instead of using the built-in INI language: in Language > User Defined Language > Define your language, create a new language (named AI Music or something); leave most as the default settings, but on the Operators & Delimiters page, for Delimiter 1 style, set Open = [ and Close = ], and set the Styler to your preferred color (bold and purple to match INI, or whatever you want).

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