GRECLIPSE
  1. GRECLIPSE
  2. GRECLIPSE-1312

Pasting multi-line comments removes leading whitespace

    Details

    • Number of attachments :
      0

      Description

      When pasting the following contents:

      /**
       *
       */
      

      The editor will remove the leading whitespace for the second and third lines:

      /**
      *
      */
      

      This is also true for:

      /*
       *
       */
      

      Note, however, this behavior is only observed when there is no text selected prior to the paste operation. If text is selected then the paste procedes as expected.

        Issue Links

          Activity

          Andrew Eisenberg made changes -
          Field Original Value New Value
          Component/s Formatting [ 14689 ]
          Andrew Eisenberg made changes -
          Link This issue is related to GRECLIPSE-773 [ GRECLIPSE-773 ]
          Hide
          Andrew Eisenberg added a comment -

          See GRECLIPSE-773. The smartPaste method is the likely place to fix this problem.

          Show
          Andrew Eisenberg added a comment - See GRECLIPSE-773 . The smartPaste method is the likely place to fix this problem.
          Andrew Eisenberg made changes -
          Labels help-requested
          Hide
          Stephanie Van Dyk added a comment -

          I'm going to look at this.

          Show
          Stephanie Van Dyk added a comment - I'm going to look at this.
          Andrew Eisenberg made changes -
          Assignee Stephanie Van Dyk [ sevandyk ]
          Andrew Eisenberg made changes -
          Link This issue is duplicated by GRECLIPSE-842 [ GRECLIPSE-842 ]
          Hide
          Andrew Eisenberg added a comment -

          Not an issue for me any more, but please comment if you can still reproduce.

          Show
          Andrew Eisenberg added a comment - Not an issue for me any more, but please comment if you can still reproduce.
          Andrew Eisenberg made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Stephanie Van Dyk [ sevandyk ] Andrew Eisenberg [ werdna ]
          Fix Version/s 2.7.1.Release [ 18617 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Andrew Eisenberg
              Reporter:
              Bob Tiernay
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: