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 122550 Details for
Bug 261046
[implementation] Abstract text editor incorrectly clears restored selection position
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]
Proposed patch
patch Text Clean.txt (text/plain), 1.02 KB, created by
Oleg Besedin
on 2009-01-14 12:05:05 EST
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Oleg Besedin
Created:
2009-01-14 12:05:05 EST
Size:
1.02 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.workbench.texteditor >Index: src/org/eclipse/ui/texteditor/AbstractTextEditor.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java,v >retrieving revision 1.295 >diff -u -r1.295 AbstractTextEditor.java >--- src/org/eclipse/ui/texteditor/AbstractTextEditor.java 14 Jan 2009 10:57:06 -0000 1.295 >+++ src/org/eclipse/ui/texteditor/AbstractTextEditor.java 14 Jan 2009 17:01:00 -0000 >@@ -931,9 +931,10 @@ > */ > public void partOpened(IWorkbenchPart part) { > // Restore the saved state if any >- if (part == AbstractTextEditor.this && fMementoToRestore != null && containsSavedState(fMementoToRestore)) >+ if (part == AbstractTextEditor.this && fMementoToRestore != null && containsSavedState(fMementoToRestore)) { > doRestoreState(fMementoToRestore); >- fMementoToRestore= null; >+ fMementoToRestore= null; >+ } > } > > /**
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 261046
: 122550