Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3425

Cannot Enter Carriage Return in Javascript

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 11.2
    • None
    • javascript - Editor
    • None
    • Windows 7 64bit
      Java 13.0
      Netbeans 11.2

    Description

      If the following code is entered into a javascript file, the enter key no longer works.

      for (var i=0;i<a;i++) {}
      //
      var c = "";

      This is very strange.  I boiled the code down to what is the minimum to cause a failure.

      If any line is removed from the above, the enter key works again.

      The only other way to enter a new line is to copy and paste one.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            nmccloud Kenneth Gendron
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment