Show More
@@ -1991,14 +1991,11 b' class IPCompleter(Completer):' | |||||
1991 | name_text = '' |
|
1991 | name_text = '' | |
1992 | name_matches = [] |
|
1992 | name_matches = [] | |
1993 | # need to add self.fwd_unicode_match() function here when done |
|
1993 | # need to add self.fwd_unicode_match() function here when done | |
1994 | for meth in (self.unicode_name_matches, back_latex_name_matches, back_unicode_name_matches): |
|
1994 | for meth in (self.unicode_name_matches, back_latex_name_matches, back_unicode_name_matches, self.fwd_unicode_match): | |
1995 | name_text, name_matches = meth(base_text) |
|
1995 | name_text, name_matches = meth(base_text) | |
1996 | completion_text, completion_matches = self.fwd_unicode_match(base_text) |
|
|||
1997 | if name_text: |
|
1996 | if name_text: | |
1998 | return name_text, name_matches[:MATCHES_LIMIT], \ |
|
1997 | return name_text, name_matches[:MATCHES_LIMIT], \ | |
1999 | [meth.__qualname__]*min(len(name_matches), MATCHES_LIMIT), () |
|
1998 | [meth.__qualname__]*min(len(name_matches), MATCHES_LIMIT), () | |
2000 | elif (completion_text): |
|
|||
2001 | return completion_text, completion_matches, () |
|
|||
2002 |
|
1999 | |||
2003 |
|
2000 | |||
2004 | # If no line buffer is given, assume the input text is all there was |
|
2001 | # If no line buffer is given, assume the input text is all there was |
General Comments 0
You need to be logged in to leave comments.
Login now