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

World: r3wp

[!REBOL3-OLD1]

shadwolf
8-Aug-2008
[6739]
your application is running around 3  times slower than on my computer 
(I dream of a quad core phenom  based computer ...)
Graham
8-Aug-2008
[6740]
Bit hard to ask everyone to install linux instead of windows just 
to run your demo :)
shadwolf
8-Aug-2008
[6741]
ubuntu will save us all dl live-cd iso brun iso restart computer 
with the new CD in it and VOILA :P
Graham
8-Aug-2008
[6742]
I have ubuntu on my laptop already
shadwolf
8-Aug-2008
[6743x2]
no need to be politecnician to do that (polutechnic the equivalent 
of the M.I.T in france)
ubuntu is fun  ^^
Graham
8-Aug-2008
[6745]
I have Suse, Puppy, Ubuntu, and DSL installed :)
shadwolf
8-Aug-2008
[6746x2]
graham any news from carl and R3 ???
one more week without news and I send a navy seal squad to Sasanrath 
Ranch to figure out  ...
Graham
8-Aug-2008
[6748]
no ... Carl asked a few questions about carets and then hid again.
shadwolf
8-Aug-2008
[6749]
caret is ugly .... caret to offset is bad for my health
Graham
8-Aug-2008
[6750]
ie. whether text faces should share the same caret object, or each 
should have their own.  I voted for the latter.
shadwolf
8-Aug-2008
[6751]
I reaaaaaaaaaaaally appreciate if carl find us a better way to deal 
with selections (I remember when I developed MDP-GUI  that to add 
the flag around a selected bounch of text that was all a pain  in 
my poor brain...)
Graham
8-Aug-2008
[6752x2]
He's in deep think mode
or, he's drinking too much wine ... not sure
shadwolf
8-Aug-2008
[6754]
hum I vote for the 3rd forget the damn carret and find something 
better :P
Graham
8-Aug-2008
[6755]
text handling is so basic and old
shadwolf
8-Aug-2008
[6756]
well ... most of my best achievement where done in drunk stage .... 
So keep  going on Carl  ^^
Graham
8-Aug-2008
[6757]
maybe that's why your demo seems fast enough??
shadwolf
8-Aug-2008
[6758]
after the drunken master the drunken coder  like in kung-fu in coding 
the more you drink the best you are  ^^
Graham
8-Aug-2008
[6759]
the drunken master isn't drunk!  He's just pretending...
shadwolf
8-Aug-2008
[6760]
hum GRaham hum that's cause i didn't drink anything .... my neural 
activity is too slow i need to test every single line to be sure 
i'm not missing something
Graham
8-Aug-2008
[6761]
I test every word ... makes me slower
shadwolf
8-Aug-2008
[6762]
for vid what I like the most in most ofen case is not to have to 
write 1000  lines to display a button and what I hate is to have 
to write 10000  when i want to do exotic faces   ^^
Graham
8-Aug-2008
[6763x2]
Yes, that is the problem
It's an unfinished opus
shadwolf
8-Aug-2008
[6765x15]
yes  .... but that's a pitty because it's really open and powerfull
but text selection in my RTE-line project will makes me face the 
same dilema
but I think I will set an internal var where you can find selected 
text and 2 other internals var with offset start and end of the selection
like: rte-face/selected-text rte-face/sel-start rte-face/sel-end
i need to implement so more things to get a complete multi line rte 
that's giving me a head hach
and more i need to find a good equation to remplace the damn switch 
for cursor motion
remove don't work the way it should be too ... that force me to do 
a foreach loop and that's slowing the delet process
example: >> a: [[a][b][c]] remove a [b]
== [b]
>> probe a
[[b] [c]]
== [[b] [c]]
but way [a] is gone and why [b] is still here ....
remove that means the passed argument is delete from the list and 
nothing else
remove a [b] == remove process done [b] have been removed from the 
list a. Have a nice day shadwolf  you know you really rock  !!!  
probe a  == the list a contains [[a][c]] have a good day shadwolf 
you still rock you know i love you .... That's would be  the best 
^^
REbol3 the language that really talks to you and really love you 
  ^^
if after that rebol is not the main big computing thing I really 
change my professsion to anything else ...
ok i made a quick patch for the bug graham noticed to me ( the right 
arrow not going  on the right side of the last char) you can find 
the new version here  http://shadwolf.free.fr/RTE-line-Shad-03.r
the formula I use in the patch is (font-size of the last entry in 
the char table  / 2)  -1
shadwolf
9-Aug-2008
[6780x2]
cursor motion with mouse actionh ttp://shadwolf.free.fr/RTE-line-Shad-04.r
http://shadwolf.free.fr/RTE-line-Shad-04.r
Edgar
9-Aug-2008
[6782]
This demo is cool. I think you just need to replace probe with an 
empty function or comment it out so it runs as fast as it can.
shadwolf
9-Aug-2008
[6783x6]
hum but it's fast on my computer and that's a pre-alpha double dash 
++ X 2008 version  (that's way there is the probes) If I go enough 
far in the process obviously I will do a clean share. That's just 
to show  wich direction it takes and puts some animation here while 
we are pending for news from R3 ^^. I plan even to declinate it to 
wrok with rebGUI and do a synntaxe colored widget wich could be used 
for an IDE for example
I will think in a better data scheme too because the way it's designed 
it's not to handle big text amount anyway ...
on my previous intent i was handeling the text as a subdivision of 
same way formated strings of char  and that was a pain then to get 
a precise text cursor motion and to insert new chars into an already 
existing and formated string
so with the actual way to handle the data each char haves it's own 
position and format stored that enhance alot the précision and the 
posibilities but the side effect is to have to handle much more data
a way to reduce the data scheme will be to hum encode them into a 
fixed size string for example a12black for arial black 12 pt char 
 instead of storing for each char the corresponding values as splited 
 thing
i use as "index" for my seachies into the list the offset position 
of each char displayed