lessphp icon indicating copy to clipboard operation
lessphp copied to clipboard

Preserved comments don't retain original position

Open colynb opened this issue 12 years ago • 7 comments

I have a file that imports multiple less files and I've added comments to each of the files. The comments include the name of the file so that developers can refer to them if they need to make a change. Preserving comments allows me to do this. However, your method of preserving comments simply strips them then reapplies them all to the top of the compiled output. Is there a way to keep their original position?

colynb avatar Sep 07 '12 21:09 colynb

push this is really helpful for smartsprite processing!

dtrunk90 avatar Jan 18 '13 12:01 dtrunk90

++

lpetrov avatar Feb 08 '13 13:02 lpetrov

+1

andyhausmann avatar Feb 08 '13 18:02 andyhausmann

Doesn't look like we're going to get a response. I'll have to try and find time to fix this myself then submit a pull request.

colynb avatar Feb 08 '13 18:02 colynb

I don't expect to have any free time soon for helping with the fix, but you can count me in for testing if needed :)

Cheers, Lyubo

Sent from my Phone

On 08.02.2013, at 20:26, colynb [email protected] wrote:

Doesn't look like we're going to get a response. I'll have to try and find time to fix this myself then submit a pull request.

— Reply to this email directly or view it on GitHub..

lpetrov avatar Feb 08 '13 19:02 lpetrov

+1

pafnuty avatar Apr 29 '13 18:04 pafnuty

+1

Manyaka avatar May 18 '15 16:05 Manyaka