Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2003-10-13 11:29:39 -0400
committerDani Megert2003-10-13 11:29:39 -0400
commitdf6f7f9306da06a9f1a8c17a9582affe764e465c (patch)
tree1e3ba3e1f2713de61d3d677ef681c177b59c0eef /org.eclipse.jface.text/src/org/eclipse/jface/text/formatter
parented977056bdc0ef4ca7927db486e367ecbbf498af (diff)
downloadeclipse.platform.text-df6f7f9306da06a9f1a8c17a9582affe764e465c.tar.gz
eclipse.platform.text-df6f7f9306da06a9f1a8c17a9582affe764e465c.tar.xz
eclipse.platform.text-df6f7f9306da06a9f1a8c17a9582affe764e465c.zip
Removed unused code
Diffstat (limited to 'org.eclipse.jface.text/src/org/eclipse/jface/text/formatter')
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/formatter/ContentFormatter.java27
1 files changed, 0 insertions, 27 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/formatter/ContentFormatter.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/formatter/ContentFormatter.java
index 9fc9bac4a..c6ca4a200 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/formatter/ContentFormatter.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/formatter/ContentFormatter.java
@@ -297,8 +297,6 @@ public class ContentFormatter implements IContentFormatter, IContentFormatterExt
private String[] fPartitionManagingCategories;
/** The list of references to offset and end offset of all overlapping positions */
private List fOverlappingPositionReferences;
- /** Position updater used for partitioning positions */
- private IPositionUpdater fPartitioningUpdater;
/**
* The document partitioning used by this formatter.
* @since 3.0
@@ -864,31 +862,6 @@ public class ContentFormatter implements IContentFormatter, IContentFormatterExt
}
/**
- * Installs those updaters which the formatter needs to keep track of the partitions.
- */
- private void addPartitioningUpdater() {
- fPartitioningUpdater= new NonDeletingPositionUpdater(PARTITIONING);
- fDocument.addPositionCategory(PARTITIONING);
- fDocument.addPositionUpdater(fPartitioningUpdater);
- }
-
- /**
- * Removes the formatter's internal position updater and category.
- */
- private void removePartitioningUpdater() {
-
- try {
-
- fDocument.removePositionUpdater(fPartitioningUpdater);
- fDocument.removePositionCategory(PARTITIONING);
- fPartitioningUpdater= null;
-
- } catch (BadPositionCategoryException x) {
- // should not happen
- }
- }
-
- /**
* Returns the partition managing position categories for the formatted document.
*
* @return the position managing position categories

Back to the top