@@ -129,9 +129,9 @@ public async Task CreateDiffAsync(int position, int length, string replacement)
129129        // for the OpenDocumentViaProject and IsPeekOnAdornment 
130130        await  ThreadHelper . JoinableTaskFactory . SwitchToMainThreadAsync ( ) ; 
131131
132-         Assumes . True ( 
133-             position   >   0   &&   length   >   0   &&  ( position  +  length )  <=  _hostView . TextSnapshot . Length , 
134-             "InlineDiffAdornment.CreateDiff: Invalid position and length parameter" ) ; 
132+         Assumes . True ( position   >   0   &&   length   >   0   && 
133+                           ( position  +  length )  <=  _hostView . TextSnapshot . Length , 
134+                       "InlineDiffAdornment.CreateDiff: Invalid position and length parameter" ) ; 
135135        Assumes . True ( 
136136            MefProvider . Instance . TextDocumentFactoryService . TryGetTextDocument ( 
137137                _hostView . TextDataModel . DocumentBuffer ,  out  var  textDocument ) , 
@@ -518,18 +518,15 @@ private void Adornment_OnAccepted()
518518        } 
519519        catch  ( Exception ) 
520520        { 
521-         }    // COMException 
521+         }  // COMException 
522522
523523        DisposeDiff ( ) ; 
524524    } 
525525
526526    /// <summary> 
527527    /// The proposed diff has been rejected by the user. 
528528    /// </summary> 
529-     private  void  Adornment_OnRejected ( ) 
530-     { 
531-         DisposeDiff ( ) ; 
532-     } 
529+     private  void  Adornment_OnRejected ( )  {  DisposeDiff ( ) ;  } 
533530
534531    private  void  Adornment_OnSizeChanged ( object  sender ,  SizeChangedEventArgs  e ) 
535532    { 
@@ -677,7 +674,7 @@ private bool IsPeekOnAdornment()
677674        return  true ; 
678675    } 
679676
680- #pragma warning disable VSTHRD010    // Invoke single-threaded types on Main thread 
677+ #pragma warning disable VSTHRD010  // Invoke single-threaded types on Main thread 
681678
682679    // By default, the adornments doesn't received the keyboard inputs it deserved, sadly. 
683680    // We have to "hook" the host view commands filter list and check if our adornments 
@@ -757,7 +754,7 @@ public int Exec(ref Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pv
757754
758755        return  _commandTarget . Exec ( ref  pguidCmdGroup ,  nCmdID ,  nCmdexecopt ,  pvaIn ,  pvaOut ) ; 
759756    } 
760- #pragma warning restore VSTHRD010    // Invoke single-threaded types on Main thread 
757+ #pragma warning restore VSTHRD010  // Invoke single-threaded types on Main thread 
761758} 
762759
763760[ Export ( typeof ( ILineTransformSourceProvider ) ) ] 
0 commit comments