mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 04:04:59 +00:00
Auto scroll when text changed or selection changed in a TextBox
This commit is contained in:
parent
4cb2568385
commit
bd96a9709f
5 changed files with 360 additions and 279 deletions
|
@ -729,10 +729,6 @@ namespace SourceGit.UI {
|
|||
e.Handled = true;
|
||||
}
|
||||
|
||||
private void CommitMessageChanged(object sender, TextChangedEventArgs e) {
|
||||
(sender as TextBox).ScrollToEnd();
|
||||
}
|
||||
|
||||
private void StartAmend(object sender, RoutedEventArgs e) {
|
||||
var commits = Repo.Commits("-n 1");
|
||||
if (commits.Count == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue