Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 185777 - [projection] Code corruption when deleting parts of folded text with advanced delete commands
Summary: [projection] Code corruption when deleting parts of folded text with advance...
Status: RESOLVED DUPLICATE of bug 75222
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-07 10:56 EDT by Markus Keller CLA
Modified: 2007-05-07 11:31 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2007-05-07 10:56:25 EDT
I20070503-1400

Follow-up to bug 185760 (same for 'Delete Next/Previous Word' and 'Delete to End of Line').

1. enable folding (and fold imports)
2. paste this:
------------- %< --------
import java.text.DateFormat;
import java.util.HashMap;
import java.util.List;

class Bug {}
------------- %< --------
3. select "po" from "import"
4. Ctrl+Delete or Ctrl+Backspace or Ctrl+Shift+Delete
==> import folding goes away and text becomes:
imrt java.text.DateFormat;

class Bug {}

==> the editor is completely confused from now.
Comment 1 Dani Megert CLA 2007-05-07 11:31:11 EDT

*** This bug has been marked as a duplicate of bug 75222 ***