~ubuntu-branches/ubuntu/saucy/monodevelop/saucy-proposed

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.Refactoring/MonoDevelop.Refactoring/RefactoringService.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2010-09-10 16:54:48 UTC
  • mfrom: (19.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20100910165448-0rybfk25zd4o9431
Tags: 2.4+dfsg-2
* debian/patches/inject_Mono.Debugger.Soft_source.patch,
  debian/patches/use_system_Mono.Debugger.Soft.patch,
  debian/control:
  + Build against system Soft Debugger, since we now have a new
    enough Mono to match MonoDevelop's required API

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
                                                                change.Offset += replaceChange.InsertedText.Length;
135
135
                                                } else if (replaceChange.Offset < change.Offset + change.RemovedChars) {
136
136
                                                        change.RemovedChars -= replaceChange.RemovedChars;
137
 
                                                        if (!string.IsNullOrEmpty (replaceChange.InsertedText))
138
 
                                                                change.RemovedChars += replaceChange.InsertedText.Length;
 
137
                                                        change.Offset = replaceChange.Offset + replaceChange.InsertedText.Length;
139
138
                                                }
140
139
                                        }
141
140
                                }