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
-
See
GRECLIPSE-773. The smartPaste method is the likely place to fix this problem.