Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
TypeScript
Services
Formatting
ITextSnapshot
Interface ITextSnapshot
Index
Methods
getLineFromLineNumber
getLineFromPosition
getLineNumberFromPosition
getText
Methods
public
getLineFromLineNumber
(
lineNumber
:
number
)
:
ITextSnapshotLine
Parameters
lineNumber:
number
Returns
ITextSnapshotLine
public
getLineFromPosition
(
position
:
number
)
:
ITextSnapshotLine
Parameters
position:
number
Returns
ITextSnapshotLine
public
getLineNumberFromPosition
(
position
:
number
)
:
number
Parameters
position:
number
Returns
number
public
getText
(
span
:
TextSpan
)
:
string
Parameters
span:
TextSpan
Returns
string
Globals
TypeScript
TypeScript.ASTHelpers
TypeScript.BitMatrix
TypeScript.BitVector
TypeScript.Collections
TypeScript.CompilerDiagnostics
TypeScript.DeclarationCreator
TypeScript.Indentation
TypeScript.IntegerUtilities
TypeScript.LineMap1
TypeScript.Parser
TypeScript.PullHelpers
TypeScript.PullInstantiationHelpers
TypeScript.ScriptSnapshot
TypeScript.Services
TypeScript.Services.Breakpoints
TypeScript.Services.Formatting
TypeScript.Services.Formatting.Shared
TypeScript.SimpleText
TypeScript.Syntax
TypeScript.SyntaxFacts
TypeScript.TextFactory
TypeScript.TextUtilities
typescript-services
FormattingRequestKind
RuleAction
RuleFlags
RulesPosition
ITextSnapshot
getLineFromLineNumber
getLineFromPosition
getLineNumberFromPosition
getText
ITextSnapshotLine
Formatter
FormattingContext
FormattingManager
IndentationNodeContext
IndentationNodeContextPool
IndentationTrackingWalker
MultipleTokenIndenter
Rule
RuleDescriptor
RuleOperation
RuleOperationContext
Rules
RulesBucket
RulesBucketConstructionState
RulesMap
RulesProvider
SingleTokenIndenter
SnapshotPoint
TextEditInfo
TextSnapshot
TextSnapshotLine
TokenSpan