<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">+cfe-dev, djasper, alexfh</div><div class="gmail_quote"><br></div><div class="gmail_quote">On Thu, Jan 23, 2014 at 6:36 AM, Nikola Smiljanic <span dir="ltr"><<a href="mailto:popizdeh@gmail.com" target="_blank">popizdeh@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Manuel, my quick and dirty fixes with little understanding of the code failed miserably. So before I invest any more time I'd like to see what you think. Two or more lines that have nothing more than comments are not squished together as in:<div>


<br></div><div><div>// This is a very long comment that goes over the column limit but also continues</div><div>// on the next line and is not properly formatted.</div></div><div><br></div><div>is formatted as:</div><div>


<br></div><div><div>// This is a very long comment that goes over the column limit but also</div><div>// continues</div><div>// on the next line and is not properly formatted.</div></div><div><br></div><div>My quick look at the code gave me an idea that both of these tokens should become one UnwrappedLine. Does this make any sense? Is there a way to combine the text of two comment tokens into one token? This would probably only make sense in the case where line has nothing but the comments and I'm not sure if that information is available...</div>
</div></blockquote><div><br></div><div>Yes that's basically the idea. I think at some point Alex has looked into this, but I don't know what the state was - it's definitely not a trivial matter, as having a single UnwrappedLine is not enough - we'd basically want to create single "Token"s for comments that we want to reflow.</div>
<div><br></div><div>Cheers,</div><div>/Manuel</div></div></div></div>