Changeset 436 for trunk/ICeCoffEE/ICeCoffEE/ICeCoffEEWebKit.m
- Timestamp:
- 03/05/08 03:01:09 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ICeCoffEE/ICeCoffEE/ICeCoffEEWebKit.m
r388 r436 71 71 return; 72 72 73 NS_DURING73 @try { 74 74 NSPoint viewClickPt = [self convertPoint: downPt fromView: nil]; 75 75 NSDictionary *elementDict = [(WebHTMLView *)self elementAtPoint: viewClickPt]; … … 79 79 if ([elementDict objectForKey: @"WebElementLinkURL"] != nil) { 80 80 ICLog(@"got a link"); 81 NS_VOIDRETURN; // don't activate on links81 return; // don't activate on links 82 82 } 83 83 if (selectedString == nil || [selectedString length] == 0) { 84 84 ICLog(@"no selected string"); 85 NS_VOIDRETURN;85 return; 86 86 } 87 87 ICCF_StartIC(); … … 110 110 } 111 111 } 112 NS_HANDLER 113 ICCF_HandleException(localException, downEvent); 114 NS_ENDHANDLER 112 } @catch (NSException *e) { 113 ICCF_HandleException(e, downEvent); 114 } @finally { 115 [downEvent release]; downEvent = nil; 116 } 115 117 116 [downEvent release]; downEvent = nil;117 118 ICCF_StopIC(); 118 119 }
Note:
See TracChangeset
for help on using the changeset viewer.