mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 12:00:45 +00:00
* Source/NSTextView.m: Add support for NSFilenamenPboardType.
Change by OnFlApp (https://githup.com/onflapp)
This commit is contained in:
parent
1e956c96df
commit
a054b21355
2 changed files with 10 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
2024-03-18 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSTextView.m: Add support for NSFilenamenPboardType.
|
||||
Change by OnFlApp (https://githup.com/onflapp)
|
||||
|
||||
2023-12-28 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Documentation/manual/AppKit.texi: Move table of contents outside
|
||||
|
|
|
@ -5006,10 +5006,10 @@ right.)
|
|||
}
|
||||
END_FOR_IN(enumerator)
|
||||
|
||||
if (as && changeRange.location != NSNotFound &&
|
||||
if ([as length] != 0 && changeRange.location != NSNotFound &&
|
||||
[self shouldChangeTextInRange: changeRange
|
||||
replacementString: [as string]])
|
||||
{
|
||||
{
|
||||
[self replaceCharactersInRange: changeRange
|
||||
withAttributedString: as];
|
||||
[self didChangeText];
|
||||
|
@ -5017,9 +5017,9 @@ right.)
|
|||
[self setSelectedRange: NSMakeRange(NSMaxRange(changeRange),0)];
|
||||
}
|
||||
|
||||
RELEASE(as);
|
||||
return YES;
|
||||
}
|
||||
RELEASE(as);
|
||||
return YES;
|
||||
}
|
||||
}
|
||||
|
||||
// color accepting
|
||||
|
|
Loading…
Reference in a new issue