Skip to content

Commit

Permalink
adding codelens
Browse files Browse the repository at this point in the history
  • Loading branch information
digital-phoenix committed Apr 24, 2024
1 parent 0980fb7 commit 4ad2cb6
Show file tree
Hide file tree
Showing 4 changed files with 699 additions and 17 deletions.
19 changes: 19 additions & 0 deletions CodeiumVS/CodeLens/CodeLensTag.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Tagging;

namespace CodeiumVS
{

// the SpaceNegotiatingAdornmentTag is used to tell the editor to create an empty space
// they work like a more complicated version of <br> from html
internal class CodeLensTag : SpaceNegotiatingAdornmentTag
{
public CodeLensTag(double width, double topSpace, double baseline, double textHeight,
double bottomSpace, PositionAffinity affinity, object identityTag,
object providerTag)
: base(width, topSpace, baseline, textHeight, bottomSpace, affinity, identityTag,
providerTag)
{
}
}
}
Loading

0 comments on commit 4ad2cb6

Please sign in to comment.