|
I'm working on an application with a co-worker at the moment - she is writing a web form that allows users to enter and manage text that will be saved to the database and then displayed within a desktop application.
I'm using a Rich Text Box to display...
Started by Josh Smeaton on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Open up that document....
HTH
I played around with this a few years back - basically I had text in a database somewhere.
As BFree mentioned, the best you are going to do in the web environment is a Rich Text HTML editor to this message.
|
|
Consider my windows application built using C# VS 2005 displays certain contents in a Rich Text Box. Now when i add some new text, it should appear in a different colour. i.e i need to differentiate the text which gets displayed programmatically and the...
Started by pragadheesh on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Private void richTextBox1_KeyPress(object sender, KeyPressEventArgs e) { this.richTextBox1.SelectionColor = Color.Red; }
Text inserted by keyboard is red..
Reset selection color.
New text.
|
|
I can find a million examples of doing reg ex to apply syntax highlighting to a rich text box. but what i need it just a simple way to add in a word of a diffrent color.
What would the code be to just put the words "Hello World" into a textbox and have...
Started by The Digital Ninja on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
For example:
richTextBox1.Text
Ive worked with it in VB6 and i think its the same: You must select the text and then apply
this.richTextBox1.SelectionColor = Color.Red
The added....
Select the text after you put it in and then change the color.
|
Ask your Facebook Friends
|
When I copy, for example, the word "Çamlık" from a web page into a rich text box (forms application) at runtime, it is displayed as "?aml?k". Is there a setting in the richtextbox control or form or application to fix this? If not, what is the "socially...
Started by xpda on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Question marks immediately after pasting? Do you have any other processing in your text box? What does are copying text from have things in unicode?
It is possible that the site might have text in ASCII & use.
|
|
Please Do any one know a free rich text box in C# like the one used in Microsoft Encarta, such that when i write x^2 it makes the 2 up the x with smaller font (like sup in HTML). Thanks very much
Started by Hani on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
EDIT : If I understand correctly, you don't need just .
Control, can edit html)
The possibility to make text superscript or subscript is built might try replacing text as the user types...
|
|
Our team decided that we need our own custom Rich text box control for Silverlight app we are developing. We looked at existing controls mentioned at http://stackoverflow.com/questions/1372038/a-good-rich-text-control-for-silverlight but decided to build...
Started by SLD on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
It may be quicker to wait and use Silverlight 4 and its Rich Text Control, it supports most of the common Rich Text functions - and supports control hosting so would allow someA really long time....
Into internationalization.
|
|
I'm trying to get a rich text editor in a jquery dialog box. I'm currenty trying tiny mce. When I don't initialize tiny mce the text area displays the text with the HTML characters.
When I do initialize tiny mce nothing is displayed in the text area. ...
Started by silent1mezzo on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You should....
});
see if this helps you...
Other options ...
Open: function(event, ui) { tinyMCE.init({ mode:"textareas", theme:"advanced", }); } //... .
Other options ...
Like this:
$('.selector').dialog({ //...
Try to initialize mce on open event of dialog.
|
|
I am hoping to build an IDE in javascript that behaves much like gmail except the style will change automatically based on what they type as they type. The logic for this isnt where im struggling. Its how gmail achieves the ability to edit in a rich edit...
Started by Dested on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
The cursor is currently located in the text area, OR around the selected area in the textarea.
|
|
I'm coding a simple code editor for a very simple scripting language we use at work. My syntax highlighting code works fine if I do it on the entire RichTextBox ( rtbMain ) but when I try to get it to work on just that line, so I can run the function ...
Started by The Digital Ninja on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
So each time.
Nay Nay, it will also trigger if formatting is changed .
If the text actually changed.
|
|
I have a Multiline richtextbox control into which i want to integrate the feature of adding a line number. i have considered many approaches
Add a label and updating the line numbers as the line count changes Add a picturebox along with to draw string...
Started by Anirudh Goel on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You could take a look at these articles to see how they implemented it:
LineNumbers for the RichTextBox
Numbering lines of RichTextBox in .NET 2.0
The example given above is great for VB.Net applications however if you need one for C# here is an example... .
|