mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Removed the copyWithZone: method as this has been fixed on
GSTextStorage. Changed NSLeftMouseUp to the correct NSLeftMouseDown. (Fix by Ludovic Marcotte <ludovic@Sophos.ca>, who is the fist user of NSTextAttachment) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10104 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3e4f05e940
commit
c9df791c59
1 changed files with 1 additions and 8 deletions
|
@ -166,7 +166,7 @@
|
|||
id delegate = [textView delegate];
|
||||
NSEventType type = [theEvent type];
|
||||
|
||||
if (type == NSLeftMouseUp)
|
||||
if (type == NSLeftMouseDown)
|
||||
{
|
||||
if ([theEvent clickCount] == 2)
|
||||
{
|
||||
|
@ -335,11 +335,4 @@
|
|||
return self;
|
||||
}
|
||||
|
||||
- (id) copyWithZone: (NSZone*)z
|
||||
{
|
||||
// This method should not be here it is just a hack to work around a problem
|
||||
// in NSAttributedString. There a dictionary including a NSTextAttachment gets copied,
|
||||
// which fails without this.
|
||||
return RETAIN(self);
|
||||
}
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue