Hey guys,<div><br></div><div>How are yall doing? Hope everybody is swell. Its been a while since i last posted a question, but i have few new questions popping up.</div><div><br></div><div>Recently, I was trying to make a text editor type thing (i.e. Wordpad) and as usual I was bombarded with that same confusion and questions most amateur programmers face.</div>
<div><br></div><div>So, I will go ahead and list the questions so that it will be easier to read:</div><div><br></div><div>1. In a text editor like Microsoft Word, in what form do they hold all the text that a person types (a single large string or just an appendable textbox that stores the data till the end)?</div>
<div>2. If Dr.Racket holds text in a textbox-like object where all the information is just appended on, how can it sense a word (like "define" or any variable or numbers) and change the color of the font <b>instantly </b>(wouldn't that take a lot of memory)?</div>
<div>3. How does Dr.Racket change the text color just for one word (i.e.[This is an ***example.***] (the word between the two *** is green).?</div><div><br></div><div>Hopefully these questions weren't to verbose.</div>
<div><br></div><div>Thank you all for your help.</div><div><br></div><div>Sincerely,</div><div><br></div><div>Mathew Kurian</div>