Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Inglis2005-04-01 19:07:30 +0000
committerDavid Inglis2005-04-01 19:07:30 +0000
commitd2f6140b4b70c7d624c72debfe8197cbef6a0243 (patch)
treed68046708f7ac1e5dacd1ac83d490f9ffa6fdd91 /build/org.eclipse.cdt.make.ui
parentd151e913f607523c799fd001677079a13c5f0dc0 (diff)
downloadorg.eclipse.cdt-d2f6140b4b70c7d624c72debfe8197cbef6a0243.tar.gz
org.eclipse.cdt-d2f6140b4b70c7d624c72debfe8197cbef6a0243.tar.xz
org.eclipse.cdt-d2f6140b4b70c7d624c72debfe8197cbef6a0243.zip
use new Partitioner
Diffstat (limited to 'build/org.eclipse.cdt.make.ui')
-rw-r--r--build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileDocumentSetupParticipant.java4
-rw-r--r--build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileStorageDocumentProvider.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileDocumentSetupParticipant.java b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileDocumentSetupParticipant.java
index 912fd2e3130..aa821376aee 100644
--- a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileDocumentSetupParticipant.java
+++ b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileDocumentSetupParticipant.java
@@ -16,7 +16,7 @@ import org.eclipse.core.filebuffers.IDocumentSetupParticipant;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.IDocumentExtension3;
import org.eclipse.jface.text.IDocumentPartitioner;
-import org.eclipse.jface.text.rules.DefaultPartitioner;
+import org.eclipse.jface.text.rules.FastPartitioner;
/**
* MakefileDocumentSetupParticipant
@@ -45,7 +45,7 @@ public class MakefileDocumentSetupParticipant implements IDocumentSetupParticip
}
private IDocumentPartitioner createDocumentPartitioner() {
- return new DefaultPartitioner(
+ return new FastPartitioner(
new MakefilePartitionScanner(), MakefilePartitionScanner.MAKE_PARTITIONS);
}
}
diff --git a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileStorageDocumentProvider.java b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileStorageDocumentProvider.java
index 81b75b4ccac..120270da6c5 100644
--- a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileStorageDocumentProvider.java
+++ b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileStorageDocumentProvider.java
@@ -15,7 +15,7 @@ import org.eclipse.cdt.make.internal.ui.text.makefile.MakefilePartitionScanner;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.IDocumentExtension3;
import org.eclipse.jface.text.IDocumentPartitioner;
-import org.eclipse.jface.text.rules.DefaultPartitioner;
+import org.eclipse.jface.text.rules.FastPartitioner;
import org.eclipse.ui.editors.text.StorageDocumentProvider;
/**
@@ -41,7 +41,7 @@ public class MakefileStorageDocumentProvider extends StorageDocumentProvider {
}
private IDocumentPartitioner createDocumentPartitioner() {
- return new DefaultPartitioner(
+ return new FastPartitioner(
new MakefilePartitionScanner(), MakefilePartitionScanner.MAKE_PARTITIONS);
}

Back to the top