I have a requirement to create an application that will open up about 10 mb log files and highlight certain expressions.
I thought using WPF and richtextbox will work, but the richtextbox rending time is unacceptable.
Is there anything that has richtextbox like highlighting, but has better performance?
There any other way to accomplis...
Is there any light version of richtextbox control? I've got to create like 300+ of them in an app which takes time, memory and slows everything down... All that I need is to have a control that will enable me changing the background/foreground of a part of the text... I'd need that in winforms... anybody know anything about some kind of ...
When I am viewing a document in Wordpad (or Word) the text is word wrapped around the document boundaries. Altough when I using the RTF string in a RichTextBox the text is wrapped around the control border.
This means when I change the size of the window the wordwrapping changes.
Is there something I can do about this ?
(some kind of mo...
I use the WPF RichTexBox control in WPF project. The problem I get stuck in is it cannot display the unicode as the System.Windows.Forms.RichTextbox in Win Project.
E.g : When I copy a paragraph of Chinese language and paste it to the WPF Richtextbox. The font is break and it cannot display. But when I use System.Windows.Forms.RichTextb...
I am using the System.Windows.Forms.RichTextBox control in .NET 2.0 and am using c#.
I have an array of strings that I would like to append to the RichTextBox, but I do not want to create new paragraphs in the RTF. I want the lines to be divided by \line commands, not \par commands in the RTF. (I want to simulate someone typing shift+en...
I have a RichTextBox which contains links posted by the users.
The problem is that my RTB makes the color of the links black, and the background color is also black. This leads to the links being invisible.
How do I change the color of the links in the RTB?
...
Language = C#
.NET version = 3.5
When my code performs syntax highlighting the text appears, to the user, to be scrolling automatically. This becomes a severe problem when there is several hundred lines of text in the rich text box. So, how can I programmatically modify the text's color without causing the user to see anything other ...
Hello,
Does anyone know of a GWT widget that works like a spelling suggestor?
Ideally it would be similar to this: http://www.polishmywriting.com/
I need a click-triggered popup on user generated text so that I can suggest replacements (I am not building a spell-checker, but something similar). I also really like the way the polishmy...
Hi,
When loading a text file that contains FormFeed characters, the .NET RichTextBox control strips them out. Is there a way to keep this from happening?
Thanks.
--Lenard
...
Hello!
Im trying to hammer togehter a WYSIWYG-edit in c# following some examples from here and other place.
Im using a webbrowser for the design state of the editor, but i need to be able to switch to "html-view" so I used a rich textbox, and my tought was to just grab the content from the webbrowser and set it to the rtb, and the othe...
I may be completely imagining this, but I could have sworn there was a way to make individual Run (or Parapgraph) elements in a RichTextBox read-only. I also could have sworn I tried a method for doing this out myself a few weeks ago and was satisfied with the results - I vaguely remember it looked something like this:
<RichTextBox x:Na...
Where can I find a control for WinForms that will highlight source code pasted into it? I would like one that has syntax highlighting support for many different languages but if it only works with C# I would be fine with that also.
...
Is there any JS function that can change the color of certain text in a textarea?
For example, blar blar {blar} blar, {blar}, including { }, will be in blue. Other words will be in blank. In other words, all I need is a function that can change color of all text in { }.
I've done some studies and it seems that most people say it can't ...
I have a RichTextBox and I want to save the text to a file. Each line of the RichTextBox are ended with CR+LF ("\n\r") but when i save it to a file, the lines only contains the LF char at the end.
If I copy the content to the clipboard instead of a file all goes right (The content of the clipboar has CR+LF at the end of each line, I ca...
Hi,
Has anyone extended the .NET RichBextBox control to be able to select text by "block selection"? If so, care to share your code?
Thanks.
--Lenard
...
Hey Ive tried looking for how to solve this for a couple hours and I keep coming up blank.
Im using Selenium IDE to try and make a few simple Automated tests (basically the test will access the site, create content and submit it, to ensure that it still works)
But there is a part of the site that is a javascript text box and i need to...
There are two ways to read data from RichTextBox line by line
1 ) use a for loop to loop through lines of a richtextBox
String s=String.Empty;
for(int i=0;i<richtextbox.lines.length;i++)
{
s=richTextBox.Lines[i]
}
2 ) use a foreach loop to enumerate richTextBox.Lines collection
String s=String.Empty;
foreach(string str ...
Ok, I'm trying to add a "custom property" to a piece of text in a RichTextBox control. I thought it would be easy, but apparently not :-)
The basic functionality I want is to be able to set a property on a particular word and be able to detect, when a word is double clicked, if that property is there or not.
My intial approach was to c...
Hello,
I'm having a problem with storing amazing amounts of text in a rich TextBox.
I'm trying to read a text file fairly big( anywhere from 90mb to 450mb), and put what I've read in a rich textbox. It works in a simple program, but when I do in a complicated program I get an OutOfMemory exception.
One thing to note is that when I e...
I have a question related to managing OLE objects in a RichTextBox.
What I've found so far is lots of info, but not exactly what I need, so I will make a quick introduction first (I also hope someone might find this helpful).
1. What I know so far
First of all, I am using OLE to insert images (or any ActiveX) into the RichTextBox. Thi...