[REBOL] Antwort: Re: LIST-VIEW typo
From: peter::bjoerk::sda::ch at: 13-Jul-2007 15:17
sure, here it is (v0.0.50):
(before)
multi-row [
switch/default event/key [
up [
either event/shift [
face/cursor-move [up jump (list-size)]
][
face/cursor-move [up]
--> face/face/prev-cnt/act
]
]
down [
either event/shift [
face/cursor-move [down jump (list-size)]
][
face/cursor-move [down]
face/next-cnt/act
]
]
][do bind get in self 'key-action 'event]
]
(after)
multi-row [
switch/default event/key [
up [
either event/shift [
face/cursor-move [up jump (list-size)]
][
face/cursor-move [up]
--> face/prev-cnt/act
]
]
down [
either event/shift [
face/cursor-move [down jump (list-size)]
][
face/cursor-move [down]
face/next-cnt/act
]
]
][do bind get in self 'key-action 'event]
]
Regards,
Peter
Henrik Mikael Kristensen <henrik-webz.dk>
Gesendet von: rebol-bounce-rebol.com
07/13/07 02:48 PM
Bitte antworten an
rebolist-rebol.com
An
rebolist-rebol.com
Kopie
Thema
[REBOL] Re: LIST-VIEW typo
On 12/07/2007, at 17:06, Peter Bj=F6rk wrote:
> Hi all,
>
> I've been playing with list-view, and I enjoy it a lot.
>
> I saw that it crashes when you try to navigate upwards in multi-select
> mode via the keyboard, and found what looks like a typo on line 2140.
> After removing the extra 'face' path it works, at least for me.
Could you paste the code that you changed, please? I don't recognize
any problem in line 2140, as I released a new version 0.0.50 of LIST-
VIEW less than 10 hours ago, so the code may have changed or moved
around.
However, I've fixed another bug with regards to multi-select for
0.0.51 which will be available later today.
--
Regards,
Henrik Mikael Kristensen