Community
Participate
Working Groups
Build Identifier: Indentation mechanism takes a lot of time when Enter key is hit in the middle of multi line quoted string. See attached example acceleratorBenchmark.php file. Hit enter anywhere in the middle/at the end of string. Reproducible: Always
Created attachment 207594 [details] acceleratorBenchmark.php - PHP file with very long multiline quoted string
Created attachment 207596 [details] Indentation performance improvement - patch Attached patch improves: 1. Finding next character position in scanBackward() method (fixed PHPHeuristicScanner.getPartition()). 2. Checking for multiline tokens in DefaultIndentationStrategy.getIndentationBaseLine() has been added.
thanks,Natalia
Created attachment 207754 [details] Wrong indentation case fixed - patch I've found one wrong indentation scenario introduced by previous patch: In unit tests attached to bug: Bug 365235 Test case arrayStatemets4.pdtt. Attached patch fixes this issue.
One incorrect indentation scenario found. Patch attached.
committed,thanks!
Verified. Closing Ilina Stefanova