enhance: append character U+26D4 to line when \ No newline at end of file is found in git diff output (#1197)

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-04-16 11:41:40 +08:00
parent e9036b5fb9
commit db46de0261
No known key found for this signature in database
3 changed files with 28 additions and 10 deletions

View file

@ -30,6 +30,7 @@ namespace SourceGit.Models
public int OldLineNumber { get; set; } = 0;
public int NewLineNumber { get; set; } = 0;
public List<TextInlineRange> Highlights { get; set; } = new List<TextInlineRange>();
public bool NoNewLineEndOfFile { get; set; } = false;
public string OldLine => OldLineNumber == 0 ? string.Empty : OldLineNumber.ToString();
public string NewLine => NewLineNumber == 0 ? string.Empty : NewLineNumber.ToString();