diff options
author | Dani Megert | 2007-06-20 13:20:48 +0000 |
---|---|---|
committer | Dani Megert | 2007-06-20 13:20:48 +0000 |
commit | 72c2ad6154a5cdd0fa32e212237770fd8ba8e50b (patch) | |
tree | ccafc8bdad4a63a70fa496876ab848828d20463e /org.eclipse.text/projection | |
parent | 6fe58c108556912ee2dd23b12e34e2a6eaa1d2ce (diff) | |
download | eclipse.platform.text-72c2ad6154a5cdd0fa32e212237770fd8ba8e50b.tar.gz eclipse.platform.text-72c2ad6154a5cdd0fa32e212237770fd8ba8e50b.tar.xz eclipse.platform.text-72c2ad6154a5cdd0fa32e212237770fd8ba8e50b.zip |
Fixed bug 185773: [api] ProjectionDocument.getProjectionMapping() should return IDocumentInformationMapping
Diffstat (limited to 'org.eclipse.text/projection')
-rw-r--r-- | org.eclipse.text/projection/org/eclipse/jface/text/projection/ProjectionDocument.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.text/projection/org/eclipse/jface/text/projection/ProjectionDocument.java b/org.eclipse.text/projection/org/eclipse/jface/text/projection/ProjectionDocument.java index 7f9c2d5f123..25fefc47391 100644 --- a/org.eclipse.text/projection/org/eclipse/jface/text/projection/ProjectionDocument.java +++ b/org.eclipse.text/projection/org/eclipse/jface/text/projection/ProjectionDocument.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2006 IBM Corporation and others. + * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -10,7 +10,6 @@ *******************************************************************************/ package org.eclipse.jface.text.projection; - import java.util.ArrayList; import java.util.List; @@ -21,6 +20,7 @@ import org.eclipse.jface.text.DefaultLineTracker; import org.eclipse.jface.text.DocumentEvent; import org.eclipse.jface.text.IDocument; import org.eclipse.jface.text.IDocumentExtension; +import org.eclipse.jface.text.IDocumentInformationMapping; import org.eclipse.jface.text.IDocumentListener; import org.eclipse.jface.text.ILineTracker; import org.eclipse.jface.text.IRegion; @@ -183,7 +183,7 @@ public class ProjectionDocument extends AbstractDocument { * * @return the projection mapping used by this document */ - public ProjectionMapping getProjectionMapping(){ + public IDocumentInformationMapping getProjectionMapping(){ return fMapping; } |