[Gambas-user] Non-linux line ending files are seen as binary by the IDE

Mike Crean mike.crean at ...2897...
Tue Feb 3 03:00:03 CET 2015


He Jussi, would one not expect to see CR, LF in a binaryfile and would expect to see EOF.
Regards Mike 

     On Tuesday, 3 February 2015, 2:11, Jussi Lahtinen <jussi.lahtinen at ...3425...26...> wrote:
   

 It would certainly be good thing if IDE would have converter for these
cases. Meanwhile it should be pretty easy to write script to convert the
line endings.
However, it's strange that I did not have this problem with source files...
maybe this is bug in how Gambas detect binary files.


Jussi

On Mon, Feb 2, 2015 at 9:49 AM, adamnt42 at ...626... <adamnt42 at ...626...>
wrote:

> If I have a data file in the project which has windows style line endings,
> i.e. CRLF then the IDE thinks it's a binary file.
>
> Don't really know if this is a bug or just an anomaly or what is the
> expected behaviour?
>
> e.g. attached.  In the IDE, Data|New > Existing, add  the attached file.
> Double clicking on it raises the error balloon "Cannot open a binary file".
>
> cheers
> B
>
> --
> B Bruen <adamnt42 at ...3379... (sort of)>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


   


More information about the User mailing list