230 строки
15 KiB
Plaintext
230 строки
15 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 variable.other.readwrite.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 entity.name.function.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.brace.round.ts
|
|
^^
|
|
source.ts meta.var.expr.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.object-literal.ts punctuation.definition.block.ts
|
|
^^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts
|
|
> edditorState: (state.editors[state.activeTab]),
|
|
^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts
|
|
^^^^^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.object.member.ts meta.object-literal.key.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.object.member.ts meta.object-literal.key.ts punctuation.separator.key-value.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.object.member.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.object.member.ts meta.brace.round.ts
|
|
^^^^^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.object.member.ts variable.other.object.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.object.member.ts punctuation.accessor.ts
|
|
^^^^^^^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.object.member.ts variable.other.property.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.object.member.ts meta.array.literal.ts meta.brace.square.ts
|
|
^^^^^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.object.member.ts meta.array.literal.ts variable.other.object.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.object.member.ts meta.array.literal.ts punctuation.accessor.ts
|
|
^^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.object.member.ts meta.array.literal.ts variable.other.property.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.object.member.ts meta.array.literal.ts meta.brace.square.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.object.member.ts meta.brace.round.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts punctuation.separator.comma.ts
|
|
^^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts
|
|
> macroSettingsOpen: state.macroSettingsOpen,
|
|
^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts
|
|
^^^^^^^^^^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.object.member.ts meta.object-literal.key.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.object.member.ts meta.object-literal.key.ts punctuation.separator.key-value.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.object.member.ts
|
|
^^^^^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.object.member.ts variable.other.object.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.object.member.ts punctuation.accessor.ts
|
|
^^^^^^^^^^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.object.member.ts variable.other.property.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts punctuation.separator.comma.ts
|
|
^^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts
|
|
> }),
|
|
^^^^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.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
|
|
^^
|
|
source.ts meta.var.expr.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.object-literal.ts punctuation.definition.block.ts
|
|
^^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts
|
|
> onchange(next: EditorSDtate): void { dispatch(actions) }
|
|
^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts
|
|
^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.method.declaration.ts entity.name.function.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.method.declaration.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
|
|
^^^^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.method.declaration.ts meta.parameters.ts variable.parameter.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts keyword.operator.type.annotation.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts
|
|
^^^^^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts entity.name.type.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.method.declaration.ts meta.parameters.ts punctuation.definition.parameters.end.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.method.declaration.ts meta.return.type.ts keyword.operator.type.annotation.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.method.declaration.ts meta.return.type.ts
|
|
^^^^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.method.declaration.ts meta.return.type.ts support.type.primitive.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.method.declaration.ts meta.return.type.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.method.declaration.ts meta.block.ts punctuation.definition.block.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.method.declaration.ts meta.block.ts
|
|
^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.method.declaration.ts meta.block.ts entity.name.function.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.method.declaration.ts meta.block.ts meta.brace.round.ts
|
|
^^^^^^^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.method.declaration.ts meta.block.ts variable.other.readwrite.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.method.declaration.ts meta.block.ts meta.brace.round.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.method.declaration.ts meta.block.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts meta.method.declaration.ts meta.block.ts punctuation.definition.block.ts
|
|
^^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts
|
|
> })
|
|
^^^^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.object-literal.ts punctuation.definition.block.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.brace.round.ts
|
|
^^
|
|
source.ts meta.var.expr.ts
|
|
>)
|
|
^
|
|
source.ts meta.var.expr.ts meta.brace.round.ts |