Table of Contents

Method PosToTabPos

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

PosToTabPos(string, int)

When implemented by a class, returns specified position within given string as tabbed position.

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)

When implemented by a class, returns specified position within given string as tabbed position.

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.