TIP: Click on subject to list as thread! ANSI
echo: qedit
to: ALL
from: `JOHANNES LOMHOLT`
date: 1997-08-31 01:23:00
subject: Re: Mac.to find beg/end sentence

From: "Johannes Lomholt" 
On Sat, 30 Aug 1997 05:42:00 -0400, HS wrote:
>Hi
>
>I need a macro to find the begin of a sentence (cursor on th first letter)
>and the end (cursor after the ./!/?/:. - The macro which I created does not
>in every case exactly what i want. Here is it:
>
>________
>
>proc BegSentence()
>     PrevChar() // because I didn't find the opposit of the + find option
>     lFind("[\.\?\:\!]{{$$}|{ #\c}}","BX")
>end
>
>// Is there an opposite option to "+" for lFind() available? - If the
>sentence begins with a new paragraph I was not able to force the curser to
>stay on the first letter - //
>
>proc EndSentence()
>     lFind("[\.\?\:\!]\c{{$$}|{ #}}","FX")
>end
>
>     BegSentence()
>    EndSentence()
>
>___
>
>Is there a better way to do what I want?
>
>Regards
>
>Hanspeter Schaffner
Hi Hans
I wonder whom you are addressing this E-mail to.
If you are forwarding it to SemWare Software the correct address is:
tsepro@semware.com
They will take proper care of your requests.
Greetings from Copenhagen
Johs. Lomholt
   
    Johs. Lomholt
    Team OS/2 DK
---
---------------
* Origin: apana>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.