| 153 | | if (ICCF_PatchMethod("XCTextView", "ICeCoffEE", "ICeCoffEESuper", "mouseDown:")) { |
|---|
| 154 | | ICCF_PatchMethod("XCSourceCodeTextView", "ICeCoffEEMenuOnly", "ICeCoffEEMenuSuper", "menuForEvent:"); |
|---|
| 155 | | ICCF_PatchMethod("XCDiffTextView", "ICeCoffEE", "ICeCoffEESuper", "mouseDown:"); |
|---|
| 156 | | ICCF_PatchMethod("XCDiffTextView", "ICeCoffEE", "ICeCoffEESuper", "menuForEvent:"); // subclass of PBXTextView; patching both is bad |
|---|
| | 153 | if (ICCF_PatchMethod("XCSourceCodeTextView", "ICeCoffEEMenuOnly", "ICeCoffEEMenuSuper", "menuForEvent:")) { |
|---|
| | 154 | // Xcode 3.x: XCSourceCodeTextView < XCTextView < NSTextView for source |
|---|
| | 155 | // XCDiffTextView < PBXTextView < NSTextView for rich text |
|---|
| | 156 | ICCF_PatchMethod("NSTextView", "ICeCoffEE", "ICeCoffEESuper", "mouseDown:"); |
|---|
| | 157 | ICCF_PatchMethod("XCDiffTextView", "ICeCoffEE", "ICeCoffEESuper", "menuForEvent:"); |
|---|
| | 158 | // subclass of PBXTextView; patching both is bad |
|---|