Users may not want to edit the files directly, but they'll be happy to be able to open them with proper syntax highlighting, for example.<div><br></div><div>JP<br><br><div class="gmail_quote">On Sat, Sep 11, 2010 at 7:57 PM, Henning Thielemann <span dir="ltr"><<a href="mailto:schlepptop@henning-thielemann.de">schlepptop@henning-thielemann.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">JP Moresmau schrieb:<br>
<div class="im">> Hello fellow Haskellers,<br>
><br>
> In EclipseFP we use the GHC API for IDE related stuff like syntax<br>
> highlighting and code outlines. However, I ran into something funny<br>
> yesterday: when a source file contains LINE pragmas<br>
> (<a href="http://www.haskell.org/ghc/docs/6.12.2/html/users_guide/pragmas.html#line-pragma" target="_blank">http://www.haskell.org/ghc/docs/6.12.2/html/users_guide/pragmas.html#line-pragma</a>),<br>
> all the locations for tokens are changed to reflect the pragmas<br>
> information.<br>
<br>
</div>I thought that files that contain the LINE pragma usually are<br>
automatically generated files. Why would you want to edit or maintain<br>
such files in an IDE?<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>JP Moresmau<br><a href="http://jpmoresmau.blogspot.com/">http://jpmoresmau.blogspot.com/</a><br>
</div>