r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!RebGUI] A lightweight alternative to VID

Graham
20-Jun-2007
[6709]
http://trac.geekisp.com/rebgui/browser/widgets
amacleod
20-Jun-2007
[6710x2]
I tried the .001 trick..That might surfice. Thanks Graham!
I found grid.r on trac.geekisp. How do I download the script from 
here? I've tried to cut and paste but hte line numbers come along 
with it. And how do I use it with rebgui?
Pekr
20-Jun-2007
[6712]
download - we all use TortoiseSVN, which you can install as an Explorer 
extension to Windows. Then via right mouse button context menu you 
choose -update, and point it to svn archive - you can find link somewhere 
on rebgui site.
amacleod
20-Jun-2007
[6713]
thanks
Pekr
20-Jun-2007
[6714x3]
and as I said - grid.r will not work imo. There were some changes 
in rebgui and someone would have to adapt it.
I can eventually send you a source, if you want.
It is a pity, as it it light-years more powerfull than table, which 
is just - plain vid list, with column resizing, nothing really more.
amacleod
20-Jun-2007
[6717]
what is the last version of rebgui that it works on?
Pekr
20-Jun-2007
[6718x4]
I will check if I have such one, and send you email eventually. I 
switched jobs inbetween, so dunno if I have it here.
but I sent it to Graham, maybe he might to send it to you ...
OK, I've got it .... checking your email ...
sent to your email I found here in your altme profile ...
amacleod
20-Jun-2007
[6722]
Pekr, I got your email, thanks. I'm unable to get the tests to run. 
getting an error.
Pekr
20-Jun-2007
[6723x2]
what version of View are you running? I run 1.3.2.
also note - you have to have rebgui.r in your app directory, as it 
is used by grid.r
amacleod
20-Jun-2007
[6725]
the rebgui file does no seem to be formatted properly. Its all one 
long line.
Pekr
20-Jun-2007
[6726]
it is ok, that is how ti was distributed in the past - packed
amacleod
20-Jun-2007
[6727x2]
I'm using view 1.3.2.3.1
I'm running he test app with grid.r and rebgui in same directory. 
Do  I need to "Do" grid.r?
Pekr
20-Jun-2007
[6729x6]
yes ...
ah, no ...
I just looked, it only does rebgui.r, because grid.r is part of the 
package ...
I will try to send it to you in .zip archvie ...
maybe mailer did something to it
sent ...
amacleod
20-Jun-2007
[6735]
Bingo! it works. Thanks for all your trouble!
Pekr
20-Jun-2007
[6736]
ah, super! Now how to get it working with latest version of RebGUI 
:-) Also note, that docs are very brief, so most of the functionality/features 
are hidden in source code ...
Graham
30-Jun-2007
[6737x2]
Looks like trac.geekisp.com/rebgui is down ...
as is www.geekisp.com
Graham
1-Jul-2007
[6739]
Regarding my boundary issues with rebgui and the area widget, this 
is what happens


If I am typing at the bottom of the screen and the scroller bar is 
shorter than the scroller height, and the bar is placed up against 
the top, then entering a return places the caret at the head of the 
current line instead of at a new line.

If I move the scroll bar to the bottom of the scroller widget, <return> 
then it does move to a new line.

There are no problems if the scroll bar occupies the whole of the 
scroller widget.
Graham
3-Jul-2007
[6740]
make object! [
    code: 902
    type: 'internal
    id: 'stack-overflow
    arg1: none
    arg2: none
    arg3: none
    near: [unless find [object! block!] type?/word get]
    where: 'into-widget
]
Ashley
5-Jul-2007
[6741]
re: boundary issue. Is this the same "issue" as:

	display " [
		area "a^/b^/c^/d^/e^/f^/g^/h^/i^/j^/k"
	]


Then click on the first line to position the caret next to the "a". 
Now drag the scroller down and observe how the caret position changes 
to remain visible. Is this behaviour correct? (BTW, an answer of 
"No" raises a whole bunch of other issues).
Graham
6-Jul-2007
[6742]
well, it's not the behaviour I'm observing.
Graham
15-Jul-2007
[6743]
Any resolution ?
Ashley
16-Jul-2007
[6744]
I can only reproduce the behaviour you describe (boundary scrolling) 
with the test case posted above ... and in that case it's a "feature" 
not a bug. But the situation you describe is different in one important 
respect ... it doesn't insert a newline. Do you have a simple test 
case which demonstrates this? (It might be a combination of a certain 
area size, font-size and number of lines).
Graham
16-Jul-2007
[6745x2]
rebol []

do %rebgui.r

display "" [
	a: area 100x150

]

do-events
Now paste the sentence you wrote above 7 x into the area box ...the 
caret stays between the n and a in combination.  The scroll is not 
at the bottom.  Move the caret down one by using the arrow keys, 
and hit enter.  The caret moves to the beginning of the line instead 
of creating a new line.
Ashley
16-Jul-2007
[6747]
After I arrow down and hit enter I get a newline as follows:

demonstrates ...
|area ...
area ...


RebGUI build#95 with default ctx-rebgui/behaviors (I deleted %ui.dat 
first to be sure).
Graham
16-Jul-2007
[6748x8]
oh well ...
Just tried it again with the rebgui.r on the rebol desktop
same bug
says build #93 though
tried again with build #95 - and problem still is present.
this is a fresh checkout
I took a screen video of what I am seeing http://compkarori.no-ip.biz:8010/index.php?title=Unrelated_Software_Resources&token=1184580090#attachForm
http://compkarori.no-ip.biz:8010/Unrelated_Software_Resources
Graham
17-Jul-2007
[6756]
If you couldn't see it, the server got reassigned another IP address 
and so port forwarding failed :(
Ashley
17-Jul-2007
[6757]
I downloaded it (476Kb) but under both Quicktime and VLC it appears 
as a large gray rectangular area for about 11 seconds!?
Graham
17-Jul-2007
[6758]
Hmm.  Works find under Vista for me.  I'll see if I can convert it 
to another format then.