Re: Word Wrap can work

new topic     » goto parent     » topic index » view thread      » older message » newer message

Greg Haberek wrote:
> 
> > Is someone concerned by that question yet?
> 
> Please elaborate, this has been bugging me for years.
> 
> ~Greg
> 
> 

Ok, while preparing to extract a demo, I remembered that such a Rich Edit 
window was completely structured into my last dEbUg_magic_box tool.
http://www.myway.it/EU/dEbUg_magic_box.zip

Although still a buggy program, due to the complexity of its applicability,
that one had to be a general suggestion on how to face certain debug 
situations (and many more with other experienced contributions; 
but no feedback). Me too I have neglected him, not before getting 
a definitive aid in restructuring the enormous help package of my application
though. However the word wrap effect was already implemented there 
and its hardheaded efficience can be checked, despite to the forcing method.
___________

Btw Greg, I did successfully replace the dir() and walkdir() routines with your
windir(). Optimizing it I found that so many peek.. were not necessary for small
integers (a lot of work for hundreds of files): 
e.g. want you speed the SYSTEMTIME( ) function?

try it replacing:
atom ptr, wYear, wMonth, wDayOfWeek, wDay,
        wHour, wMinute, wSecond, wMilliseconds    
    if atom( st ) then
        -- read structure
        ptr = st
        
        wYear           = peek2( ptr ) -- +  0 )
        wMonth          = peek2( ptr +  2 )
        wDayOfWeek      = peek2( ptr +  4 )
        wDay            = peek2( ptr +  6 )
        wHour           = peek2( ptr +  8 )
        wMinute         = peek2( ptr + 10 )
        wSecond         = peek2( ptr + 12 )
        wMilliseconds   = peek2( ptr + 14 )

return {wYear, wMonth, wDayOfWeek, wDay, wHour, wMinute, wSecond,
        wMilliseconds}

with:
st = peek( {st, 16})
        return {st[1] +1792, st[3], st[5], st[7], st[9], st[11], st[13], st[15]}


antonio

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu