Opened 14 years ago

Last modified 10 years ago

#349 new Defect

Tab completion adds extra colon when one candidate's name is completed

Reported by: Darien Owned by: timothy
Component: Colloquy (Mac) Version: 2.2 (Mac)
Severity: Minor Keywords: tab completion nicknames colon
Cc:

Description

When there are multiple similar nicknames (for example Darien and Darien_iBook) and one of them is typed into the text box fully before the tab completion is triggered (for example, 'Darien' is typed), then each successive 'tab' will simply add another : to the text input.

In the above example, typing 'Darien<tab><tab><tab>' will result in the input box containing 'Darien:::' with the final : selected.

Change History (3)

comment:1 Changed 12 years ago by akempgen

#289 is related

comment:2 Changed 10 years ago by Rinoa

  • milestone set to Colloquy 2.3

comment:3 Changed 10 years ago by loudambiance

Possible solution (diff of MVTextView.m):
365,371d364
< if ( [possibleNicks containsObject:partialCompletion] ){
< NSRange possibleNicksRange;
< possibleNicksRange.location = 1;
< possibleNicksRange.length = [possibleNicks count] - 1;
< possibleNicks = [possibleNicks subarrayWithRange:possibleNicksRange];
< }
<

Note: See TracTickets for help on using tickets.