Browse code

Added MulleHTMLTidy to project using Cocoapods. Run pod install in the directory to retrieve the project files for MulleHTMLTidy. Can use WebKit debugger now too.

defaults write com.mulle-kybernetik.software.MulleScionist WebKitDeveloperExtras YES

Nat! authored on 20/04/2014 02:06:17
Showing 11 changed files
... ...
@@ -10,4 +10,9 @@ UKSyntaxColoredTextDocument
10 10
 .svn
11 11
 src/MulleScion2.plist
12 12
 src/Resources/MulleScionSyntax2.plist
13
-src/Resources/mulle-scion
14 13
\ No newline at end of file
14
+src/Resources/mulle-scion
15
+src/Resources/tmp
16
+
17
+Pods/
18
+Podfile.lock
19
+
... ...
@@ -14,8 +14,6 @@
14 14
 			);
15 15
 			dependencies = (
16 16
 				41648E7D18FFDE0200FF1A6A /* PBXTargetDependency */,
17
-				41648E7F18FFDE0200FF1A6A /* PBXTargetDependency */,
18
-				41648E8118FFDE0200FF1A6A /* PBXTargetDependency */,
19 17
 			);
20 18
 			name = All;
21 19
 			productName = All;
... ...
@@ -35,7 +33,7 @@
35 35
 			isa = PBXAggregateTarget;
36 36
 			buildConfigurationList = 41741ADF18303AFC0065E5FD /* Build configuration list for PBXAggregateTarget "grab MulleScion from github" */;
37 37
 			buildPhases = (
38
-				41741AE218303B1A0065E5FD /* Git Clone If Needed */,
38
+				41741AE218303B1A0065E5FD /* Git Clone If Needed and build mulle-scion executable */,
39 39
 			);
40 40
 			dependencies = (
41 41
 			);
... ...
@@ -45,7 +43,17 @@
45 45
 /* End PBXAggregateTarget section */
46 46
 
47 47
 /* Begin PBXBuildFile section */
48
-		4123C780183D371E0019FF34 /* mulle-scion in Resources */ = {isa = PBXBuildFile; fileRef = 4123C77F183D371E0019FF34 /* mulle-scion */; };
48
+		4103A7191903E3B700072F47 /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 44D5E5CA54724FE68CA8AEF5 /* libPods.a */; };
49
+		4126E8DD1903E497000400C3 /* MulleHTMLTidy.h in Headers */ = {isa = PBXBuildFile; fileRef = 4126E8D61903E497000400C3 /* MulleHTMLTidy.h */; settings = {ATTRIBUTES = (Public, ); }; };
50
+		4126E8DE1903E497000400C3 /* NSString+MulleHTMLTidy.h in Headers */ = {isa = PBXBuildFile; fileRef = 4126E8D71903E497000400C3 /* NSString+MulleHTMLTidy.h */; settings = {ATTRIBUTES = (Public, ); }; };
51
+		4126E8DF1903E497000400C3 /* buffio.h in Headers */ = {isa = PBXBuildFile; fileRef = 4126E8D91903E497000400C3 /* buffio.h */; settings = {ATTRIBUTES = (Public, ); }; };
52
+		4126E8E01903E497000400C3 /* platform.h in Headers */ = {isa = PBXBuildFile; fileRef = 4126E8DA1903E497000400C3 /* platform.h */; settings = {ATTRIBUTES = (Public, ); }; };
53
+		4126E8E11903E497000400C3 /* tidy.h in Headers */ = {isa = PBXBuildFile; fileRef = 4126E8DB1903E497000400C3 /* tidy.h */; settings = {ATTRIBUTES = (Public, ); }; };
54
+		4126E8E21903E497000400C3 /* tidyenum.h in Headers */ = {isa = PBXBuildFile; fileRef = 4126E8DC1903E497000400C3 /* tidyenum.h */; settings = {ATTRIBUTES = (Public, ); }; };
55
+		4126E8E31903E4FC000400C3 /* libMulleHTMLTidy.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 4103A6F31903E34A00072F47 /* libMulleHTMLTidy.dylib */; };
56
+		4126E8E71903E597000400C3 /* libMulleHTMLTidy.dylib in Copy Dylib */ = {isa = PBXBuildFile; fileRef = 4103A6F31903E34A00072F47 /* libMulleHTMLTidy.dylib */; };
57
+		4126E8EB1903E735000400C3 /* libPodsXcodeDummy.c in Sources */ = {isa = PBXBuildFile; fileRef = 4126E8EA1903E735000400C3 /* libPodsXcodeDummy.c */; };
58
+		4126E8ED1903EFEA000400C3 /* mulle-scion in Resources */ = {isa = PBXBuildFile; fileRef = 4126E8EC1903EFEA000400C3 /* mulle-scion */; };
49 59
 		412C091E182E4F9D008EFC5D /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F487F4AE141EADEF0093D633 /* AppKit.framework */; };
50 60
 		413AFCAD183B8B480055F936 /* default.plist in Resources */ = {isa = PBXBuildFile; fileRef = 413AFCAC183B8B480055F936 /* default.plist */; };
51 61
 		413AFCAF183B8C170055F936 /* default.scion in Resources */ = {isa = PBXBuildFile; fileRef = 413AFCAE183B8C170055F936 /* default.scion */; };
... ...
@@ -76,26 +84,26 @@
76 76
 /* End PBXBuildFile section */
77 77
 
78 78
 /* Begin PBXContainerItemProxy section */
79
-		41648E7C18FFDE0200FF1A6A /* PBXContainerItemProxy */ = {
79
+		4126E8E41903E566000400C3 /* PBXContainerItemProxy */ = {
80 80
 			isa = PBXContainerItemProxy;
81 81
 			containerPortal = F487F49E141EADEF0093D633 /* Project object */;
82 82
 			proxyType = 1;
83
-			remoteGlobalIDString = F487F4A6141EADEF0093D633;
84
-			remoteInfo = MulleScionDrake;
83
+			remoteGlobalIDString = 4103A6F21903E34A00072F47;
84
+			remoteInfo = libPods.dylib;
85 85
 		};
86
-		41648E7E18FFDE0200FF1A6A /* PBXContainerItemProxy */ = {
86
+		4126E8EE1903F200000400C3 /* PBXContainerItemProxy */ = {
87 87
 			isa = PBXContainerItemProxy;
88 88
 			containerPortal = F487F49E141EADEF0093D633 /* Project object */;
89 89
 			proxyType = 1;
90
-			remoteGlobalIDString = 41741AD4182EC0440065E5FD;
91
-			remoteInfo = "grab UKSyntaxColoredTextDocument from github";
90
+			remoteGlobalIDString = 41741ADE18303AFC0065E5FD;
91
+			remoteInfo = "grab MulleScion from github";
92 92
 		};
93
-		41648E8018FFDE0200FF1A6A /* PBXContainerItemProxy */ = {
93
+		41648E7C18FFDE0200FF1A6A /* PBXContainerItemProxy */ = {
94 94
 			isa = PBXContainerItemProxy;
95 95
 			containerPortal = F487F49E141EADEF0093D633 /* Project object */;
96 96
 			proxyType = 1;
97
-			remoteGlobalIDString = 41741ADE18303AFC0065E5FD;
98
-			remoteInfo = "grab MulleScion from github";
97
+			remoteGlobalIDString = F487F4A6141EADEF0093D633;
98
+			remoteInfo = MulleScionDrake;
99 99
 		};
100 100
 		41648E8218FFDE1800FF1A6A /* PBXContainerItemProxy */ = {
101 101
 			isa = PBXContainerItemProxy;
... ...
@@ -106,8 +114,32 @@
106 106
 		};
107 107
 /* End PBXContainerItemProxy section */
108 108
 
109
+/* Begin PBXCopyFilesBuildPhase section */
110
+		4126E8E61903E57A000400C3 /* Copy Dylib */ = {
111
+			isa = PBXCopyFilesBuildPhase;
112
+			buildActionMask = 2147483647;
113
+			dstPath = "";
114
+			dstSubfolderSpec = 10;
115
+			files = (
116
+				4126E8E71903E597000400C3 /* libMulleHTMLTidy.dylib in Copy Dylib */,
117
+			);
118
+			name = "Copy Dylib";
119
+			runOnlyForDeploymentPostprocessing = 0;
120
+		};
121
+/* End PBXCopyFilesBuildPhase section */
122
+
109 123
 /* Begin PBXFileReference section */
110
-		4123C77F183D371E0019FF34 /* mulle-scion */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = "mulle-scion"; path = "/usr/local/bin/mulle-scion"; sourceTree = "<absolute>"; };
124
+		4103A6F31903E34A00072F47 /* libMulleHTMLTidy.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libMulleHTMLTidy.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
125
+		4103A6F41903E34A00072F47 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
126
+		4103A7051903E34A00072F47 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
127
+		4126E8D61903E497000400C3 /* MulleHTMLTidy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MulleHTMLTidy.h; sourceTree = "<group>"; };
128
+		4126E8D71903E497000400C3 /* NSString+MulleHTMLTidy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSString+MulleHTMLTidy.h"; sourceTree = "<group>"; };
129
+		4126E8D91903E497000400C3 /* buffio.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = buffio.h; sourceTree = "<group>"; };
130
+		4126E8DA1903E497000400C3 /* platform.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = platform.h; sourceTree = "<group>"; };
131
+		4126E8DB1903E497000400C3 /* tidy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = tidy.h; sourceTree = "<group>"; };
132
+		4126E8DC1903E497000400C3 /* tidyenum.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = tidyenum.h; sourceTree = "<group>"; };
133
+		4126E8EA1903E735000400C3 /* libPodsXcodeDummy.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = libPodsXcodeDummy.c; sourceTree = "<group>"; };
134
+		4126E8EC1903EFEA000400C3 /* mulle-scion */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; path = "mulle-scion"; sourceTree = "<group>"; };
111 135
 		413AFC80183B806E0055F936 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
112 136
 		413AFCAC183B8B480055F936 /* default.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = default.plist; sourceTree = "<group>"; };
113 137
 		413AFCAE183B8C170055F936 /* default.scion */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = default.scion; sourceTree = "<group>"; };
