Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.7.1.Release
-
Component/s: Editor, Formatting
-
Labels:
-
Number of attachments :
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
- is duplicated by
-
GRECLIPSE-842
[formatter] Wrong identation on moving code with CTRL + PAGE_DOWN
-
- is related to
-
GRECLIPSE-773
[formatter] smart paste text containing multiline String should not change indentation of multiline string
-
Activity
Andrew Eisenberg
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Component/s | Formatting [ 14689 ] |
Andrew Eisenberg
made changes -
| Link |
This issue is related to |
Andrew Eisenberg
made changes -
| Labels | help-requested |
Andrew Eisenberg
made changes -
| Assignee | Stephanie Van Dyk [ sevandyk ] |
Andrew Eisenberg
made changes -
| Link |
This issue is duplicated by |
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 ] |
See
GRECLIPSE-773. The smartPaste method is the likely place to fix this problem.