Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 1449 Details for
Bug 20040
java editor: undo does not work correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch for CompilationUnitEditor
20040.patch (text/plain), 1.62 KB, created by
Kai-Uwe Maetzel
on 2002-06-17 08:57:03 EDT
(
hide
)
Description:
Patch for CompilationUnitEditor
Filename:
MIME Type:
Creator:
Kai-Uwe Maetzel
Created:
2002-06-17 08:57:03 EDT
Size:
1.62 KB
patch
obsolete
>Index: ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java,v >retrieving revision 1.105 >diff -u -r1.105 CompilationUnitEditor.java >--- ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java 12 Jun 2002 09:31:05 -0000 1.105 >+++ ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java 17 Jun 2002 12:55:30 -0000 >@@ -177,6 +177,7 @@ > private List fTextConverters; > private OverviewRuler fOverviewRuler; > private boolean fIsOverviewRulerVisible; >+ private boolean fIgnoreTextConverters= false; > > private IVerticalRuler fCachedVerticalRuler; > private boolean fCachedIsVerticalRulerVisible; >@@ -217,6 +218,12 @@ > String msg= fContentAssistant.showPossibleCompletions(); > setStatusLineErrorMessage(msg); > return; >+ case UNDO: >+ fIgnoreTextConverters= true; >+ break; >+ case REDO: >+ fIgnoreTextConverters= true; >+ break; > } > > super.doOperation(operation); >@@ -247,10 +254,11 @@ > */ > protected void customizeDocumentCommand(DocumentCommand command) { > super.customizeDocumentCommand(command); >- if (fTextConverters != null) { >+ if (!fIgnoreTextConverters && fTextConverters != null) { > for (Iterator e = fTextConverters.iterator(); e.hasNext();) > ((ITextConverter) e.next()).customizeDocumentCommand(getDocument(), command); > } >+ fIgnoreTextConverters= false; > } > > public IVerticalRuler getVerticalRuler() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 20040
:
1390
| 1449