Function TWPCustomRtfEdit.CodeRename(objtype:TWPTextObjType; OldName:string; NewName:string; FromAllBlocks:Boolean; CaseSensitive:Boolean) : Integer

Unit: WPCTRMemo
Class: WPCTRMemo.TWPCustomRtfEdit

Parameters

  • objtype:TWPTextObjType
  • OldName:string
  • NewName:string
  • FromAllBlocks:Boolean
  • CaseSensitive:Boolean

Returns

The type of the result value is Integer.

Description

This function changes the the name of all codes which are using a certain object type. It us used by .