Bug 262568

Summary: improve Javadoc for ICompilationUnit.applyTextEdit(TextEdit, IProgressMonitor)
Product: [Eclipse Project] JDT Reporter: Dani Megert <daniel_megert>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: trivial    
Priority: P3 CC: Olivier_Thomann
Version: 3.5   
Target Milestone: 3.5 M6   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Proposed change none

Description Dani Megert CLA 2009-01-27 10:35:18 EST
I20090127-0100.

The Javadoc for ICompilationUnit.applyTextEdit(TextEdit, IProgressMonitor) should mention that the edits are simply applied to the document and the undo not grouped if the buffer doesn't implement ITextEditCapability (= pre 3.4 behavior) and that in the other case the exact semantics/implementation depends on how ITextEditCapability.applyTextEdit(TextEdit, IProgressMonitor) is implemented.
Comment 1 Jerome Lanneluc CLA 2009-01-28 09:40:12 EST
Created attachment 124023 [details]
Proposed change
Comment 2 Jerome Lanneluc CLA 2009-01-28 09:44:08 EST
Change released for 3.5M6
Comment 3 Olivier Thomann CLA 2009-03-10 09:59:04 EDT
Verified for 3.5M6 using I20090310-0100.