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

World: r3wp

[!RebGUI] A lightweight alternative to VID

shadwolf
5-Oct-2005
[2099]
for example  my-tab/dealloc-tab 2 (this ill call for destruction 
of the tab insert and countainer and redraw of the remaining tabs 
... )
Graham
7-Oct-2005
[2100x2]
I'm having a lot of problems typing into an area field.  The cursor 
will jump to the bottom of the screen when I'm typing in the middle 
:(
It jumps down when u use the cursor to go down thru an empty line 
in the middle of some text.
Graham
10-Oct-2005
[2102x2]
Anyone know how I can replace the editor used by RebGUI with the 
one use by VID  (until it gets fixed by Ashley ) ?
I guess it's the feel for the area widget.
Volker
10-Oct-2005
[2104]
ctx-text/edit? soomething in that context.
Graham
10-Oct-2005
[2105]
Perhaps it's the feel for the para I need to alter?
Volker
10-Oct-2005
[2106x2]
to patch rebgui?
where is the current link for rebgui?
Graham
10-Oct-2005
[2108]
http://www.dobeash.com/files/RebGUI-037.zip
Volker
10-Oct-2005
[2109]
do i need something else for logo.png?
Graham
10-Oct-2005
[2110x2]
Oh, also need the base distro.
http://www.dobeash.com/files/RebGUI-030.zip
Volker
10-Oct-2005
[2112]
problem is, cursor down goes to end?
Graham
10-Oct-2005
[2113x3]
yeah ...
and also, if <enter> in middle of editing text, cursor goes to end
and if editing text, and text wraps, then enter a space, cursor jumps 
to end.
Volker
10-Oct-2005
[2116x6]
interesting bug (?) in offset-to-caret. if the cursor is between 
lines, there is no text.
http://polly.rebol.it/test/test/rebgui/rebgui-edit.rpatches cursor-down. 
look for ";?".
show looks weird:
redraw: func [face act pos][

        if all [act = 'show face/text-y <> second size-text face] [
            face/text-y: second size-text face 

            face/pane/ratio: face/parent-face/size/y / face/text-y 

            unless face/pane/ratio < 1 [face/para/scroll/y: 0 edit/focus face]
        ]
    ]
that does a focus and changes caret? i tested, the messing with /caret 
is in show.
added focus-check in area: http://polly.rebol.it/test/test/rebgui/rebgui-widgets.r
. return works
Graham
10-Oct-2005
[2122]
** Script Error: Invalid argument: redraw
** Where: context
** Near: feel: make edit/feel [
    redraw: func [face act pos] [

        if all [act = 'show face/text-y <> second size-text face] [
            face/text-y: second size-text face

            face/pane/ratio: face/parent-face/size/y / face/text-y

            unless face/pane/ratio < 1 [face/para/scroll/y: 0 edit/focus face]
        ]
    ]
]
esc:
Volker
10-Oct-2005
[2123]
did i upload something wrong?
Graham
10-Oct-2005
[2124]
I only changed rebgui-edit.r so far.
shadwolf
10-Oct-2005
[2125]
yes this is a upg version you need 0.31 tu make it work (images, 
dicionary,translation=) etc
Volker
10-Oct-2005
[2126]
My setup: http://polly.rebol.it/test/test/rebgui/download.r, but 
american.dat is big. then try the area in tour.
Graham
10-Oct-2005
[2127x4]
Excellent !
If I had any money for this project, I'd take you on Volker!
Which files do I need to change ?
I prefer your spell checker too .. :)  This one seems to want to 
correct every word :(
Volker
10-Oct-2005
[2131]
could make a spellcheck-demo with rebgui.
Graham
10-Oct-2005
[2132]
which files did you change?
Volker
10-Oct-2005
[2133x2]
changed rebgui-edit end rebgui-widgets (area there). my usual change-mark 
is ";?", search for that.
(had to look that up. realize i loose concentration, time to stop 
the computer.)
Graham
10-Oct-2005
[2135]
yeah, the download script needs to preserve the file dates :)
Volker
10-Oct-2005
[2136]
Hmm, maybe it really should. I am used to diff things, maybe you 
do that too? There are some nice things with guis AFAIK. started 
with the two zips you linked.
Graham
10-Oct-2005
[2137x2]
you can use set modes to alter the file creation date.
I don't think i have a good diff tool on hand.
Robert
11-Oct-2005
[2139]
Diff tool for Win: merge by www.araxis.com
RebolJohn
11-Oct-2005
[2140]
I use sourceforge - winmerge for windows.  It is a gui diff tool 
that works great and is free.
Graham
11-Oct-2005
[2141]
Area field editing is still quite problematic :(  Put some text in, 
change it by putting a lot more, and then try it with a lot less. 
 The area widget gets confused and the text starts showing halfway 
down the widget.  Resetting lines-no doesn't help.
Graham
20-Oct-2005
[2142x2]
This very odd .. I have a drop-list .. and the contents of the data 
change each time I drop the list down.  It doesn't happen in Ashley's 
example tour.r, and I don't have an action associated with the drop-list.
Ahh... sussed it.  I was composing the layout block inside a function, 
and forgot to copy before passing it to the display function.
JaimeVargas
20-Oct-2005
[2144]
Gotcha
Terry
20-Oct-2005
[2145]
'sussed' -- slang " To infer or discover; figure out: Often used 
by kiwis and aussies."
yeksoon
20-Oct-2005
[2146]
'sussed'


my boss from previous employment have the same problem understanding 
this term when we used it. They are from the States. :)
Allen
20-Oct-2005
[2147x2]
I'd say your boss was a bit suss, if he hadn't sussed out the meaning.
Official Strine dictionary. http://www.macquariedictionary.com.au/dict/slang-s.html