From cc0dd43d1bdd69f93fe317fed1bfd3da0d014241 Mon Sep 17 00:00:00 2001 From: bananeweizen Date: Sun, 15 Jan 2006 12:24:16 +0000 Subject: [PATCH] bug fix 1403993, scanner wrongly detected XML comment end, when closing > was still missing --- .../ui/internal/text/PHPXMLPartitionScanner.java | 12 ++++++------ .../xml/ui/internal/text/XMLPartitionScanner.java | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/net.sourceforge.phpeclipse.xml.ui/src/net/sourceforge/phpeclipse/xml/ui/internal/text/PHPXMLPartitionScanner.java b/net.sourceforge.phpeclipse.xml.ui/src/net/sourceforge/phpeclipse/xml/ui/internal/text/PHPXMLPartitionScanner.java index 37946aa..86cd4f1 100644 --- a/net.sourceforge.phpeclipse.xml.ui/src/net/sourceforge/phpeclipse/xml/ui/internal/text/PHPXMLPartitionScanner.java +++ b/net.sourceforge.phpeclipse.xml.ui/src/net/sourceforge/phpeclipse/xml/ui/internal/text/PHPXMLPartitionScanner.java @@ -8,7 +8,7 @@ * Contributors: * Igor Malinin - initial contribution * - * $Id: PHPXMLPartitionScanner.java,v 1.1 2005-05-15 23:23:02 axelcl Exp $ + * $Id: PHPXMLPartitionScanner.java,v 1.2 2006-01-15 12:24:16 bananeweizen Exp $ */ package net.sourceforge.phpeclipse.xml.ui.internal.text; @@ -26,8 +26,8 @@ import org.eclipse.jface.text.rules.Token; /** - * - * + * + * * @author Igor Malinin */ public class PHPXMLPartitionScanner implements IPartitionTokenScanner { @@ -100,10 +100,10 @@ public class PHPXMLPartitionScanner implements IPartitionTokenScanner { state = STATE_DEFAULT; return getToken(XML_TAG); - case '?': //