Hello,
I don’t know if the following behavior is a bug or intentional but when I do use “select_lines” behavior on multiple lines with different indentations, here is what is happening :
$product = ProductTable::getInstance()->findOneById($productId);
$productIds = array();
$productIds] = $productId;
foreach ($product->getAggregats() as $aggregate) {
$productIds] = $aggregate->getId();
}
For instance, there is no space on the only empty line. If I select_lines and put comments, I do obtain :
//$product = ProductTable::getInstance()->findOneById($productId);
//
// //$productIds = array();
// //$productIds] = $productId;
// //foreach ($product->getAggregats() as $aggregate) {
// // $productIds] = $aggregate->getId();
//}
where I would rather expect :
//$product = ProductTable::getInstance()->findOneById($productId);
//
//$productIds = array();
//$productIds] = $productId;
//foreach ($product->getAggregats() as $aggregate) {
// $productIds] = $aggregate->getId();
//}
Please let me know if thats something to be changed in the future or a normal behavior. Thank you and thanks for that wonderful SublimeText 2 any way