• Login
Community
  • Login

Scripting help

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 2.9k 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.
  • K
    Keith Neemann
    last edited by Mar 18, 2017, 4:20 AM

    I just started using Notepad ++ so I dont know all of the tricks yet. I am having an issue where I type …var value… it changes the word value to the same color as var as if their connected.

    The whole line is …var value = 6 * Math.random();

    Any suggestions would be great.

    Thanks

    C 1 Reply Last reply Mar 18, 2017, 8:14 PM Reply Quote 0
    • C
      Claudia Frank @Keith Neemann
      last edited by Mar 18, 2017, 8:14 PM

      @Keith-Neemann

      this looks like var and value are both keywords for your language.

      Cheers
      Claudia

      1 Reply Last reply Reply Quote 0
      • K
        Keith Neemann
        last edited by Mar 19, 2017, 3:20 AM

        I’m using JavaScript and value isn’t supposed to be a keyword. I don’t know how to change it.

        C 1 Reply Last reply Mar 19, 2017, 2:10 PM Reply Quote 0
        • C
          Claudia Frank @Keith Neemann
          last edited by Mar 19, 2017, 2:10 PM

          @Keith-Neemann

          Which version do you use?

          Cheers
          Claudia

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