Show More
@@ -969,6 +969,12 b' class IPCompleter(Completer):' | |||
|
969 | 969 | return [leading + k + suf for k in matches] |
|
970 | 970 | |
|
971 | 971 | def latex_matches(self, text): |
|
972 | u"""Match Latex syntax for unicode characters. | |
|
973 | ||
|
974 | This does both \\alp -> \\alpha and \\alpha -> α | |
|
975 | ||
|
976 | Used on Python 3 only. | |
|
977 | """ | |
|
972 | 978 | slashpos = text.rfind('\\') |
|
973 | 979 | if slashpos > -1: |
|
974 | 980 | s = text[slashpos:] |
General Comments 0
You need to be logged in to leave comments.
Login now