Table of Contents

Method PosToTabPos

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v9.dll

PosToTabPos(string, int)

Returns specified position within given string as tabbed position.

public virtual int PosToTabPos(string s, int pos)

Parameters

s string

Specifies string to check.

pos int

Position of the character in the string.

Returns

int

Tabbed position.

PosToTabPos(string, int, bool)

Returns specified position within given string as tabbed position.

public virtual int PosToTabPos(string s, int pos, bool tabEnd)

Parameters

s string

Specifies string to check.

pos int

Position of the character in the string.

tabEnd bool

Reserved for internal use.

Returns

int

Tabbed position.