Click here to Skip to main content
15,920,633 members
Home / Discussions / C#
   

C#

 
AnswerRe: Gridview with 2 lines Pin
Arun.Immanuel22-Jul-07 1:28
Arun.Immanuel22-Jul-07 1:28 
GeneralRe: Gridview with 2 lines Pin
dabuskol22-Jul-07 1:33
dabuskol22-Jul-07 1:33 
GeneralRe: Gridview with 2 lines Pin
Arun.Immanuel22-Jul-07 2:21
Arun.Immanuel22-Jul-07 2:21 
Questionassembly: AssemblyKeyFile not supported in VS2005? Pin
George_George22-Jul-07 0:50
George_George22-Jul-07 0:50 
QuestionRedraw in a pictureBox Pin
eskape1922-Jul-07 0:42
eskape1922-Jul-07 0:42 
AnswerRe: Redraw in a pictureBox Pin
Luc Pattyn22-Jul-07 1:33
sitebuilderLuc Pattyn22-Jul-07 1:33 
QuestionDynamic textcolor change in RichTextBox in visual C# Pin
Blekk21-Jul-07 23:57
Blekk21-Jul-07 23:57 
AnswerRe: Dynamic textcolor change in RichTextBox in visual C# Pin
Luc Pattyn22-Jul-07 0:47
sitebuilderLuc Pattyn22-Jul-07 0:47 
Hi,

three comments:

- there are discussion threads about such things all the time, often they have the following
keywords: RichTextBox Syntax Coloring; and there are some article on it too on CP

= the more data and intelligence you add to RTB, it gets slower and slower

- IMO if you want to come up with a line-oriented editor with some fancy features and capable of
dealing with 1000+ lines of text, yiu should not use RTB, but just use a Panel, do all
the text handling and the painting yourself. That solution scales well, i.e. you can make it
deal with 1,000,000+ lines and still behave well. Example: I do most of the syntax coloring
analysis in the paint handler, and only for the lines that are visible (that's no more
than 100 on today's monitors).

If you expect to handle no more than say 300 lines of text, you're on a good track;
ptherwise you may have to rethink it.

Smile | :)


GeneralRe: Dynamic textcolor change in RichTextBox in visual C# Pin
Blekk22-Jul-07 11:52
Blekk22-Jul-07 11:52 
GeneralRe: Dynamic textcolor change in RichTextBox in visual C# Pin
Luc Pattyn22-Jul-07 12:38
sitebuilderLuc Pattyn22-Jul-07 12:38 
GeneralRe: Dynamic textcolor change in RichTextBox in visual C# Pin
Blekk23-Jul-07 3:34
Blekk23-Jul-07 3:34 
GeneralRe: Dynamic textcolor change in RichTextBox in visual C# Pin
Luc Pattyn23-Jul-07 3:57
sitebuilderLuc Pattyn23-Jul-07 3:57 
QuestionCannot Load ResXFileCodeGenerator and SettingsSingleFileGenerator Pin
zoroyster21-Jul-07 23:49
zoroyster21-Jul-07 23:49 
QuestionMove the form without caption [modified] Pin
Maddie from Dartford21-Jul-07 23:15
Maddie from Dartford21-Jul-07 23:15 
AnswerRe: Move the form without caption Pin
mav.northwind22-Jul-07 5:09
mav.northwind22-Jul-07 5:09 
GeneralRe: Move the form without caption Pin
Maddie from Dartford22-Jul-07 17:54
Maddie from Dartford22-Jul-07 17:54 
GeneralRe: Move the form without caption Pin
mav.northwind22-Jul-07 19:11
mav.northwind22-Jul-07 19:11 
QuestionHow to use Dictionary? Pin
Nothend21-Jul-07 23:04
Nothend21-Jul-07 23:04 
AnswerRe: How to use Dictionary? Pin
mav.northwind21-Jul-07 23:13
mav.northwind21-Jul-07 23:13 
GeneralRe: How to use Dictionary? Pin
Nothend21-Jul-07 23:21
Nothend21-Jul-07 23:21 
GeneralRe: How to use Dictionary? Pin
Larantz22-Jul-07 0:11
Larantz22-Jul-07 0:11 
GeneralRe: How to use Dictionary? Pin
Nothend22-Jul-07 0:21
Nothend22-Jul-07 0:21 
GeneralRe: How to use Dictionary? Pin
Nothend22-Jul-07 0:24
Nothend22-Jul-07 0:24 
QuestionPersistentn publish-subscribe in wcf Pin
xshift21-Jul-07 22:10
xshift21-Jul-07 22:10 
QuestionGlobal Assembly Cache Pin
George_George21-Jul-07 20:12
George_George21-Jul-07 20:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.