mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 21:40:36 +00:00
Add forgotten test to apply smart insert and delete during drag and
drop in a text view only when selection granularity is select by word. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29679 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
83bb771add
commit
11d5564384
2 changed files with 8 additions and 1 deletions
|
@ -4776,7 +4776,8 @@ other than copy/paste or dragging. */
|
|||
forType: NSRTFDPboardType] || ret;
|
||||
}
|
||||
|
||||
if ([type isEqualToString: NSSmartPastePboardType])
|
||||
if ([type isEqualToString: NSSmartPastePboardType] &&
|
||||
[self selectionGranularity] == NSSelectByWord)
|
||||
{
|
||||
ret = [pboard setData: [NSData data]
|
||||
forType: NSSmartPastePboardType] || ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue