At Fri, 19 Oct 2001 01:30:11 -0700 (PDT), David A. Desrosiers <[EMAIL PROTECTED]> wrote: > > > HOLY Patch Batman! Can you gzip it and attach it as a compressed > file next time? Please =)
Sorry. Really it is too big. > > When "Copy To Memo" in the menu is selected, it forces to redraw screen > > and copies the text in the viewport to the memo. URLs of the links in > > the viewport is also added after the tag strings. > > Isn't there a way to do this without redrawing? We already know what > percentage down in the document we are, so can't we just take the equivalent > of that value (x,y) and stuff the contents into the clipboard? I also want to know how to do that. If I know the structure of the program better, I will add some codes to remember the relative position of each line in the paragraph. Current code will calculate the height of each line every time when it is redrawn. Also, it render whole paragraph everytime. > The other thing is, we should definately put some error trapping in > here so we don't inadvertantly wipe out anything that may already be in the > clipboard (a Plucker clipboard?). Example: I clip an address or phone > number, or "cut" it to the clipboard (removing the original entry in the > process) and then go to Plucker, and (accidentally or legitimately) tap on > the option or shortcut to Copy to the clipboard, it will wipe out my unsaved > record already present in the clipboard. No, it does not copy into clipboard. It write out to memopad directly. (WriteMemo() is hacked.) /matto
