mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 20:10:37 +00:00
Fix obscure exception case
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37709 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f203fea7d7
commit
706eec3f24
1 changed files with 6 additions and 3 deletions
|
@ -6070,10 +6070,13 @@ configuation! */
|
|||
if ([_delegate respondsToSelector:
|
||||
@selector(textView:completions:forPartialWordRange:indexOfSelectedItem:)])
|
||||
{
|
||||
// Passing in last used word(s) list array causes various problems - use nil for now...
|
||||
// FIXME: The completions array should be some default dictionary words based on the
|
||||
// partial word range...
|
||||
return [_delegate textView: self
|
||||
completions: [[GSAutocompleteWindow defaultWindow] words]
|
||||
forPartialWordRange: range
|
||||
indexOfSelectedItem: index];
|
||||
completions: nil
|
||||
forPartialWordRange: range
|
||||
indexOfSelectedItem: index];
|
||||
}
|
||||
|
||||
return nil;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue