Re: getting rid of multiple consecutive blanks ?

John Markley <[email protected]> Fri, 30 Oct 2009 21:48:10 -0400
Newsgroups gmane.comp.handhelds.palm.peditors
Message-ID <[email protected]>
Quoting John Markley <[email protected]>:

> Quoting Voytek Eymont <[email protected]>:
>
>>
>> I was showing off the scripts when I started to get the 'Ad' syndrome
>> after reboot, it worked again.
>>
>> I'll try the new ones today, thanks
>>
>> --
>> Voytek
>
> Regarding the  'Ad', something is interfering with the find'n'replace
> process before it completes to make that happen.

Voytek - a thousand apologies - the something that is interfering may  
be me, if the 'Ad' event is happening with the new LFdelete REGEXP.   
There is an error in the pScript I sent you, in the fifth line from  
the top -

{LFdelete REGEXP::
/&runtimeInit[]
/xEpro f
/xEpro T/xEpro W/xEpro R/xEpro r
/p10/p1

It should be /p10/p10,  *not* /p10/p1

Please change that.

There is one other difference between what I sent and what was printed  
out in both the forum post and in email, but it was consistent and so  
should make no difference.  The highAscii character I used to trick  
REGEXP find by substituting for LineFeed

{LFR3:: ß        and

/xEpro T/xEpro W/xEpro R
ßß*

was not the ß that came out, which is ASCII 223 (/p223), but rather a  
little double squiggle ASCII 167 (p167).  It somehow was modified in  
the transmission.  But it doesn't matter, you can use any highASCII  
character that would never show up in your text otherwise, as long as  
it is consistent, and it won't affect the function of the pScript.

Otherwise all four pScripts are correct, and I cannot see anything  
else that might generate the 'Ad'.  So, fix the one error by changing  
/p1 to /p10.  Still tell me the answers to my questions from before:

Which pScripts does it happen with?  What is your peditPro ESC  
character?  Where in the memo being operated on does it occur?

especially if you keep getting the 'Ad' after fixing the /p1.

   ~ John


------------------------------------

Latest pedit/pToolSet/LapTopHack at http://www.osuweb.net/~pc/pca/pc_all.zip
pedit/pToolSet/LapTopHack scripting info/resources at http://www.peditors.com
Peditors Forum http://groups.yahoo.com/group/peditors
Unsubscribe by writing to peditors-unsubscribe-hHKSG33Tihh4sT85+ipIM4ckdKdSAMto@public.gmane.org! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/peditors/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/peditors/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/