File tree Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 1- using System ;
21using System . Collections . Generic ;
32using System . Text ;
43using System . Text . RegularExpressions ;
Original file line number Diff line number Diff line change @@ -54,13 +54,13 @@ public void MoveSelectedUp()
5454 {
5555 if ( _selected == null )
5656 return ;
57-
57+
5858 var idx = Workspaces . IndexOf ( _selected ) ;
5959 if ( idx == 0 )
6060 return ;
61-
61+
6262 Workspaces . Move ( idx - 1 , idx ) ;
63-
63+
6464 Preferences . Instance . Workspaces . RemoveAt ( idx ) ;
6565 Preferences . Instance . Workspaces . Insert ( idx - 1 , _selected ) ;
6666 }
@@ -69,13 +69,13 @@ public void MoveSelectedDown()
6969 {
7070 if ( _selected == null )
7171 return ;
72-
72+
7373 var idx = Workspaces . IndexOf ( _selected ) ;
7474 if ( idx == Workspaces . Count - 1 )
7575 return ;
76-
76+
7777 Workspaces . Move ( idx + 1 , idx ) ;
78-
78+
7979 Preferences . Instance . Workspaces . RemoveAt ( idx ) ;
8080 Preferences . Instance . Workspaces . Insert ( idx + 1 , _selected ) ;
8181 }
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs chang
177177 var rules = IssueTrackerRules ?? [ ] ;
178178 foreach ( var rule in rules )
179179 rule . Matches ( _elements , subject ) ;
180-
180+
181181 _elements . Sort ( ( l , r ) => l . Start - r . Start ) ;
182182 _needRebuildInlines = true ;
183183 InvalidateVisual ( ) ;
@@ -319,7 +319,6 @@ private void GenerateFormattedTextElements()
319319 foreground ) ;
320320
321321 _inlines . Add ( new Inline ( x , normal , null ) ) ;
322- x += normal . WidthIncludingTrailingWhitespace ;
323322 }
324323 }
325324
You can’t perform that action at this time.
0 commit comments