~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to src/core/Mono.Texteditor/Mono.TextEditor/Document/LineSplitter.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
using System.Collections.Generic;
30
30
using System.Linq;
31
31
using Mono.TextEditor.Utils;
 
32
using System.Diagnostics;
32
33
 
33
34
namespace Mono.TextEditor
34
35
{
95
96
                        if (args.RemovalLength > 0)
96
97
                                TextRemove (args.Offset, args.RemovalLength);
97
98
                        if (args.InsertionLength > 0)
98
 
                                TextInsert (args.Offset, args.InsertedText);
 
99
                                TextInsert (args.Offset, args.InsertedText.Text);
99
100
                }
100
101
 
101
102
                public void TextRemove (int offset, int length)