-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Bug #1074 #1319
Fix Bug #1074 #1319
Conversation
...es/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java
Show resolved
Hide resolved
...es/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is definitely going in the right direction. I've submitted some proposals to minimize the amount of extra fields in the memento.
...es/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java
Outdated
Show resolved
Hide resolved
...es/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java
Outdated
Show resolved
Hide resolved
...es/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java
Show resolved
Hide resolved
...es/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java
Outdated
Show resolved
Hide resolved
...es/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java
Outdated
Show resolved
Hide resolved
435c9e5
to
42939fb
Compare
@mickaelistria I have addressed all of your concerns. After a bit of manual testing, I am more confident in this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code is good to be merged, thanks.
However, can ayou please reformat the commit message. The usual best practice is to mention what's fixed in the commit header, then an optional details block and then the reference to the fixes issue.
For example here it could be
Restore editor MultiSelection on restart
Stores the multi-selection for the text editor in the memento; and restores it on restart.
Fixes https://github.com/eclipse-platform/eclipse.platform.ui/issues/1074
42939fb
to
87c7088
Compare
@mickaelistria I changed the message of the commit! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. We'll merge it as soon as the 4.31 stream is open for development (in a couple of weeks IIRC)
87c7088
to
b66c61a
Compare
Stores the multi-selection for the text editor in the memento; and restores it on restart. Fixes eclipse-platform#1074
b66c61a
to
3c84b7b
Compare
Fixes Bug #1047:
Multiselection: lost after restart
When saving it's state, an AbstractEditor will now consider MultiSelection.
This PR is a proposal for improvement and requires a few more iterations before release.
In particular, I would like to check: