Uploaded image for project: 'GMAT'
  1. GMAT
  2. GMT-3498

Script Editor converts scripts to Windows line endings on Save

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: P2
    • Resolution: Unresolved
    • Affects Version/s: R2016a
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Windows 7 Enterprise 64-bit
      2013-01-28 build

      Description

      I don't think this is intended behavior. It's definitely a change.

      1. Open a script with Unix-style line endings (\n)
      2. Make some small change in the script editor
      3. Click the script editor Save button

      The script will be converted to use entirely (\r\n) line endings.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            gmat_wcs Wendy Shoan added a comment -

            CCB: This was by design, I believe. I remember Tom running into this issue and there was a decision made to save the scripts in the running platform's line endings. This seems reasonable.

            Joel, do you still have an issue with this?

            Show
            gmat_wcs Wendy Shoan added a comment - CCB: This was by design, I believe. I remember Tom running into this issue and there was a decision made to save the scripts in the running platform's line endings. This seems reasonable. Joel, do you still have an issue with this?

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: