We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Carriage Return NewLine

Thread ID:





37542 Nov 24,2005 09:51 AM UTC Dec 2,2005 04:34 PM UTC WinForms 4
Tags: EditControl
Arjan Griffioen
Asked On November 24, 2005 09:51 AM UTC

Hi, Does the EditControl has a property to use CRNL characters for representing a newline instead of only NL. The reason for this question is: In our software we recently replaced a basic winforms TextBox by an EditControl and now some features of our software are not longer working, because of the fact that newlines are only represented with the NL character in the EditControl Regards, Arjan Griffioen (To-Increase)

Administrator [Syncfusion]
Replied On November 28, 2005 08:09 PM UTC

Hi Arjan, Thanks for your feedback in this regard. We have considered adding a NewLineStyle property to the EditControl and have logged a feature request# 581 on this : Feature Request #581 - Support for NewLineStyle property in the EditControl The NewLineStyle can accept values from the NewLineStyle enumerator which has values like Windows, Mac, Unix and Control which correspond to new line styles "\r\n", "\r", "\n\r" and "\n" respectively. Please let me know if this meets your requirements. Regards, Guru Patwal Syncfusion, Inc.

Arjan Griffioen
Replied On November 30, 2005 10:29 AM UTC

Hi Guru, The NewLineStyle property as you described it will be great. Do you have any idea in which version that will be included? Regards, Arjan Griffioen (To-Increase)

Administrator [Syncfusion]
Replied On November 30, 2005 02:01 PM UTC

Hi Arjan, Thanks for the update. We will try our very best to incorporate this feature in v4.1 final release due shortly. We appreciate your continued interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Administrator [Syncfusion]
Replied On December 2, 2005 04:34 PM UTC

Hi Arjan, Feature 581 has been fully implemented and will be incorporated in v4.1 release due shortly. There is a slight variation in its implementation. Instead of adding a new property NewLineStyle, we have added a property - DefaultNewLineStyle and 2 methods - GetNewLineStyle and SetNewLineStyle. DefaultNewLineStyle property can be used to set the default new-line style (used on file creation), GetNewLineStyle method can be used to get current newline style and SetNewLineStyle method can be used to change current new-line style. Please refer to the code snippet below for more information. this.editControl1.DefaultNewLineStyle = NewLineStyle.Control; NewLineStyle nlStyle = this.editControl1.GetNewLineStyle(); this.editControl1.SetNewLineStyle(NewLineStyle.Mac); We appreciate your continued interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon