mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 20:40:47 +00:00
Commit minor changes to NSDataLink.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35561 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c007317e91
commit
3945e35d2c
2 changed files with 7 additions and 1 deletions
|
@ -92,6 +92,7 @@ APPKIT_EXPORT NSString *NSDataLinkFileNameExtension;
|
||||||
unsigned isDirty:1;
|
unsigned isDirty:1;
|
||||||
unsigned willOpenSource:1;
|
unsigned willOpenSource:1;
|
||||||
unsigned willUpdate:1;
|
unsigned willUpdate:1;
|
||||||
|
unsigned isMarker:1;
|
||||||
} _flags;
|
} _flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -80,6 +80,11 @@
|
||||||
{
|
{
|
||||||
ASSIGN(destinationSelection,dst);
|
ASSIGN(destinationSelection,dst);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void) setIsMarker: (BOOL)flag
|
||||||
|
{
|
||||||
|
_flags.isMarker = flag;
|
||||||
|
}
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
||||||
|
@ -161,7 +166,7 @@
|
||||||
- (BOOL)addLinkAsMarker:(NSDataLink *)link
|
- (BOOL)addLinkAsMarker:(NSDataLink *)link
|
||||||
at:(NSSelection *)selection
|
at:(NSSelection *)selection
|
||||||
{
|
{
|
||||||
// FIXME: Marker?
|
[link setIsMarker: YES];
|
||||||
return [self addLink: link at: selection];
|
return [self addLink: link at: selection];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue