Details

    • Type: Story
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Viewer 2.6.0
    • Labels:
      None
    • Environment:
      -
    • Test Plan:
      Hide

      1) Create new script.
      2) Add new line starting with '/*'. Ensure all following text is highlighted as a comment (colour changed and hovering mouse shows tooltip say it is a comment).
      3) Some lines further down, add a new line starting '*/'. Ensure commenting highlighting stops for following text.

      Show
      1) Create new script. 2) Add new line starting with '/*'. Ensure all following text is highlighted as a comment (colour changed and hovering mouse shows tooltip say it is a comment). 3) Some lines further down, add a new line starting '*/'. Ensure commenting highlighting stops for following text.

      Description

      I think it would be usefull to have (added), in LSL, C-like multiline comments (/* ... */) to comment/disable large pieces of code: now it's really boring comment/uncommenting pieces of scripts to leave them in place for the future.
      This may provide neat comments also, but the main thing is enable/disable mid/huge slices of code.

      Now

      // for(a=1; a<=10; a++)

      { // llSay(0,"we're at "+(string)a); // ...some statements... // ...some statements... // }

      with C-like comments

      /* (re-enable this piece if you want to...)
      for(a=1; a<=10; a++)

      { llSay(0,"we're at "+(string)a); ...some statements... ...some statements... }

      */

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              elwe.ewing Elwe Ewing
            • Watchers:
              12 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: