View Single Post
Old 10-29-2015, 11:43 AM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,709
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
But that doesn't meet the OP's requirement that the solution must leave indentation alone. Yes, pretty-print will put indentation back when you save, but what if the user has unchecked the Clean on Save/Open option(s) or disabled pretty-print altogether? (Did I mention Captain Overkill? )

Last edited by DiapDealer; 10-29-2015 at 11:46 AM.
DiapDealer is offline   Reply With Quote