This will be a combination of two things methinks - the order in which
Zap and Fireworkz have been loaded, and the name of the file.
If Zap sees the DataOpen message first, it will claim it.
Fireworkz claims all Fireworkz filetypes on DataOpen message.
For other filetypes it also then considers whether Alias$@RunType_xxx is
set up to ...!Fireworkz.!Run i.e. there is no other current claimant of
ones it expects to see, and stops another instance being created if the
user has set Fireworkz up as the default editor for another foreign
filetype.
Failing that, you'd think it would just pass on the DataOpen message.
But no, given the world of networked data and archived data where
filetypes have been lost or never present, for TEXT,DOS,DATA filetypes
and untyped files, for DataOpen it has a quick last-gasp check of the
file's 'extension' to see whether it is a file that meets the above
criteria. DataLoad has a more thorough check.
So if you have 'labels/csv', it will be matched in that last-gasp phase
and loaded by Fireworkz.
Shift-double-click was a temporary bodge to load oddball files from the
Filer into !Edit during RISC OS development... In the spirit of
bodgeiness, I could make Fireworkz check the Shift state.
Stuart
--
Stuart Swales