From 469167bb1bc821d1eaaaf4ea10a268cec0743651 Mon Sep 17 00:00:00 2001 From: Paul Taykalo Date: Fri, 8 May 2015 00:11:50 +0300 Subject: [PATCH] Saving document if it was edited, without result saving reult check --- .../Contents/MacOS/SFDYCIPlugin | Bin 78100 -> 77732 bytes Support/Xcode/Source/Classes/SFDYCIHelper.m | 14 ++++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Support/Xcode/Binary/SFDYCIPlugin.xcplugin/Contents/MacOS/SFDYCIPlugin b/Support/Xcode/Binary/SFDYCIPlugin.xcplugin/Contents/MacOS/SFDYCIPlugin index 97235b037c5a007658e84b110ac44f4855090f00..debd34891ce9c0d8e36e34405d4e0ede5c8baa41 100755 GIT binary patch delta 20465 zcmc(H3shBA*Y@7XQBV;Mh=M2wnUM;oD+fln{ny;0w{Bx~27wQ?~|GzQ*?;GRWW9;?p=b3ZO zwf5R;?>*OH>vP|^Z#w5*R$?scqRH*4Ov1AA4XH-ohly;`34O~irW$uXLgc6$;Z8`> zQ~g)ZBi4sN6Wk5T+XumBJ;c9;tyOFl++A903~iuU4>V@YCzI8KFbjIRr5e{iPOQj4 zxE_|erTPY}AU2CY3s?b1+y)tKEWgXL4FX%G`uBN~DW8Mj)UlFQAsypvWNq{z6dbNT z+ZF0O-D}UbnxyMBkYpHc%zBROReaJ}P;N-|z48L7Tv@yF0(@r}WYj82=2O9l@vT#h z9;_;74_Jw6fQxScG__8JMuUgvl~xob1VY=S8hu_OR>P_fEJU^L)q6Wo2m4TMWOWG{ zwMH;{q#CUoiK<>%A>ShvvOK~n%DkY_BLu2Euu-lu4s=hfQbqJUt5(SNEHf4{t0CNE zgWo;7kDrZfwvgP}EcgeSR?=G2u6&|tH<63M3&4HBZcY0ENylF_t!%KSwL>incd;!& zUF@QpMTpbIG%?g%(zFdwuKPh%TMwTlYX-D_xo+UP=iSBxjz&Dx zrc@RSYA8c+roz;q9RE?Pgi`24Utjk9Y&0AV3b7p;Eh41XSyQkln)m8CSX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classes/SFDYCIHelper.m @@ -91,14 +91,16 @@ - (IDEEditorDocument *)currentDocument } - (void)recompileAndInject:(id)sender { - - if ([self currentDocument]) { - [[self currentDocument] saveDocument:nil]; + if ([[self currentDocument] isDocumentEdited]) { + [[self currentDocument] saveDocumentWithDelegate:self didSaveSelector:@selector(document:didSave:contextInfo:) contextInfo:nil]; + } else { + [self recompileAndInjectAfterSave: nil]; } - dispatch_async(dispatch_get_main_queue(), ^{ // This add a little delay for saving, maybe a perform:withDelay will be better ? - [self recompileAndInjectAfterSave: nil]; - }); +} + +- (void)document:(NSDocument *)document didSave:(BOOL)didSaveSuccessfully contextInfo:(void *)contextInfo { + [self recompileAndInjectAfterSave: nil]; } - (void)recompileAndInjectAfterSave:(id)sender {