Community
    • Login

    autocomplete for functions without ( )

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 197 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.
    • Jonathan HolmgrenJ
      Jonathan Holmgren
      last edited by

      I am working with a small scripting language that uses the format

      FunctionName,Parm1,Parm2,Parm3,Parm...n
      

      While working on implementing autocomplete I run into an issue with the tooltips not continuing the syntax highlight (the tip just says highlighted on the first param) on to the next param after the first param.

      screenshot

      <Environment ignoreCase="yes" startFunc="," stopFunc="" paramSeparator="," terminal="" additionalWordChar=""/>
      		<KeyWord name="Exec" func="yes">
      			<Overload retVal="" descr="Runs the commands found in a named [Section] of a script file.">
      				<Param name="FileName" />
      				<Param name="Section" />
      				<Param name="[Parameters]" />
      			</Overload>
      		</KeyWord>
      

      is there something I have missed when working with this sort of syntax where the startFunc= is the same character as paramSeperator=?

      1 Reply Last reply Reply Quote 1
      • EkopalypseE
        Ekopalypse
        last edited by

        @Jonathan-Holmgren said in autocomplete for functions without ( ):

        While working on implementing autocomplete I run into an issue with the tooltips not continuing the syntax highlight (the tip just says highlighted on the first param) on to the next param after the first param.

        Yes, it is assumed that startFunc and paramSeparator characters are different.

        1 Reply Last reply Reply Quote 1
        • Jonathan HolmgrenJ
          Jonathan Holmgren
          last edited by

          I was afraid that would be the case. Thanks for confirming.

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