Re: External Editor / ODB Suite
Re: External Editor / ODB Suite
- Subject: Re: External Editor / ODB Suite
- From: Allan Odgaard <email@hidden>
- Date: Fri, 9 Jul 2004 04:16:02 +0200
On 9. Jul 2004, at 3:24, Nick Zitzmann wrote:
I am trying to setup an external editor with Xcode, but even though
the editor in question implements the ODB Suite from Bare Bones,
Xcode will not send it the extra keyFileSender parameter [...]
Does the event your application receives include a keyAEPropData
parameter? If so, then it's likely that Xcode hid the keyFileSender
parameter inside the keyAEPropData parameter.
It does not seem to, at least [event
paramDescriptorForKeyword:keyAEPropData] returns nil.
Below is a hex dump of the event I get by double clicking Info.plist,
obtained using:
AEDesc const* desc = [event aeDesc];
std::vector<uint8_t> v(AEGetDescDataSize(desc));
AEGetDescData(desc, &v[0], v.size());
hex_dump(v.begin(), v.end());
The four character code for the keyFileSender is 'FSnd', which I do not
see in the dump, nor do I see Xcodes creator code!?!
I have tested the application against another program which supports
the ODB Suite, and here it does work (i.e. the proper keyFileSender is
included in the event).
0000 64 6C 65 32 00 00 00 00 61 65 76 74 00 00 02 82 dle2....aevt....
0010 00 00 00 00 00 00 00 00 00 00 01 08 00 00 00 04 ................
0020 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 ................
0030 61 65 76 74 6F 64 6F 63 01 7C 00 03 00 42 A7 40 aevtodoc.|...B.@
0040 00 46 F4 A0 00 46 E8 90 00 46 E9 30 A1 B1 C1 D3 .F...F...F.0....
0050 A1 B1 C1 D3 00 42 87 80 00 4C 22 C0 00 49 AC 40 .....B...L"..I.@
0060 00 47 54 70 00 47 6B 70 00 47 2C 50 00 48 59 F0 .GTp.Gkp.G,P.HY.
0070 00 47 0C D0 00 48 4A 70 00 42 B7 10 00 48 3E 40 .G...HJp.B...H>@
0080 00 4B C8 40 00 44 50 D0 00 47 2C 30 00 47 6B 90 .K.@.DP..G,0.Gk.
0090 61 65 76 74 00 01 00 01 74 72 61 6E 6C 6F 6E 67 aevt....tranlong
00A0 00 00 00 04 00 00 00 00 61 64 64 72 70 73 6E 20 ........addrpsn
00B0 00 00 00 08 00 00 00 00 00 18 00 01 74 62 73 63 ............tbsc
00C0 70 73 6E 20 00 00 00 08 00 00 00 00 00 00 00 00 psn ............
00D0 69 6E 74 65 6C 6F 6E 67 00 00 00 04 00 00 00 70 intelong.......p
00E0 72 65 70 71 6C 6F 6E 67 00 00 00 04 00 00 00 00 repqlong........
00F0 74 62 73 63 70 73 6E 20 00 00 00 08 00 00 00 00 tbscpsn ........
0100 00 00 00 00 72 65 6D 6F 6C 6F 6E 67 00 00 00 04 ....remolong....
0110 00 00 00 00 3B 3B 3B 3B 2D 2D 2D 2D 6C 69 73 74 ....;;;;----list
0120 00 00 01 6E 00 00 00 01 00 00 00 00 61 6C 69 73 ...n........alis
0130 00 00 01 5E 00 00 00 00 01 5E 00 02 00 00 04 4D ...^.....^.....M
0140 61 69 6E 00 00 00 00 00 00 00 00 00 00 00 00 00 ain.............
0150 00 00 00 00 00 00 00 00 00 00 BB B5 AC 15 48 2B ..............H+
0160 00 00 00 35 07 5F 0A 49 6E 66 6F 2E 70 6C 69 73 ...5._.Info.plis
0170 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 t...............
0180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
01A0 00 00 00 00 00 00 00 35 07 6F BC E1 5A CA 00 00 .......5.o..Z...
01B0 00 00 00 00 00 00 FF FF FF FF 00 00 09 20 00 00 ............. ..
01C0 00 00 00 00 00 00 00 00 00 00 00 00 00 08 54 65 ..............Te
01D0 78 74 4D 61 74 65 00 10 00 08 00 00 BB B5 8F F5 xtMate..........
01E0 00 00 00 11 00 08 00 00 BC E1 3E AA 00 00 00 01 ..........>.....
01F0 00 10 00 35 07 5F 00 04 4F 15 00 02 D9 FE 00 00 ...5._..O.......
0200 1D 7C 00 02 00 2A 4D 61 69 6E 3A 55 73 65 72 73 .|...*Main:Users
0210 3A 64 75 66 66 3A 53 6F 75 72 63 65 3A 54 65 78 :duff:Source:Tex
0220 74 4D 61 74 65 3A 49 6E 66 6F 2E 70 6C 69 73 74 tMate:Info.plist
0230 00 0E 00 16 00 0A 00 49 00 6E 00 66 00 6F 00 2E .......I.n.f.o..
0240 00 70 00 6C 00 69 00 73 00 74 00 0F 00 0A 00 04 .p.l.i.s.t......
0250 00 4D 00 61 00 69 00 6E 00 12 00 25 55 73 65 72 .M.a.i.n...%User
0260 73 2F 64 75 66 66 2F 53 6F 75 72 63 65 2F 54 65 s/duff/Source/Te
0270 78 74 4D 61 74 65 2F 49 6E 66 6F 2E 70 6C 69 73 xtMate/Info.plis
0280 74 00 00 13 00 01 2F 00 00 15 00 02 00 0B FF FF t...../.........
0290 00 00 ..
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.