Community
    • Login

    autocomplete for functions without ( )

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 420 Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          Jonathan Holmgren
          last edited by

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

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors