This is a migrated thread and some comments may be shown as answers.

character display

3 Answers 64 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 13 Feb 2015, 10:40 PM
I need to create a custom text editor, which will be editing device specific files.  The files are text files and supposed to contain a subset of the low ASCII characters.   Some of the characters should display as strings rather than as their normal display value in the loaded windows character set.  I need to display tab characters in their expanded representation as spaces.  The files use Form Feeds (x0C) to mark pages.  These need to be represented on their own line as a string of dashes.     Can this type of character rendering control be accomplished with the RichTextBox control and it's txtformatproviders?   If so what would be involved (or is there an example in the SDK's I should look at? 

3 Answers, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 17 Feb 2015, 03:53 PM
Hello David,

At this point the Form Feed character is not supported in RadRichTextBox. We have this feature already logged in our backlog and you can vote and subscribe to the public item in Telerik's feedback portal in order to track its progress.

In order to customize the presentation of the other symbols, you could implement a custom UI Layer. For more details on how to implement a custom layer you can refer to our SDK examples: Custom Layer and Custom Annotation and Search and Highlight.

Let me know if I can assist you with anything else.

Regards,
Tanya
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
David
Top achievements
Rank 1
answered on 17 Feb 2015, 06:27 PM
Thanks Tanya.  Do you know if the winform RichTextEditor control has the same treatment for form feeds?
0
Tanya
Telerik team
answered on 18 Feb 2015, 05:41 PM
Hello David,

These two controls share a big part of their code and the RadRichTextEditor from the WinForms suite also does not support form feeds.

Please, do not hesitate to contact us if you have any other questions.

Regards,
Tanya
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
RichTextBox
Asked by
David
Top achievements
Rank 1
Answers by
Tanya
Telerik team
David
Top achievements
Rank 1
Share this question
or