Home > Services > DXCore Services – LinkedIdentifiers

DXCore Services – LinkedIdentifiers

December 27th, 2010 Leave a comment Go to comments

Linked Identifiers are a built-in feature of DXCore, which allows you to simultaneously change similar pieces of the text (code) located in different places. The service provides access to the Linked Identifiers engine.

Methods of this service:

Name

Description

AddMultiLinkCreates a new multi-document linked identifier. Note that it is hidden from Intellisense.
BreakAllLinksInRangeRemoves all linked identifiers in the specified source range.
CloseMultiLidContainerGroupCloses IMultiLidContainerGroup opened by the OpenMultiLidContainerGroup method.
ConsolidateLinksConsolidates linked identifiers in the specified array of source ranges.
FindReturns an array of ILinkedIdentifiers from the specified TextDocument entirely contained inside the given range.
GetStorageReturns the ILinkedIdentifierStorage instance for the specified TextDocument.
InvalidateRefreshes the state of all ILinkedIdentifiers in the given TextDocument. This may be required after creating any new ILinkedIdentifiers, to ensure that they are properly highlighted.
LockDeleteCall this to keep linked identifiers from being deleted while making text changes. Generally, this will not be required. When finished, call UnlockDelete.
NewMultiDocumentContainerCreates a new multi-document linked identifier container.
OpenMultiLidContainerGroupOpens a new multi-document linked identifier container group.
UnlockDeleteCall this after LockDelete to allow linked identifiers to be deleted again.

Properties:

Name

Description

ActiveReturns true if there are any linked identifiers that are currently active (being edited).
ActiveStorageGets the ILinkedIdentifierStorage instance for the active TextDocument.
ChangingIndicates if the text in the linked identifiers is changing. Note that it is hidden from Intellisense.
DeleteLockedDetermines whether or not linked identifiers will be deleted when making text changes.
LinkedIdentifierPropagationGets or sets the ILinkedIdentifierPropagation implementer, which specifies how propagation is applied for the linked identifiers.
—–
Products: DXCore
Versions: 10.1 and up
VS IDEs: any
Updated: Dec/27/2010
ID: D054

Similar Posts:

  1. No comments yet. Be the first and leave a comment!
  1. December 28th, 2010 at 05:02 | #1