##// END OF EJS Templates
Reformat newlines in Tooltips....
Matthias Bussonnier -
Show More
@@ -603,6 +603,7 b' class Inspector(Colorable):'
603 _len = max(len(h) for h in heads)
603 _len = max(len(h) for h in heads)
604
604
605 for head, body in zip(heads, bodies):
605 for head, body in zip(heads, bodies):
606 body = body.strip('\n')
606 delim = '\n' if '\n' in body else ' '
607 delim = '\n' if '\n' in body else ' '
607 text += self.__head(head+':') + (_len - len(head))*' ' +delim + body +'\n'
608 text += self.__head(head+':') + (_len - len(head))*' ' +delim + body +'\n'
608
609
General Comments 0
You need to be logged in to leave comments. Login now