tooltip formatting for document inspector