我不想完全禁用超链接(通过Options.EnableHyperlinks
),因为我希望能够通过打开链接CTRL + Click
但我需要删除下划线。我怎样才能做到这一点?
到目前为止,我只找到了LinkTextForegroundBrush
和LinkTextBackgroundBrush
。TextArea.TextView
我不想完全禁用超链接(通过Options.EnableHyperlinks
),因为我希望能够通过打开链接CTRL + Click
但我需要删除下划线。我怎样才能做到这一点?
到目前为止,我只找到了LinkTextForegroundBrush
和LinkTextBackgroundBrush
。TextArea.TextView
我最终修改了 AvalonEdit 源代码以添加此类选项,并在 GitHub 上创建了一个 fork/pull 请求。看起来它已合并到主存储库中。https://github.com/icsharpcode/AvalonEdit/pull/10/commits