This package provides an inline messaging service for other packages.
With it, a package can show messages next to the relevant, highlighted code, and optionally make a code suggestion for the selected text.
An example of an inline message. Single line messages are underlined. Multiline messages have a dotted line annotation to the left.
An example of a message with a code suggestion. The code suggestion is then accepted
The Inline Messenger Example has example code on how to work with this package.
The goal was to create a service for inline messaging as you see this functionality reimplemented in many packages.
Design-wise, the priority was to be as unobtrusive to the code as possible. For one line messages, the standard dotted underline was used to highlight a piece of code.
Though for multiline highlights this seemed to be obtrusive. The solution was to have a dashed line along the gutter. When the section of code is highlighted, it's obvious that the gutter annotation is connected to the highlighted text and the message. It also doesn't interfere with the git-diff package.
In case the user doesn't want messages to overlap with any code, you can set the message positioning setting to
Right instead of
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.