Page MenuHomePhabricator

Differential should break word while wrapping
Closed, WontfixPublic

Description

Current wrapping shows a content which is not the real one. Ideally it should not wrap but if it needs to, should be something like:

{F154293}

Not:
{F154297}

Event Timeline

igorgatis raised the priority of this task from to Needs Triage.
igorgatis updated the task description. (Show Details)
igorgatis added a project: Differential.
igorgatis added a subscriber: igorgatis.
epriestley claimed this task.

I don't believe this is realistically possible. Wrapping behavior is controlled by CSS (essentially, white-space: pre-wrap;) , and there's no "break in the middle of words" option. We could put word-break characters in between every single display character, but this is a huge mess.

I don't think the proposed behavior is desirable, either. We could possibly make it more clear when a line has wrapped, but this is already visible in the left-hand gutter: the second line does not have a line number.