When displaying the doc inline, the lines below the documentation loose their format.
This is the code before displaying the inline doc:
After displaying the inline doc, the face of the lines below it reset to default:
This PR fixes this problem:
The problem is the way the the overlay is trying to prevent inheriting the face of the text below. After merging the buffer-string and the doc-string the default face was being applyed to the whole text.
Instead of this the problem can be solved by applying the default face to the overlay.
When displaying the doc inline, the lines below the documentation loose their format.
This is the code before displaying the inline doc:
After displaying the inline doc, the face of the lines below it reset to default:
This PR fixes this problem:
The problem is the way the the overlay is trying to prevent inheriting the face of the text below. After merging the buffer-string and the doc-string the
default
face was being applyed to the whole text.Instead of this the problem can be solved by applying the
default
face to the overlay.