• Login
Community
  • Login

autocomplete for functions without ( )

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 199 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.
  • J
    Jonathan Holmgren
    last edited by Apr 10, 2021, 7:10 PM

    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
    • E
      Ekopalypse
      last edited by Apr 12, 2021, 1:25 PM

      @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
      • J
        Jonathan Holmgren
        last edited by Apr 12, 2021, 11:21 PM

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

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