Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJared Burns2002-03-18 15:43:36 +0000
committerJared Burns2002-03-18 15:43:36 +0000
commit0a608144a5265bb99fa32472f9996ab46e435711 (patch)
tree6b8857c3f5ffdb635ff0ede5d218b2bb5a01a53d
parentc0235bf3302ad7b6c79fe140af9bf48b4140ff53 (diff)
downloadeclipse.platform.debug-0a608144a5265bb99fa32472f9996ab46e435711.tar.gz
eclipse.platform.debug-0a608144a5265bb99fa32472f9996ab46e435711.tar.xz
eclipse.platform.debug-0a608144a5265bb99fa32472f9996ab46e435711.zip
Bug 10162 - Console View to front on error output only
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIMessages.properties2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/ConsoleDocument.java3
2 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIMessages.properties b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIMessages.properties
index b6e1cbd12..5e03ffa35 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIMessages.properties
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIMessages.properties
@@ -27,7 +27,7 @@ ConsoleView.Select_All_13=Select All
ConsoleView.Select_All_14=Select All
DebugPreferencePage.auto_build_before_launch=Build (if required) before &launching
DebugPreferencePage.Show_&Console_View_when_there_is_program_output_3=Show &Console View when there is program output
-DebugPreferencePage.Show_&Console_View_when_there_is_program_error_3=Show &Console View when there is program error
+DebugPreferencePage.Show_&Console_View_when_there_is_program_error_3=Show Console &View when there is program error
DebugPreferencePage.Show_Debug_Perspective_when_a_program_is_launched_in_&run_mode_2=Show Debug Perspective when a program is launched in &run mode
DebugPreferencePage.Show_Debug_Perspective_when_a_program_is_launched_in_de&bug_mode_1=Show Debug Perspective when a program is launched in de&bug mode
DebugPreferencePage.Orientation_of_detail_pane_in_variables_view_1=Orientation of detail pane in variables view
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/ConsoleDocument.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/ConsoleDocument.java
index 8873bb3f6..c983c0348 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/ConsoleDocument.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/ConsoleDocument.java
@@ -49,12 +49,14 @@ public class ConsoleDocument extends AbstractDocument implements IDebugEventList
protected IStreamListener fSystemOutListener= new IStreamListener() {
public void streamAppended(String newText, IStreamMonitor monitor) {
+ DebugUIPlugin.getDefault().aboutToWriteSystemOut();
systemOutAppended(newText);
}
};
protected IStreamListener fSystemErrListener= new IStreamListener() {
public void streamAppended(String newText, IStreamMonitor monitor) {
+ DebugUIPlugin.getDefault().aboutToWriteSystemErr();
systemErrAppended(newText);
}
};
@@ -425,4 +427,5 @@ public class ConsoleDocument extends AbstractDocument implements IDebugEventList
protected void setConsoleViewer(ConsoleViewer viewer) {
fConsoleViewer = viewer;
}
+
} \ No newline at end of file

Back to the top