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

World: r3wp

[View] discuss view related issues

Ladislav
21-Jul-2010
[10072]
print mold get first second :my-func
Endo
21-Jul-2010
[10073]
Thanks, this works for parse-url (it is not the first word in function)
print mold get probe first fourth second :decode-url
Henrik
21-Jul-2010
[10074]
yes, it will help you see the source, although it won't help you 
find where it is. if source is all you need, then that's good.
Endo
21-Jul-2010
[10075x2]
yes right.

oh god, there is url-rules block in parse-url function which is also 
hidden :) I think I should write a function to get the source of 
a word! inside the context of the word.
but it is difficult to make it deep.
Ladislav
21-Jul-2010
[10077x2]
where it is: print mold bind? first second :my-func
where it is: print mold bind? first second :my-func
Endo
21-Jul-2010
[10079]
great. thanks.
Gregg
21-Jul-2010
[10080]
And for this case you can look in net-utils/URL-parser.
Maxim
21-Jul-2010
[10081]
guys.... why not try the function called.... source  :-)

source decode-url
Ladislav
21-Jul-2010
[10082]
Maybe because that is not what was needed?
Maxim
21-Jul-2010
[10083]
ok seems I missed a detail in reading the thread.
sqlab
22-Jul-2010
[10084]
A simple alternative
editor form    system
Nicolas
4-Aug-2010
[10085]
Should letters be gobs?
Anton
4-Aug-2010
[10086]
What do you mean by "letter" ?
Nicolas
4-Aug-2010
[10087x2]
a letter on the screen. Should it be accessible as a gob? Having 
a size, offset, color, etc...
It's probably a stupid idea, but I remember that gobs were intended 
to be used in the thousands on the screen for games and the like.
Henrik
4-Aug-2010
[10089]
that depends on what you need it for. in principle you can treat 
a single letter as a gob, by having one char in the text body.
Nicolas
4-Aug-2010
[10090]
that's true
Anton
4-Aug-2010
[10091x2]
You mean rendered text characters.
I don't think it's a stupid idea.
Nicolas
4-Aug-2010
[10093]
Yes, but rendered text cannot be edited.
Henrik
4-Aug-2010
[10094]
useful if you need chars flying around the screen, or special typography, 
but rich text should be otherwise able to handle most other cases.
Anton
4-Aug-2010
[10095]
With supporting code, it can, of course it can.
Nicolas
4-Aug-2010
[10096x2]
I've been told that it's really hard to create such code.
I'm just thinking that if an application such as ms word is to be 
created then rendered text needs to be edited.
Anton
4-Aug-2010
[10098]
Well, it's not easy, of course, to make an editing system with all 
the features we've come to expect.
Nicolas
4-Aug-2010
[10099]
Would a character per gob simplify things?
Henrik
4-Aug-2010
[10100]
are we talking R2 now?
Nicolas
4-Aug-2010
[10101]
r2 doesn't have gobs
Henrik
4-Aug-2010
[10102x2]
in R3 that will be part of rich text. due to "bugs" in the rich text 
system, you can in fact already edit rich text in R3, you can just 
not yet move the caret between or select across multiple styles.
only with a single gob, though. if you really need to edit across 
multiple gobs, I don't see why the gob text bodies can't be chained 
together somehow.
Nicolas
4-Aug-2010
[10104x3]
Selecting across multiple styles. That's the kicker, isn't it.
In fact, I don't even know how selection works. Is it mezzanine?
It would be a draw block wouldn't it?
Anton
4-Aug-2010
[10107]
One char per gob: that is simple, but maybe you can increase rendering 
speed by creating one gob per section of text which has a consistent 
font-size and style etc.
Henrik
4-Aug-2010
[10108]
text behavior is mezzanine
Nicolas
4-Aug-2010
[10109]
Is it in ctx-text?
Anton
4-Aug-2010
[10110]
It depends on how hard / possible it is to get individual character 
size & position information from gob text strings.
Henrik
4-Aug-2010
[10111x2]
it's in the guie context.
or maybe not... it's mentioned in the text-* files anyway.
Nicolas
4-Aug-2010
[10113]
the text-* files?
Henrik
4-Aug-2010
[10114]
don't you have the R3 GUI source code?
Nicolas
4-Aug-2010
[10115]
agg_truetype_text.cpp ??
Anton
4-Aug-2010
[10116]
.cpp files are obviously C++ files, not rebol mezzanine code.
Henrik
4-Aug-2010
[10117]
rich text editing will probably not be handled at the AGG level.
Graham
6-Aug-2010
[10118x4]
This is cute.
I control-c'd a bit of rebol source from a web page ... which I wanted 
to edit before I pasted it into the console
Normally I would open up the rebol editor, and paste code into it, 
save it to a disk file and then run it.  And wondering why I always 
need rebol [ ] in the header ...
It just occurred to me ... can i just do this

editor clipboard://