Home > Back-end >  Richedit line of infinite input character problem
Richedit line of infinite input character problem

Time:09-30

Want a richedit input more than ten thousand characters in a row, now richedit enter 4096 characters will automatically wrap, consult how to modify the richedit can infinite input characters in a row

CodePudding user response:

CodePudding user response:

Can't, I've tested the richedit, more than ten thousand char characters and more than ten thousand Chinese characters, all not line breaks,
Can be your string, contains a newline characters # 10 or # 13, these two characters in the RichEdit, were a line break,

CodePudding user response:

refer to the second floor lyhoo163 response:
no, I had a test, richedit, more than ten thousand char characters and more than ten thousand Chinese characters, all not line breaks,
Can be your string, contains a newline characters # 10 or # 13, these two characters in the RichEdit, showed a newline,


Which version are you using Delphi, and richedit?

CodePudding user response:

Delphi7,
  • Related