[racket] display problem

From: Nick Shelley (nickmshelley at gmail.com)
Date: Thu Apr 5 14:23:05 EDT 2012

You should look into the composing image functions available. The beside
function should make it so you don't need to calculate exactly where the
cursor should be displayed.

On Thu, Apr 5, 2012 at 11:39 AM, Roelof Wobben <r.wobben at home.nl> wrote:

> Op 5-4-2012 19:28, Danny Yoo schreef:
>
>  http://www.ccs.neu.edu/home/**matthias/HtDP2e/htdp2e-part1.**
>>>> html#(part._edit1)<http://www.ccs.neu.edu/home/matthias/HtDP2e/htdp2e-part1.html#(part._edit1)>
>>>>
>>>> We need more context because there's not enough information in the
>>>> question to tell what you're trying to do yet.
>>>>
>>>>
>>>> Good luck!
>>>>
>>> Yes, I mean that exercise.
>>>
>> Ah.  Ok.  Can you get the position where the cursor should start by
>> taking the image for the left side text, and take its width?
>>
>>
> Yes, I could.
>
> Where I see a problem is here :
>
> I start with this :
>
> aaaaa|
>
> now someone press 3 times the left key.
> So I have  aa/aaa
> How can I know where the cursor is now.
> Or can I do  width - 3 times 11 ?
>
> Roelof
>
>
>
>
> ____________________
>  Racket Users list:
>  http://lists.racket-lang.org/**users <http://lists.racket-lang.org/users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120405/a15ecf02/attachment.html>

Posted on the users mailing list.