... ...
@@ -117,6 +149,8 @@
117 117
 		41741ACF182EB8C80065E5FD /* mulle.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = mulle.icns; sourceTree = "<group>"; };
118 118
 		41741AD1182EB90F0065E5FD /* MulleScionSyntax.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = MulleScionSyntax.plist; sourceTree = "<group>"; };
119 119
 		41C5DE71183CBCD200EAD1C5 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = text; path = README.md; sourceTree = SOURCE_ROOT; };
120
+		44D5E5CA54724FE68CA8AEF5 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; };
121
+		868D25B85DEB4BBBAF3C1176 /* Pods.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.xcconfig; path = Pods/Pods.xcconfig; sourceTree = "<group>"; };
120 122
 		F487F4A7141EADEF0093D633 /* MulleScionist.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MulleScionist.app; sourceTree = BUILT_PRODUCTS_DIR; };
121 123
 		F487F4AE141EADEF0093D633 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
122 124
 		F487F4B3141EADEF0093D633 /* MulleScionist-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "MulleScionist-Info.plist"; path = "../MulleScionist-Info.plist"; sourceTree = "<group>"; };
... ...
@@ -157,10 +191,19 @@
157 157
 /* End PBXFileReference section */
158 158
 
159 159
 /* Begin PBXFrameworksBuildPhase section */
