[REBOL] Re: [port/skip]
From Tracker#295 SNIP [skip does not work with open/binary/direct] file: open/binary/direct/skip does not work. at file n does not work skip file n causes REBOL to hang. These operations should either work or not be allowed on files opened with /direct. /SNIP Regards, Ashley Ah - good they know about it. In the meantime, this is my work-around: First, what happens if you use append... write %test.txt 12345 x: open/binary/direct %test.txt append x to-binary abc close x read %test.txt == abc45 And my solution using loop and copy... write %test.txt 12345 x: open/binary/direct %test.txt loop size? %test.txt [copy/part x 1] == #{35} append x to-binary abc close x read %test.txt == 12345abc And given this behaviour, you may as well use insert instead of append. Also, would copying larger blocks of bytes instead of just one at a time be faster or better? Thanks for all the responses, -- Carl Read -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Text-list updates
I have been working on updates to Text-List. Anyone have any Text-List bugs they want to mentions or functionality that doesn't seem correct. What I have done so far is: * Added a new item called picked-index. This can be used to synchronize data from several lists. * Fixed Highlighting so that like items are not highlighted. This also used the picked-index. * Gave Text-list a default action of double-click. A new facet word was created for single-click action called single-click. Working on: Updating the Text-list iter items to display formatting independantly over the other items so that a Text-List can display a different font or font color depending on specifics resulting from logic, functions or passed values. I already have this part partially completed with a way of doing this. I just want to refine it a bit more. I uses a new facet word called 'format for defining the functions or values to be applied to the iter items. If you have any useful updates to Text-list or other bugs or ideas, I would be happy to hear them. I'm currently using the Text-List updated source as provided in the SDK package. This also includes a striped facet word for creating striped iter faces in the text-list pane. Since the code is from the SDK, I will have to get Carl's approval before release to the masses. Paul Tretter -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.