I am using Scite every day at work to open files containing NULL characters (that Geany can't open). Scite is based on Scintilla, and it doesn't stop at the first NULL character. I guess it should be possible to open binary files in Geany too ...<br>
<br><div class="gmail_quote">2011/4/19 Matthew Brush <span dir="ltr"><<a href="mailto:mbrush@codebrainz.ca">mbrush@codebrainz.ca</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 04/19/11 02:30, Lex Trotman wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
[...]<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I thought about writing such a plugin before, but not using Scintilla<br>
directly, I think I even might've wrote a little code for it.  I was looking<br>
at using GtkHex[1] and messing with the main documents tab like the Devhelp<br>
plugin does.  Getting a hex viewing widget into Geany is pretty easy, but<br>
hooking it in to handle different filetypes and whatnot would probably be a<br>
little harder.<br>
</blockquote>
<br>
Not sure what you mean by handle filetypes, I thought the point of<br>
something like this would be to handle it as hex, no matter what the<br>
file was?<br>
</blockquote>
<br></div>
My idea was for viewing/editing binary files only, but it could be any file really.  But mostly I was referring to things like tying in with the document open signal, figuring out if it's a binary file, hijacking the "document open" so it's displayed in GHex/GtkHex, preventing Geany from trying to display it in Scintilla, integration with all the other features like fonts, zooming, printing, etc.  That was the point when I decided to just use an external hex viewer for binary files :)<br>

<br>
Cheers,<br><font color="#888888">
Matthew Brush</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Geany-devel mailing list<br>
<a href="mailto:Geany-devel@uvena.de" target="_blank">Geany-devel@uvena.de</a><br>
<a href="https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel" target="_blank">https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel</a><br>
</div></div></blockquote></div><br>