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
14-Apr-2007
[5935x5]
BTW, in chat.r, in a multi line text message, the blue divider cuts 
across the first line of text
It fixes when you risize
resize
If there is a lot of text, it won't display all the text in a message
It preserves the formatting of the original size and needs to reflow 
the text
Ashley
14-Apr-2007
[5940]
Got it. I've been thinking that the following accessors would probably 
cover most usage cases:

	add-message
	add-message/top
	delete-message
	delete-message/top
	set-user-color
	set-message-color
	redraw
Graham
14-Apr-2007
[5941x2]
edit-message ??
sometimes one has to do these things !!
Ashley
14-Apr-2007
[5943]
Do you mean change-message (i.e. replace message 24 of 50 with the 
following ...)
Graham
14-Apr-2007
[5944]
yes
Ashley
14-Apr-2007
[5945]
So a 'set-message-text accessor?
Graham
14-Apr-2007
[5946x6]
yes
http://www.compkarori.com/reb/chatlo.png
this is my rebgui interface to the rebelBB.cgi script
if you resize, and the messages don't fill the screen, the offset 
needs to be reset to 0
for the main pane .. otherwise, the messages start mid screen.
vertically
Ashley
14-Apr-2007
[5952]
Does the data structure meet your needs? Note that, like AltME, if 
the date is today then the time component is shown instead. You can 
insert abbreviated date/time's with:

	to date! reform [now/date now/time]
Graham
14-Apr-2007
[5953x2]
I think it's nice to have an addition column for a message id.
Otherwise , if you try and refer to a particular message .. you can't.. 
except by pointing to a datestamp which may be different depending 
upon which time zone you're in.
Ashley
14-Apr-2007
[5955]
Preceeding the User column?
Graham
14-Apr-2007
[5956x6]
Yes.
I think with Altme, each message is followed by a font block etc.
so, each colum of data is then followed by a block that specifies 
the font, background etc.
Which might be a bit of overkill ...
In my chat client, I use Allen's parser to create active links for 
http/s ftp etc.
Allen and Gabriele's
Ashley
14-Apr-2007
[5962x2]
Is it safe to assume that messages will always be in ascending age 
order? i.e. Do we need to cater for message insertion at top? Or 
message numbers that are in descending order? I want to avoid having 
sortable columns. Simple but functional is good.
Allen and Gabriele's
 ... rebol.org link?
Graham
14-Apr-2007
[5964x3]
http://www.compkarori.com/reb/download-manager.r
Click on the Synapse EMR client button, and then GSView
And you'll see this link ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/gsv48w64.exe
appear .. you can right click on it to copy to the clipboard
Ashley
14-Apr-2007
[5967]
Remember we are in a public group. You may want to take this private?
Graham
14-Apr-2007
[5968]
No, that's free software
Ashley
14-Apr-2007
[5969]
Just chceking.
Graham
14-Apr-2007
[5970x3]
I announced that on rebolweek in May 2006 :)
I basically wrapped a gui around other peoples' code :)
commented out are links to lib:// ( rebol.org scripts ) and # ( to 
rambo ) as they were not needed for this script.
Ashley
14-Apr-2007
[5973]
I'll look at incorporating this.
Graham
14-Apr-2007
[5974x4]
great
I think there's no need to sort messages
unncessary complexity
spellchecker is a must though :(
Ashley
14-Apr-2007
[5978]
Although not ideal, you can always force a spellcheck with:

	...
	button "Submit" [
		request-spellcheck my-area
		...
	]

But check-as-you-go is where it needs to be.
Graham
14-Apr-2007
[5979x5]
yep
and in a chat screen, you don't normally need to scroll the text 
in the reply area ..
which might make it easier to mark the text that is thought to be 
incorrect.
How do you make a display stay on top without making it modal ?
ie. on top of the parent window
Ashley
14-Apr-2007
[5984]
Odd, just noticed that the latest View beta is registering fkeys 
as 'console, 'icmp, 'oracle, etc. Wierd. I vagually recollect someone 
else mentioning this before in another group though.