mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-24 05:35:00 +00:00
enhance: render highlight background manually instead of using TextRunProperties.SetBackgroundBrush(IBrush)
(#364)
This commit is contained in:
parent
9f39a9b295
commit
ed7465def5
2 changed files with 46 additions and 14 deletions
|
@ -19,8 +19,8 @@ namespace SourceGit.Models
|
|||
public class TextInlineRange
|
||||
{
|
||||
public int Start { get; set; }
|
||||
public int Count { get; set; }
|
||||
public TextInlineRange(int p, int n) { Start = p; Count = n; }
|
||||
public int End { get; set; }
|
||||
public TextInlineRange(int p, int n) { Start = p; End = p + n - 1; }
|
||||
}
|
||||
|
||||
public class TextDiffLine
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue