Update docs to use display.width instead of deprecated line_width.
Merge pull request #7669 from lexual/docs_use_display_width

Update docs to use display.width instead of deprecated line_width.