mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-26 03:40:45 +08:00
enhance: render highlight background manually instead of using TextRunProperties.SetBackgroundBrush(IBrush) (#364)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user