| Summary: | [templates][preferences] No multi Undo action in EditTemplateDialog | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Wojciech Trocki <wtrocki> | ||||
| Component: | Text | Assignee: | JDT-Text-Inbox <jdt-text-inbox> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||
| Severity: | minor | ||||||
| Priority: | P3 | CC: | deepakazad | ||||
| Version: | 3.8 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Wojciech Trocki
Created attachment 206401 [details]
Proposed path
Proposed workaround
See line 136:
if (fOperationCode == ITextOperationTarget.REDO || fOperationCode == ITextOperationTarget.UNDO){
return;
}
Thanks Wojciech! (In reply to comment #1) > Created attachment 206401 [details] > Proposed path > > Proposed workaround > > See line 136: > if (fOperationCode == ITextOperationTarget.REDO || fOperationCode == > ITextOperationTarget.UNDO){ > return; > } That makes sense to me, and I verified that undo works multiple times after this change. Dani, assigning to you as you will anyway have to commit the change in org.eclipse.ui.texteditor.templates.TemplatePreferencePage.EditTemplateDialog :) Fix also needs to go into org.eclipse.ui.texteditor.templates.TemplatePreferencePage. *** This bug has been marked as a duplicate of bug 206111 *** |