LIST-VIEW typo
[1/5] from: peter::bjoerk::sda::ch at: 12-Jul-2007 17:06
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.
--cheers,
Peter
[2/5] from: henrik:webz:dk at: 13-Jul-2007 11:41
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
[3/5] 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
[4/5] from: henrik::webz::dk at: 13-Jul-2007 15:52
On 13/07/2007, at 15:17, Peter Bj=F6rk wrote:
<snip paste>
OK, this bug is fixed in 0.0.50. 0.0.51 will be available soon with
more fixes.
--
Regards,
Henrik Mikael Kristensen
[5/5] from: henrik:webz:dk at: 26-Jul-2007 18:55
On 13/07/2007, at 17:09, Peter Bj=F6rk wrote:
> However, I've fixed another bug with regards to multi-select for
> 0.0.51 which will be available later today.
Sorry about the delay, as I'm doing work on REBOL 3.
LIST-VIEW is going to miss some features here, as the cursor code is
not very complete. It'll take a few days more work to do that, and I
don't have time to work on that now. Meanwhile 0.0.51 is out with
some other fixes at:
http://hmkdesign.dk/rebol/
--
Regards,
Henrik Mikael Kristensen