Module: libs/vscode-common/vscodeUtil
Functions
fromVscodeEndOfLine
▸ fromVscodeEndOfLine(eol
): EndOfLine
Parameters
Name | Type |
---|---|
eol | EndOfLine |
Returns
Defined in
libs/vscode-common/vscodeUtil.ts:67
fromVscodePosition
▸ fromVscodePosition(position
): Position
Parameters
Name | Type |
---|---|
position | Position |
Returns
Defined in
libs/vscode-common/vscodeUtil.ts:51
fromVscodeRange
▸ fromVscodeRange(range
): Range
Parameters
Name | Type |
---|---|
range | Range |
Returns
Defined in
libs/vscode-common/vscodeUtil.ts:20
fromVscodeSelection
▸ fromVscodeSelection(range
): Selection
Parameters
Name | Type |
---|---|
range | Selection |
Returns
Defined in
libs/vscode-common/vscodeUtil.ts:38
toVscodeEditor
▸ toVscodeEditor(editor
): vscode.TextEditor
Parameters
Name | Type |
---|---|
editor | TextEditor |
Returns
vscode.TextEditor
Defined in
libs/vscode-common/vscodeUtil.ts:71
toVscodeEndOfLine
▸ toVscodeEndOfLine(eol
): vscode.EndOfLine
Parameters
Name | Type |
---|---|
eol | EndOfLine |
Returns
vscode.EndOfLine
Defined in
libs/vscode-common/vscodeUtil.ts:63
toVscodePosition
▸ toVscodePosition(position
): vscode.Position
Parameters
Name | Type |
---|---|
position | Position |
Returns
vscode.Position
Defined in
libs/vscode-common/vscodeUtil.ts:47
toVscodePositionOrRange
▸ toVscodePositionOrRange(location
): vscode.Position
| vscode.Range
Parameters
Name | Type |
---|---|
location | Range | Position |
Returns
vscode.Position
| vscode.Range
Defined in
libs/vscode-common/vscodeUtil.ts:55
toVscodeRange
▸ toVscodeRange(range
): vscode.Range
Parameters
Name | Type |
---|---|
range | Range |
Returns
vscode.Range
Defined in
libs/vscode-common/vscodeUtil.ts:11
toVscodeSelection
▸ toVscodeSelection(range
): vscode.Selection
Parameters
Name | Type |
---|---|
range | Selection |
Returns
vscode.Selection
Defined in
libs/vscode-common/vscodeUtil.ts:29