Bug 85950 - Surrounding with try/catch suppresses blank lines [refactoring]
Summary: Surrounding with try/catch suppresses blank lines [refactoring]
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.1 M7   Edit
Assignee: Dirk Baeumer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 90103 (view as bug list)
Depends on: 91938
Blocks:
  Show dependency tree
 
Reported: 2005-02-21 06:46 EST by Gilles WIART CLA
Modified: 2005-05-02 06:46 EDT (History)
1 user (show)

See Also:


Attachments
Patch that fixes the problem (4.49 KB, patch)
2005-04-27 07:08 EDT, Dirk Baeumer CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.