Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2006-09-05 17:28:59 +0000
committerDarin Wright2006-09-05 17:28:59 +0000
commit6d1a60fcc6e50f091669b82452bf206a1df83864 (patch)
tree6a573758c9810a84b98f92611b983d10dac1a879 /org.eclipse.ui.console
parent2761dc29474c592d4903cca5f5df0489269d5dbd (diff)
downloadeclipse.platform.debug-6d1a60fcc6e50f091669b82452bf206a1df83864.tar.gz
eclipse.platform.debug-6d1a60fcc6e50f091669b82452bf206a1df83864.tar.xz
eclipse.platform.debug-6d1a60fcc6e50f091669b82452bf206a1df83864.zip
Bug 155791Patch to fix jface.text.Assert deprecation
Diffstat (limited to 'org.eclipse.ui.console')
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleDocumentAdapter.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleDocumentAdapter.java b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleDocumentAdapter.java
index 739aab0e0..aa8e1570c 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleDocumentAdapter.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleDocumentAdapter.java
@@ -16,7 +16,6 @@ import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
-import org.eclipse.jface.text.Assert;
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.DocumentEvent;
import org.eclipse.jface.text.IDocument;
@@ -26,6 +25,8 @@ import org.eclipse.swt.custom.TextChangeListener;
import org.eclipse.swt.custom.TextChangedEvent;
import org.eclipse.swt.custom.TextChangingEvent;
+import org.eclipse.core.runtime.Assert;
+
/**
* Adapts a Console's document to the viewer StyledText widget. Allows proper line
* wrapping of fixed width consoles without having to add line delimeters to the StyledText.

Back to the top