From: HS
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 n=
ot
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 t=
o
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
---
---------------
* Origin: apana>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13)
|