214 строки
14 KiB
Plaintext
214 строки
14 KiB
Plaintext
original file
|
|
-----------------------------------
|
|
export const EditorPanel = connect(
|
|
(state: Immutable<AppState>): Object => ( {
|
|
edditorState: (state.editors[state.activeTab]),
|
|
macroSettingsOpen: state.macroSettingsOpen,
|
|
}),
|
|
(dispatch: Dispatch): Object => ({
|
|
onchange(next: EditorSDtate): void { dispatch(actions) }
|
|
})
|
|
)
|
|
-----------------------------------
|
|
|
|
Grammar: TypeScript.tmLanguage
|
|
-----------------------------------
|
|
>export const EditorPanel = connect(
|
|
^^^^^^
|
|
source.ts meta.var.expr.ts keyword.control.export.ts
|
|
^
|
|
source.ts meta.var.expr.ts
|
|
^^^^^
|
|
source.ts meta.var.expr.ts storage.type.ts
|
|
^
|
|
source.ts meta.var.expr.ts
|
|
^^^^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.definition.variable.ts variable.other.constant.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
|
|
^
|
|
source.ts meta.var.expr.ts keyword.operator.assignment.ts
|
|
^
|
|
source.ts meta.var.expr.ts
|
|
^^^^^^^
|
|
source.ts meta.var.expr.ts meta.function-call.ts entity.name.function.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.brace.round.ts
|
|
> (state: Immutable<AppState>): Object => ( {
|
|
^^^^
|
|
source.ts meta.var.expr.ts meta.arrow.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.arrow.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
|
|
^^^^^
|
|
source.ts meta.var.expr.ts meta.arrow.ts meta.parameters.ts variable.parameter.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.arrow.ts meta.parameters.ts meta.type.annotation.ts keyword.operator.type.annotation.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.arrow.ts meta.parameters.ts meta.type.annotation.ts
|
|
^^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.arrow.ts meta.parameters.ts meta.type.annotation.ts entity.name.type.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.arrow.ts meta.parameters.ts meta.type.annotation.ts meta.type.parameters.ts punctuation.definition.typeparameters.begin.ts
|
|
^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.arrow.ts meta.parameters.ts meta.type.annotation.ts meta.type.parameters.ts entity.name.type.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.arrow.ts meta.parameters.ts meta.type.annotation.ts meta.type.parameters.ts punctuation.definition.typeparameters.end.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.arrow.ts meta.parameters.ts punctuation.definition.parameters.end.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.arrow.ts meta.return.type.arrow.ts keyword.operator.type.annotation.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.arrow.ts meta.return.type.arrow.ts
|
|
^^^^^^
|
|
source.ts meta.var.expr.ts meta.arrow.ts meta.return.type.arrow.ts entity.name.type.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.arrow.ts meta.return.type.arrow.ts
|
|
^^
|
|
source.ts meta.var.expr.ts meta.arrow.ts storage.type.function.arrow.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.arrow.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.brace.round.ts
|
|
^
|
|
source.ts meta.var.expr.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts punctuation.definition.block.ts
|
|
> edditorState: (state.editors[state.activeTab]),
|
|
^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts
|
|
^^^^^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.object-literal.key.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.object-literal.key.ts punctuation.separator.key-value.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.brace.round.ts
|
|
^^^^^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts variable.other.object.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts punctuation.accessor.ts
|
|
^^^^^^^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts variable.other.property.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.array.literal.ts meta.brace.square.ts
|
|
^^^^^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.array.literal.ts variable.other.object.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.array.literal.ts punctuation.accessor.ts
|
|
^^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.array.literal.ts variable.other.property.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.array.literal.ts meta.brace.square.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.brace.round.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts punctuation.separator.comma.ts
|
|
> macroSettingsOpen: state.macroSettingsOpen,
|
|
^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts
|
|
^^^^^^^^^^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.object-literal.key.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.object-literal.key.ts punctuation.separator.key-value.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts
|
|
^^^^^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts variable.other.object.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts punctuation.accessor.ts
|
|
^^^^^^^^^^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts variable.other.property.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts punctuation.separator.comma.ts
|
|
> }),
|
|
^^^^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts punctuation.definition.block.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.brace.round.ts
|
|
^
|
|
source.ts meta.var.expr.ts punctuation.separator.comma.ts
|
|
> (dispatch: Dispatch): Object => ({
|
|
^^^^
|
|
source.ts meta.var.expr.ts meta.arrow.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.arrow.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
|
|
^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.arrow.ts meta.parameters.ts variable.parameter.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.arrow.ts meta.parameters.ts meta.type.annotation.ts keyword.operator.type.annotation.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.arrow.ts meta.parameters.ts meta.type.annotation.ts
|
|
^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.arrow.ts meta.parameters.ts meta.type.annotation.ts entity.name.type.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.arrow.ts meta.parameters.ts punctuation.definition.parameters.end.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.arrow.ts meta.return.type.arrow.ts keyword.operator.type.annotation.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.arrow.ts meta.return.type.arrow.ts
|
|
^^^^^^
|
|
source.ts meta.var.expr.ts meta.arrow.ts meta.return.type.arrow.ts entity.name.type.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.arrow.ts meta.return.type.arrow.ts
|
|
^^
|
|
source.ts meta.var.expr.ts meta.arrow.ts storage.type.function.arrow.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.arrow.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.brace.round.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts punctuation.definition.block.ts
|
|
> onchange(next: EditorSDtate): void { dispatch(actions) }
|
|
^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.method.declaration.ts
|
|
^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.method.declaration.ts meta.definition.method.ts entity.name.function.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.method.declaration.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
|
|
^^^^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.method.declaration.ts meta.parameters.ts variable.parameter.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts keyword.operator.type.annotation.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts
|
|
^^^^^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts entity.name.type.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.method.declaration.ts meta.parameters.ts punctuation.definition.parameters.end.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.method.declaration.ts meta.return.type.ts keyword.operator.type.annotation.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.method.declaration.ts meta.return.type.ts
|
|
^^^^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.method.declaration.ts meta.return.type.ts support.type.primitive.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.method.declaration.ts meta.return.type.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.method.declaration.ts meta.block.ts punctuation.definition.block.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.method.declaration.ts meta.block.ts
|
|
^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.method.declaration.ts meta.block.ts meta.function-call.ts entity.name.function.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.method.declaration.ts meta.block.ts meta.brace.round.ts
|
|
^^^^^^^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.method.declaration.ts meta.block.ts variable.other.readwrite.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.method.declaration.ts meta.block.ts meta.brace.round.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.method.declaration.ts meta.block.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts meta.method.declaration.ts meta.block.ts punctuation.definition.block.ts
|
|
> })
|
|
^^^^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.objectliteral.ts punctuation.definition.block.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.brace.round.ts
|
|
>)
|
|
^
|
|
source.ts meta.var.expr.ts meta.brace.round.ts |