* Created on 05.03.2003
*
* @author Stefan Langer (musk)
- * @version $Revision: 1.11 $
+ * @version $Revision: 1.12 $
*/
package net.sourceforge.phpeclipse.phpeditor.php;
!= IPHPPartitionScannerConstants.PHP_MULTILINE_COMMENT
&& checkPattern(new char[] { '?', 'p', 'h', 'p' }, true))
{
- if (fContentType != IPHPPartitionScannerConstants.PHP
+ if (fContentType != IPHPPartitionScannerConstants.PHP
&& fOffset - 5 > 0)
{
fOffset -= 5;
IToken token = getToken(fContentType);
// save previouse contenttype
- fPrevContentType = fContentType;
+ fPrevContentType = fContentType;
fContentType = IPHPPartitionScannerConstants.PHP;
{
if ((c = read()) == '>')
{ // TODO Actually calculate the previouse contenttype from the document
- if(fPrevContentType != null)
- fContentType = fPrevContentType;
- else
- fContentType = IPHPPartitionScannerConstants.HTML;
+ if(fPrevContentType != null)
+ fContentType = fPrevContentType;
+ else
+ fContentType = IPHPPartitionScannerConstants.HTML;
partitionBorder = true;
return getToken(IPHPPartitionScannerConstants.PHP);
}
}
}
+