Robert Roessler:

I followed up on John's look at this with an atom set to match
DROPFILES_DND... and things work fine with one of the latest Win32
versions of GTK (2.8.18) and glib (2.10.3).

So it looks to me like one can just take the released version of
ScintillaGTK.cxx and use the initial if clause with an
"|| selection_data->type == atomDROPFILES_DND"
added (with the appropriate declarations and intializations for
atomDROPFILES_DND, of course) - that is what I have done for testing
purposes.

  I looked up the code and can't see why you wouldn't get text/uri-list
http://www.koders.com/c/fid1A78BB9F26B1B6824DAF0D8DE61CE2CDFBB5484E.aspx

  Are you calling the WIn32 DragAcceptFiles function on the window?
That's the normal way of declaring you want to receive drop file
events. If this isn't called you may be seeing lower level drop
events.

I also note that when *multiple* URIs are dropped at the same time,
one gets all of them - but with [on Windows, anyway] a 0D/0A between them

  This helps with the definition and looseness of the format:
http://www.ip97.com/phpgtk/tutorials.filednd.urilist.html

Finally, how about uncommenting the "unrecognized" case error print -
that seems to be the GTK/glib way anyway... this would have been a
little easier to diagnose if that message had shown.

  I'm not real happy about this although a few printfs have stayed
enabled. Calling applications should receive silence and so not mess
up transcripts that include SciTE actions except for real errors and
this looks like an informational message.

  Neil
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to