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

The right bracket in sources are shown in wrong indent when editing javascript

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 2.5.0-beta
    • Quick / QML Support
    • None

    Description

      In order to generate sources for some new wizard.

      The content included in generateTestCode() are:
      str << "testcase = {\n"
      "initTestCase: function()

      {\n" "},\n\n"
      "cleanupTestCase: function() {n" "}

      ,\n\n\n"
      "} // end of testcase\n\n";

      The right bracket in sources are shown in wrong indent after be generated.
      testcase = {
      initTestCase: function() {
      },

      cleanupTestCase: function() {
      },

      } // end of testcase

      Attachments

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

        Activity

          People

            fawzi Fawzi Mohamed
            xiaoohon Xiao Hongying (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes