BathyScapheで画像のインラインプレビューを可能にするプラグイン
Revision | 8aa56a9a865761267242142a6381f2652ec9e395 (tree) |
---|---|
Zeit | 2012-08-05 23:30:00 |
Autor | masakih <masakih@user...> |
Commiter | masakih |
[Fix] Mergeがうまくいっていなかったので修正
@@ -14,8 +14,10 @@ | ||
14 | 14 | F43172A415BB9BFF00210D48 /* BSIThumbnailSizeView.m in Sources */ = {isa = PBXBuildFile; fileRef = F43172A315BB9BFF00210D48 /* BSIThumbnailSizeView.m */; }; |
15 | 15 | F468C5C912201875009EFA3E /* BSILinkInfomation.m in Sources */ = {isa = PBXBuildFile; fileRef = F468C5C812201875009EFA3E /* BSILinkInfomation.m */; }; |
16 | 16 | F468C69D1220CA07009EFA3E /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F468C69C1220CA07009EFA3E /* WebKit.framework */; }; |
17 | + F48E011715CEBA9000BB62AB /* BSIPreferenceWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = F431729E15BB9B6E00210D48 /* BSIPreferenceWindowController.m */; }; | |
18 | + F48E011815CEBAA700BB62AB /* BSIPreferenceWindowController.xib in Resources */ = {isa = PBXBuildFile; fileRef = F431729F15BB9B6E00210D48 /* BSIPreferenceWindowController.xib */; }; | |
19 | + F48E011915CEBABA00BB62AB /* BSIThumbnailSizeView.m in Sources */ = {isa = PBXBuildFile; fileRef = F43172A315BB9BFF00210D48 /* BSIThumbnailSizeView.m */; }; | |
17 | 20 | F4ADF9521565114F00F666EB /* notFound.png in Resources */ = {isa = PBXBuildFile; fileRef = F4F1DC6F0E546EC800055177 /* notFound.png */; }; |
18 | - F4ADF9531565114F00F666EB /* Panel.xib in Resources */ = {isa = PBXBuildFile; fileRef = F4FE889E10F772DD0076B366 /* Panel.xib */; }; | |
19 | 21 | F4ADF9551565114F00F666EB /* BSInlinePreviewer.m in Sources */ = {isa = PBXBuildFile; fileRef = F4C8070B0E53CCB000BF4144 /* BSInlinePreviewer.m */; }; |
20 | 22 | F4ADF9561565114F00F666EB /* BSILinkInfomation.m in Sources */ = {isa = PBXBuildFile; fileRef = F468C5C812201875009EFA3E /* BSILinkInfomation.m */; }; |
21 | 23 | F4ADF9581565114F00F666EB /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */; }; |
@@ -25,7 +27,6 @@ | ||
25 | 27 | F4ADF98E1566774F00F666EB /* BSIPEReplacer.m in Sources */ = {isa = PBXBuildFile; fileRef = F4ADF98C15666FAD00F666EB /* BSIPEReplacer.m */; }; |
26 | 28 | F4C8070C0E53CCB000BF4144 /* BSInlinePreviewer.m in Sources */ = {isa = PBXBuildFile; fileRef = F4C8070B0E53CCB000BF4144 /* BSInlinePreviewer.m */; }; |
27 | 29 | F4F1DC700E546EC800055177 /* notFound.png in Resources */ = {isa = PBXBuildFile; fileRef = F4F1DC6F0E546EC800055177 /* notFound.png */; }; |
28 | - F4FE88A010F772DD0076B366 /* Panel.xib in Resources */ = {isa = PBXBuildFile; fileRef = F4FE889E10F772DD0076B366 /* Panel.xib */; }; | |
29 | 30 | /* End PBXBuildFile section */ |
30 | 31 | |
31 | 32 | /* Begin PBXFileReference section */ |
@@ -260,7 +261,6 @@ | ||
260 | 261 | files = ( |
261 | 262 | 8D5B49B0048680CD000E48DA /* InfoPlist.strings in Resources */, |
262 | 263 | F4F1DC700E546EC800055177 /* notFound.png in Resources */, |
263 | - F4FE88A010F772DD0076B366 /* Panel.xib in Resources */, | |
264 | 264 | F43172A115BB9B6E00210D48 /* BSIPreferenceWindowController.xib in Resources */, |
265 | 265 | ); |
266 | 266 | runOnlyForDeploymentPostprocessing = 0; |
@@ -271,7 +271,7 @@ | ||
271 | 271 | files = ( |
272 | 272 | F4ADF9711565150D00F666EB /* InfoPlist.strings in Resources */, |
273 | 273 | F4ADF9521565114F00F666EB /* notFound.png in Resources */, |
274 | - F4ADF9531565114F00F666EB /* Panel.xib in Resources */, | |
274 | + F48E011815CEBAA700BB62AB /* BSIPreferenceWindowController.xib in Resources */, | |
275 | 275 | ); |
276 | 276 | runOnlyForDeploymentPostprocessing = 0; |
277 | 277 | }; |
@@ -326,6 +326,8 @@ | ||
326 | 326 | files = ( |
327 | 327 | F4ADF9551565114F00F666EB /* BSInlinePreviewer.m in Sources */, |
328 | 328 | F4ADF9561565114F00F666EB /* BSILinkInfomation.m in Sources */, |
329 | + F48E011915CEBABA00BB62AB /* BSIThumbnailSizeView.m in Sources */, | |
330 | + F48E011715CEBA9000BB62AB /* BSIPreferenceWindowController.m in Sources */, | |
329 | 331 | F4ADF9671565124200F666EB /* BSInlinePreviewerEx.m in Sources */, |
330 | 332 | F4ADF98E1566774F00F666EB /* BSIPEReplacer.m in Sources */, |
331 | 333 | ); |
@@ -176,8 +176,8 @@ NSRange fixRange(NSRange range, NSTextStorage *ts) | ||
176 | 176 | targetURL = value; |
177 | 177 | } |
178 | 178 | if(!targetURL) return; |
179 | - if([self.owner validateLink:url]) { | |
180 | - [links addObject:[NSDictionary dictionaryWithObjectsAndKeys:url, BSIPELinkKey, | |
179 | + if([self.owner validateLink:targetURL]) { | |
180 | + [links addObject:[NSDictionary dictionaryWithObjectsAndKeys:targetURL, BSIPELinkKey, | |
181 | 181 | NSStringFromRange(range), BSIPERangeKey, nil]]; |
182 | 182 | } |
183 | 183 | }]; |