Bug 85950

Summary: Surrounding with try/catch suppresses blank lines [refactoring]
Product: [Eclipse Project] JDT Reporter: Gilles WIART <gilles.wiart>
Component: UIAssignee: Dirk Baeumer <dirk_baeumer>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: brockj
Version: 3.1   
Target Milestone: 3.1 M7   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Bug Depends on: 91938    
Bug Blocks:    
Attachments:
Description Flags
Patch that fixes the problem none

Description Gilles WIART CLA 2005-02-21 06:46:03 EST
All is in the title !!!

When selecting some source and do "Source/Surround with try/catch block", all
the blank lines in the selected block are suppressed. I need to reformat it
manually.
Comment 1 Dani Megert CLA 2005-02-21 10:55:15 EST
can be reproduced in 3.1 M5a
Comment 2 Dirk Baeumer CLA 2005-02-22 05:49:37 EST
This is very likely related to the bug 82494
Comment 3 Dirk Baeumer CLA 2005-03-26 12:11:29 EST
Has to wait until M7 since we need support from AST Rewrite.
Comment 4 Dirk Baeumer CLA 2005-04-03 18:38:59 EDT
*** Bug 90103 has been marked as a duplicate of this bug. ***
Comment 5 Dirk Baeumer CLA 2005-04-27 07:08:44 EDT
Created attachment 20398 [details]
Patch that fixes the problem
Comment 6 Dirk Baeumer CLA 2005-05-02 06:46:13 EDT
Fixed.