It should be possible to set certain lines to wrap via CSS with line decorations, but the editor has some logic where it acts differently depending on whether it considers line wrapping to be globally enabled (for example when estimating the height of lines it hasn’t drawn yet), which could lead to flakiness. Setting the editor to line-wrap but disabling it for certain lines might sort of work, but no guarantees.
1 Like