Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-60

Wrong syntax highlighting for Qt Script

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 1.3.0
    • Qt Creator 1.0
    • Editors
    • None

    Description

      Open the following text in a QtScriptEditor:

      12 
      12ab  //not a number 
      0x123 
      0.123 
      0.10x12 //not a number 
       
      {a: a} 
      {'a': a} 
      {"a": a} 
      {a: 'a'} 
      {a: 123 } 
      {a: 12, b: 34, c: 56} 
       
      {a: 'a', b: 'b', c: "c"} 
      {a: a, b: c} 
      {a: a, b: b, c: c} 
      {a: a, "b": b} 
       
      {a: {a: a, b: b}, b: {a: a, b: b} }
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            erikv Erik Verbruggen
            janichol Andy Nichols
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes