Input editor does not like my Thread over Circle expression

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I am using Mathematica 11.3.0.0, 64 bit.



Here is my code:



Graphics[Thread[Circle[-1, 0, 0, 0, 1, 0, 0.5, 1.0, 0.5]]]


Here is code as it looks in a notebook:





On mouseover on , 1, 0:





However, when I evaluate that code I am getting the right output:





Questions



Why, although is , 1, 0 colored in red, does the expression evaluate correctly? Is it a bug? Or maybe I am doing something wrong?










share|improve this question























  • Everything is fine. That's just the syntax highlighter. If it makes you feel better, you can use MapThread[Circle, -1, 0, 0, 0, 1, 0, 0.5, 1.0, 0.5] instead.
    – Henrik Schumacher
    4 hours ago






  • 1




    SyntaxInformation[Circle] gives "ArgumentsPattern" -> Optional[_, _], _., Optional[_, _]. That is, the first argument (if it is used) should be a list of two elements.
    – kglr
    4 hours ago






  • 2




    Please do not use bug tag unless it is confurmed by support or community.
    – Kuba♦
    4 hours ago














up vote
1
down vote

favorite












I am using Mathematica 11.3.0.0, 64 bit.



Here is my code:



Graphics[Thread[Circle[-1, 0, 0, 0, 1, 0, 0.5, 1.0, 0.5]]]


Here is code as it looks in a notebook:





On mouseover on , 1, 0:





However, when I evaluate that code I am getting the right output:





Questions



Why, although is , 1, 0 colored in red, does the expression evaluate correctly? Is it a bug? Or maybe I am doing something wrong?










share|improve this question























  • Everything is fine. That's just the syntax highlighter. If it makes you feel better, you can use MapThread[Circle, -1, 0, 0, 0, 1, 0, 0.5, 1.0, 0.5] instead.
    – Henrik Schumacher
    4 hours ago






  • 1




    SyntaxInformation[Circle] gives "ArgumentsPattern" -> Optional[_, _], _., Optional[_, _]. That is, the first argument (if it is used) should be a list of two elements.
    – kglr
    4 hours ago






  • 2




    Please do not use bug tag unless it is confurmed by support or community.
    – Kuba♦
    4 hours ago












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I am using Mathematica 11.3.0.0, 64 bit.



Here is my code:



Graphics[Thread[Circle[-1, 0, 0, 0, 1, 0, 0.5, 1.0, 0.5]]]


Here is code as it looks in a notebook:





On mouseover on , 1, 0:





However, when I evaluate that code I am getting the right output:





Questions



Why, although is , 1, 0 colored in red, does the expression evaluate correctly? Is it a bug? Or maybe I am doing something wrong?










share|improve this question















I am using Mathematica 11.3.0.0, 64 bit.



Here is my code:



Graphics[Thread[Circle[-1, 0, 0, 0, 1, 0, 0.5, 1.0, 0.5]]]


Here is code as it looks in a notebook:





On mouseover on , 1, 0:





However, when I evaluate that code I am getting the right output:





Questions



Why, although is , 1, 0 colored in red, does the expression evaluate correctly? Is it a bug? Or maybe I am doing something wrong?







graphics front-end syntax






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 16 mins ago









m_goldberg

82.2k869190




82.2k869190










asked 4 hours ago









vasili111

29517




29517











  • Everything is fine. That's just the syntax highlighter. If it makes you feel better, you can use MapThread[Circle, -1, 0, 0, 0, 1, 0, 0.5, 1.0, 0.5] instead.
    – Henrik Schumacher
    4 hours ago






  • 1




    SyntaxInformation[Circle] gives "ArgumentsPattern" -> Optional[_, _], _., Optional[_, _]. That is, the first argument (if it is used) should be a list of two elements.
    – kglr
    4 hours ago






  • 2




    Please do not use bug tag unless it is confurmed by support or community.
    – Kuba♦
    4 hours ago
















  • Everything is fine. That's just the syntax highlighter. If it makes you feel better, you can use MapThread[Circle, -1, 0, 0, 0, 1, 0, 0.5, 1.0, 0.5] instead.
    – Henrik Schumacher
    4 hours ago






  • 1




    SyntaxInformation[Circle] gives "ArgumentsPattern" -> Optional[_, _], _., Optional[_, _]. That is, the first argument (if it is used) should be a list of two elements.
    – kglr
    4 hours ago






  • 2




    Please do not use bug tag unless it is confurmed by support or community.
    – Kuba♦
    4 hours ago















Everything is fine. That's just the syntax highlighter. If it makes you feel better, you can use MapThread[Circle, -1, 0, 0, 0, 1, 0, 0.5, 1.0, 0.5] instead.
– Henrik Schumacher
4 hours ago




Everything is fine. That's just the syntax highlighter. If it makes you feel better, you can use MapThread[Circle, -1, 0, 0, 0, 1, 0, 0.5, 1.0, 0.5] instead.
– Henrik Schumacher
4 hours ago




1




1




SyntaxInformation[Circle] gives "ArgumentsPattern" -> Optional[_, _], _., Optional[_, _]. That is, the first argument (if it is used) should be a list of two elements.
– kglr
4 hours ago




