World: r3wp
[!REBOL3-OLD1]
older newer | first last |
Henrik 24-Mar-2009 [12255] | it's not a tuple. each number is a separate full integer. |
Anton 24-Mar-2009 [12256] | This proposed datatype looks quite complex. Are you sure it's wise to add it to Rebol? Doesn't this just feed into lobbying for the user datatype? I might first implement your counter as mezzanine, solve the problem you have at hand, then maybe try to imagine how it could be specified using a user datatype... |
Henrik 24-Mar-2009 [12257] | yes, Anton, I agree it's complex, but I'm not sure it's any more complex than object! or port!. A mezzanine would only partially solve the problem, but it would allow similar behavior. |
Steeve 24-Mar-2009 [12258] | btw, i assume, it could be implemented as a scheme |
Henrik 24-Mar-2009 [12259] | it probably can |
Anton 24-Mar-2009 [12260] | Where is the current MAKE-TICKS source, by the way? |
Henrik 24-Mar-2009 [12261] | Posting to you privately. |
Pekr 24-Mar-2009 [12262x2] | I was looking for it too. What is this function supposed to do? |
Is it timer related? | |
Henrik 24-Mar-2009 [12264] | no, it simply makes a shape block with tick lines for sliders, gradient bars and the rgb spectrum viewer. it will be used in more places than it currently is in use. |
Anton 24-Mar-2009 [12265x2] | Yes, fairly recently we saw those slider demos with ruler marks on them. |
.. which is where make-ticks was used. | |
Henrik 24-Mar-2009 [12267] | essentially MAKE-TICKS [3 1 2] would draw something like: | . . : . . | . . : . . | |
Steeve 24-Mar-2009 [12268] | Woooh, it means..., nothing to me :-) |
Henrik 24-Mar-2009 [12269] | your clock on the wall probably has something similar. (if it's an analog clock) :-) |
BrianH 24-Mar-2009 [12270] | Anton, the --do bug is known, cross-platform (not just Linux), and part of a half-dozen bugs that can be fixed by rewriting one function. It's the next R3 thing on my todo list, when I get the chance. I'm swamped with work at the moment. |
Pekr 24-Mar-2009 [12271] | :-) I thought it is Braile letters :-) |
Anton 24-Mar-2009 [12272] | BrianH, cool, that it's next on your todo list - glad you've noticed. |
BrianH 24-Mar-2009 [12273] | User datatypes can't add new syntax. |
Henrik 24-Mar-2009 [12274] | http://rebol.hmkdesign.dk/files/r3/gui/106.png Make-ticks was used in the 5 sliders at the top. |
BrianH 24-Mar-2009 [12275] | I've just been busy lately. Carl fixed/documented a lot of things in alpha 37 for me, but I'm in crunch time at work now. Soon. |
Anton 24-Mar-2009 [12276] | Henrik, I advise not spending the energy lobbying for the new datatype. Just implement the "counter" algorithm as optimally as you can and move on. |
Henrik 24-Mar-2009 [12277] | Sorry, I think there's too much in this to pass it up. I think this would be very useful. |
Anton 24-Mar-2009 [12278] | Ok, sliders, rulers, analog clocks... anything else? |
BrianH 24-Mar-2009 [12279] | Aside from the syntax, this could be done as a user-defined datatype. Or it could be done as an API. |
Henrik 24-Mar-2009 [12280x2] | Anywhere you want to count with varying base on multiple numbers and act on it. I've run into this numerous times. |
BrianH, are there docs anywhere on user defined datatypes yet? Limitations? | |
BrianH 24-Mar-2009 [12282] | Just discussions, but I know what the limitations are. |
Anton 24-Mar-2009 [12283] | Henrik, I'll have to think more on it. |
Henrik 24-Mar-2009 [12284] | Steeve, where was your disk-block scheme source? |
Steeve 24-Mar-2009 [12285] | http://sites.google.com/site/rebolish/ |
Henrik 24-Mar-2009 [12286] | thanks. maybe it's better to implement it as a scheme anyway. |
Gregg 24-Mar-2009 [12287] | I'm confused on your proposal as wel Henrik. A concrete example would really help, since it's a complex concept. |
Henrik 24-Mar-2009 [12288] | I think I'll wait. I've discovered some problems with the idea, which makes it less useful than I thought it would be. |
Pekr 25-Mar-2009 [12289] | There is new blog about small change to modules - http://www.rebol.net/r3blogs/0179.html |
Steeve 25-Mar-2009 [12290] | Eh Ammon ! how do you manage selection over several text gobs ? I'm trying to do it currently, but i'm not sure to have the best design |
Ammon 25-Mar-2009 [12291] | I haven't gotten that far yet. I recently had to rewrite my parser from the ground up, mostly due to the fact that NOT isn't implemented yet and I want to be able to handle unicode without too much trouble. I think I'm going to have to handle a lot events like text selection by passing them through the text faces to the main scrollable area and let it handle them. I expect I'll be rewriting the highlighting from the ground up. |
Steeve 25-Mar-2009 [12292] | i'm rewritting completly the key handler with my own cursor (a gob). I don't like the default handler |
Ammon 25-Mar-2009 [12293] | I like the design of the default handler. =D I'll need to modify or extend it before I'm through though. |
Steeve 25-Mar-2009 [12294] | too much ovverrides have to be done, redoing it from the scratch is simpler |
Ammon 25-Mar-2009 [12295] | You know that you can get the source from DevBase, right? |
Steeve 25-Mar-2009 [12296x2] | my cursor is gob i'm moving from gobs to another gobs |
i have the sources | |
Ammon 25-Mar-2009 [12298] | Yup, I'll be doing that as well. |
Steeve 25-Mar-2009 [12299] | in the default design, the cursor is not a gob |
Ammon 25-Mar-2009 [12300] | well, the handling of text editing is very powerful. I will definitely be using the same design just extending it a bit. |
Steeve 25-Mar-2009 [12301x2] | i don't like it so much ;-) |
but perhaps i'm wrong | |
Ammon 25-Mar-2009 [12303] | It's a simple state machine. It's taken me a long time to grok what can be done with such a system but now they are starting to dominate my code. |
Steeve 25-Mar-2009 [12304] | A state machine ? What a big word. It's just a serie of switch commands :-) |
older newer | first last |