Le 15/11/2013 15:52, Thomas Martitz a écrit :
Am 15.11.2013 15:34, schrieb Colomban Wendling:
Le 11/11/2013 08:18, Lex Trotman a écrit :
[...]
So I am starting this thread to try to get ideas on where Geany should be headed.
[...]
#N Seamless support for buffers with embedded 0 bytes
How do you define seamless? There's a patch that lets geany open binary files and it works pretty well in my experience.
Lots of part in Geany assumes C strings, which are 0-terminated arrays. By "seamless", I mean that everything that deals with data from the buffer properly handles NUL bytes, e.g. not only that one can open and display them but also work with them just the same as if they didn't embed NULs. This shouldn't be too hard, but *really* tedious, probably needs API break or additins, and it's likely some parts gets forgotten.