Click here to Skip to main content
15,899,025 members
Home / Discussions / C#
   

C#

 
GeneralRe: InvalidCastException.. Pin
A.Machan Kachan27-Jan-10 21:13
A.Machan Kachan27-Jan-10 21:13 
GeneralRe: InvalidCastException.. Pin
SeMartens27-Jan-10 21:17
SeMartens27-Jan-10 21:17 
GeneralRe: InvalidCastException.. Pin
A.Machan Kachan27-Jan-10 21:22
A.Machan Kachan27-Jan-10 21:22 
Question"History" style text box Pin
User 137680027-Jan-10 19:39
User 137680027-Jan-10 19:39 
AnswerRe: "History" style text box Pin
OriginalGriff27-Jan-10 21:51
mveOriginalGriff27-Jan-10 21:51 
GeneralRe: "History" style text box Pin
User 137680027-Jan-10 23:14
User 137680027-Jan-10 23:14 
GeneralRe: "History" style text box Pin
OriginalGriff28-Jan-10 0:26
mveOriginalGriff28-Jan-10 0:26 
GeneralRe: "History" style text box Pin
User 137680028-Jan-10 1:13
User 137680028-Jan-10 1:13 
Yep, no problem. Thanks for your help anyway.

Just to note: I am not actually wanting to implement paste - just select and copy (over multiple lines or only parts of lines, as with a TextBox)... sorry if the mention of paste added confusion.

As mentioned, looking at existing Terminal Emulators, I can't find anyone that's even considered this. They tend to use a standard RichTextBox and there's nothing in there to handle what happens when it flows over the character limit (I assume that if they've even thought about it, they just think it's unlikely to ever happen - with a limit of 2147483647 chars, it works out to a few months at 10 lines per second with 100 chars per line (maybe I'm just being fussy by worrying about it?) (actually, I still don't know what behaviour to expect when it overflows... if you set a MaxLength manually, it's ignored for programmatic input - it only stops manual input after that amount))

Regarding ANSI colour - I've already written all that myself. The current version of my app uses a RichTextBox (as with everything else I've seen), so it's not holding up my development work - I just want to avoid possible future problems.
GeneralRe: "History" style text box Pin
OriginalGriff28-Jan-10 1:31
mveOriginalGriff28-Jan-10 1:31 
GeneralRe: "History" style text box Pin
User 137680028-Jan-10 19:35
User 137680028-Jan-10 19:35 
QuestionCreate Service Pin
Sunil G27-Jan-10 19:19
Sunil G27-Jan-10 19:19 
AnswerRe: Create Service Pin
Richard MacCutchan27-Jan-10 22:16
mveRichard MacCutchan27-Jan-10 22:16 
GeneralRe: Create Service Pin
Sunil G27-Jan-10 22:23
Sunil G27-Jan-10 22:23 
GeneralRe: Create Service Pin
Richard MacCutchan27-Jan-10 23:02
mveRichard MacCutchan27-Jan-10 23:02 
AnswerRe: Create Service Pin
Nick Coombs28-Jan-10 6:58
Nick Coombs28-Jan-10 6:58 
QuestionERROR Pin
jojoba201027-Jan-10 19:09
jojoba201027-Jan-10 19:09 
AnswerRe: ERROR Pin
Dan Mos27-Jan-10 19:13
Dan Mos27-Jan-10 19:13 
QuestionRe: ERROR Pin
jojoba201027-Jan-10 19:41
jojoba201027-Jan-10 19:41 
AnswerRe: ERROR Pin
Rod Kemp27-Jan-10 20:07
Rod Kemp27-Jan-10 20:07 
QuestionRe: ERROR Pin
jojoba201027-Jan-10 22:20
jojoba201027-Jan-10 22:20 
AnswerRe: ERROR Pin
Rod Kemp27-Jan-10 22:41
Rod Kemp27-Jan-10 22:41 
AnswerRe: ERROR Pin
Dave Kreskowiak28-Jan-10 5:22
mveDave Kreskowiak28-Jan-10 5:22 
QuestionInteresting Times... Pin
Illegal Operation27-Jan-10 18:24
Illegal Operation27-Jan-10 18:24 
AnswerRe: Interesting Times... Pin
Dan Mos27-Jan-10 19:09
Dan Mos27-Jan-10 19:09 
AnswerRe: Interesting Times... Pin
Nick Coombs28-Jan-10 7:05
Nick Coombs28-Jan-10 7:05 

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.