How to set the end-of-line in EditControl convention to \r\n (CRLF) format ?
I want to use EditControl to display C++ code but in C++ convention for end-of-line is '\r\n' (CR+LF) so I don't know any way to convert to match convention for end-of-line
this is C++ code in Code::BLock(right) and EditControl(left)
How to set convention end-of-line like Code::Block in EditControl?
Thanks for reading!
SIGN IN To post a reply.
7 Replies
1 reply marked as answer
EM
Elakkiya Muthukumarasamy
Syncfusion Team
July 7, 2021 01:03 PM UTC
Hi Hoang,
Greetings from Syncfusion.
We are validating your reported query “How to set the end-of-line in EditControl convention to \r\n (CRLF) format” and we will update you the further details on 8th July 2021.We appreciate your patience until then.
Regards,
Elakkiya
VR
Vijayalakshmi Roopkumar
Syncfusion Team
July 8, 2021 12:33 PM UTC
Hi Hoang
Thank you for your patience.
We have checked the reported behavior with EditControl "How to set the end-of-line in EditControl convention to \r\n (CRLF) format" . Currently in our EditControl, there is no direct support for your requirement. However we have already consider this a feature and added in our feature request list. This feature expected to be implemented in our upcoming vol 3, release 2021, expected to be rolled out by end of sep month 2021.We will intimate you once it get rolled out.
Feedback link : https://www.syncfusion.com/feedback/15342/provide-support-for-customizing-the-eol-and-other-requested-support-in-editcontrol
Please let us know if you need any other assistance on this.
Regards,
Vijayalakshmi VR
Marked as answer
After reading the documentation on Edit Control I found the entry "Space indicator character". Can I use it to set line breaks for Edit Controls? Because I find CodeBlock line breaks similar to this
VR
Vijayalakshmi Roopkumar
Syncfusion Team
July 12, 2021 12:55 PM UTC
Hi Hoang
Thank you for your update.
We have checked the reported behavior with EditControl and yes you can use the NewLineSpacing property to achieve the codeblock line breaks in EditControl as of now. However we will consider this in our feature implementation and update you the details once it got implemented.
Please let us know if you need any other assistance on this.
Regards,
Vijayalakshmi VR
Thank you for your update.
We have checked the reported behavior with EditControl and yes you can use the NewLineSpacing property to achieve the codeblock line breaks in EditControl as of now. However we will consider this in our feature implementation and update you the details once it got implemented.
Please let us know if you need any other assistance on this.
Regards,
Vijayalakshmi VR
HD
Hoang Duy Long
September 30, 2021 06:56 PM UTC
Hi!,version vol 3-2021 has been released, has this feature been updated in that version?
TB
Thirupathi Bala Krishnan
Syncfusion Team
October 1, 2021 08:59 AM UTC
Hi Hoang,
Sorry for the inconvenience caused.
We have only partially completed the reported implementation "How to set the end-of-line in EditControl convention to r (CRLF) format". During the implementation, we encountered certain breaking issues, and code changes had an impact on the existing behaviour. As a result, we attempted to integrate the functionality without affecting the existing architecture. We are now looking for an alternative solution, thus we will be unable to include the code changes in Volume 3 release as promised. We will include the implementation in our future Volume 4, 2021 release, which is scheduled to be released at the end of December. We will notify you once it is released.
We appreciate your patience until then.
Regards,
Thirupathi B.
EM
Elakkiya Muthukumarasamy
Syncfusion Team
December 20, 2021 02:31 PM UTC
Hi Hoang,
We are glad to announce that our Essential Studio 2021 Volume 4 Main Release V19.4.0.38 is rolled out and is available for download under the following link. In WF- EditControl, we have included the fix for your reported implementation “Need to provide support for customizing the EOL and other requested support in EditControl similar to Scintilla”.
Please refer the sample and video for the same
Sample link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Product_Showcase51355089
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
Regards,
Elakkiya
SIGN IN To post a reply.
- 7 Replies
- 4 Participants
- Marked answer
-
HD Hoang Duy Long
- Jul 6, 2021 02:33 PM UTC
- Dec 20, 2021 02:31 PM UTC