IVsEditorGoBackLocations.SetNonMergeableGoBackLocation Method

Definition

Sets a non-merge-able go back location.

public:
 int SetNonMergeableGoBackLocation(int fCurrentCaretPos, int iBaseLine, int iBaseCol);
public:
 int SetNonMergeableGoBackLocation(int fCurrentCaretPos, int iBaseLine, int iBaseCol);
int SetNonMergeableGoBackLocation(int fCurrentCaretPos, int iBaseLine, int iBaseCol);
public int SetNonMergeableGoBackLocation (int fCurrentCaretPos, int iBaseLine, int iBaseCol);
abstract member SetNonMergeableGoBackLocation : int * int * int -> int
Public Function SetNonMergeableGoBackLocation (fCurrentCaretPos As Integer, iBaseLine As Integer, iBaseCol As Integer) As Integer

Parameters

fCurrentCaretPos
Int32

[in] If value is true, it is not necessary to provide line and column, the current carat position is set as a non- merge-able go back location.

iBaseLine
Int32

[in] The line to set as the non-merge-able go back location.

iBaseCol
Int32

[in] The column to set as the non-merge-able go back location.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

[C++]

HRESULT IVsEditorGoBackLocations::SetNonMergeableGoBackLocation(  
   [in] BOOL fCurrentCaretPos,  
   [in] long iBaseLine,  
   [in] long iBaseCol  
);  

The fCurrentCaretPos parameter allows you to have the current caret position marked instead of the line and column. If fCurrentCaretPos is false, valid iBaseLine and iBaseCol are required.

Applies to