[Geany-devel] hex mode
jsaunier.devel at xxxxx
Mon May 9 14:33:28 UTC 2011
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 ...
2011/4/19 Matthew Brush <mbrush at codebrainz.ca>
> On 04/19/11 02:30, Lex Trotman wrote:
>>> I thought about writing such a plugin before, but not using Scintilla
>>> directly, I think I even might've wrote a little code for it. I was
>>> at using GtkHex and messing with the main documents tab like the
>>> plugin does. Getting a hex viewing widget into Geany is pretty easy, but
>>> hooking it in to handle different filetypes and whatnot would probably be
>>> little harder.
>> Not sure what you mean by handle filetypes, I thought the point of
>> something like this would be to handle it as hex, no matter what the
>> file was?
> 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 :)
> Matthew Brush
> Geany-devel mailing list
> Geany-devel at uvena.de
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel