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 108408 Details for
Bug 236049
[console] 'Clear' context menu item enable when no text is available to be cleared
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch to solve this bug
236049.patch (text/plain), 1.09 KB, created by
Livar Cunha
on 2008-07-24 20:39:59 EDT
(
hide
)
Description:
Patch to solve this bug
Filename:
MIME Type:
Creator:
Livar Cunha
Created:
2008-07-24 20:39:59 EDT
Size:
1.09 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.console >Index: src/org/eclipse/ui/console/TextConsolePage.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.console/src/org/eclipse/ui/console/TextConsolePage.java,v >retrieving revision 1.26 >diff -u -r1.26 TextConsolePage.java >--- src/org/eclipse/ui/console/TextConsolePage.java 27 Mar 2007 01:39:13 -0000 1.26 >+++ src/org/eclipse/ui/console/TextConsolePage.java 25 Jul 2008 00:37:57 -0000 >@@ -87,13 +87,17 @@ > } > }; > >- // updates the find replace action if the document length is > 0 >+ // updates the find replace action and the clear action if the document length is > 0 > private ITextListener textListener = new ITextListener() { > public void textChanged(TextEvent event) { > IUpdate findReplace = (IUpdate)fGlobalActions.get(ActionFactory.FIND.getId()); > if (findReplace != null) { > findReplace.update(); > } >+ >+ if (fClearOutputAction != null) { >+ fClearOutputAction.setEnabled(fViewer.getDocument().getLength() > 0); >+ } > } > }; >
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
Flags:
Michael_Rennie
:
iplog+
Michael_Rennie
:
review+
Actions:
View
|
Diff
Attachments on
bug 236049
: 108408