richtextbox

Copy-pasting image into JavaScript rich-text editor

Hi, I'm looking for a rich-text editor control that has some way of allowing users to copy-paste images into it, a la Google Mail. I guess I'm hoping there's some way to communicate the binary contents of an image on the clipboard to the browser (and perhaps store these contents in a hidden element somewhere that I can access). If you c...

C# How can I make a hyperlink work in a RichTextBox?

When I add www.stackoverflow.com into my richtextbox and run the program it is shown in blue and as a hyperlink yet when I click it nothing happens. How can I fix this? Thanks ...

Selectively coloring text in RichTextBox

hi how can i paint in red every time I meet the letter "A" in RichTextBox ? thank's for any help ...

Import XAML into WPF RichTextBox

I have a WPF RichTextBox that is dynamically built in a WPF web service. This web service accepts a xaml string that is extracted from the contents of a third-party silverlight RichTextBox control. <Paragraph TextAlignment=\"Left\"><Run FontFamily=\"Comic Sans MS\" FontSize=\"16\" Foreground=\"#FF0000FF\" FontWeight=\"Bold\" >This text...

How do I set tab size in the WPF RichTextBox

The WPF RichTextBox can be set to accept tabs in its input. It renders the result as a 4 character indent. I'd like to change that size. How can I change the default? ...

FreeTextBox tabs are not preserved at postback.

We are using the FreeTextBox 3.1.6 on an intranet. The control appears on an ASP.Net project built in Visual Studio 2008. When clients enter tabs in the text box, those tabs do not get preserved at postback. Rather, the tabs are lost. Other text formatting, like bold, italics, or font size are preserved. Even when the postback event...

Two encodings used in RTF string won't display correct in RichTextBox?

I am trying to parse some RTF, that i get back from the server. For most text i get back this works fine (and using a RichTextBox control will do the job), however some of the RTF seems to contain an additional "encoding" and some of the characters get corrupted. The original string is as follows (and contains some of the characters u...

Broken tables in RichTextBox control (word wrap)

We are having problems with the Windows.Forms.RichTextBox control in Visual Studio 2008. We are trying to display text supplied as an RTF file by a 3rd party in a windows forms application (.NET 3.5). In this RTF text file there are tables, which contain text that spans multiple lines. The RTF file displays correctly when opened with e...

Best free richtextbox for ASP.NET 2.0?

What is the best rich text box to use with ASP.NET 2.0? I need to allow users (non technical) format their own email with simply styling, but it needs to be shown as they type, rather than a markup language with a preview. ...

Setting Culture / Language in RichTextBox WPF

Hi there is possible to set a default language or set a new one in RichTextBox, i want to set it in "es-PE" for spellchecker propouses Thanks! ...

Easiest way to format rtf/unicode/utf-8 in a RichTextBox?

I'm currently beating my head against a wall trying to figure this out. But long story short, I'd like to convert a string between 2 UTF-8 '\u0002' to bold formating. This is for an IRC client that I'm working on so I've been running into these quite a bit. I've treid regex and found that matching on the rtf as ((\'02) works to catch it,...

Is there a good "RichString" class out there?

I'm looking for a class/API that allows you to create and manipulate RichText strings (rtf format) for use with the RichTextbox -like controls. I'm thinking of something like StringBuilder, but that also allows you to specify formatting as you append to it and also go back and edit previously appended segments, as well as doing string...

Insert Image in WPF RichTextBox

Hi there im using the following code for insert text and images, but I want to insert the image "behind text" as Image>Adjust with Text property in MSWord { int numeroInforme = Convert.ToInt32(txtNroInforme.Text); List<informeMedico> lstInformes = getInformeMedico(numeroInforme); FlowDocument mcFlow...

Managing Spell-check Dictionary WPF

Hi there, is possible to manage words inside RichTextBox/TextBox with spellcheck enable, I found this necesary cause some medical technicians are highlighted (not found in .net dictionary resource) please advice if this feature is enable yet, thanks! • C# - Fx3.5 ...

How can I insert an image into a RichTextBox?

Most of the examples I see say to put it on the clipboard and use paste, but that doesn't seem to be very good because it overwrites the clipboard. I did see one method that manually put the image into the RTF using a pinvoke to convert the image to a wmf. Is this the best way? Is there any more straightforward thing I can do? ...

How can I capture rich text as input to a web form?

I need to have the user be able to cut-and-paste rich text into a big text box on my web page. How do I do that? ...

embed user customizable richtext or html in winforms

I am writing a c# winforms application which needs to enable its users to add content to its interface. I have looked at the RichTextBox and the WebBrowser controls, but I'm not sure which route to take. The content would contain text with newlines and several tags that will include images which are in the project resources. This is my ...

WPF RichTextBox to create editor with line numbers

I'm creating a text editor for a domain specific language. I'm using the WPF RichTextBox as the basic control. I don't know how to gracefully include line numbering. Does anyone know of any examples? ...

RichTextBox color selected lines

Hello, I am new to windows Forms. I am using VS 2008, C# to write a RichTextBox. I want to be able to color each line with a different color as I write to the RichTextBox. Can someone point me to samples. Thanks foreach (string file in myfiles) { // As I process my files // richTextBox1.Text += "My processing results"; if(file ==...

About WPF RichTextBox with Spellchecker enabled

Hi there, Im using SpellCheck.IsEnabled="True" ...property in a wpf application, it works in machines with S.O Windows XP and with Office 2007, but whats the matter with Pc with Office 2003? it seems the spellchecker is disabled, this issue can be fixed with code? thanks in advance! ...