From ba74cb30f1d26c372452710a45499a20299e248e Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Sun, 28 Aug 2011 23:05:19 +0200 Subject: [PATCH] Switch to autosave in place workflow --- English.lproj/MainMenu.xib | 1014 ++++++++++++++++++++++++------------ Sources/VLAppController.mm | 5 + Sources/VLDocument.mm | 5 + 3 files changed, 690 insertions(+), 334 deletions(-) diff --git a/English.lproj/MainMenu.xib b/English.lproj/MainMenu.xib index 98768d7..e22eec8 100644 --- a/English.lproj/MainMenu.xib +++ b/English.lproj/MainMenu.xib @@ -1,20 +1,42 @@ - + 1050 - 9E17 - 652 - 949.33 - 352.00 - + 11B26 + 1617 + 1138 + 566.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 1617 + + YES - - + NSUserDefaultsController + NSPopUpButtonCell + NSPopUpButton + NSMenuItem + NSMenu + NSTextFieldCell + NSBox + NSCustomObject + NSStepperCell + NSView + NSWindowTemplate + NSTextField + NSStepper YES com.apple.InterfaceBuilder.CocoaPlugin + + YES + + YES + + + YES @@ -69,7 +91,7 @@ - UHJlZmVyZW5jZXPigKY + Preferences… , 1048576 2147483647 @@ -194,7 +216,7 @@ - T3BlbuKApg + Open… o 1048576 2147483647 @@ -251,25 +273,16 @@ - Save + Save... s 1048576 2147483647 - - - U2F2ZSBBc+KApg - S - 1048576 - 2147483647 - - - - U2F2ZSBhIENvcHkgQXPigKY + Save a Copy As… s 1572864 2147483647 @@ -297,7 +310,7 @@ - UGFnZSBTZXR1cOKApg + Page Setup… P 1048576 2147483647 @@ -306,7 +319,7 @@ - UHJpbnTigKY + Print… p 1048576 2147483647 @@ -477,7 +490,7 @@ YES - RmluZOKApg + Find… f 1048576 2147483647 @@ -542,7 +555,7 @@ YES - U3BlbGxpbmfigKY + Spelling… : 1048576 2147483647 @@ -588,7 +601,7 @@ YES - RGlzcGxheSBPcHRpb25z4oCmA + Display Options… 1048576 2147483647 @@ -626,7 +639,7 @@ - UmVwZWF04oCmA + Repeat… 1048576 2147483647 @@ -635,7 +648,7 @@ - RW5kaW5n4oCmA + Ending… 1048576 2147483647 @@ -714,7 +727,7 @@ Octave Up - 75yAA + 1048576 2147483647 @@ -724,7 +737,7 @@ Octave Down - 75yBA + 1048576 2147483647 @@ -924,7 +937,7 @@ - Q3VzdG9taXplIFRvb2xiYXLigKY + Customize Toolbar… 1048576 2147483647 @@ -1057,7 +1070,7 @@ - UmVwb3J0IEJ1Z+KApg + Report Bug… 1048576 2147483647 @@ -1067,7 +1080,7 @@ - UmVxdWVzdCBGZWF0dXJl4oCmA + Request Feature… 1048576 2147483647 @@ -1116,7 +1129,7 @@ View - {3.40282e+38, 3.40282e+38} + {213, 107} @@ -1130,7 +1143,7 @@ YES - 256 + 274 YES @@ -1145,7 +1158,7 @@ Low: LucidaGrande - 1.300000e+01 + 13 1044 @@ -1155,7 +1168,7 @@ controlColor 3 - MC42NjY2NjY2OQA + MC42NjY2NjY2NjY3AA @@ -1227,10 +1240,10 @@ 917024 0 - 5.900000e+01 - 3.600000e+01 - 8.400000e+01 - 1.000000e+00 + 59 + 36 + 84 + 1 YES YES @@ -1245,10 +1258,10 @@ 917024 0 - 5.900000e+01 - 3.600000e+01 - 8.400000e+01 - 1.000000e+00 + 59 + 36 + 84 + 1 YES YES @@ -1267,7 +1280,7 @@ Melody Range LucidaGrande - 1.100000e+01 + 11 16 @@ -1297,7 +1310,7 @@ YES - 256 + 274 YES @@ -1315,7 +1328,7 @@ 1 LucidaGrande - 1.300000e+01 + 13 16 @@ -1395,7 +1408,8 @@ {{0, 0}, {1920, 1178}} {213, 129} - {3.40282e+38, 3.40282e+38} + {10000000000000, 10000000000000} + YES YES @@ -1645,14 +1659,6 @@ 196 - - - saveDocumentAs: - - - - 197 - revertDocumentToSaved: @@ -2205,22 +2211,20 @@ YES 0 - - YES - + -2 - - RmlsZSdzIE93bmVyA + + File's Owner -1 - + First Responder @@ -2237,7 +2241,7 @@ - + MainMenu @@ -2396,7 +2400,6 @@ - @@ -2439,11 +2442,6 @@ - - 80 - - - 82 @@ -2753,7 +2751,7 @@ 215 - + VLAppController @@ -2763,7 +2761,7 @@ YES - + Preferences @@ -2802,13 +2800,13 @@ 228 - + Shared Defaults -3 - + Application @@ -2981,7 +2979,7 @@ 100263 - + Mirror Window @@ -2991,7 +2989,7 @@ YES - + Debug Menu @@ -3211,10 +3209,18 @@ YES - + YES -1.IBPluginDependency -2.IBPluginDependency + -3.IBPluginDependency + 100221.IBPluginDependency + 100222.IBPluginDependency + 100224.IBPluginDependency + 100225.IBPluginDependency + 100233.IBPluginDependency + 100234.IBPluginDependency + 100245.IBPluginDependency 100246.IBPluginDependency 100247.IBPluginDependency 100248.IBPluginDependency @@ -3226,20 +3232,14 @@ 100260.IBPluginDependency 100261.IBPluginDependency 100263.IBPluginDependency - 100265.IBEditorWindowLastContentRect 100265.IBPluginDependency - 100265.editorWindowContentRectSynchronizationRect 100271.IBPluginDependency - 100272.IBEditorWindowLastContentRect 100272.IBPluginDependency - 100272.editorWindowContentRectSynchronizationRect 100274.IBPluginDependency 100276.IBPluginDependency 100278.IBPluginDependency 100280.IBPluginDependency - 100281.IBEditorWindowLastContentRect 100281.IBPluginDependency - 100281.editorWindowContentRectSynchronizationRect 100282.IBPluginDependency 100283.IBPluginDependency 100284.IBPluginDependency @@ -3247,17 +3247,11 @@ 100286.IBPluginDependency 100288.IBPluginDependency 100296.IBPluginDependency - 100297.IBEditorWindowLastContentRect 100297.IBPluginDependency - 100297.editorWindowContentRectSynchronizationRect 100300.IBPluginDependency - 100300.ImportedFromIB2 100301.IBPluginDependency - 100301.ImportedFromIB2 100302.IBPluginDependency - 100302.ImportedFromIB2 100303.IBPluginDependency - 100303.ImportedFromIB2 100308.IBPluginDependency 100309.IBPluginDependency 100310.IBPluginDependency @@ -3273,203 +3267,96 @@ 100329.IBPluginDependency 100330.IBPluginDependency 103.IBPluginDependency - 103.ImportedFromIB2 106.IBPluginDependency - 106.ImportedFromIB2 - 106.editorWindowContentRectSynchronizationRect 111.IBPluginDependency - 111.ImportedFromIB2 112.IBPluginDependency - 112.ImportedFromIB2 124.IBPluginDependency - 124.ImportedFromIB2 125.IBPluginDependency - 125.ImportedFromIB2 126.IBPluginDependency - 126.ImportedFromIB2 129.IBPluginDependency - 129.ImportedFromIB2 130.IBPluginDependency - 130.ImportedFromIB2 131.IBPluginDependency - 131.ImportedFromIB2 134.IBPluginDependency - 134.ImportedFromIB2 136.IBPluginDependency - 136.ImportedFromIB2 143.IBPluginDependency - 143.ImportedFromIB2 144.IBPluginDependency - 144.ImportedFromIB2 145.IBPluginDependency - 145.ImportedFromIB2 149.IBPluginDependency - 149.ImportedFromIB2 150.IBPluginDependency - 150.ImportedFromIB2 154.IBPluginDependency - 154.ImportedFromIB2 155.IBPluginDependency - 155.ImportedFromIB2 156.IBPluginDependency - 156.ImportedFromIB2 157.IBPluginDependency - 157.ImportedFromIB2 158.IBPluginDependency - 158.ImportedFromIB2 159.IBPluginDependency - 159.ImportedFromIB2 160.IBPluginDependency - 160.ImportedFromIB2 161.IBPluginDependency - 161.ImportedFromIB2 162.IBPluginDependency - 162.ImportedFromIB2 163.IBPluginDependency - 163.ImportedFromIB2 164.IBPluginDependency - 164.ImportedFromIB2 167.IBPluginDependency - 167.ImportedFromIB2 168.IBPluginDependency - 168.ImportedFromIB2 - 169.IBEditorWindowLastContentRect 169.IBPluginDependency - 169.ImportedFromIB2 - 169.editorWindowContentRectSynchronizationRect 171.IBPluginDependency - 171.ImportedFromIB2 172.IBPluginDependency - 172.ImportedFromIB2 173.IBPluginDependency - 173.ImportedFromIB2 174.IBPluginDependency - 174.ImportedFromIB2 184.IBPluginDependency - 184.ImportedFromIB2 185.IBPluginDependency - 185.ImportedFromIB2 - 185.editorWindowContentRectSynchronizationRect 187.IBPluginDependency - 187.ImportedFromIB2 189.IBPluginDependency - 189.ImportedFromIB2 19.IBPluginDependency - 19.ImportedFromIB2 191.IBPluginDependency - 191.ImportedFromIB2 202.IBPluginDependency - 202.ImportedFromIB2 203.IBPluginDependency - 203.ImportedFromIB2 210.IBPluginDependency - 210.ImportedFromIB2 212.IBPluginDependency - 212.ImportedFromIB2 215.IBPluginDependency - 215.ImportedFromIB2 217.IBPluginDependency - 217.ImportedFromIB2 - 217.editorWindowContentRectSynchronizationRect - 217.windowTemplate.hasMaxSize - 217.windowTemplate.hasMinSize - 217.windowTemplate.maxSize - 217.windowTemplate.minSize 218.IBPluginDependency - 218.ImportedFromIB2 221.IBPluginDependency - 221.ImportedFromIB2 222.IBPluginDependency - 222.ImportedFromIB2 224.IBPluginDependency - 224.ImportedFromIB2 225.IBPluginDependency - 225.ImportedFromIB2 228.IBPluginDependency - 228.ImportedFromIB2 23.IBPluginDependency - 23.ImportedFromIB2 233.IBPluginDependency - 233.ImportedFromIB2 234.IBPluginDependency - 234.ImportedFromIB2 24.IBPluginDependency - 24.ImportedFromIB2 - 24.editorWindowContentRectSynchronizationRect 245.IBPluginDependency - 245.ImportedFromIB2 246.IBPluginDependency - 246.ImportedFromIB2 248.IBPluginDependency - 248.ImportedFromIB2 249.IBPluginDependency - 249.ImportedFromIB2 251.IBPluginDependency - 251.ImportedFromIB2 253.IBPluginDependency - 253.ImportedFromIB2 257.IBPluginDependency - 257.ImportedFromIB2 258.IBPluginDependency - 258.ImportedFromIB2 - 258.editorWindowContentRectSynchronizationRect 259.IBPluginDependency - 259.ImportedFromIB2 260.IBPluginDependency - 260.ImportedFromIB2 263.IBPluginDependency - 263.ImportedFromIB2 264.IBPluginDependency - 264.ImportedFromIB2 265.IBPluginDependency - 265.ImportedFromIB2 266.IBPluginDependency - 266.ImportedFromIB2 267.IBPluginDependency - 267.ImportedFromIB2 268.IBPluginDependency - 268.ImportedFromIB2 289.IBPluginDependency - 289.ImportedFromIB2 - 29.IBEditorWindowLastContentRect 29.IBPluginDependency - 29.ImportedFromIB2 - 29.editorWindowContentRectSynchronizationRect 290.IBPluginDependency - 290.ImportedFromIB2 5.IBPluginDependency - 5.ImportedFromIB2 56.IBPluginDependency - 56.ImportedFromIB2 57.IBPluginDependency - 57.ImportedFromIB2 58.IBPluginDependency - 58.ImportedFromIB2 72.IBPluginDependency - 72.ImportedFromIB2 73.IBPluginDependency - 73.ImportedFromIB2 74.IBPluginDependency - 74.ImportedFromIB2 75.IBPluginDependency - 75.ImportedFromIB2 77.IBPluginDependency - 77.ImportedFromIB2 78.IBPluginDependency - 78.ImportedFromIB2 79.IBPluginDependency - 79.ImportedFromIB2 - 80.IBPluginDependency - 80.ImportedFromIB2 81.IBPluginDependency - 81.ImportedFromIB2 - 81.editorWindowContentRectSynchronizationRect 82.IBPluginDependency - 82.ImportedFromIB2 83.IBPluginDependency - 83.ImportedFromIB2 92.IBPluginDependency - 92.ImportedFromIB2 YES @@ -3482,6 +3369,14 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin ToolTip @@ -3493,20 +3388,14 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{63, 733}, {114, 23}} com.apple.InterfaceBuilder.CocoaPlugin - {{548, 732}, {114, 23}} com.apple.InterfaceBuilder.CocoaPlugin - {{177, 693}, {237, 63}} com.apple.InterfaceBuilder.CocoaPlugin - {{662, 692}, {237, 63}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{561, 583}, {236, 153}} com.apple.InterfaceBuilder.CocoaPlugin - {{245, 622}, {236, 103}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -3514,17 +3403,11 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{804, 463}, {219, 273}} com.apple.InterfaceBuilder.CocoaPlugin - {{193, 502}, {212, 223}} com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -3540,223 +3423,108 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - {{314, 602}, {223, 123}} com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - {{170, 808}, {232, 283}} com.apple.InterfaceBuilder.CocoaPlugin - - {{149, 442}, {232, 283}} com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - {{381, 402}, {260, 63}} com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - {{84, 462}, {450, 202}} - - - {3.40282e+38, 3.40282e+38} - {213, 107} com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - {{288, 622}, {211, 103}} com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - {{290, 572}, {223, 153}} com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - {{316, 736}, {472, 20}} com.apple.InterfaceBuilder.CocoaPlugin - - {{0, 725}, {472, 20}} com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - {{107, 502}, {211, 223}} com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - YES - - YES - - - YES - + + YES - - YES - - - YES - + + 100332 @@ -3768,7 +3536,7 @@ FirstResponder YES - + YES action: adjustTempo: @@ -3805,17 +3573,186 @@ id + + YES + + YES + action: + adjustTempo: + dump: + editDisplayOptions: + editRepeat: + editRepeatEnding: + insertBreak: + insertJumpToCoda: + insertStartCoda: + playStop: + showLog: + showMirror: + showOutput: + togglePlayElements: + transposeOctave: + + + YES + + action: + id + + + adjustTempo: + id + + + dump: + id + + + editDisplayOptions: + id + + + editRepeat: + id + + + editRepeatEnding: + id + + + insertBreak: + id + + + insertJumpToCoda: + id + + + insertStartCoda: + id + + + playStop: + id + + + showLog: + id + + + showMirror: + id + + + showOutput: + id + + + togglePlayElements: + id + + + transposeOctave: + id + + + IBUserSource + + IKImageView + + crop: + id + + + crop: + + crop: + id + + + + IBProjectSource + ./Classes/IKImageView.h + + + + NSDocument + + YES + + YES + printDocument: + revertDocumentToSaved: + runPageLayout: + saveDocument: + saveDocumentAs: + saveDocumentTo: + + + YES + id + id + id + id + id + id + + + + YES + + YES + printDocument: + revertDocumentToSaved: + runPageLayout: + saveDocument: + saveDocumentAs: + saveDocumentTo: + + + YES + + printDocument: + id + + + revertDocumentToSaved: + id + + + runPageLayout: + id + + + saveDocument: + id + + + saveDocumentAs: + id + + + saveDocumentTo: + id + + + + + IBProjectSource + ./Classes/NSDocument.h + + VLAppController NSObject YES - + YES goToHelpPage: goToHelpURL: @@ -3832,9 +3769,43 @@ id + + YES + + YES + goToHelpPage: + goToHelpURL: + playNewPitch: + selectLilypondPath: + showMirror: + + + YES + + goToHelpPage: + id + + + goToHelpURL: + id + + + playNewPitch: + id + + + selectLilypondPath: + id + + + showMirror: + id + + + YES - + YES debugMenu lilypondPath @@ -3847,9 +3818,122 @@ id + + YES + + YES + debugMenu + lilypondPath + mirrorWin + + + YES + + debugMenu + id + + + lilypondPath + id + + + mirrorWin + id + + + IBProjectSource - Sources/VLAppController.h + ./Classes/VLAppController.h + + + + VLDocument + NSDocument + + YES + + YES + adjustTempo: + dump: + play: + playMusic: + playStop: + showLog: + showOutput: + stop: + togglePlayElements: + + + YES + id + id + id + id + id + id + id + id + id + + + + YES + + YES + adjustTempo: + dump: + play: + playMusic: + playStop: + showLog: + showOutput: + stop: + togglePlayElements: + + + YES + + adjustTempo: + id + + + dump: + id + + + play: + id + + + playMusic: + id + + + playStop: + id + + + showLog: + id + + + showOutput: + id + + + stop: + id + + + togglePlayElements: + id + + + + + IBProjectSource + ./Classes/VLDocument.h @@ -3857,17 +3941,279 @@ NSWindowController mirrorComposition - id + QCView + + + mirrorComposition + + mirrorComposition + QCView + IBProjectSource - Sources/VLMirrorWindow.h + ./Classes/VLMirrorWindow.h + + + + VLSheetView + NSView + + YES + + YES + copy: + cut: + delete: + editDisplayOptions: + editRepeat: + editRepeatEnding: + endSheetWithButton: + hideFieldEditor: + insertBreak: + insertJumpToCoda: + insertStartCoda: + paste: + selectGroove: + setDivisions: + setKey: + setTime: + transposeOctave: + + + YES + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + + + + YES + + YES + copy: + cut: + delete: + editDisplayOptions: + editRepeat: + editRepeatEnding: + endSheetWithButton: + hideFieldEditor: + insertBreak: + insertJumpToCoda: + insertStartCoda: + paste: + selectGroove: + setDivisions: + setKey: + setTime: + transposeOctave: + + + YES + + copy: + id + + + cut: + id + + + delete: + id + + + editDisplayOptions: + id + + + editRepeat: + id + + + editRepeatEnding: + id + + + endSheetWithButton: + id + + + hideFieldEditor: + id + + + insertBreak: + id + + + insertJumpToCoda: + id + + + insertStartCoda: + id + + + paste: + id + + + selectGroove: + id + + + setDivisions: + id + + + setKey: + id + + + setTime: + id + + + transposeOctave: + id + + + + + YES + + YES + fDisplaySheet + fDivisionMenu + fEndingMsg + fEndingSheet + fFieldEditor + fGrooveMenu + fKeyMenu + fRepeatMsg + fRepeatSheet + fTimeMenu + + + YES + id + id + id + id + id + id + id + id + id + id + + + + YES + + YES + fDisplaySheet + fDivisionMenu + fEndingMsg + fEndingSheet + fFieldEditor + fGrooveMenu + fKeyMenu + fRepeatMsg + fRepeatSheet + fTimeMenu + + + YES + + fDisplaySheet + id + + + fDivisionMenu + id + + + fEndingMsg + id + + + fEndingSheet + id + + + fFieldEditor + id + + + fGrooveMenu + id + + + fKeyMenu + id + + + fRepeatMsg + id + + + fRepeatSheet + id + + + fTimeMenu + id + + + + + IBProjectSource + ./Classes/VLSheetView.h 0 - ../VocalEasel.xcodeproj + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES 3 + + YES + + YES + NSMenuCheckmark + NSMenuMixedState + + + YES + {9, 8} + {7, 2} + + diff --git a/Sources/VLAppController.mm b/Sources/VLAppController.mm index d41b911..1d85328 100644 --- a/Sources/VLAppController.mm +++ b/Sources/VLAppController.mm @@ -282,6 +282,11 @@ } } +- (void) applicationDidFinishLaunching:(NSNotification *)notification +{ + [[NSDocumentController sharedDocumentController] setAutosavingDelay:30.0]; +} + - (BOOL) lameIsInstalled { if (!lamePath) { diff --git a/Sources/VLDocument.mm b/Sources/VLDocument.mm index 5425e8c..f439865 100644 --- a/Sources/VLDocument.mm +++ b/Sources/VLDocument.mm @@ -68,6 +68,11 @@ @implementation VLDocument ++ (BOOL)autosavesInPlace +{ + return YES; +} + - (id)init { self = [super init];