
Signature
-Hannes
www.ppedv.de company site
www.devtrain.de community site
Hi,
You can place an edit point (EditPoint or EditPoint2) into the starting
place and then use Editpoint.ReplaceXXX (where XXX is Text or Pattern). See
MSDN (http://msdn2.microsoft.com/library/ky8x32dh(en-us,vs.80).aspx) for
details.
HIH
Boni
Dim _cnw As EditPoint = _temp.StartPointOf(vsCMPart.vsCMPartWhole)
Dim _cns As EditPoint = _temp.StartPointOf(vsCMPart.vsCMPartName)
_cnw.ReplaceText(_cns, "",
vsEPReplaceTextOptions.vsEPReplaceTextKeepMarkers)
>i am searching for a small sample how to change to part of the source code
>ein editor,
[quoted text clipped - 5 lines]
>
> thanks for any help
Hannes [MVP] - 05 Feb 2006 13:40 GMT
thanks, i already have read this kb article but now it works with
docS.FindText("codeold")
Dim _cnw As EditPoint = docS.TopPoint.CreateEditPoint
...

Signature
-Hannes
www.ppedv.de company site
www.devtrain.de community site
> Hi,
> You can place an edit point (EditPoint or EditPoint2) into the starting
[quoted text clipped - 20 lines]
>>
>> thanks for any help