SyntaxInformation[Circle] gives "ArgumentsPattern" -> Optional[_, _], _., Optional[_, _]. That is, the first argument (if it is used) should be a list of two elements.
– kglr
4 hours ago




2




2




Please do not use bug tag unless it is confurmed by support or community.
– Kuba♦
4 hours ago




Please do not use bug tag unless it is confurmed by support or community.
– Kuba♦
4 hours ago










2 Answers
2






active

oldest

votes

















up vote
2
down vote













SyntaxInformation[Circle] 



"ArgumentsPattern" -> Optional[_, _], ., Optional[, _]




That is, the first argument (if it is used) should be a list with two elements. Hence, the excess arguments are colored red by the syntax highlighter.






share|improve this answer



























    up vote
    1
    down vote













    Is Circle[-1, 0, 0, 0, 1, 0, 0.5, 1.0, 0.5] a valid input? I hope it is clear it is not.



    Will Thread[Circle[-1, 0, 0, 0, 1, 0, 0.5, 1.0, 0.5]] evaluate to something reasonable? It will but you don't want a front end to evaluate your code behind the hood to determine this. Consider consequences if that was something less trivial.



    Related:



    Why is this semicolon in red?






    share|improve this answer






















      Your Answer




      StackExchange.ifUsing("editor", function ()
      return StackExchange.using("mathjaxEditing", function ()
      StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
      StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
      );
      );
      , "mathjax-editing");

      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "387"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      convertImagesToLinks: false,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













       

      draft saved


      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f182424%2finput-editor-does-not-like-my-thread-over-circle-expression%23new-answer', 'question_page');

      );

      Post as a guest






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      2
      down vote













      SyntaxInformation[Circle] 



      "ArgumentsPattern" -> Optional[_, _], ., Optional[, _]




      That is, the first argument (if it is used) should be a list with two elements. Hence, the excess arguments are colored red by the syntax highlighter.






      share|improve this answer
























        up vote
        2
        down vote













        SyntaxInformation[Circle] 



        "ArgumentsPattern" -> Optional[_, _], ., Optional[, _]




        That is, the first argument (if it is used) should be a list with two elements. Hence, the excess arguments are colored red by the syntax highlighter.






        share|improve this answer






















          up vote
          2
          down vote










          up vote
          2
          down vote









          SyntaxInformation[Circle] 



          "ArgumentsPattern" -> Optional[_, _], ., Optional[, _]




          That is, the first argument (if it is used) should be a list with two elements. Hence, the excess arguments are colored red by the syntax highlighter.






          share|improve this answer












          SyntaxInformation[Circle] 



          "ArgumentsPattern" -> Optional[_, _], ., Optional[, _]




          That is, the first argument (if it is used) should be a list with two elements. Hence, the excess arguments are colored red by the syntax highlighter.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 2 hours ago









          kglr

          161k8185385




          161k8185385




















              up vote
              1
              down vote













              Is Circle[-1, 0, 0, 0, 1, 0, 0.5, 1.0, 0.5] a valid input? I hope it is clear it is not.



              Will Thread[Circle[-1, 0, 0, 0, 1, 0, 0.5, 1.0, 0.5]] evaluate to something reasonable? It will but you don't want a front end to evaluate your code behind the hood to determine this. Consider consequences if that was something less trivial.



              Related:



              Why is this semicolon in red?






              share|improve this answer


























                up vote
                1
                down vote













                Is Circle[-1, 0, 0, 0, 1, 0, 0.5, 1.0, 0.5] a valid input? I hope it is clear it is not.



                Will Thread[Circle[-1, 0, 0, 0, 1, 0, 0.5, 1.0, 0.5]] evaluate to something reasonable? It will but you don't want a front end to evaluate your code behind the hood to determine this. Consider consequences if that was something less trivial.



                Related:



                Why is this semicolon in red?






                share|improve this answer
























                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  Is Circle[-1, 0, 0, 0, 1, 0, 0.5, 1.0, 0.5] a valid input? I hope it is clear it is not.



                  Will Thread[Circle[-1, 0, 0, 0, 1, 0, 0.5, 1.0, 0.5]] evaluate to something reasonable? It will but you don't want a front end to evaluate your code behind the hood to determine this. Consider consequences if that was something less trivial.



                  Related:



                  Why is this semicolon in red?






                  share|improve this answer














                  Is Circle[-1, 0, 0, 0, 1, 0, 0.5, 1.0, 0.5] a valid input? I hope it is clear it is not.



                  Will Thread[Circle[-1, 0, 0, 0, 1, 0, 0.5, 1.0, 0.5]] evaluate to something reasonable? It will but you don't want a front end to evaluate your code behind the hood to determine this. Consider consequences if that was something less trivial.



                  Related:



                  Why is this semicolon in red?







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited 3 hours ago


























                  community wiki





                  2 revs
                  Kuba




























                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f182424%2finput-editor-does-not-like-my-thread-over-circle-expression%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Comments

                      Popular posts from this blog

                      Long meetings (6-7 hours a day): Being “babysat” by supervisor

                      Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

                      Confectionery