saros-project / saros

Open Source IDE plugin for distributed collaborative software development
https://www.saros-project.org
GNU General Public License v2.0
158 stars 52 forks source link

[FIX][I] #962 Adjust Saros annotation highlighter layer #1126

Closed tobous closed 3 years ago

tobous commented 3 years ago

Adjusts the Saros editor annotation highlighter layer. The annotations are now displayed at a very low level, meaning they will be overshadowed by almost all other IDE highlighters. This will ensure that the user will still be able to develop normally using the default IDE features while in a Saros session.

Separates the different annotations onto different highlighter layers to create the correct hierarchy. This ensures that selection annotations overshadow contribution annotations to match the behavior of Saros/E.

It looks a bit weird that the line selection highlighter now also overshadows Saros annotations. But it provides an important visual aid to keep track of the current caret position, so I wanted to avoid overshadowing it. But this is something that can easily be fixed if user feedback suggests something different.

Resolves #962.