Bug 13342 - Pasting text with newlines appends wrong text
Summary: Pasting text with newlines appends wrong text
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 4.0.9
Hardware: PC Windows
: --- normal
Target Milestone: master
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2013-07-19 12:26 UTC by asdfasdf
Modified: 2014-01-27 07:28 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Wrong pasting of code copied from other file viewers (11.55 KB, image/png)
2013-07-19 12:26 UTC, asdfasdf
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description asdfasdf 2013-07-19 12:26:40 UTC
Created attachment 4384 [details]
Wrong pasting of code copied from other file viewers

When I try to copy pieces of code from text files opened in other textfile viewers (Sublime Text, TotalCmd Lister viewer), Xamarin Studio text editor appends wrong characters on the end.

The source file has "\r\n" style newlines - might be related, because it only happens when copying newlines. Also the amount of wrong characters inserted seems to be same as the number of newlines copied.

See picture with screenshots in attachment.
Comment 1 Mike Krüger 2013-07-19 12:27:40 UTC
Should be fixed with the next release (4.1.x line)
Comment 2 Sadik Ali 2014-01-27 07:26:34 UTC
I have verified this issue on below environments with sublime and TotalCmd Lister viewer. I am not getting issue hence I mark with verified

Xamarin Studio
Version 4.2.3 (build 154)

Build Information
Release ID: 402030154
4dca4a28d7ecc2c4df8a4d58e74b8902d0283b53
Xamarin addins: cc120a6f639fa6649aa4d23a0f0e7c5701134047
    
Xamarin.Android
Version: 4.13.0
Comment 3 Sadik Ali 2014-01-27 07:28:50 UTC
Refer screen cast: http://screencast.com/t/BIXUL283n8g