160
+		4103A6F01903E34A00072F47 /* Frameworks */ = {
161
+			isa = PBXFrameworksBuildPhase;
162
+			buildActionMask = 2147483647;
163
+			files = (
164
+				4103A7191903E3B700072F47 /* libPods.a in Frameworks */,
165
+			);
166
+			runOnlyForDeploymentPostprocessing = 0;
167
+		};
160 168
 		F487F4A4141EADEF0093D633 /* Frameworks */ = {
161 169
 			isa = PBXFrameworksBuildPhase;
162 170
 			buildActionMask = 2147483647;
163 171
 			files = (
172
+				4126E8E31903E4FC000400C3 /* libMulleHTMLTidy.dylib in Frameworks */,
164 173
 				412C091E182E4F9D008EFC5D /* AppKit.framework in Frameworks */,
165 174
 				F487F506141EAF8A0093D633 /* WebKit.framework in Frameworks */,
166 175
 			);
... ...
@@ -169,6 +212,36 @@
169 169
 /* End PBXFrameworksBuildPhase section */
170 170
 
171 171
 /* Begin PBXGroup section */
172
+		4126E8D41903E497000400C3 /* Pods Headers */ = {
173
+			isa = PBXGroup;
174
+			children = (
175
+				4126E8D51903E497000400C3 /* MulleHTMLTidy */,
176
+				4126E8D81903E497000400C3 /* mulle-tidy */,
177
+			);
178
+			name = "Pods Headers";
179
+			path = Pods/Headers;
180
+			sourceTree = "<group>";
181
+		};
182
+		4126E8D51903E497000400C3 /* MulleHTMLTidy */ = {
183
+			isa = PBXGroup;
184
+			children = (
185
+				4126E8D61903E497000400C3 /* MulleHTMLTidy.h */,
186
+				4126E8D71903E497000400C3 /* NSString+MulleHTMLTidy.h */,
187
+			);
188
+			path = MulleHTMLTidy;
189
+			sourceTree = "<group>";
190
+		};
191
+		4126E8D81903E497000400C3 /* mulle-tidy */ = {
192
+			isa = PBXGroup;
193
+			children = (
194
+				4126E8D91903E497000400C3 /* buffio.h */,
195
+				4126E8DA1903E497000400C3 /* platform.h */,
196
+				4126E8DB1903E497000400C3 /* tidy.h */,
197
+				4126E8DC1903E497000400C3 /* tidyenum.h */,
198
+			);
199
+			path = "mulle-tidy";
200
+			sourceTree = "<group>";
201
+		};
172 202
 		41741ACE182EB7E80065E5FD /* Supporting Files */ = {
173 203
 			isa = PBXGroup;
174 204
 			children = (
... ...
@@ -184,8 +257,11 @@
184 184
 				F487F4B1141EADEF0093D633 /* MulleScionist */,
185 185
 				F487F4B2141EADEF0093D633 /* Resources */,
186 186
 				41741ACE182EB7E80065E5FD /* Supporting Files */,
187
+				4126E8D41903E497000400C3 /* Pods Headers */,
187 188
 				F487F4AA141EADEF0093D633 /* Frameworks */,
188 189
 				F487F4A8141EADEF0093D633 /* Products */,
190
+				4126E8EA1903E735000400C3 /* libPodsXcodeDummy.c */,
191
+				868D25B85DEB4BBBAF3C1176 /* Pods.xcconfig */,
189 192
 			);
190 193
 			sourceTree = "<group>";
191 194
 		};
... ...
@@ -193,6 +269,7 @@
193 193
 			isa = PBXGroup;
194 194
 			children = (
195 195
 				F487F4A7141EADEF0093D633 /* MulleScionist.app */,
196
+				4103A6F31903E34A00072F47 /* libMulleHTMLTidy.dylib */,
196 197
 			);
197 198
 			name = Products;
198 199
 			sourceTree = "<group>";
... ...
@@ -200,9 +277,12 @@
200 200
 		F487F4AA141EADEF0093D633 /* Frameworks */ = {
201 201
 			isa = PBXGroup;
202 202
 			children = (
203
+				44D5E5CA54724FE68CA8AEF5 /* libPods.a */,
203 204
 				413AFC80183B806E0055F936 /* Foundation.framework */,
204 205
 				F487F4AE141EADEF0093D633 /* AppKit.framework */,
205 206
 				F487F505141EAF8A0093D633 /* WebKit.framework */,
207
+				4103A6F41903E34A00072F47 /* Cocoa.framework */,
208
+				4103A7051903E34A00072F47 /* XCTest.framework */,
206 209
 			);
207 210
 			name = Frameworks;
208 211
 			sourceTree = "<group>";
... ...
@@ -227,8 +307,8 @@
227 227
 		F487F4B2141EADEF0093D633 /* Resources */ = {
228 228
 			isa = PBXGroup;
229 229
 			children = (
230
+				4126E8EC1903EFEA000400C3 /* mulle-scion */,
230 231
 				413ECAB41842D580006E14D6 /* mulle-scion.icns */,
231
-				4123C77F183D371E0019FF34 /* mulle-scion */,
232 232
 				41C5DE71183CBCD200EAD1C5 /* README.md */,
233 233
 				41741AD1182EB90F0065E5FD /* MulleScionSyntax.plist */,
234 234
 				F487F4D8141EAE910093D633 /* SyntaxColorDefaults.plist */,
... ...
@@ -284,7 +364,42 @@
284 284
 		};
285 285
 /* End PBXGroup section */
286 286
 
287
+/* Begin PBXHeadersBuildPhase section */
288
+		4103A6F11903E34A00072F47 /* Headers */ = {
289
+			isa = PBXHeadersBuildPhase;
290
+			buildActionMask = 2147483647;
291
+			files = (
292
+				4126E8E11903E497000400C3 /* tidy.h in Headers */,
293
+				4126E8E21903E497000400C3 /* tidyenum.h in Headers */,
294
+				4126E8DF1903E497000400C3 /* buffio.h in Headers */,
295
+				4126E8E01903E497000400C3 /* platform.h in Headers */,
296
+				4126E8DD1903E497000400C3 /* MulleHTMLTidy.h in Headers */,
297
+				4126E8DE1903E497000400C3 /* NSString+MulleHTMLTidy.h in Headers */,
298
+			);
299
+			runOnlyForDeploymentPostprocessing = 0;
300
+		};
301
+/* End PBXHeadersBuildPhase section */
302
+
287 303
 /* Begin PBXNativeTarget section */
304
+		4103A6F21903E34A00072F47 /* libMulleHTMLTidy.dylib */ = {
305
+			isa = PBXNativeTarget;
306
+			buildConfigurationList = 4103A7171903E34A00072F47 /* Build configuration list for PBXNativeTarget "libMulleHTMLTidy.dylib" */;
307
+			buildPhases = (
308
+				4126E8E81903E685000400C3 /* Check Pods Manifest.lock */,
309
+				4103A6EF1903E34A00072F47 /* Sources */,
310
+				4103A6F01903E34A00072F47 /* Frameworks */,
311
+				4103A6F11903E34A00072F47 /* Headers */,
312
+				4126E8E91903E6BD000400C3 /* Copy Pods Resources */,
313
+			);
314
+			buildRules = (
315
+			);
316
+			dependencies = (
317
+			);
318
+			name = libMulleHTMLTidy.dylib;
319
+			productName = Pods;
320
+			productReference = 4103A6F31903E34A00072F47 /* libMulleHTMLTidy.dylib */;
321
+			productType = "com.apple.product-type.library.dynamic";
322
+		};
288 323
 		F487F4A6141EADEF0093D633 /* MulleScionist */ = {
289 324
 			isa = PBXNativeTarget;
290 325
 			buildConfigurationList = F487F4C8141EADEF0093D633 /* Build configuration list for PBXNativeTarget "MulleScionist" */;
... ...
@@ -292,10 +407,13 @@
292 292
 				F487F4A3141EADEF0093D633 /* Sources */,
293 293
 				F487F4A4141EADEF0093D633 /* Frameworks */,
294 294
 				F487F4A5141EADEF0093D633 /* Resources */,
295
+				4126E8E61903E57A000400C3 /* Copy Dylib */,
295 296
 			);
296 297
 			buildRules = (
297 298
 			);
298 299
 			dependencies = (
300
+				4126E8E51903E566000400C3 /* PBXTargetDependency */,
301
+				4126E8EF1903F200000400C3 /* PBXTargetDependency */,
299 302
 				41648E8318FFDE1800FF1A6A /* PBXTargetDependency */,
300 303
 			);
301 304
 			name = MulleScionist;
... ...
@@ -327,6 +445,7 @@
327 327
 				F487F4A6141EADEF0093D633 /* MulleScionist */,
328 328
 				41741AD4182EC0440065E5FD /* grab UKSyntaxColoredTextDocument from github */,
329 329
 				41741ADE18303AFC0065E5FD /* grab MulleScion from github */,
330
+				4103A6F21903E34A00072F47 /* libMulleHTMLTidy.dylib */,
330 331
 			);
331 332
 		};
332 333
 /* End PBXProject section */
... ...
@@ -336,7 +455,6 @@
336 336
 			isa = PBXResourcesBuildPhase;
337 337
 			buildActionMask = 2147483647;
338 338
 			files = (
339
-				4123C780183D371E0019FF34 /* mulle-scion in Resources */,
340 339
 				F487F4D2141EAE730093D633 /* MainMenu.xib in Resources */,
341 340
 				F487F4D3141EAE730093D633 /* MulleScionistDokument.xib in Resources */,
342 341
 				413AFCAF183B8C170055F936 /* default.scion in Resources */,
... ...
@@ -344,6 +462,7 @@
344 344
 				413ECAB51842D580006E14D6 /* mulle-scion.icns in Resources */,
345 345
 				F487F4DD141EAE910093D633 /* SyntaxColorDefaults.plist in Resources */,
346 346
 				413AFCAD183B8B480055F936 /* default.plist in Resources */,
347
+				4126E8ED1903EFEA000400C3 /* mulle-scion in Resources */,
347 348
 				41741AD0182EB8C80065E5FD /* mulle.icns in Resources */,
348 349
 				F487F4DB141EAE910093D633 /* Credits.rtf in Resources */,
349 350
 			);
... ...
@@ -352,6 +471,36 @@
352 352
 /* End PBXResourcesBuildPhase section */
353 353
 
354 354
 /* Begin PBXShellScriptBuildPhase section */
355
+		4126E8E81903E685000400C3 /* Check Pods Manifest.lock */ = {
356
+			isa = PBXShellScriptBuildPhase;
357
+			buildActionMask = 2147483647;
358
+			files = (
359
+			);
360
+			inputPaths = (
361
+			);
362
+			name = "Check Pods Manifest.lock";
363
+			outputPaths = (
364
+			);
365
+			runOnlyForDeploymentPostprocessing = 0;
366
+			shellPath = /bin/sh;
367
+			shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n    cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n    exit 1\nfi\n";
368
+			showEnvVarsInLog = 0;
369
+		};
370
+		4126E8E91903E6BD000400C3 /* Copy Pods Resources */ = {
371
+			isa = PBXShellScriptBuildPhase;
372
+			buildActionMask = 2147483647;
373
+			files = (
374
+			);
375
+			inputPaths = (
376
+			);
377
+			name = "Copy Pods Resources";
378
+			outputPaths = (
379
+			);
380
+			runOnlyForDeploymentPostprocessing = 0;
381
+			shellPath = /bin/sh;
382
+			shellScript = "\"${SRCROOT}/Pods/Pods-resources.sh\"\n";
383
+			showEnvVarsInLog = 0;
384
+		};
355 385
 		41741AD8182EC0530065E5FD /* Git Clone If Needed */ = {
356 386
 			isa = PBXShellScriptBuildPhase;
357 387
 			buildActionMask = 2147483647;
... ...
@@ -367,24 +516,32 @@
367 367
 			shellScript = "if [ ! -d $PROJECT_DIR/UKSyntaxColoredTextDocument ]\nthen\n( cd $PROJECT_DIR ;\ngit clone https://github.com/mulle-nat/UKSyntaxColoredTextDocument.git\n)\nfi\n\n# could optionally also \"update\" tidy\n\n";
368 368
 			showEnvVarsInLog = 0;
369 369
 		};
370
-		41741AE218303B1A0065E5FD /* Git Clone If Needed */ = {
370
+		41741AE218303B1A0065E5FD /* Git Clone If Needed and build mulle-scion executable */ = {
371 371
 			isa = PBXShellScriptBuildPhase;
372 372
 			buildActionMask = 2147483647;
373 373
 			files = (
374 374
 			);
375 375
 			inputPaths = (
376 376
 			);
377
-			name = "Git Clone If Needed";
377
+			name = "Git Clone If Needed and build mulle-scion executable";
378 378
 			outputPaths = (
379 379
 			);
380 380
 			runOnlyForDeploymentPostprocessing = 0;
381
-			shellPath = /bin/sh;
382
-			shellScript = "old=`pwd`\n\nif [ ! -d \"$PROJECT_DIR\"/../MulleScion ]\nthen\n   cd \"$PROJECT_DIR\"/..\n   git clone \"https://github.com/mulle-nat/MulleScion.git\" MulleScion\n   cd \"$old\"\nfi\n\nexe=\"\"\n\nif [ ! -x \"$PROJECT_DIR\"/src/Resources/mulle-scion ]\nthen\n  cd \"$PROJECT_DIR\"/../MulleScion\n\n  xcodebuild -scheme mulle-scion -configuration Debug clean > /dev/null\n  exe=`xcodebuild -scheme mulle-scion -configuration Debug build | egrep '/mulle-scion$' | sed 's/^.*-o \\(.*\\)$/\\1/'`\n  echo \"mulle-scion built at\" \"$exe\"\n  cd \"$old\"\n#   xcodebuild -scheme mulle-scion -configuration Release\nfi\n\n# now maybe link has magically reappeared ?\nif [ ! -x \"$PROJECT_DIR\"/src/Resources/mulle-scion ]\nthen\n  # some lame heuristics to find product\n  if [ ! -x \"$exe\" ]\n  then\n     echo \"failed to locate mulle-scion binary\" >&2\n     exit 1\n  fi\n\n  # will fail if xcode build doesn't use absolute paths\n\n  cd \"$PROJECT_DIR\"/src/Resources\n  pwd=`pwd`\n  relpath=`python -c \"import os.path; print os.path.relpath( os.path.realpath( '$exe'),  os.path.realpath( '$pwd'))\"`\n  ln -s -f \"$relpath\"\n  cd \"$old\"\nfi\n\n\n# could optionally also \"update\" tidy\n\n";
381
+			shellPath = "/bin/sh ";
382
+			shellScript = "OLD=`pwd`\nEXEDIR=\"${PROJECT_DIR}/src/Resources\"\nEXE=\"${EXEDIR}/mulle-scion\"\nALL_PROJECTS_DIR=\"${PROJECT_DIR}/..\"\nMULLE_SCION_DIR=\"${ALL_PROJECTS_DIR}/MulleScion\"\n\n#\n# MulleScion must reside in a directory parallel to our project\n# (because that's more convenient for me, since I don't clone it usually)\n#\n\nif [ ! -d \"${MULLE_SCION_DIR}\" ]\nthen\n   cd \"${ALL_PROJECTS_DIR}\"\n   git clone \"https://github.com/mulle-nat/MulleScion.git\" MulleScion\n   cd \"${OLD}\"\nfi\n\nif [ ! -x \"${EXE}\" ]\nthen\n  cd \"${MULLE_SCION_DIR}\"\n  xcodebuild -scheme mulle-scion -target mulle-scion -configuration Release DSTROOT=\"${EXEDIR}\" INSTALL_PATH=\"/\"\nfi\n\n# now it should be there\nif [ ! -x \"${EXE}\" ]\nthen\n   echo \"failed to build mulle-scion binary\" >&2\n   exit 1\nfi\n\n";
383 383
 			showEnvVarsInLog = 0;
384 384
 		};
385 385
 /* End PBXShellScriptBuildPhase section */
386 386
 
387 387
 /* Begin PBXSourcesBuildPhase section */
388
+		4103A6EF1903E34A00072F47 /* Sources */ = {
389
+			isa = PBXSourcesBuildPhase;
390
+			buildActionMask = 2147483647;
391
+			files = (
392
+				4126E8EB1903E735000400C3 /* libPodsXcodeDummy.c in Sources */,
393
+			);
394
+			runOnlyForDeploymentPostprocessing = 0;
395
+		};
388 396
 		F487F4A3141EADEF0093D633 /* Sources */ = {
389 397
 			isa = PBXSourcesBuildPhase;
390 398
 			buildActionMask = 2147483647;
... ...
@@ -411,20 +568,20 @@
411 411
 /* End PBXSourcesBuildPhase section */
412 412
 
413 413
 /* Begin PBXTargetDependency section */
414
-		41648E7D18FFDE0200FF1A6A /* PBXTargetDependency */ = {
414
+		4126E8E51903E566000400C3 /* PBXTargetDependency */ = {
415 415
 			isa = PBXTargetDependency;
416
-			target = F487F4A6141EADEF0093D633 /* MulleScionist */;
417
-			targetProxy = 41648E7C18FFDE0200FF1A6A /* PBXContainerItemProxy */;
416
+			target = 4103A6F21903E34A00072F47 /* libMulleHTMLTidy.dylib */;
417
+			targetProxy = 4126E8E41903E566000400C3 /* PBXContainerItemProxy */;
418 418
 		};
419
-		41648E7F18FFDE0200FF1A6A /* PBXTargetDependency */ = {
419
+		4126E8EF1903F200000400C3 /* PBXTargetDependency */ = {
420 420
 			isa = PBXTargetDependency;
421
-			target = 41741AD4182EC0440065E5FD /* grab UKSyntaxColoredTextDocument from github */;
422
-			targetProxy = 41648E7E18FFDE0200FF1A6A /* PBXContainerItemProxy */;
421
+			target = 41741ADE18303AFC0065E5FD /* grab MulleScion from github */;
422
+			targetProxy = 4126E8EE1903F200000400C3 /* PBXContainerItemProxy */;
423 423
 		};
424
-		41648E8118FFDE0200FF1A6A /* PBXTargetDependency */ = {
424
+		41648E7D18FFDE0200FF1A6A /* PBXTargetDependency */ = {
425 425
 			isa = PBXTargetDependency;
426
-			target = 41741ADE18303AFC0065E5FD /* grab MulleScion from github */;
427
-			targetProxy = 41648E8018FFDE0200FF1A6A /* PBXContainerItemProxy */;
426
+			target = F487F4A6141EADEF0093D633 /* MulleScionist */;
427
+			targetProxy = 41648E7C18FFDE0200FF1A6A /* PBXContainerItemProxy */;
428 428
 		};
429 429
 		41648E8318FFDE1800FF1A6A /* PBXTargetDependency */ = {
430 430
 			isa = PBXTargetDependency;
... ...
@@ -434,6 +591,30 @@
434 434
 /* End PBXTargetDependency section */
435 435
 
436 436
 /* Begin XCBuildConfiguration section */
437
+		4103A7131903E34A00072F47 /* Debug */ = {
438
+			isa = XCBuildConfiguration;
439
+			baseConfigurationReference = 868D25B85DEB4BBBAF3C1176 /* Pods.xcconfig */;
440
+			buildSettings = {
441
+				DYLIB_COMPATIBILITY_VERSION = 1;
442
+				DYLIB_CURRENT_VERSION = 1;
443
+				EXECUTABLE_PREFIX = lib;
444
+				LD_DYLIB_INSTALL_NAME = "@executable_path/../Frameworks/$(EXECUTABLE_PATH)";
445
+				PRODUCT_NAME = MulleHTMLTidy;
446
+			};
447
+			name = Debug;
448
+		};
449
+		4103A7141903E34A00072F47 /* Release */ = {
450
+			isa = XCBuildConfiguration;
451
+			baseConfigurationReference = 868D25B85DEB4BBBAF3C1176 /* Pods.xcconfig */;
452
+			buildSettings = {
453
+				DYLIB_COMPATIBILITY_VERSION = 1;
454
+				DYLIB_CURRENT_VERSION = 1;
455
+				EXECUTABLE_PREFIX = lib;
456
+				LD_DYLIB_INSTALL_NAME = "@executable_path/../Frameworks/$(EXECUTABLE_PATH)";
457
+				PRODUCT_NAME = MulleHTMLTidy;
458
+			};
459
+			name = Release;
460
+		};
437 461
 		41648E7818FFDDED00FF1A6A /* Debug */ = {
438 462
 			isa = XCBuildConfiguration;
439 463
 			buildSettings = {
... ...
@@ -492,6 +673,7 @@
492 492
 				GCC_WARN_ABOUT_RETURN_TYPE = YES;
493 493
 				GCC_WARN_UNUSED_VARIABLE = YES;
494 494
 				MACOSX_DEPLOYMENT_TARGET = 10.6;
495
+				ONLY_ACTIVE_ARCH = YES;
495 496
 				USER_HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/UKSyntaxColoredTextDocument";
496 497
 			};
497 498
 			name = Debug;
... ...
@@ -536,6 +718,15 @@
536 536
 /* End XCBuildConfiguration section */
537 537
 
538 538
 /* Begin XCConfigurationList section */
539
+		4103A7171903E34A00072F47 /* Build configuration list for PBXNativeTarget "libMulleHTMLTidy.dylib" */ = {
540
+			isa = XCConfigurationList;
541
+			buildConfigurations = (
542
+				4103A7131903E34A00072F47 /* Debug */,
543
+				4103A7141903E34A00072F47 /* Release */,
544
+			);
545
+			defaultConfigurationIsVisible = 0;
546
+			defaultConfigurationName = Release;
547
+		};
539 548
 		41648E7718FFDDED00FF1A6A /* Build configuration list for PBXAggregateTarget "All" */ = {
540 549
 			isa = XCConfigurationList;
541 550
 			buildConfigurations = (
542 551
new file mode 100644
... ...
@@ -0,0 +1 @@
0
+<?xml version='1.0' encoding='UTF-8'?><Workspace version='1.0'><FileRef location='group:MulleScionist.xcodeproj'/><FileRef location='group:Pods/Pods.xcodeproj'/></Workspace>
0 1
\ No newline at end of file
1 2
new file mode 100644
... ...
@@ -0,0 +1,3 @@
0
+platform :osx, '10.4'
1
+pod "MulleHTMLTidy", '>= 18.48.7'
2
+
0 3
new file mode 100644
... ...
@@ -0,0 +1,9 @@
0
+//
1
+//  libPodsXcodeDummy.c
2
+//  MulleScionist
3
+//
4
+//  Created by Nat! on 20.04.14.
5
+//
6
+//
7
+
8
+char  libPodsXcodeDummy[] __attribute__ ((used)) = "VfL Bochum";
... ...
@@ -24,10 +24,14 @@
24 24
 
25 25
 + (void) initialize
26 26
 {
27
-    // create and register the user defaults here if none exists
28
-    NSMutableDictionary *defaultPrefs = [NSMutableDictionary dictionary];
29
-	[defaultPrefs setObject: @"delayed" forKey: @"Refresh"];
30
-    [[NSUserDefaults standardUserDefaults] registerDefaults: defaultPrefs];
27
+   NSMutableDictionary *defaultPrefs;
28
+   
29
+   defaultPrefs = [NSMutableDictionary dictionary];
30
+   [defaultPrefs setObject:@"delayed"
31
+                    forKey:@"Refresh"];
32
+   [defaultPrefs setObject:[NSNumber numberWithBool:YES]
33
+                    forKey:@"WebKitDeveloperExtras"];
34
+   [[NSUserDefaults standardUserDefaults] registerDefaults: defaultPrefs];
31 35
 }
32 36
 
33 37
 @end
... ...
@@ -55,5 +55,9 @@
55 55
 //- (IBAction)makeTextLarger:(id)sender;
56 56
 //- (IBAction)makeTextSmaller:(id)sender;
57 57
 - (void)drawWebView;
58
+
59
+- (IBAction) prettyPrint:(id)sender;
60
+- (IBAction) openDataSource:(id)sender;
61
+
58 62
 @end
59 63
 
... ...
@@ -20,6 +20,7 @@
20 20
  */
21 21
 #import "MulleScionistDokument.h"
22 22
 #import <Foundation/NSDebug.h>
23
+#import <MulleHTMLTidy.h>
23 24
 
24 25
 #import "UKSyntaxColoredTextViewController.H"
25 26
 #import "MarkerLineNumberView.h"
... ...
@@ -133,26 +134,28 @@
133 133
 
134 134
 
135 135
 
136
-- (void)textDidChange:(NSNotification *)aNotification
136
+- (void) textDidChange:(NSNotification *) aNotification
137 137
 {
138
-	NSString *refreshText = [refreshTypePopupButton titleOfSelectedItem];
139
-	
140
-	// use delayed timer
141
-	if ([refreshText isEqualToString: @"delayed"])
142
-	{
143
-		if (refreshTimer != NULL)
144
-		{
145
-			[refreshTimer invalidate];
146
-			refreshTimer = NULL;
147
-		}
148
-		refreshTimer = [NSTimer scheduledTimerWithTimeInterval:0.5 target:self selector:@selector(updatePreview) userInfo:nil repeats:NO];
149
-		
150
-	}
151
-	// or else do it for every change
152
-	else if ([refreshText isEqualToString: @"live"])
153
-	{
154
-		[self refresh: self];
155
-	}
138
+   NSString *refreshText = [refreshTypePopupButton titleOfSelectedItem];
139
+   
140
+   // use delayed timer, this will delay until "idle"
141
+   
142
+   if ([refreshText isEqualToString: @"delayed"])
143
+   {
144
+      [NSObject cancelPreviousPerformRequestsWithTarget:self
145
+                                               selector:@selector( updatePreview)
146
+                                                 object:nil];
147
+      [self performSelector:@selector( updatePreview)
148
+       withObject:nil
149
+        afterDelay:0.5];
150
+      return;
151
+   }
152
+   
153
+   // or else do it for every change
154
+   if ([refreshText isEqualToString: @"live"])
155
+   {
156
+      [self refresh: self];
157
+   }
156 158
 }
157 159
 
158 160
 
... ...
@@ -306,7 +309,7 @@
306 306
 }
307 307
 
308 308
 # pragma mark -
309
-# pragma DataSource -
309
+# pragma mark Datasource
310 310
 
311 311
 // needz moar error handling
312 312
 - (id) openPlist:(NSURL *) url
... ...
@@ -342,6 +345,9 @@
342 342
 }
343 343
 
344 344
 
345
+# pragma mark -
346
+# pragma mark Menu
347
+
345 348
 - (IBAction) openDataSource:(id)sender
346 349
 {
347 350
    NSOpenPanel  *panel;
... ...
@@ -389,4 +395,43 @@
389 389
    [self refresh:self];
390 390
 }
391 391
 
392
+
393
+- (IBAction) prettyPrint:(id)sender
394
+{
395
+   NSString        *s;
396
+   NSDictionary    *options;
397
+   MulleHTMLTidy   *tidy;
398
+   NSData          *data;
399
+
400
+
401
+   // It would actually be better to move this into a separate executable,
402
+   // for stability and memory usage
403
+   
404
+   options = [NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithInt:3], @"indent-spaces",
405
+              [NSNumber numberWithBool:2 /* auto */], @"indent",
406
+              nil];
407
+   
408
+   data = [[textView string] dataUsingEncoding:NSUTF8StringEncoding];
409
+   tidy = [[MulleHTMLTidy new] autorelease];
410
+   [tidy setPrettyPrintOptions:options];
411
+
412
+   if( [tidy parseXHTMLData:data
413
+   allowLossyConversion:NO])
414
+   {
415
+      data = [tidy prettyPrintedData];
416
+      s    = [[[NSString alloc] initWithData:data
417
+                                    encoding:NSUTF8StringEncoding] autorelease];
418
+      if( [s length])
419
+         [textView setString:s];
420
+   }
421
+   
422
+   [NSObject cancelPreviousPerformRequestsWithTarget:self
423
+                                            selector:@selector( updatePreview)
424
+                                               object:nil];
425
+   s = [tidy diagnostics];
426
+   if( ! s)
427
+      s = @"No errors";
428
+   [logTextView setString:s];
429
+}
430
+
392 431
 @end
... ...
@@ -783,6 +783,15 @@
783 783
 									<reference key="NSOnImage" ref="1033313550"/>
784 784
 									<reference key="NSMixedImage" ref="310636482"/>
785 785
 								</object>
786
+								<object class="NSMenuItem" id="282124473">
787
+									<reference key="NSMenu" ref="567643404"/>
788
+									<string key="NSTitle">Pretty Print File</string>
789
+									<string key="NSKeyEquiv"/>
790
+									<int key="NSKeyEquivModMask">1048576</int>
791
+									<int key="NSMnemonicLoc">2147483647</int>
792
+									<reference key="NSOnImage" ref="1033313550"/>
793
+									<reference key="NSMixedImage" ref="310636482"/>
794
+								</object>
786 795
 								<object class="NSMenuItem" id="1039846173">
787 796
 									<reference key="NSMenu" ref="567643404"/>
788 797
 									<bool key="NSIsDisabled">YES</bool>
... ...
@@ -886,7 +895,7 @@
886 886
 				<nil key="NSUserInterfaceItemIdentifier"/>
887 887
 				<string key="NSWindowContentMinSize">{213, 107}</string>
888 888
 				<object class="NSView" key="NSWindowView" id="807433238">
889
-					<reference key="NSNextResponder"/>
889
+					<nil key="NSNextResponder"/>
890 890
 					<int key="NSvFlags">256</int>
891 891
 					<array class="NSMutableArray" key="NSSubviews">
892 892
 						<object class="NSBox" id="683145447">
... ...
@@ -907,7 +916,6 @@
907 907
 											</set>
908 908
 											<string key="NSFrame">{{17, 47}, {54, 26}}</string>
909 909
 											<reference key="NSSuperview" ref="294530912"/>
910
-											<reference key="NSWindow"/>
911 910
 											<reference key="NSNextKeyView" ref="176924698"/>
912 911
 											<bool key="NSEnabled">YES</bool>
913 912
 											<bool key="NSAllowsLogicalLayoutDirection">NO</bool>
... ...
@@ -922,7 +930,6 @@
922 922
 											<int key="NSvFlags">256</int>
923 923
 											<string key="NSFrame">{{76, 52}, {163, 17}}</string>
924 924
 											<reference key="NSSuperview" ref="294530912"/>
925
-											<reference key="NSWindow"/>
926 925
 											<reference key="NSNextKeyView" ref="773535588"/>
927 926
 											<bool key="NSEnabled">YES</bool>
928 927
 											<object class="NSTextFieldCell" key="NSCell" id="572078407">
... ...
@@ -967,7 +974,6 @@
967 967
 											</set>
968 968
 											<string key="NSFrame">{{17, 13}, {54, 26}}</string>
969 969
 											<reference key="NSSuperview" ref="294530912"/>
970
-											<reference key="NSWindow"/>
971 970
 											<reference key="NSNextKeyView" ref="32249268"/>
972 971
 											<bool key="NSEnabled">YES</bool>
973 972
 											<bool key="NSAllowsLogicalLayoutDirection">NO</bool>
... ...
@@ -982,7 +988,6 @@
982 982
 											<int key="NSvFlags">256</int>
983 983
 											<string key="NSFrame">{{76, 18}, {163, 17}}</string>
984 984
 											<reference key="NSSuperview" ref="294530912"/>
985
-											<reference key="NSWindow"/>
986 985
 											<reference key="NSNextKeyView" ref="761310386"/>
987 986
 											<bool key="NSEnabled">YES</bool>
988 987
 											<object class="NSTextFieldCell" key="NSCell" id="950459287">
... ...
@@ -1000,13 +1005,11 @@
1000 1000
 									</array>
1001 1001
 									<string key="NSFrame">{{2, 2}, {269, 83}}</string>
1002 1002
 									<reference key="NSSuperview" ref="683145447"/>
1003
-									<reference key="NSWindow"/>
1004 1003
 									<reference key="NSNextKeyView" ref="666840754"/>
1005 1004
 								</object>
1006 1005
 							</array>
1007 1006
 							<string key="NSFrame">{{17, 154}, {273, 100}}</string>
1008 1007
 							<reference key="NSSuperview" ref="807433238"/>
1009
-							<reference key="NSWindow"/>
1010 1008
 							<reference key="NSNextKeyView" ref="294530912"/>
1011 1009
 							<string key="NSOffsets">{0, 0}</string>
1012 1010
 							<object class="NSTextFieldCell" key="NSTitleCell">
... ...
@@ -1051,7 +1054,6 @@
1051 1051
 											<int key="NSvFlags">268</int>
1052 1052
 											<string key="NSFrame">{{137, 40}, {100, 26}}</string>
1053 1053
 											<reference key="NSSuperview" ref="663622456"/>
1054
-											<reference key="NSWindow"/>
1055 1054
 											<reference key="NSNextKeyView" ref="447573183"/>
1056 1055
 											<bool key="NSEnabled">YES</bool>
1057 1056
 											<object class="NSPopUpButtonCell" key="NSCell" id="121576080">
... ...
@@ -1120,7 +1122,6 @@
1120 1120
 											<int key="NSvFlags">268</int>
1121 1121
 											<string key="NSFrame">{{30, 46}, {105, 17}}</string>
1122 1122
 											<reference key="NSSuperview" ref="663622456"/>
1123
-											<reference key="NSWindow"/>
1124 1123
 											<reference key="NSNextKeyView" ref="604183337"/>
1125 1124
 											<bool key="NSEnabled">YES</bool>
1126 1125
 											<object class="NSTextFieldCell" key="NSCell" id="282012200">
... ...
@@ -1138,13 +1139,11 @@
1138 1138
 									</array>
1139 1139
 									<string key="NSFrame">{{1, 1}, {271, 88}}</string>
1140 1140
 									<reference key="NSSuperview" ref="761310386"/>
1141
-									<reference key="NSWindow"/>
1142 1141
 									<reference key="NSNextKeyView" ref="324207545"/>
1143 1142
 								</object>
1144 1143
 							</array>
1145 1144
 							<string key="NSFrame">{{17, 46}, {273, 104}}</string>
1146 1145
 							<reference key="NSSuperview" ref="807433238"/>
1147
-							<reference key="NSWindow"/>
1148 1146
 							<reference key="NSNextKeyView" ref="663622456"/>
1149 1147
 							<string key="NSOffsets">{0, 0}</string>
1150 1148
 							<object class="NSTextFieldCell" key="NSTitleCell">
... ...
@@ -1169,8 +1168,6 @@
1169 1169
 							<int key="NSvFlags">268</int>
1170 1170
 							<string key="NSFrame">{{197, 12}, {96, 32}}</string>
1171 1171
 							<reference key="NSSuperview" ref="807433238"/>
1172
-							<reference key="NSWindow"/>
1173
-							<reference key="NSNextKeyView"/>
1174 1172
 							<bool key="NSEnabled">YES</bool>
1175 1173
 							<object class="NSButtonCell" key="NSCell" id="387881675">
1176 1174
 								<int key="NSCellFlags">67108864</int>
... ...
@@ -1189,8 +1186,6 @@
1189 1189
 						</object>
1190 1190
 					</array>
1191 1191
 					<string key="NSFrameSize">{307, 269}</string>
1192
-					<reference key="NSSuperview"/>
1193
-					<reference key="NSWindow"/>
1194 1192
 					<reference key="NSNextKeyView" ref="683145447"/>
1195 1193
 				</object>
1196 1194
 				<string key="NSScreenRect">{{0, 0}, {1920, 1058}}</string>
... ...
@@ -1638,6 +1633,14 @@
1638 1638
 					</object>
1639 1639
 					<string key="id">BmT-cJ-zx6</string>
1640 1640
 				</object>
1641
+				<object class="IBConnectionRecord">
1642
+					<object class="IBActionConnection" key="connection">
1643
+						<string key="label">prettyPrint:</string>
1644
+						<reference key="source" ref="1014"/>
1645
+						<reference key="destination" ref="282124473"/>
1646
+					</object>
1647
+					<string key="id">GbO-yP-gFn</string>
1648
+				</object>
1641 1649
 			</array>
1642 1650
 			<object class="IBMutableOrderedSet" key="objectRecords">
1643 1651
 				<array key="orderedObjects">
... ...
@@ -2211,6 +2214,7 @@
2211 2211
 							<reference ref="1039846173"/>
2212 2212
 							<reference ref="560300357"/>
2213 2213
 							<reference ref="631549109"/>
2214
+							<reference ref="282124473"/>
2214 2215
 						</array>
2215 2216
 						<reference key="parent" ref="580628631"/>
2216 2217
 					</object>
... ...
@@ -2411,6 +2415,11 @@
2411 2411
 						<reference key="object" ref="89339715"/>
2412 2412
 						<reference key="parent" ref="720053764"/>
2413 2413
 					</object>
2414
+					<object class="IBObjectRecord">
2415
+						<string key="id">kFW-d7-smj</string>
2416
+						<reference key="object" ref="282124473"/>
2417
+						<reference key="parent" ref="567643404"/>
2418
+					</object>
2414 2419
 				</array>
2415 2420
 			</object>
2416 2421
 			<dictionary class="NSMutableDictionary" key="flattenedProperties">
... ...
@@ -2530,6 +2539,7 @@
2530 2530
 				<string key="82.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
2531 2531
 				<string key="83.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
2532 2532
 				<string key="92.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
2533
+				<string key="kFW-d7-smj.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
2533 2534
 				<string key="uGQ-j1-opy.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
2534 2535
 			</dictionary>
2535 2536
 			<dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
... ...
@@ -2570,6 +2580,7 @@
2570 2570
 					<string key="superclassName">UKSyntaxColoredTextDocument</string>
2571 2571
 					<dictionary class="NSMutableDictionary" key="actions">
2572 2572
 						<string key="openDataSource:">id</string>
2573
+						<string key="prettyPrint:">id</string>
2573 2574
 						<string key="refresh:">id</string>
2574 2575
 						<string key="refreshChanged:">id</string>
2575 2576
 					</dictionary>
... ...
@@ -2578,6 +2589,10 @@
2578 2578
 							<string key="name">openDataSource:</string>
2579 2579
 							<string key="candidateClassName">id</string>
2580 2580
 						</object>
2581
+						<object class="IBActionInfo" key="prettyPrint:">
2582
+							<string key="name">prettyPrint:</string>
2583
+							<string key="candidateClassName">id</string>
2584
+						</object>
2581 2585
 						<object class="IBActionInfo" key="refresh:">
2582 2586
 							<string key="name">refresh:</string>
2583 2587
 							<string key="candidateClassName">id</string>
... ...
@@ -42,7 +42,7 @@
42 42
 		</object>
43 43
 		<array class="NSMutableArray" key="IBDocument.RootObjects" id="580458321">
44 44
 			<object class="NSCustomObject" id="512844837">
45
-				<string key="NSClassName">MulleScionDrakeDokument</string>
45
+				<string key="NSClassName">MulleScionistDokument</string>
46 46
 			</object>
47 47
 			<object class="NSCustomObject" id="613418571">
48 48
 				<string key="NSClassName">FirstResponder</string>
... ...
@@ -102,7 +102,7 @@
102 102
 															<string key="NSFrameSize">{528, 225}</string>
103 103
 															<reference key="NSSuperview" ref="74212334"/>
104 104
 															<reference key="NSWindow"/>
105
-															<reference key="NSNextKeyView" ref="469203446"/>
105
+															<reference key="NSNextKeyView" ref="114069088"/>
106 106
 															<string key="NSReuseIdentifierKey">_NS:13</string>
107 107
 															<object class="NSTextContainer" key="NSTextContainer" id="727140953">
108 108
 																<object class="NSLayoutManager" key="NSLayoutManager">
... ...
@@ -238,7 +238,7 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
238 238
 											<string key="NSFrameSize">{328, 227}</string>
239 239
 											<reference key="NSSuperview" ref="789528749"/>
240 240
 											<reference key="NSWindow"/>
241
-											<reference key="NSNextKeyView" ref="74212334"/>
241
+											<reference key="NSNextKeyView" ref="469203446"/>
242 242
 											<string key="NSReuseIdentifierKey">_NS:9</string>
243 243
 											<bool key="NSDoNotTranslateAutoresizingMask">YES</bool>
244 244
 											<int key="NSsFlags">133266</int>
... ...
@@ -286,7 +286,7 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
286 286
 																	<string key="NSFrameSize">{540, 156}</string>
287 287
 																	<reference key="NSSuperview" ref="1034529273"/>
288 288
 																	<reference key="NSWindow"/>
289
-																	<reference key="NSNextKeyView" ref="119622005"/>
289
+																	<reference key="NSNextKeyView" ref="529487136"/>
290 290
 																	<string key="NSReuseIdentifierKey">_NS:13</string>
291 291
 																	<object class="NSTextContainer" key="NSTextContainer" id="236410513">
292 292
 																		<object class="NSLayoutManager" key="NSLayoutManager">
... ...
@@ -394,7 +394,7 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
394 394
 													<string key="NSFrameSize">{328, 158}</string>
395 395
 													<reference key="NSSuperview" ref="144540953"/>
396 396
 													<reference key="NSWindow"/>
397
-													<reference key="NSNextKeyView" ref="1034529273"/>
397
+													<reference key="NSNextKeyView" ref="119622005"/>
398 398
 													<string key="NSReuseIdentifierKey">_NS:9</string>
399 399
 													<bool key="NSDoNotTranslateAutoresizingMask">YES</bool>
400 400
 													<int key="NSsFlags">133266</int>
... ...
@@ -423,7 +423,7 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
423 423
 																			<string key="NSFrameSize">{0, 90}</string>
424 424
 																			<reference key="NSSuperview" ref="429686640"/>
425 425
 																			<reference key="NSWindow"/>
426
-																			<reference key="NSNextKeyView" ref="325965293"/>
426
+																			<reference key="NSNextKeyView" ref="91957353"/>
427 427
 																			<string key="NSReuseIdentifierKey">_NS:13</string>
428 428
 																			<object class="NSTextContainer" key="NSTextContainer" id="13114594">
429 429
 																				<object class="NSLayoutManager" key="NSLayoutManager">
... ...
@@ -467,7 +467,6 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
467 467
 																			</object>
468 468
 																			<int key="NSTVFlags">6</int>
469 469
 																			<string key="NSMaxSize">{540, 10000000}</string>
470
-																			<string key="NSMinize">{311, 90}</string>
471 470
 																			<nil key="NSDelegate"/>
472 471
 																		</object>
473 472
 																	</array>
... ...
@@ -507,7 +506,7 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
507 507
 																	<string key="NSFrame">{{312, 1}, {15, 90}}</string>
508 508
 																	<reference key="NSSuperview" ref="437724191"/>
509 509
 																	<reference key="NSWindow"/>
510
-																	<reference key="NSNextKeyView" ref="429686640"/>
510
+																	<reference key="NSNextKeyView" ref="778876534"/>
511 511
 																	<string key="NSReuseIdentifierKey">_NS:83</string>
512 512
 																	<bool key="NSAllowsLogicalLayoutDirection">NO</bool>
513 513
 																	<reference key="NSTarget" ref="437724191"/>
... ...
@@ -520,7 +519,7 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
520 520
 																	<string key="NSFrame">{{-100, -100}, {87, 18}}</string>
521 521
 																	<reference key="NSSuperview" ref="437724191"/>
522 522
 																	<reference key="NSWindow"/>
523
-																	<reference key="NSNextKeyView" ref="91957353"/>
523
+																	<reference key="NSNextKeyView" ref="429686640"/>
524 524
 																	<string key="NSReuseIdentifierKey">_NS:33</string>
525 525
 																	<bool key="NSAllowsLogicalLayoutDirection">NO</bool>
526 526
 																	<int key="NSsFlags">1</int>
... ...
@@ -533,7 +532,7 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
533 533
 															<string key="NSFrameSize">{328, 92}</string>
534 534
 															<reference key="NSSuperview" ref="14841239"/>
535 535
 															<reference key="NSWindow"/>
536
-															<reference key="NSNextKeyView" ref="429686640"/>
536
+															<reference key="NSNextKeyView" ref="325965293"/>
537 537
 															<string key="NSReuseIdentifierKey">_NS:9</string>
538 538
 															<int key="NSsFlags">133138</int>
539 539
 															<reference key="NSVScroller" ref="91957353"/>
... ...
@@ -657,6 +656,7 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
657 657
 											<string key="NSFrame">{{339, 486}, {80, 28}}</string>
658 658
 											<reference key="NSSuperview" ref="778876534"/>
659 659
 											<reference key="NSWindow"/>
660
+											<reference key="NSNextKeyView"/>
660 661
 											<bool key="NSEnabled">YES</bool>
661 662
 											<object class="NSButtonCell" key="NSCell" id="468289207">
662 663
 												<int key="NSCellFlags">67108864</int>
... ...
@@ -692,18 +692,18 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
692 692
 												<string key="NSKeyEquivalent"/>
693 693
 												<int key="NSPeriodicDelay">400</int>
694 694
 												<int key="NSPeriodicInterval">75</int>
695
-												<object class="NSMenuItem" key="NSMenuItem" id="327647930">
695
+												<object class="NSMenuItem" key="NSMenuItem" id="331406113">
696 696
 													<reference key="NSMenu" ref="471507879"/>
697
-													<string key="NSTitle">live</string>
697
+													<string key="NSTitle">delayed</string>
698 698
 													<string key="NSKeyEquiv"/>
699 699
 													<int key="NSKeyEquivModMask">1048576</int>
700 700
 													<int key="NSMnemonicLoc">2147483647</int>
701 701
 													<int key="NSState">1</int>
702
-													<object class="NSCustomResource" key="NSOnImage" id="572908077">
702
+													<object class="NSCustomResource" key="NSOnImage" id="387281556">
703 703
 														<string key="NSClassName">NSImage</string>
704 704
 														<string key="NSResourceName">NSMenuCheckmark</string>
705 705
 													</object>
706
-													<object class="NSCustomResource" key="NSMixedImage" id="117924999">
706
+													<object class="NSCustomResource" key="NSMixedImage" id="798506238">
707 707
 														<string key="NSClassName">NSImage</string>
708 708
 														<string key="NSResourceName">NSMenuMixedState</string>
709 709
 													</object>
... ...
@@ -714,33 +714,34 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
714 714
 												<object class="NSMenu" key="NSMenu" id="471507879">
715 715
 													<string key="NSTitle">OtherViews</string>
716 716
 													<array class="NSMutableArray" key="NSMenuItems">
717
-														<reference ref="327647930"/>
718
-														<object class="NSMenuItem" id="331406113">
717
+														<object class="NSMenuItem" id="327647930">
719 718
 															<reference key="NSMenu" ref="471507879"/>
720
-															<string key="NSTitle">delayed</string>
719
+															<string key="NSTitle">live</string>
721 720
 															<string key="NSKeyEquiv"/>
722 721
 															<int key="NSKeyEquivModMask">1048576</int>
723 722
 															<int key="NSMnemonicLoc">2147483647</int>
724
-															<reference key="NSOnImage" ref="572908077"/>
725
-															<reference key="NSMixedImage" ref="117924999"/>
723
+															<int key="NSState">1</int>
724
+															<reference key="NSOnImage" ref="387281556"/>
725
+															<reference key="NSMixedImage" ref="798506238"/>
726 726
 															<string key="NSAction">_popUpItemAction:</string>
727 727
 															<reference key="NSTarget" ref="163136336"/>
728 728
 														</object>
729
+														<reference ref="331406113"/>
729 730
 														<object class="NSMenuItem" id="202277036">
730 731
 															<reference key="NSMenu" ref="471507879"/>
731 732
 															<string key="NSTitle">manual</string>
732 733
 															<string key="NSKeyEquiv"/>
733 734
 															<int key="NSKeyEquivModMask">1048576</int>
734 735
 															<int key="NSMnemonicLoc">2147483647</int>
735
-															<reference key="NSOnImage" ref="572908077"/>
736
-															<reference key="NSMixedImage" ref="117924999"/>
736
+															<reference key="NSOnImage" ref="387281556"/>
737
+															<reference key="NSMixedImage" ref="798506238"/>
737 738
 															<string key="NSAction">_popUpItemAction:</string>
738 739
 															<reference key="NSTarget" ref="163136336"/>
739 740
 														</object>
740 741
 													</array>
741 742
 													<reference key="NSMenuFont" ref="82502050"/>
742 743
 												</object>
743
-												<int key="NSSelectedIndex">-1</int>
744
+												<int key="NSSelectedIndex">1</int>
744 745
 												<int key="NSPreferredEdge">1</int>
745 746
 												<bool key="NSUsesItemFromMenu">YES</bool>
746 747
 												<bool key="NSAltersState">YES</bool>
... ...
@@ -798,7 +799,7 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
798 798
 												<string>public.url</string>
799 799
 												<string>public.url-name</string>
800 800
 											</set>
801
-											<string key="NSFrame">{{0, 25}, {422, 485}}</string>
801
+											<string key="NSFrameSize">{422, 517}</string>
802 802
 											<reference key="NSSuperview" ref="778876534"/>
803 803
 											<reference key="NSWindow"/>
804 804
 											<reference key="NSNextKeyView"/>
... ...
@@ -807,12 +808,16 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
807 807
 											<object class="WebPreferences" key="Preferences" id="194243679">
808 808
 												<string key="Identifier"/>
809 809
 												<dictionary class="NSMutableDictionary" key="Values">
810
+													<boolean value="YES" key="WebKitAllowAnimatedImageLoopingPreferenceKey"/>
811
+													<boolean value="YES" key="WebKitAllowAnimatedImagesPreferenceKey"/>
810 812
 													<integer value="12" key="WebKitDefaultFixedFontSize"/>
811 813
 													<integer value="12" key="WebKitDefaultFontSize"/>
814
+													<boolean value="YES" key="WebKitDisplayImagesKey"/>
812 815
 													<integer value="1" key="WebKitMinimumFontSize"/>
816
+													<boolean value="YES" key="WebKitPluginsEnabled"/>
813 817
 												</dictionary>
814 818
 											</object>
815
-											<bool key="UseBackForwardList">YES</bool>
819
+											<bool key="UseBackForwardList">NO</bool>
816 820
 											<bool key="AllowsUndo">YES</bool>
817 821
 										</object>
818 822
 									</array>
... ...
@@ -840,7 +845,7 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
840 840
 				<string key="NSScreenRect">{{0, 0}, {1920, 1058}}</string>
841 841
 				<string key="NSMinSize">{94, 108}</string>
842 842
 				<string key="NSMaxSize">{10000000000000, 10000000000000}</string>
843
-				<string key="NSFrameAutosaveName">ManDrakeWindow</string>
843
+				<string key="NSFrameAutosaveName">MulleScionistWindow</string>
844 844
 				<bool key="NSWindowIsRestorable">YES</bool>
845 845
 			</object>
846 846
 			<object class="NSCustomObject" id="796877042">
... ...
@@ -1667,10 +1672,11 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
1667 1667
 		<object class="IBClassDescriber" key="IBDocument.Classes">
1668 1668
 			<array class="NSMutableArray" key="referencedPartialClassDescriptions">
1669 1669
 				<object class="IBPartialClassDescription">
1670
-					<string key="className">MulleScionDrakeDokument</string>
1670
+					<string key="className">MulleScionistDokument</string>
1671 1671
 					<string key="superclassName">UKSyntaxColoredTextDocument</string>
1672 1672
 					<dictionary class="NSMutableDictionary" key="actions">
1673 1673
 						<string key="openDataSource:">id</string>
1674
+						<string key="prettyPrint:">id</string>
1674 1675
 						<string key="refresh:">id</string>
1675 1676
 						<string key="refreshChanged:">id</string>
1676 1677
 					</dictionary>
... ...
@@ -1679,6 +1685,10 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
1679 1679
 							<string key="name">openDataSource:</string>
1680 1680
 							<string key="candidateClassName">id</string>
1681 1681
 						</object>
1682
+						<object class="IBActionInfo" key="prettyPrint:">
1683
+							<string key="name">prettyPrint:</string>
1684
+							<string key="candidateClassName">id</string>
1685
+						</object>
1682 1686
 						<object class="IBActionInfo" key="refresh:">
1683 1687
 							<string key="name">refresh:</string>
1684 1688
 							<string key="candidateClassName">id</string>
... ...
@@ -1734,88 +1744,7 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
1734 1734
 					</dictionary>
1735 1735
 					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1736 1736
 						<string key="majorKey">IBProjectSource</string>
1737
-						<string key="minorKey">./Classes/MulleScionDrakeDokument.h</string>
1738
-					</object>
1739
-				</object>
1740
-				<object class="IBPartialClassDescription">
1741
-					<string key="className">NSDocument</string>
1742
-					<dictionary class="NSMutableDictionary" key="actions">
1743
-						<string key="browseDocumentVersions:">id</string>
1744
-						<string key="duplicateDocument:">id</string>
1745
-						<string key="lockDocument:">id</string>
1746
-						<string key="moveDocument:">id</string>
1747
-						<string key="moveDocumentToUbiquityContainer:">id</string>
1748
-						<string key="printDocument:">id</string>
1749
-						<string key="renameDocument:">id</string>
1750
-						<string key="revertDocumentToSaved:">id</string>
1751
-						<string key="runPageLayout:">id</string>
1752
-						<string key="saveDocument:">id</string>
1753
-						<string key="saveDocumentAs:">id</string>
1754
-						<string key="saveDocumentTo:">id</string>
1755
-						<string key="saveDocumentToPDF:">id</string>
1756
-						<string key="unlockDocument:">id</string>
1757
-					</dictionary>
1758
-					<dictionary class="NSMutableDictionary" key="actionInfosByName">
1759
-						<object class="IBActionInfo" key="browseDocumentVersions:">
1760
-							<string key="name">browseDocumentVersions:</string>
1761
-							<string key="candidateClassName">id</string>
1762
-						</object>
1763
-						<object class="IBActionInfo" key="duplicateDocument:">
1764
-							<string key="name">duplicateDocument:</string>
1765
-							<string key="candidateClassName">id</string>
1766
-						</object>
1767
-						<object class="IBActionInfo" key="lockDocument:">
1768
-							<string key="name">lockDocument:</string>
1769
-							<string key="candidateClassName">id</string>
1770
-						</object>
1771
-						<object class="IBActionInfo" key="moveDocument:">
1772
-							<string key="name">moveDocument:</string>
1773
-							<string key="candidateClassName">id</string>
1774
-						</object>
1775
-						<object class="IBActionInfo" key="moveDocumentToUbiquityContainer:">
1776
-							<string key="name">moveDocumentToUbiquityContainer:</string>
1777
-							<string key="candidateClassName">id</string>
1778
-						</object>
1779
-						<object class="IBActionInfo" key="printDocument:">
1780
-							<string key="name">printDocument:</string>
1781
-							<string key="candidateClassName">id</string>
1782
-						</object>
1783
-						<object class="IBActionInfo" key="renameDocument:">
1784
-							<string key="name">renameDocument:</string>
1785
-							<string key="candidateClassName">id</string>
1786
-						</object>
1787
-						<object class="IBActionInfo" key="revertDocumentToSaved:">
1788
-							<string key="name">revertDocumentToSaved:</string>
1789
-							<string key="candidateClassName">id</string>
1790
-						</object>
1791
-						<object class="IBActionInfo" key="runPageLayout:">
1792
-							<string key="name">runPageLayout:</string>
1793
-							<string key="candidateClassName">id</string>
1794
-						</object>
1795
-						<object class="IBActionInfo" key="saveDocument:">
1796
-							<string key="name">saveDocument:</string>
1797
-							<string key="candidateClassName">id</string>
1798
-						</object>
1799
-						<object class="IBActionInfo" key="saveDocumentAs:">
1800
-							<string key="name">saveDocumentAs:</string>
1801
-							<string key="candidateClassName">id</string>
1802
-						</object>
1803
-						<object class="IBActionInfo" key="saveDocumentTo:">
1804
-							<string key="name">saveDocumentTo:</string>
1805
-							<string key="candidateClassName">id</string>
1806
-						</object>
1807
-						<object class="IBActionInfo" key="saveDocumentToPDF:">
1808
-							<string key="name">saveDocumentToPDF:</string>
1809
-							<string key="candidateClassName">id</string>
1810
-						</object>
1811
-						<object class="IBActionInfo" key="unlockDocument:">
1812
-							<string key="name">unlockDocument:</string>
1813
-							<string key="candidateClassName">id</string>
1814
-						</object>
1815
-					</dictionary>
1816
-					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1817
-						<string key="majorKey">IBProjectSource</string>
1818
-						<string key="minorKey">./Classes/NSDocument.h</string>
1737
+						<string key="minorKey">./Classes/MulleScionistDokument.h</string>
1819 1738
 					</object>
1820 1739
 				</object>
1821 1740
 				<object class="IBPartialClassDescription">
... ...
@@ -1,17 +1,19 @@
1
-{# a comment #}
2
-{# now comes some plaintext that is copied #}
3 1
 <html>
2
+<!--{# a comment #}
3
+{# defines can't be multilined #}
4
+{% define sortedByName = [self sortedArrayUsingDescriptors:@( [NSSortDescriptor sortDescriptorWithKey:@"name" ascending:NO])]; %}-->
4 5
 <body>
5
-{# some multi-lined script #}
6
-{% define sortedByName = [self sortedArrayUsingDescriptors:@( [NSSortDescriptor sortDescriptorWithKey:@"name" ascending:NO])] %}
7
-
8
-{% set expr=@"An Expression";
6
+<!--{# some multi-lined script, embedded to hide it from Browser just in case #}
7
+{%
8
+   set expr=@"An Expression";
9
+   # inline comment
9 10
    date=[NSDate date];
10
- %}
11
-<H4>{{ expr }}</h4>
11
+ %}-->
12
+<!-- If you are creating output, don't surround it with HTML comments -->
13
+<h4>{{ expr }}</h4>
12 14
 It's {{ date }} now.
13 15
 <p>
14
-{% 
16
+{%
15 17
    for item in Liga . sortedByName
16 18
    {{ @"Got this \"" }} {{ item.name }} {{ @"\" from the data source<br>" }}
17 19
  %}