fix: can not select the entire content of commit message

This commit is contained in:
leo 2024-08-13 12:08:33 +08:00
parent d1b236b090
commit 202aa379f8
No known key found for this signature in database
4 changed files with 141 additions and 30 deletions

View file

@ -1,6 +1,6 @@
using System.Collections.Generic;
using System.Text.RegularExpressions;
using Avalonia.Controls.Documents;
using CommunityToolkit.Mvvm.ComponentModel;
namespace SourceGit.Models
@ -10,6 +10,7 @@ namespace SourceGit.Models
public int Start { get; set; } = 0;
public int Length { get; set; } = 0;
public string URL { get; set; } = "";
public Run Link { get; set; } = null;
public bool Intersect(int start, int length)
{