Bug 262568 - improve Javadoc for ICompilationUnit.applyTextEdit(TextEdit, IProgressMonitor)
Summary: improve Javadoc for ICompilationUnit.applyTextEdit(TextEdit, IProgressMonitor)
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 trivial (vote)
Target Milestone: 3.5 M6   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-27 10:35 EST by Dani Megert CLA
Modified: 2009-03-10 09:59 EDT (History)
1 user (show)

See Also:


Attachments
Proposed change (1.55 KB, patch)
2009-01-28 09:40 EST, Jerome Lanneluc CLA
no flags Details | Diff

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