Hi,
In need future I want back to my old bug (
https://bugs.eclipse.org/bugs/show_bug.cgi?id=438240) about code pasting. I
was reviewing code and meaningful for this fix code is strongly related to
old code formatter. I found some funny code like this:)

final boolean licensed = true;
if (licensed) {
formatter = new PHPCodeFormatter();
} else {
formatter = new MultiPassContentFormatter(
IStructuredPartitioning.DEFAULT_STRUCTURED_PARTITIONING,
IHTMLPartitions.HTML_DEFAULT);
((MultiPassContentFormatter) formatter)
.setMasterStrategy(new StructuredFormattingStrategy(
new PhpFormatProcessorImpl()));
}

Old formatter looks unused and my question is this 100% true? A lot of code
can be removed in this case, but maybe someone knows something against this
idea:) Thanks for any historical info :)

Michal
_______________________________________________
pdt-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/pdt-dev

Reply via email to