/** The platform default line delimiter. */
private static final String PLATFORM_LINE_DELIMITER = System.getProperty("line.separator"); //$NON-NLS-1$
- private static final String specialChars = "&<#";
+ /** special characters
+ * '&' for the start of HTML entities
+ * '<' for the start of HTML tags
+ * '#' for the start of colour attributes
+ * '{' for the start of smarty partitions inside HTML code
+ */
+ private static final String specialChars = "&<#{";
+
/** The compilation unit, may be <code>null</code>. */
// private final ICompilationUnit fCompilationUnit;
-
+ protected boolean fForceEvaluation;
/**
* Creates a compilation unit context.
*
// return null;
// }
// }
-
+ /**
+ * Forces evaluation.
+ */
+ public void setForceEvaluation(boolean evaluate) {
+ fForceEvaluation = evaluate;
+ }
}