[C#] Allowing user formatting in text entry via /r/learnprogramming


[C#] Allowing user formatting in text entry

Greetings.

I'm attempting to make a tool that will take text entered as users are used to doing it (using ctrl + b for bold, ctrl + u for underlined, etc) and converting it to the format used by JIRA (enclosing with * for bold or _ for italic).

I'm currently using RichTextBoxs for the text entry but they don't allow anything other than plain text. I've checked on google and just about everything I can find seems to be based on formatting text in code rather than allowing users to format text as they're used to when using a text editor.

If anyone knows of a good tutorial that explains why you do what you do, please let me know. I'd prefer to understand how it works so I can replicate it later, but even having step by step directions to just get it working would be an improvement.

Thanks!

Submitted July 14, 2017 at 08:43PM by Ilix
via reddit http://ift.tt/2v27aZi

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s