Uploaded image for project: 'BlueJ'
  1. BlueJ
  2. BLUEJ-1255

String escape sequences inconsistent in codepad

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.2.1
    • Component/s: CodePad
    • Sprint:
      4.2.1

      Description

      String escape sequences are treated inconsistently in the codepad:

      "Hello \"World\"."   shows

         "Hello "World"."

      but 

      "Hello \\World
      ."   shows

         "Hello \\World
      ."

       That is: for double quotes, the escape sequence is interpreted, while for double-backslash the raw string is shown.

      I think it should always show the escaped characters; the first one should show the backslashes before the quotes.

        Attachments

          Activity

            People

            • Assignee:
              hitech Hamza Hamza
              Reporter:
              mik Michael Kölling
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: