Show More
@@ -973,7 +973,14 b' class IPCompleter(Completer):' | |||
|
973 | 973 | if slashpos > -1: |
|
974 | 974 | s = text[slashpos:] |
|
975 | 975 | if s in latex_symbols: |
|
976 | # Try to complete a full latex symbol to unicode | |
|
977 | # \\alpha -> α | |
|
976 | 978 | return s, [latex_symbols[s]] |
|
979 | else: | |
|
980 | # If a user has partially typed a latex symbol, give them | |
|
981 | # a full list of options \al -> [\aleph, \alpha] | |
|
982 | matches = [k for k in latex_symbols if k.startswith(s)] | |
|
983 | return s, matches | |
|
977 | 984 | return u'', [] |
|
978 | 985 | |
|
979 | 986 | def dispatch_custom_completer(self, text): |
General Comments 0
You need to be logged in to leave comments.
Login now