Changeset 142 for trunk/ICeCoffEE/ICeCoffEE/ICeCoffEETerminal.m
- Timestamp:
- 06/14/03 09:54:54 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ICeCoffEE/ICeCoffEE/ICeCoffEETerminal.m
r139 r142 52 52 - (unsigned int)characterIndexForPoint:(NSPoint)thePoint { return 0; } 53 53 - (NSArray*)validAttributesForMarkedText { return nil; } 54 55 54 // NSDraggingDestination 56 55 - (NSDragOperation)draggingEntered:(id <NSDraggingInfo>)sender { return NSDragOperationNone; } 57 - (void)draggingExited:(id <NSDraggingInfo>)sender {} 58 59 // misc. other stuff 56 // misc. other stuff 60 57 - (void)_optionClickEvent:(NSEvent *)event:(unsigned int)row:(unsigned short)column {} 61 58 - (void)setNeedsDisplay; {} 62 63 59 @end 64 60 … … 441 437 - (NSDragOperation)draggingEntered:(id <NSDraggingInfo>)sender; 442 438 { 443 if ( [sender draggingSource] != self || ([[NSApp currentEvent] modifierFlags] & NSAlternateKeyMask)) {439 if (!ICCF_prefs.terminalRequireOptionForSelfDrag || [sender draggingSource] != self || ([[NSApp currentEvent] modifierFlags] & NSAlternateKeyMask)) { 444 440 [super draggingEntered: sender]; 445 441 // When doing non-self drags, this works around one bug in Terminal wherein the option key acts as a toggle, and it shouldn't (see Aqua HIG). Unfortunately, this messes up drag feedback for self drags, but I don't know of any way to fix it. Not that most Cocoa apps get it remotely right, anyway.
Note:
See TracChangeset
for help on using the changeset viewer.