├── .dockerignore ├── .gitignore ├── .gitmodules ├── .ts-setup.el ├── .ts-test.el ├── Dockerfile ├── LICENSE ├── Makefile ├── README.rst ├── build ├── build-relationships.py ├── c-grammar.json ├── c-nodes.json ├── css-grammar.json ├── css-nodes.json ├── go-grammar.json ├── go-nodes.json ├── html-grammar.json ├── html-nodes.json ├── javascript-grammar.json ├── javascript-nodes.json ├── json-grammar.json ├── json-nodes.json ├── jsx-grammar.json ├── jsx-nodes.json ├── python-grammar.json ├── python-nodes.json ├── sources.ini ├── toml-grammar.json ├── toml-nodes.json ├── tsx-grammar.json ├── tsx-nodes.json ├── typescript-grammar.json ├── typescript-nodes.json ├── yaml-grammar.json └── yaml-nodes.json ├── combobulate-css.el ├── combobulate-cursor.el ├── combobulate-debug.el ├── combobulate-display.el ├── combobulate-envelope.el ├── combobulate-go.el ├── combobulate-html.el ├── combobulate-interface.el ├── combobulate-js-ts.el ├── combobulate-json.el ├── combobulate-manipulation.el ├── combobulate-misc.el ├── combobulate-navigation.el ├── combobulate-procedure.el ├── combobulate-python.el ├── combobulate-query.el ├── combobulate-rules.el ├── combobulate-settings.el ├── combobulate-setup.el ├── combobulate-toml.el ├── combobulate-ui.el ├── combobulate-yaml.el ├── combobulate-ztree.el ├── combobulate.el ├── docs ├── clone-dwim.gif ├── combobulate-header.jpg ├── combobulate.png ├── drag-complex.gif ├── enveloping.gif ├── expand-region.gif ├── mc-edit-1.gif ├── sibling-nav-jsx.gif └── splicing.gif └── tests ├── combobulate-test-prelude.el ├── combobulate-test-suite.el ├── fixture-deltas ├── combobulate-clone-dwim │ ├── attributes.html[@1~after].html │ ├── component-jsx.tsx[@1~after].tsx │ ├── component-jsx.tsx[@2~after].tsx │ ├── component-jsx.tsx[@3~after].tsx │ ├── component-jsx.tsx[@4~after].tsx │ ├── component-jsx.tsx[@5~after].tsx │ ├── component-jsx.tsx[@6~after].tsx │ ├── css-declaration.css[@1~after].css │ ├── css-function-arg.css[@1~after].css │ ├── css-nested-statements.css[@1~after].css │ ├── css-property.css[@1~after].css │ ├── def-block.py[@1~after].py │ ├── def-function-block.tsx[@1~after].tsx │ ├── def-function-object-args.tsx[@1~after].tsx │ ├── elements.html[@1~after].html │ ├── elements.html[@2~after].html │ ├── elements.html[@3~after].html │ ├── module-statements.py[@1~after].py │ ├── module-statements.py[@2~after].py │ ├── module-statements.py[@3~after].py │ ├── module-statements.tsx[@1~after].tsx │ ├── nested-blocks.py[@1~after].py │ ├── python-dict.py[@1~after].py │ ├── python-dict.py[@2~after].py │ ├── python-list.py[@1~after].py │ ├── python-list.py[@2~after].py │ ├── python-list.py[@3~after].py │ ├── python-list.py[@4~after].py │ ├── python-list.py[@5~after].py │ ├── yaml-block-mapping-pairs.yaml[@1~after].yaml │ ├── yaml-block-mapping-pairs.yaml[@2~after].yaml │ ├── yaml-sequence.yaml[@1~after].yaml │ └── yaml-sequence.yaml[@2~after].yaml ├── combobulate-drag-down │ ├── attributes.html[@1~after].html │ ├── attributes.html[@2~after].html │ ├── attributes.html[@3~after].html │ ├── block.go[@1~after].go │ ├── block.go[@2~after].go │ ├── block.go[@3~after].go │ ├── block.go[@4~after].go │ ├── block.go[@5~after].go │ ├── block.go[@6~after].go │ ├── component-jsx.tsx[@1~after].tsx │ ├── component-jsx.tsx[@2~after].tsx │ ├── component-jsx.tsx[@3~after].tsx │ ├── component-jsx.tsx[@4~after].tsx │ ├── component-jsx.tsx[@5~after].tsx │ ├── const-declaration.go[@1~after].go │ ├── const-declaration.go[@2~after].go │ ├── css-declaration.css[@1~after].css │ ├── css-declaration.css[@2~after].css │ ├── css-declaration.css[@3~after].css │ ├── css-declaration.css[@4~after].css │ ├── css-function-arg.css[@1~after].css │ ├── css-function-arg.css[@2~after].css │ ├── css-function-arg.css[@3~after].css │ ├── css-nested-statements.css[@1~after].css │ ├── css-nested-statements.css[@2~after].css │ ├── css-nested-statements.css[@3~after].css │ ├── css-property.css[@1~after].css │ ├── css-property.css[@2~after].css │ ├── css-property.css[@3~after].css │ ├── def-block.py[@1~after].py │ ├── def-block.py[@2~after].py │ ├── def-block.py[@3~after].py │ ├── def-block.py[@4~after].py │ ├── def-block.py[@5~after].py │ ├── def-function-block.tsx[@1~after].tsx │ ├── def-function-block.tsx[@2~after].tsx │ ├── def-function-block.tsx[@3~after].tsx │ ├── def-function-block.tsx[@4~after].tsx │ ├── def-function-block.tsx[@5~after].tsx │ ├── def-function-block.tsx[@6~after].tsx │ ├── def-function-object-args.tsx[@1~after].tsx │ ├── def-function-object-args.tsx[@2~after].tsx │ ├── def-function-object-args.tsx[@3~after].tsx │ ├── def-function-type-args.tsx[@1~after].tsx │ ├── def-function-type-args.tsx[@2~after].tsx │ ├── def-function-type-args.tsx[@3~after].tsx │ ├── def-parameters.py[@1~after].py │ ├── def-parameters.py[@2~after].py │ ├── def-parameters.py[@3~after].py │ ├── def-parameters.py[@4~after].py │ ├── def-parameters.py[@5~after].py │ ├── def-parameters.py[@6~after].py │ ├── def-parameters.py[@7~after].py │ ├── def-parameters.py[@8~after].py │ ├── def-parameters.py[@9~after].py │ ├── document-level.toml[@1~after].toml │ ├── document-level.toml[@2~after].toml │ ├── document-level.toml[@3~after].toml │ ├── document-level.toml[@4~after].toml │ ├── document-level.toml[@5~after].toml │ ├── document-level.toml[@6~after].toml │ ├── document-level.toml[@7~after].toml │ ├── elements.html[@1~after].html │ ├── elements.html[@2~after].html │ ├── elements.html[@3~after].html │ ├── elements.html[@4~after].html │ ├── elements.html[@5~after].html │ ├── elements.html[@6~after].html │ ├── elements.html[@7~after].html │ ├── expr-switch.go[@1~after].go │ ├── expr-switch.go[@2~after].go │ ├── expr-switch.go[@3~after].go │ ├── for-loop.go[@1~after].go │ ├── for-loop.go[@2~after].go │ ├── for-loop.go[@3~after].go │ ├── import-declaration.go[@1~after].go │ ├── import-declaration.go[@2~after].go │ ├── inside-case.go[@1~after].go │ ├── inside-table.toml[@1~after].toml │ ├── inside-table.toml[@2~after].toml │ ├── inside-table.toml[@3~after].toml │ ├── literal.go[@1~after].go │ ├── literal.go[@2~after].go │ ├── literal.go[@3~after].go │ ├── literal.go[@4~after].go │ ├── literal.go[@5~after].go │ ├── literal.go[@6~after].go │ ├── map.go[@1~after].go │ ├── map.go[@2~after].go │ ├── module-statements.py[@1~after].py │ ├── module-statements.py[@2~after].py │ ├── module-statements.py[@3~after].py │ ├── module-statements.py[@4~after].py │ ├── module-statements.py[@5~after].py │ ├── module-statements.py[@6~after].py │ ├── module-statements.py[@7~after].py │ ├── module-statements.py[@8~after].py │ ├── module-statements.tsx[@1~after].tsx │ ├── module-statements.tsx[@2~after].tsx │ ├── module-statements.tsx[@3~after].tsx │ ├── module-statements.tsx[@4~after].tsx │ ├── module-statements.tsx[@5~after].tsx │ ├── module.go[@1~after].go │ ├── module.go[@2~after].go │ ├── module.go[@3~after].go │ ├── module.go[@4~after].go │ ├── module.go[@5~after].go │ ├── module.go[@6~after].go │ ├── nested-blocks.py[@1~after].py │ ├── nested-blocks.py[@2~after].py │ ├── nested-blocks.py[@3~after].py │ ├── program.go[@1~after].go │ ├── program.go[@2~after].go │ ├── program.go[@3~after].go │ ├── program.go[@4~after].go │ ├── program.go[@5~after].go │ ├── program.go[@6~after].go │ ├── program.go[@7~after].go │ ├── python-dict.py[@1~after].py │ ├── python-dict.py[@2~after].py │ ├── python-dict.py[@3~after].py │ ├── python-dict.py[@4~after].py │ ├── python-dict.py[@5~after].py │ ├── python-dict.py[@6~after].py │ ├── python-dict.py[@7~after].py │ ├── python-list.py[@1~after].py │ ├── python-list.py[@2~after].py │ ├── python-list.py[@3~after].py │ ├── python-list.py[@4~after].py │ ├── python-list.py[@5~after].py │ ├── python-match-case.py[@1~after].py │ ├── python-match-case.py[@2~after].py │ ├── python-match-case.py[@3~after].py │ ├── python-set.py[@1~after].py │ ├── python-set.py[@2~after].py │ ├── python-set.py[@3~after].py │ ├── python-string.py[@1~after].py │ ├── python-string.py[@2~after].py │ ├── python-string.py[@3~after].py │ ├── python-string.py[@4~after].py │ ├── python-string.py[@5~after].py │ ├── python-string.py[@6~after].py │ ├── python-tuple-pattern.py[@1~after].py │ ├── python-tuple-pattern.py[@2~after].py │ ├── python-tuple-pattern.py[@3~after].py │ ├── python-tuple-pattern.py[@4~after].py │ ├── python-tuple-pattern.py[@5~after].py │ ├── python-tuple.py[@1~after].py │ ├── python-tuple.py[@2~after].py │ ├── python-tuple.py[@3~after].py │ ├── python-tuple.py[@4~after].py │ ├── python-tuple.py[@5~after].py │ ├── switch.go[@1~after].go │ ├── switch.go[@2~after].go │ ├── switch.go[@3~after].go │ ├── type-declaration.go[@1~after].go │ ├── type-declaration.go[@2~after].go │ ├── value-array.toml[@1~after].toml │ ├── value-array.toml[@2~after].toml │ ├── value-array.toml[@3~after].toml │ ├── var-declaration.go[@1~after].go │ ├── var-declaration.go[@2~after].go │ ├── yaml-block-mapping-pairs.yaml[@1~after].yaml │ ├── yaml-block-mapping-pairs.yaml[@2~after].yaml │ ├── yaml-block-mapping.yaml[@1~after].yaml │ ├── yaml-block-mapping.yaml[@2~after].yaml │ ├── yaml-block-mapping.yaml[@3~after].yaml │ ├── yaml-sequence.yaml[@1~after].yaml │ └── yaml-sequence.yaml[@2~after].yaml ├── combobulate-drag-up │ ├── attributes.html[@1~after].html │ ├── attributes.html[@2~after].html │ ├── attributes.html[@3~after].html │ ├── block.go[@1~after].go │ ├── block.go[@2~after].go │ ├── block.go[@3~after].go │ ├── block.go[@4~after].go │ ├── block.go[@5~after].go │ ├── block.go[@6~after].go │ ├── component-jsx.tsx[@1~after].tsx │ ├── component-jsx.tsx[@2~after].tsx │ ├── component-jsx.tsx[@3~after].tsx │ ├── component-jsx.tsx[@4~after].tsx │ ├── component-jsx.tsx[@5~after].tsx │ ├── const-declaration.go[@1~after].go │ ├── const-declaration.go[@2~after].go │ ├── css-declaration.css[@1~after].css │ ├── css-declaration.css[@2~after].css │ ├── css-declaration.css[@3~after].css │ ├── css-declaration.css[@4~after].css │ ├── css-function-arg.css[@1~after].css │ ├── css-function-arg.css[@2~after].css │ ├── css-function-arg.css[@3~after].css │ ├── css-nested-statements.css[@1~after].css │ ├── css-nested-statements.css[@2~after].css │ ├── css-nested-statements.css[@3~after].css │ ├── css-property.css[@1~after].css │ ├── css-property.css[@2~after].css │ ├── css-property.css[@3~after].css │ ├── def-block.py[@1~after].py │ ├── def-block.py[@2~after].py │ ├── def-block.py[@3~after].py │ ├── def-block.py[@4~after].py │ ├── def-block.py[@5~after].py │ ├── def-function-block.tsx[@1~after].tsx │ ├── def-function-block.tsx[@2~after].tsx │ ├── def-function-block.tsx[@3~after].tsx │ ├── def-function-block.tsx[@4~after].tsx │ ├── def-function-block.tsx[@5~after].tsx │ ├── def-function-block.tsx[@6~after].tsx │ ├── def-function-object-args.tsx[@1~after].tsx │ ├── def-function-object-args.tsx[@2~after].tsx │ ├── def-function-object-args.tsx[@3~after].tsx │ ├── def-function-type-args.tsx[@1~after].tsx │ ├── def-function-type-args.tsx[@2~after].tsx │ ├── def-function-type-args.tsx[@3~after].tsx │ ├── def-parameters.py[@1~after].py │ ├── def-parameters.py[@2~after].py │ ├── def-parameters.py[@3~after].py │ ├── def-parameters.py[@4~after].py │ ├── def-parameters.py[@5~after].py │ ├── def-parameters.py[@6~after].py │ ├── def-parameters.py[@7~after].py │ ├── def-parameters.py[@8~after].py │ ├── def-parameters.py[@9~after].py │ ├── document-level.toml[@1~after].toml │ ├── document-level.toml[@2~after].toml │ ├── document-level.toml[@3~after].toml │ ├── document-level.toml[@4~after].toml │ ├── document-level.toml[@5~after].toml │ ├── document-level.toml[@6~after].toml │ ├── document-level.toml[@7~after].toml │ ├── elements.html[@1~after].html │ ├── elements.html[@2~after].html │ ├── elements.html[@3~after].html │ ├── elements.html[@4~after].html │ ├── elements.html[@5~after].html │ ├── elements.html[@6~after].html │ ├── elements.html[@7~after].html │ ├── expr-switch.go[@1~after].go │ ├── expr-switch.go[@2~after].go │ ├── expr-switch.go[@3~after].go │ ├── for-loop.go[@1~after].go │ ├── for-loop.go[@2~after].go │ ├── for-loop.go[@3~after].go │ ├── import-declaration.go[@1~after].go │ ├── import-declaration.go[@2~after].go │ ├── inside-case.go[@1~after].go │ ├── inside-table.toml[@1~after].toml │ ├── inside-table.toml[@2~after].toml │ ├── inside-table.toml[@3~after].toml │ ├── literal.go[@1~after].go │ ├── literal.go[@2~after].go │ ├── literal.go[@3~after].go │ ├── literal.go[@4~after].go │ ├── literal.go[@5~after].go │ ├── literal.go[@6~after].go │ ├── map.go[@1~after].go │ ├── map.go[@2~after].go │ ├── module-statements.py[@1~after].py │ ├── module-statements.py[@2~after].py │ ├── module-statements.py[@3~after].py │ ├── module-statements.py[@4~after].py │ ├── module-statements.py[@5~after].py │ ├── module-statements.py[@6~after].py │ ├── module-statements.py[@7~after].py │ ├── module-statements.py[@8~after].py │ ├── module-statements.tsx[@1~after].tsx │ ├── module-statements.tsx[@2~after].tsx │ ├── module-statements.tsx[@3~after].tsx │ ├── module-statements.tsx[@4~after].tsx │ ├── module-statements.tsx[@5~after].tsx │ ├── module.go[@1~after].go │ ├── module.go[@2~after].go │ ├── module.go[@3~after].go │ ├── module.go[@4~after].go │ ├── module.go[@5~after].go │ ├── module.go[@6~after].go │ ├── nested-blocks.py[@1~after].py │ ├── nested-blocks.py[@2~after].py │ ├── nested-blocks.py[@3~after].py │ ├── program.go[@1~after].go │ ├── program.go[@2~after].go │ ├── program.go[@3~after].go │ ├── program.go[@4~after].go │ ├── program.go[@5~after].go │ ├── program.go[@6~after].go │ ├── program.go[@7~after].go │ ├── python-dict.py[@1~after].py │ ├── python-dict.py[@2~after].py │ ├── python-dict.py[@3~after].py │ ├── python-dict.py[@4~after].py │ ├── python-dict.py[@5~after].py │ ├── python-dict.py[@6~after].py │ ├── python-dict.py[@7~after].py │ ├── python-list.py[@1~after].py │ ├── python-list.py[@2~after].py │ ├── python-list.py[@3~after].py │ ├── python-list.py[@4~after].py │ ├── python-list.py[@5~after].py │ ├── python-match-case.py[@1~after].py │ ├── python-match-case.py[@2~after].py │ ├── python-match-case.py[@3~after].py │ ├── python-set.py[@1~after].py │ ├── python-set.py[@2~after].py │ ├── python-set.py[@3~after].py │ ├── python-string.py[@1~after].py │ ├── python-string.py[@2~after].py │ ├── python-string.py[@3~after].py │ ├── python-string.py[@4~after].py │ ├── python-string.py[@5~after].py │ ├── python-string.py[@6~after].py │ ├── python-tuple-pattern.py[@1~after].py │ ├── python-tuple-pattern.py[@2~after].py │ ├── python-tuple-pattern.py[@3~after].py │ ├── python-tuple-pattern.py[@4~after].py │ ├── python-tuple-pattern.py[@5~after].py │ ├── python-tuple.py[@1~after].py │ ├── python-tuple.py[@2~after].py │ ├── python-tuple.py[@3~after].py │ ├── python-tuple.py[@4~after].py │ ├── python-tuple.py[@5~after].py │ ├── switch.go[@1~after].go │ ├── switch.go[@2~after].go │ ├── switch.go[@3~after].go │ ├── type-declaration.go[@1~after].go │ ├── type-declaration.go[@2~after].go │ ├── value-array.toml[@1~after].toml │ ├── value-array.toml[@2~after].toml │ ├── value-array.toml[@3~after].toml │ ├── var-declaration.go[@1~after].go │ ├── var-declaration.go[@2~after].go │ ├── yaml-block-mapping-pairs.yaml[@1~after].yaml │ ├── yaml-block-mapping-pairs.yaml[@2~after].yaml │ ├── yaml-block-mapping.yaml[@1~after].yaml │ ├── yaml-block-mapping.yaml[@2~after].yaml │ ├── yaml-block-mapping.yaml[@3~after].yaml │ ├── yaml-sequence.yaml[@1~after].yaml │ └── yaml-sequence.yaml[@2~after].yaml ├── combobulate-envelope-expand-instructions-tsx │ ├── component.tsx[choice-has-choice-0@1~after].tsx │ ├── component.tsx[choice-has-choice-1@1~after].tsx │ ├── component.tsx[choice-has-choice-2@1~after].tsx │ ├── component.tsx[choice-has-choice-3@1~after].tsx │ ├── component.tsx[choice-simple-0@1~after].tsx │ ├── component.tsx[choice-simple-1@1~after].tsx │ ├── component.tsx[choicestar-with-complex-missing-field-alt@1~after].tsx │ └── component.tsx[choicestar-with-complex-missing-field-consequence@1~after].tsx ├── combobulate-envelope-expand-instructions │ ├── blank.py[choice-simple-0@1~after].py │ ├── blank.py[choice-simple-1@1~after].py │ ├── blank.py[choicestar-with-complex-missing-field@1~after].py │ ├── blank.py[field-before-prompt@1~after].py │ ├── blank.py[insert-missing-register-with-default@1~after].py │ ├── blank.py[insert-region-register-2-then-indent@1~after].py │ ├── blank.py[insert-region-register-then-indent@1~after].py │ ├── blank.py[insert-region-register@1~after].py │ ├── blank.py[newline-and-indent-inside-block-both@1~after].py │ ├── blank.py[newline-and-indent-inside-block-then-outside@1~after].py │ ├── blank.py[newline-and-indent-simple@1~after].py │ ├── blank.py[newline@1~after].py │ ├── blank.py[prompt-manual-input-once@1~after].py │ ├── blank.py[prompt-manual-input-twice@1~after].py │ ├── blank.py[prompt-manual-keyboard-quit@1~after].py │ ├── blank.py[prompt-register-once@1~after].py │ ├── blank.py[prompt-register-reused@1~after].py │ ├── blank.py[save-column-nested@1~after].py │ ├── blank.py[save-column@1~after].py │ ├── blank.py[string-basic@1~after].py │ └── blank.py[string-multiple@1~after].py ├── combobulate-kill-dwim │ ├── attributes.html[@1~after].html │ ├── block.go[@1~after].go │ ├── component-jsx.tsx[@1~after].tsx │ ├── css-declaration.css[@1~after].css │ ├── python-dict.py[@1~after].py │ ├── python-match-case.py[@1~after].py │ ├── yaml-block-mapping-pairs.yaml[@1~after].yaml │ └── yaml-sequence.yaml[@1~after].yaml ├── combobulate-splice-self-offset-1 │ ├── choice-1-for-loop-body.go[@1~after].go │ ├── choice-1-inside-case.go[@1~after].go │ └── choice-1-switch.go[@1~after].go ├── combobulate-splice-self │ ├── choice-0-block-pairs.yaml[@1~after].yaml │ ├── choice-0-block-pairs.yaml[@2~after].yaml │ ├── choice-0-block-pairs.yaml[@3~after].yaml │ ├── choice-0-block-pairs.yaml[@4~after].yaml │ ├── choice-0-jsx-elements.tsx[@1~after].tsx │ ├── choice-0-jsx-elements.tsx[@2~after].tsx │ ├── choice-0-jsx-elements.tsx[@3~after].tsx │ ├── choice-0-messy-splice.py[@1~after].py │ ├── choice-0-nested-elements.html[@1~after].html │ ├── choice-0-nested-elements.html[@2~after].html │ ├── choice-0-nested-elements.html[@3~after].html │ ├── choice-0-nested-elements.html[@4~after].html │ ├── choice-0-nested-elements.html[@5~after].html │ ├── choice-0-nested-python.py[@1~after].py │ ├── choice-0-nested-python.py[@2~after].py │ ├── choice-0-nested-python.py[@3~after].py │ ├── choice-0-nested-python.py[@4~after].py │ ├── choice-0-nested-python.py[@5~after].py │ ├── choice-0-nested-python.py[@6~after].py │ ├── choice-0-nested-python.py[@7~after].py │ ├── choice-0-object.json[@1~after].json │ ├── choice-0-object.json[@2~after].json │ ├── choice-0-object.json[@3~after].json │ ├── choice-0-pairs-in-table.toml[@1~after].toml │ └── choice-0-vars.go[@1~after].go └── combobulate-splice-up │ ├── choice-0-block-pairs.yaml[@1~after].yaml │ ├── choice-0-block-pairs.yaml[@2~after].yaml │ ├── choice-0-block-pairs.yaml[@3~after].yaml │ ├── choice-0-block-pairs.yaml[@4~after].yaml │ ├── choice-0-jsx-elements.tsx[@1~after].tsx │ ├── choice-0-jsx-elements.tsx[@2~after].tsx │ ├── choice-0-jsx-elements.tsx[@3~after].tsx │ ├── choice-0-messy-splice.py[@1~after].py │ ├── choice-0-nested-elements.html[@1~after].html │ ├── choice-0-nested-elements.html[@2~after].html │ ├── choice-0-nested-elements.html[@3~after].html │ ├── choice-0-nested-elements.html[@4~after].html │ ├── choice-0-nested-elements.html[@5~after].html │ ├── choice-0-nested-python.py[@1~after].py │ ├── choice-0-nested-python.py[@2~after].py │ ├── choice-0-nested-python.py[@3~after].py │ ├── choice-0-nested-python.py[@4~after].py │ ├── choice-0-nested-python.py[@5~after].py │ ├── choice-0-nested-python.py[@6~after].py │ ├── choice-0-nested-python.py[@7~after].py │ ├── choice-0-object.json[@1~after].json │ ├── choice-0-object.json[@2~after].json │ ├── choice-0-object.json[@3~after].json │ ├── choice-0-pairs-in-table.toml[@1~after].toml │ ├── choice-0-vars.go[@1~after].go │ ├── choice-1-for-loop-body.go[@1~after].go │ ├── choice-1-inside-case.go[@1~after].go │ ├── choice-1-switch.go[@1~after].go │ ├── console.ts[@1~after].ts │ ├── console.ts[@2~after].ts │ ├── messy-splice.py[@1~after].py │ └── pairs-in-table.toml[@1~after].toml ├── fixtures ├── .templates │ └── heading.toml ├── clone │ ├── attributes.html │ ├── component-jsx.tsx │ ├── css-declaration.css │ ├── css-function-arg.css │ ├── css-nested-statements.css │ ├── css-property.css │ ├── def-block.py │ ├── def-function-block.tsx │ ├── def-function-object-args.tsx │ ├── elements.html │ ├── module-statements.py │ ├── module-statements.tsx │ ├── nested-blocks.py │ ├── python-dict.py │ ├── python-list.py │ ├── yaml-block-mapping-pairs.yaml │ └── yaml-sequence.yaml ├── down │ ├── array.json │ ├── blocks.yaml │ ├── declaration.css │ ├── decorator_class.py │ ├── decorator_function.py │ ├── down-attributes.html │ ├── elements.html │ ├── function.py │ ├── if-statements.tsx │ ├── jsx-with-attributes.tsx │ ├── module-statements.tsx │ ├── nested-jsx.tsx │ ├── object.json │ └── table.toml ├── envelope │ ├── blank.py │ ├── blank.tsx │ ├── class.py │ └── component.tsx ├── kill-node │ ├── attributes.html │ ├── block.go │ ├── component-jsx.tsx │ ├── css-declaration.css │ ├── python-dict.py │ ├── python-match-case.py │ ├── yaml-block-mapping-pairs.yaml │ └── yaml-sequence.yaml ├── mc-edit │ ├── identifiers-named-c.tsx │ ├── property.css │ ├── python-dict-keys.py │ ├── python-dict-values.py │ ├── sequence.tsx │ ├── table-value-side.toml │ └── table.toml ├── procedure │ ├── component-jsx.tsx │ └── function.py ├── sequence │ ├── element.html │ └── jsx.tsx ├── sibling │ ├── attributes.html │ ├── block.go │ ├── component-jsx.tsx │ ├── const-declaration.go │ ├── css-declaration.css │ ├── css-function-arg.css │ ├── css-nested-statements.css │ ├── css-property.css │ ├── def-block.py │ ├── def-function-block.tsx │ ├── def-function-object-args.tsx │ ├── def-function-type-args.tsx │ ├── def-parameters.py │ ├── document-level.toml │ ├── elements.html │ ├── expr-switch.go │ ├── for-loop.go │ ├── import-declaration.go │ ├── inside-case.go │ ├── inside-table.toml │ ├── literal.go │ ├── map.go │ ├── module-statements.py │ ├── module-statements.tsx │ ├── module.go │ ├── nested-blocks.py │ ├── program.go │ ├── python-dict.py │ ├── python-list.py │ ├── python-match-case.py │ ├── python-set.py │ ├── python-string.py │ ├── python-tuple-pattern.py │ ├── python-tuple.py │ ├── switch.go │ ├── type-declaration.go │ ├── value-array.toml │ ├── var-declaration.go │ ├── yaml-block-mapping-pairs.yaml │ ├── yaml-block-mapping.yaml │ └── yaml-sequence.yaml └── splice │ ├── choice-0-block-pairs.yaml │ ├── choice-0-jsx-elements.tsx │ ├── choice-0-messy-splice.py │ ├── choice-0-nested-elements.html │ ├── choice-0-nested-python.py │ ├── choice-0-object.json │ ├── choice-0-pairs-in-table.toml │ ├── choice-0-vars.go │ ├── choice-1-for-loop-body.go │ ├── choice-1-inside-case.go │ ├── choice-1-switch.go │ ├── console.ts │ ├── messy-splice.py │ └── pairs-in-table.toml ├── generate-harnesses.el ├── scratchpad.el ├── test-combobulate-clone-dwim.gen.el ├── test-combobulate-drag-down.gen.el ├── test-combobulate-drag-up.gen.el ├── test-combobulate-envelope-expand-instructions-tsx.gen.el ├── test-combobulate-envelope-expand-instructions.gen.el ├── test-combobulate-kill-dwim.gen.el ├── test-combobulate-navigate-down.gen.el ├── test-combobulate-navigate-next.gen.el ├── test-combobulate-navigate-previous.gen.el ├── test-combobulate-navigate-sequence-next.gen.el ├── test-combobulate-navigate-sequence-previous.gen.el ├── test-combobulate-splice-self-offset-1.gen.el ├── test-combobulate-splice-self.gen.el ├── test-combobulate-splice-up.gen.el ├── test-edit-mc-nodes.el ├── test-edit-procedure.el ├── test-indent.el ├── test-misc.el └── test-query.el /.dockerignore: -------------------------------------------------------------------------------- 1 | Dockerfile 2 | *.elc 3 | .git/ 4 | .pytest_cache/ 5 | *.pyc 6 | \#* 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.elc 2 | flycheck* 3 | *#* 4 | /.envrc 5 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "tests/html-ts-mode"] 2 | path = tests/html-ts-mode 3 | url = git@github.com:mickeynp/html-ts-mode.git 4 | -------------------------------------------------------------------------------- /.ts-test.el: -------------------------------------------------------------------------------- 1 | ;;; Helper for the batch emacs command 2 | (setq load-prefer-newer t) 3 | (princ (format "Default directory is `%s'\n" default-directory)) 4 | (load-library "tests/html-ts-mode/html-ts-mode.el") 5 | -------------------------------------------------------------------------------- /docs/clone-dwim.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mickeynp/combobulate/59b64d66d66eb84da6a2cedd152b1692378af674/docs/clone-dwim.gif -------------------------------------------------------------------------------- /docs/combobulate-header.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mickeynp/combobulate/59b64d66d66eb84da6a2cedd152b1692378af674/docs/combobulate-header.jpg -------------------------------------------------------------------------------- /docs/combobulate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mickeynp/combobulate/59b64d66d66eb84da6a2cedd152b1692378af674/docs/combobulate.png -------------------------------------------------------------------------------- /docs/drag-complex.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mickeynp/combobulate/59b64d66d66eb84da6a2cedd152b1692378af674/docs/drag-complex.gif -------------------------------------------------------------------------------- /docs/enveloping.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mickeynp/combobulate/59b64d66d66eb84da6a2cedd152b1692378af674/docs/enveloping.gif -------------------------------------------------------------------------------- /docs/expand-region.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mickeynp/combobulate/59b64d66d66eb84da6a2cedd152b1692378af674/docs/expand-region.gif -------------------------------------------------------------------------------- /docs/mc-edit-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mickeynp/combobulate/59b64d66d66eb84da6a2cedd152b1692378af674/docs/mc-edit-1.gif -------------------------------------------------------------------------------- /docs/sibling-nav-jsx.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mickeynp/combobulate/59b64d66d66eb84da6a2cedd152b1692378af674/docs/sibling-nav-jsx.gif -------------------------------------------------------------------------------- /docs/splicing.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mickeynp/combobulate/59b64d66d66eb84da6a2cedd152b1692378af674/docs/splicing.gif -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/attributes.html[@1~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/component-jsx.tsx[@1~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((6 outline 225) (1 outline 240) (2 outline 240) (3 outline 240) (4 outline 240) (5 outline 240)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const test = () => ( 4 | 5 |
Foo
6 |
) 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/component-jsx.tsx[@2~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((6 outline 225) (1 outline 240) (2 outline 240) (3 outline 240) (4 outline 240) (5 outline 240)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const test = () => ( 4 | 5 |
Foo
6 |
) 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/component-jsx.tsx[@3~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((6 outline 225) (1 outline 240) (2 outline 240) (3 outline 240) (4 outline 240) (5 outline 240)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const test = () => ( 4 | 5 |
Foo
6 |
) 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/component-jsx.tsx[@4~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((6 outline 225) (1 outline 240) (2 outline 240) (3 outline 240) (4 outline 240) (5 outline 240)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const test = () => ( 4 | 5 |
Foo
6 |
) 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/component-jsx.tsx[@5~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((6 outline 225) (1 outline 240) (2 outline 240) (3 outline 240) (4 outline 240) (5 outline 240)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const test = () => ( 4 | 5 |
Foo
6 |
) 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/component-jsx.tsx[@6~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((6 outline 225) (1 outline 240) (2 outline 240) (3 outline 240) (4 outline 240) (5 outline 240)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const test = () => ( 4 | 5 |
Foo
6 |
Foo
7 |
) 8 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/css-declaration.css[@1~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 155)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .testimonial.middle { 4 | width: 90%; 5 | margin: 1rem 1rem 2rem 1rem 0rem; 6 | } 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/css-function-arg.css[@1~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 145)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .flex-center > div { 4 | width: clamp(90ch, 90ch, 180ch, 95vw); 5 | } 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/css-property.css[@1~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 153)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .testimonial { 4 | margin-left: 0.5rem; 5 | margin-top: .5rem; 6 | margin-top: .5rem; 7 | margin-top: .5rem; 8 | margin-bottom: .5rem; 9 | } 10 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/def-block.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 121)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo(): 5 | a = {1: 2, 3: 4} 6 | a = {1: 2, 3: 4} 7 | # some comment here 8 | b = (1, 2, 3) 9 | """ 10 | This is a multiline string 11 | """ 12 | some_func(1, 2, {"a": 1, "b": 2}) 13 | return a, b 14 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/def-function-object-args.tsx[@1~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 123)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({a, a, ...c, b = 1}: {a: number, b?: number, c: number} = {a: 1, c: 2}) { 3 | console.log(a, b, c); 4 | a = 2; 5 | b = 3; 6 | c = 4; 7 | { 8 | let a = 5; 9 | let b = 6; 10 | let c = 7; 11 | console.log(a, b, c); 12 | } 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/elements.html[@1~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Text 5 | Text 6 |
7 | Text here 8 |
9 | Sub text 10 |
11 | 14 | 15 | 16 | 17 | more text 18 |
19 |
20 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/elements.html[@2~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Text 5 |
6 | Text here 7 |
8 | Sub text 9 |
10 |
11 | Sub text 12 |
13 | 16 | 17 | 18 | 19 | more text 20 |
21 |
22 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/elements.html[@3~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Text 5 |
6 | Text here 7 |
8 | Sub text 9 |
10 | 13 | 14 | 15 | 18 | 19 | 20 | 21 | more text 22 |
23 |
24 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/module-statements.tsx[@1~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 145)); eval: (combobulate-test-fixture-mode t); -*- 2 | import { foo } from 'chai'; 3 | // comment 4 | 5 | function foo() { 6 | return 1; 7 | } 8 | function foo() { 9 | return 1; 10 | } 11 | 12 | const bar = () => 2; 13 | 14 | class Foo { 15 | constructor() { 16 | this.foo = 1; 17 | } 18 | } 19 | 20 | export default Foo; 21 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/python-dict.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 131) (2 outline 192)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | d = { 4 | "key1": "value1", 5 | "key1": "value1", 6 | 123: "value2", 7 | True: "value3", 8 | (4, 5): "value4", 9 | Foo.bar: "value5", 10 | {"inner_key": "inner_value"}: "value6", 11 | None: "value7", 12 | } 13 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/python-dict.py[@2~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 131) (2 outline 192)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | d = { 4 | "key1": "value1", 5 | 123: "value2", 6 | True: "value3", 7 | (4, 5): "value4", 8 | (4, 5): "value4", 9 | Foo.bar: "value5", 10 | {"inner_key": "inner_value"}: "value6", 11 | None: "value7", 12 | } 13 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/python-list.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = [1, 1, 4 | [2, 3], 5 | lambda: 1, {4, 5}, "foo"] 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/python-list.py[@2~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = [1, 4 | [2, 3], 5 | [2, 3], 6 | lambda: 1, {4, 5}, "foo"] 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/python-list.py[@3~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = [1, 4 | [2, 3], 5 | lambda: 1, 6 | lambda: 1, {4, 5}, "foo"] 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/python-list.py[@4~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = [1, 4 | [2, 3], 5 | lambda: 1, {4, 5}, {4, 5}, "foo"] 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/python-list.py[@5~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = [1, 4 | [2, 3], 5 | lambda: 1, {4, 5}, "foo" "foo"] 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/yaml-sequence.yaml[@1~after].yaml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 128) (2 outline 140)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | foo: 4 | - 1 5 | - 1 6 | - 2 7 | - 8 | - 3 9 | - 4 10 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-clone-dwim/yaml-sequence.yaml[@2~after].yaml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 128) (2 outline 140)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | foo: 4 | - 1 5 | - 2 6 | - 7 | - 3 8 | - 4 9 | - 10 | - 3 11 | - 4 12 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/attributes.html[@1~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 15 | 16 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/attributes.html[@2~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 15 | 16 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/attributes.html[@3~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 15 | 16 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/component-jsx.tsx[@1~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 221) (2 outline 236) (3 outline 258) (4 outline 266) (5 outline 287)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const test = () => ( 4 | 5 | 6 | quux baz 7 | {1 + 2} This is a test field {3 + 4} 8 | 9 | ) 10 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/component-jsx.tsx[@2~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 221) (2 outline 236) (3 outline 258) (4 outline 266) (5 outline 287)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const test = () => ( 4 | 5 | 6 | baz {1 + 2} 7 | quux This is a test field {3 + 4} 8 | 9 | ) 10 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/component-jsx.tsx[@3~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 221) (2 outline 236) (3 outline 258) (4 outline 266) (5 outline 287)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const test = () => ( 4 | 5 | 6 | baz quux 7 | This is a test field {1 + 2} {3 + 4} 8 | 9 | ) 10 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/component-jsx.tsx[@4~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 221) (2 outline 236) (3 outline 258) (4 outline 266) (5 outline 287)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const test = () => ( 4 | 5 | 6 | baz quux 7 | {1 + 2} {3 + 4} This is a test field 8 | 9 | ) 10 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/component-jsx.tsx[@5~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 221) (2 outline 236) (3 outline 258) (4 outline 266) (5 outline 287)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const test = () => ( 4 | 5 | 6 | baz quux 7 | {1 + 2} This is a test field {3 + 4} 8 | 9 | ) 10 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/const-declaration.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 179) (2 outline 206)); eval: (combobulate-test-fixture-mode t); -*- 2 | package main 3 | 4 | var ( 5 | foo = "bar" 6 | baz = "qux" 7 | ) 8 | 9 | const ( 10 | foo = 42 11 | message = "Hello, world!" 12 | ) 13 | 14 | type Person struct { 15 | Name string 16 | Age int 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/const-declaration.go[@2~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 179) (2 outline 206)); eval: (combobulate-test-fixture-mode t); -*- 2 | package main 3 | 4 | var ( 5 | foo = "bar" 6 | baz = "qux" 7 | ) 8 | 9 | const ( 10 | message = "Hello, world!" 11 | foo = 42 12 | ) 13 | 14 | type Person struct { 15 | Name string 16 | Age int 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/css-declaration.css[@1~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 203) (2 outline 208) (3 outline 213) (4 outline 218)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .testimonial.middle { 4 | width: 90%; 5 | margin: 2rem 1rem 1rem 0rem; 6 | } 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/css-declaration.css[@2~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 203) (2 outline 208) (3 outline 213) (4 outline 218)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .testimonial.middle { 4 | width: 90%; 5 | margin: 1rem 1rem 2rem 0rem; 6 | } 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/css-declaration.css[@3~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 203) (2 outline 208) (3 outline 213) (4 outline 218)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .testimonial.middle { 4 | width: 90%; 5 | margin: 1rem 2rem 0rem 1rem; 6 | } 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/css-declaration.css[@4~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 203) (2 outline 208) (3 outline 213) (4 outline 218)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .testimonial.middle { 4 | width: 90%; 5 | margin: 1rem 2rem 1rem 0rem; 6 | } 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/css-function-arg.css[@1~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 177) (2 outline 183) (3 outline 190)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .flex-center > div { 4 | width: clamp(180ch, 90ch, 95vw); 5 | } 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/css-function-arg.css[@2~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 177) (2 outline 183) (3 outline 190)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .flex-center > div { 4 | width: clamp(90ch, 95vw, 180ch); 5 | } 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/css-function-arg.css[@3~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 177) (2 outline 183) (3 outline 190)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .flex-center > div { 4 | width: clamp(90ch, 180ch, 95vw); 5 | } 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/css-nested-statements.css[@1~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 172) (2 outline 223) (3 outline 309)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | @media (min-width: 1024px) { 4 | .testimonial.right { 5 | float: right; 6 | width: 250px; 7 | margin-left: 2rem; 8 | } 9 | .testimonial.middle { 10 | margin-left: 2rem; 11 | } 12 | .testimonial.right-xl { 13 | float: right; 14 | width: 450px; 15 | margin-left: 2rem; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/css-nested-statements.css[@2~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 172) (2 outline 223) (3 outline 309)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | @media (min-width: 1024px) { 4 | .testimonial.middle { 5 | margin-left: 2rem; 6 | } 7 | .testimonial.right-xl { 8 | float: right; 9 | width: 450px; 10 | margin-left: 2rem; 11 | } 12 | .testimonial.right { 13 | float: right; 14 | width: 250px; 15 | margin-left: 2rem; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/css-nested-statements.css[@3~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 172) (2 outline 223) (3 outline 309)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | @media (min-width: 1024px) { 4 | .testimonial.middle { 5 | margin-left: 2rem; 6 | } 7 | .testimonial.right { 8 | float: right; 9 | width: 250px; 10 | margin-left: 2rem; 11 | } 12 | .testimonial.right-xl { 13 | float: right; 14 | width: 450px; 15 | margin-left: 2rem; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/css-property.css[@1~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 158) (2 outline 181) (3 outline 202)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .testimonial { 4 | margin-top: .5rem; 5 | margin-left: 0.5rem; 6 | margin-bottom: .5rem; 7 | } 8 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/css-property.css[@2~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 158) (2 outline 181) (3 outline 202)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .testimonial { 4 | margin-left: 0.5rem; 5 | margin-bottom: .5rem; 6 | margin-top: .5rem; 7 | } 8 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/css-property.css[@3~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 158) (2 outline 181) (3 outline 202)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .testimonial { 4 | margin-left: 0.5rem; 5 | margin-top: .5rem; 6 | margin-bottom: .5rem; 7 | } 8 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-block.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 185) (2 outline 230) (3 outline 248) (4 outline 295) (5 outline 333)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo(): 5 | b = (1, 2, 3) 6 | # some comment here 7 | a = {1: 2, 3: 4} 8 | """ 9 | This is a multiline string 10 | """ 11 | some_func(1, 2, {"a": 1, "b": 2}) 12 | return a, b 13 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-block.py[@2~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 185) (2 outline 230) (3 outline 248) (4 outline 295) (5 outline 333)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo(): 5 | a = {1: 2, 3: 4} 6 | # some comment here 7 | """ 8 | This is a multiline string 9 | """ 10 | b = (1, 2, 3) 11 | some_func(1, 2, {"a": 1, "b": 2}) 12 | return a, b 13 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-block.py[@3~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 185) (2 outline 230) (3 outline 248) (4 outline 295) (5 outline 333)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo(): 5 | a = {1: 2, 3: 4} 6 | # some comment here 7 | b = (1, 2, 3) 8 | some_func(1, 2, {"a": 1, "b": 2}) 9 | """ 10 | This is a multiline string 11 | """ 12 | return a, b 13 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-block.py[@4~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 185) (2 outline 230) (3 outline 248) (4 outline 295) (5 outline 333)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo(): 5 | a = {1: 2, 3: 4} 6 | # some comment here 7 | b = (1, 2, 3) 8 | """ 9 | This is a multiline string 10 | """ 11 | return a, b 12 | some_func(1, 2, {"a": 1, "b": 2}) 13 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-block.py[@5~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 185) (2 outline 230) (3 outline 248) (4 outline 295) (5 outline 333)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo(): 5 | a = {1: 2, 3: 4} 6 | # some comment here 7 | b = (1, 2, 3) 8 | """ 9 | This is a multiline string 10 | """ 11 | some_func(1, 2, {"a": 1, "b": 2}) 12 | return a, b 13 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-function-block.tsx[@1~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 275) (2 outline 299) (3 outline 308) (4 outline 317) (5 outline 326) (6 outline 418)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({a, b = 1, ...c}: {a: number, b?: number, c: number} = {a: 1, c: 2}) { 3 | a = 2; 4 | console.log(a, b, c); 5 | b = 3; 6 | c = 4; 7 | { 8 | let a = 5; 9 | let b = 6; 10 | let c = 7; 11 | console.log(a, b, c); 12 | } 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-function-block.tsx[@2~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 275) (2 outline 299) (3 outline 308) (4 outline 317) (5 outline 326) (6 outline 418)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({a, b = 1, ...c}: {a: number, b?: number, c: number} = {a: 1, c: 2}) { 3 | console.log(a, b, c); 4 | b = 3; 5 | a = 2; 6 | c = 4; 7 | { 8 | let a = 5; 9 | let b = 6; 10 | let c = 7; 11 | console.log(a, b, c); 12 | } 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-function-block.tsx[@3~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 275) (2 outline 299) (3 outline 308) (4 outline 317) (5 outline 326) (6 outline 418)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({a, b = 1, ...c}: {a: number, b?: number, c: number} = {a: 1, c: 2}) { 3 | console.log(a, b, c); 4 | a = 2; 5 | c = 4; 6 | b = 3; 7 | { 8 | let a = 5; 9 | let b = 6; 10 | let c = 7; 11 | console.log(a, b, c); 12 | } 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-function-block.tsx[@4~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 275) (2 outline 299) (3 outline 308) (4 outline 317) (5 outline 326) (6 outline 418)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({a, b = 1, ...c}: {a: number, b?: number, c: number} = {a: 1, c: 2}) { 3 | console.log(a, b, c); 4 | a = 2; 5 | b = 3; 6 | { 7 | let a = 5; 8 | let b = 6; 9 | let c = 7; 10 | console.log(a, b, c); 11 | } 12 | c = 4; 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-function-block.tsx[@5~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 275) (2 outline 299) (3 outline 308) (4 outline 317) (5 outline 326) (6 outline 418)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({a, b = 1, ...c}: {a: number, b?: number, c: number} = {a: 1, c: 2}) { 3 | console.log(a, b, c); 4 | a = 2; 5 | b = 3; 6 | c = 4; 7 | return {a, b, c}; 8 | // comment 9 | { 10 | let a = 5; 11 | let b = 6; 12 | let c = 7; 13 | console.log(a, b, c); 14 | } 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-function-block.tsx[@6~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 275) (2 outline 299) (3 outline 308) (4 outline 317) (5 outline 326) (6 outline 418)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({a, b = 1, ...c}: {a: number, b?: number, c: number} = {a: 1, c: 2}) { 3 | console.log(a, b, c); 4 | a = 2; 5 | b = 3; 6 | c = 4; 7 | { 8 | let a = 5; 9 | let b = 6; 10 | let c = 7; 11 | console.log(a, b, c); 12 | } 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-function-object-args.tsx[@1~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 155) (2 outline 158) (3 outline 164)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({...c, a, b = 1}: {a: number, b?: number, c: number} = {a: 1, c: 2}) { 3 | console.log(a, b, c); 4 | a = 2; 5 | b = 3; 6 | c = 4; 7 | { 8 | let a = 5; 9 | let b = 6; 10 | let c = 7; 11 | console.log(a, b, c); 12 | } 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-function-object-args.tsx[@2~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 155) (2 outline 158) (3 outline 164)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({a, b = 1, ...c}: {a: number, b?: number, c: number} = {a: 1, c: 2}) { 3 | console.log(a, b, c); 4 | a = 2; 5 | b = 3; 6 | c = 4; 7 | { 8 | let a = 5; 9 | let b = 6; 10 | let c = 7; 11 | console.log(a, b, c); 12 | } 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-function-object-args.tsx[@3~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 155) (2 outline 158) (3 outline 164)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({a, ...c, b = 1}: {a: number, b?: number, c: number} = {a: 1, c: 2}) { 3 | console.log(a, b, c); 4 | a = 2; 5 | b = 3; 6 | c = 4; 7 | { 8 | let a = 5; 9 | let b = 6; 10 | let c = 7; 11 | console.log(a, b, c); 12 | } 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-function-type-args.tsx[@1~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 173) (2 outline 184) (3 outline 196)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({a, b = 1, ...c}: {b?: number, a: number, c: number} = {a: 1, c: 2}) { 3 | console.log(a, b, c); 4 | a = 2; 5 | b = 3; 6 | c = 4; 7 | { 8 | let a = 5; 9 | let b = 6; 10 | let c = 7; 11 | console.log(a, b, c); 12 | } 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-function-type-args.tsx[@2~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 173) (2 outline 184) (3 outline 196)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({a, b = 1, ...c}: {a: number, c: number, b?: number} = {a: 1, c: 2}) { 3 | console.log(a, b, c); 4 | a = 2; 5 | b = 3; 6 | c = 4; 7 | { 8 | let a = 5; 9 | let b = 6; 10 | let c = 7; 11 | console.log(a, b, c); 12 | } 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-function-type-args.tsx[@3~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 173) (2 outline 184) (3 outline 196)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({a, b = 1, ...c}: {a: number, b?: number, c: number} = {a: 1, c: 2}) { 3 | console.log(a, b, c); 4 | a = 2; 5 | b = 3; 6 | c = 4; 7 | { 8 | let a = 5; 9 | let b = 6; 10 | let c = 7; 11 | console.log(a, b, c); 12 | } 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-parameters.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 247) (2 outline 257) (3 outline 267) (4 outline 274) (5 outline 284) (6 outline 294) (7 outline 301) (8 outline 343) (9 outline 355)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo( 5 | arg2, 6 | arg1, 7 | /, 8 | arg3, 9 | arg4, 10 | *, 11 | a={ 12 | 1, 13 | (2, 3), 14 | }, 15 | b=None, 16 | c=..., 17 | ): 18 | pass 19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-parameters.py[@2~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 247) (2 outline 257) (3 outline 267) (4 outline 274) (5 outline 284) (6 outline 294) (7 outline 301) (8 outline 343) (9 outline 355)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo( 5 | arg1, 6 | /, 7 | arg2, 8 | arg3, 9 | arg4, 10 | *, 11 | a={ 12 | 1, 13 | (2, 3), 14 | }, 15 | b=None, 16 | c=..., 17 | ): 18 | pass 19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-parameters.py[@3~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 247) (2 outline 257) (3 outline 267) (4 outline 274) (5 outline 284) (6 outline 294) (7 outline 301) (8 outline 343) (9 outline 355)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo( 5 | arg1, 6 | arg2, 7 | arg3, 8 | /, 9 | arg4, 10 | *, 11 | a={ 12 | 1, 13 | (2, 3), 14 | }, 15 | b=None, 16 | c=..., 17 | ): 18 | pass 19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-parameters.py[@4~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 247) (2 outline 257) (3 outline 267) (4 outline 274) (5 outline 284) (6 outline 294) (7 outline 301) (8 outline 343) (9 outline 355)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo( 5 | arg1, 6 | arg2, 7 | /, 8 | arg4, 9 | arg3, 10 | *, 11 | a={ 12 | 1, 13 | (2, 3), 14 | }, 15 | b=None, 16 | c=..., 17 | ): 18 | pass 19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-parameters.py[@5~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 247) (2 outline 257) (3 outline 267) (4 outline 274) (5 outline 284) (6 outline 294) (7 outline 301) (8 outline 343) (9 outline 355)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo( 5 | arg1, 6 | arg2, 7 | /, 8 | arg3, 9 | *, 10 | arg4, 11 | a={ 12 | 1, 13 | (2, 3), 14 | }, 15 | b=None, 16 | c=..., 17 | ): 18 | pass 19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-parameters.py[@6~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 247) (2 outline 257) (3 outline 267) (4 outline 274) (5 outline 284) (6 outline 294) (7 outline 301) (8 outline 343) (9 outline 355)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo( 5 | arg1, 6 | arg2, 7 | /, 8 | arg3, 9 | arg4, 10 | a={ 11 | 1, 12 | (2, 3), 13 | }, 14 | *, 15 | b=None, 16 | c=..., 17 | ): 18 | pass 19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-parameters.py[@7~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 247) (2 outline 257) (3 outline 267) (4 outline 274) (5 outline 284) (6 outline 294) (7 outline 301) (8 outline 343) (9 outline 355)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo( 5 | arg1, 6 | arg2, 7 | /, 8 | arg3, 9 | arg4, 10 | *, 11 | b=None, 12 | a={ 13 | 1, 14 | (2, 3), 15 | }, 16 | c=..., 17 | ): 18 | pass 19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-parameters.py[@8~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 247) (2 outline 257) (3 outline 267) (4 outline 274) (5 outline 284) (6 outline 294) (7 outline 301) (8 outline 343) (9 outline 355)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo( 5 | arg1, 6 | arg2, 7 | /, 8 | arg3, 9 | arg4, 10 | *, 11 | a={ 12 | 1, 13 | (2, 3), 14 | }, 15 | c=..., 16 | b=None, 17 | ): 18 | pass 19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/def-parameters.py[@9~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 247) (2 outline 257) (3 outline 267) (4 outline 274) (5 outline 284) (6 outline 294) (7 outline 301) (8 outline 343) (9 outline 355)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo( 5 | arg1, 6 | arg2, 7 | /, 8 | arg3, 9 | arg4, 10 | *, 11 | a={ 12 | 1, 13 | (2, 3), 14 | }, 15 | b=None, 16 | c=..., 17 | ): 18 | pass 19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/elements.html[@1~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | Text 6 | Text here 7 |
8 | Sub text 9 |
10 | 13 | 14 | 15 | 16 | more text 17 |
18 |
19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/elements.html[@2~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Text 5 | Text here 6 |
7 |
8 | Sub text 9 |
10 | 13 | 14 | 15 | 16 | more text 17 |
18 |
19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/elements.html[@3~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Text 5 |
6 |
7 | Sub text 8 |
9 | Text here 10 | 13 | 14 | 15 | 16 | more text 17 |
18 |
19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/elements.html[@4~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Text 5 |
6 | Text here 7 | 10 | 11 | 12 |
13 | Sub text 14 |
15 | 16 | more text 17 |
18 |
19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/elements.html[@5~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Text 5 |
6 | Text here 7 |
8 | Sub text 9 |
10 | 11 | 14 | 15 | 16 | more text 17 |
18 |
19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/elements.html[@6~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Text 5 |
6 | Text here 7 |
8 | Sub text 9 |
10 | 13 | 14 | 15 | more text 16 | 17 |
18 |
19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/elements.html[@7~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Text 5 |
6 | Text here 7 |
8 | Sub text 9 |
10 | 13 | 14 | 15 | 16 | more text 17 |
18 |
19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/expr-switch.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 168) (2 outline 209) (3 outline 252)); eval: (combobulate-test-fixture-mode t); -*- 2 | func foo () { 3 | switch value { 4 | case string: 5 | fmt.Println("String type") 6 | case int: 7 | fmt.Println("Integer type") 8 | default: 9 | fmt.Printf("Unexpected type %T\n", value) 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/expr-switch.go[@2~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 168) (2 outline 209) (3 outline 252)); eval: (combobulate-test-fixture-mode t); -*- 2 | func foo () { 3 | switch value { 4 | case int: 5 | fmt.Println("Integer type") 6 | default: 7 | fmt.Printf("Unexpected type %T\n", value) 8 | case string: 9 | fmt.Println("String type") 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/expr-switch.go[@3~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 168) (2 outline 209) (3 outline 252)); eval: (combobulate-test-fixture-mode t); -*- 2 | func foo () { 3 | switch value { 4 | case int: 5 | fmt.Println("Integer type") 6 | case string: 7 | fmt.Println("String type") 8 | default: 9 | fmt.Printf("Unexpected type %T\n", value) 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/for-loop.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 154) (2 outline 162) (3 outline 169)); eval: (combobulate-test-fixture-mode t); -*- 2 | go func() { 3 | for i < 5; i := 0; i++ { 4 | ch <- i 5 | } 6 | close(ch) 7 | }() 8 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/for-loop.go[@2~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 154) (2 outline 162) (3 outline 169)); eval: (combobulate-test-fixture-mode t); -*- 2 | go func() { 3 | for i := 0; i++; i < 5 { 4 | ch <- i 5 | } 6 | close(ch) 7 | }() 8 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/for-loop.go[@3~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 154) (2 outline 162) (3 outline 169)); eval: (combobulate-test-fixture-mode t); -*- 2 | go func() { 3 | for i := 0; i < 5; i++ { 4 | ch <- i 5 | } 6 | close(ch) 7 | }() 8 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/import-declaration.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 131) (2 outline 146)); eval: (combobulate-test-fixture-mode t); -*- 2 | import ( 3 | "example.com/foo" 4 | // foo 5 | "fmt" 6 | ) 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/import-declaration.go[@2~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 131) (2 outline 146)); eval: (combobulate-test-fixture-mode t); -*- 2 | import ( 3 | "fmt" 4 | // foo 5 | "example.com/foo" 6 | ) 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/inside-case.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 151)); eval: (combobulate-test-fixture-mode t); -*- 2 | switch value := x.(type) { 3 | case int: 4 | // Foo 5 | go func() { 6 | for i := 0; i < 5; i++ { 7 | ch <- i 8 | } 9 | close(ch) 10 | }() 11 | fmt.Println("Integer type") 12 | fmt.Println("Integer type") 13 | case string: 14 | fmt.Println("String type") 15 | default: 16 | fmt.Printf("Unexpected type %T\n", value) 17 | } 18 | 19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/inside-table.toml[@1~after].toml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 147) (2 outline 168) (3 outline 195)); eval: (combobulate-test-fixture-mode t); -*- 2 | [database] 3 | ports = [8000, 8001, 8002] 4 | server = "localhost" 5 | enabled = true 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/inside-table.toml[@2~after].toml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 147) (2 outline 168) (3 outline 195)); eval: (combobulate-test-fixture-mode t); -*- 2 | [database] 3 | server = "localhost" 4 | enabled = true 5 | ports = [8000, 8001, 8002] 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/inside-table.toml[@3~after].toml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 147) (2 outline 168) (3 outline 195)); eval: (combobulate-test-fixture-mode t); -*- 2 | [database] 3 | server = "localhost" 4 | ports = [8000, 8001, 8002] 5 | enabled = true 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/literal.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 199) (2 outline 202) (3 outline 209) (4 outline 216) (5 outline 224) (6 outline 227)); eval: (combobulate-test-fixture-mode t); -*- 2 | nums := []int{"foo", 2, 2.344, {1, 2}, 3, 4} 3 | 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/literal.go[@2~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 199) (2 outline 202) (3 outline 209) (4 outline 216) (5 outline 224) (6 outline 227)); eval: (combobulate-test-fixture-mode t); -*- 2 | nums := []int{2, 2.344, "foo", {1, 2}, 3, 4} 3 | 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/literal.go[@3~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 199) (2 outline 202) (3 outline 209) (4 outline 216) (5 outline 224) (6 outline 227)); eval: (combobulate-test-fixture-mode t); -*- 2 | nums := []int{2, "foo", {1, 2}, 2.344, 3, 4} 3 | 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/literal.go[@4~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 199) (2 outline 202) (3 outline 209) (4 outline 216) (5 outline 224) (6 outline 227)); eval: (combobulate-test-fixture-mode t); -*- 2 | nums := []int{2, "foo", 2.344, 3, {1, 2}, 4} 3 | 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/literal.go[@5~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 199) (2 outline 202) (3 outline 209) (4 outline 216) (5 outline 224) (6 outline 227)); eval: (combobulate-test-fixture-mode t); -*- 2 | nums := []int{2, "foo", 2.344, {1, 2}, 4, 3} 3 | 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/literal.go[@6~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 199) (2 outline 202) (3 outline 209) (4 outline 216) (5 outline 224) (6 outline 227)); eval: (combobulate-test-fixture-mode t); -*- 2 | nums := []int{2, "foo", 2.344, {1, 2}, 3, 4} 3 | 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/map.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 139) (2 outline 153)); eval: (combobulate-test-fixture-mode t); -*- 2 | map[string]string{"b": "banana", "a": "apple"} 3 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/map.go[@2~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 139) (2 outline 153)); eval: (combobulate-test-fixture-mode t); -*- 2 | map[string]string{"a": "apple", "b": "banana"} 3 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/module-statements.tsx[@1~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 169) (2 outline 209) (3 outline 241) (4 outline 263) (5 outline 318)); eval: (combobulate-test-fixture-mode t); -*- 2 | function foo() { 3 | return 1; 4 | } 5 | // comment 6 | 7 | import { foo } from 'chai'; 8 | 9 | const bar = () => 2; 10 | 11 | class Foo { 12 | constructor() { 13 | this.foo = 1; 14 | } 15 | } 16 | 17 | export default Foo; 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/module-statements.tsx[@2~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 169) (2 outline 209) (3 outline 241) (4 outline 263) (5 outline 318)); eval: (combobulate-test-fixture-mode t); -*- 2 | import { foo } from 'chai'; 3 | // comment 4 | 5 | const bar = () => 2; 6 | 7 | function foo() { 8 | return 1; 9 | } 10 | 11 | class Foo { 12 | constructor() { 13 | this.foo = 1; 14 | } 15 | } 16 | 17 | export default Foo; 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/module-statements.tsx[@3~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 169) (2 outline 209) (3 outline 241) (4 outline 263) (5 outline 318)); eval: (combobulate-test-fixture-mode t); -*- 2 | import { foo } from 'chai'; 3 | // comment 4 | 5 | function foo() { 6 | return 1; 7 | } 8 | 9 | class Foo { 10 | constructor() { 11 | this.foo = 1; 12 | } 13 | } 14 | 15 | const bar = () => 2; 16 | 17 | export default Foo; 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/module-statements.tsx[@4~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 169) (2 outline 209) (3 outline 241) (4 outline 263) (5 outline 318)); eval: (combobulate-test-fixture-mode t); -*- 2 | import { foo } from 'chai'; 3 | // comment 4 | 5 | function foo() { 6 | return 1; 7 | } 8 | 9 | const bar = () => 2; 10 | 11 | export default Foo; 12 | 13 | class Foo { 14 | constructor() { 15 | this.foo = 1; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/module-statements.tsx[@5~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 169) (2 outline 209) (3 outline 241) (4 outline 263) (5 outline 318)); eval: (combobulate-test-fixture-mode t); -*- 2 | import { foo } from 'chai'; 3 | // comment 4 | 5 | function foo() { 6 | return 1; 7 | } 8 | 9 | const bar = () => 2; 10 | 11 | class Foo { 12 | constructor() { 13 | this.foo = 1; 14 | } 15 | } 16 | 17 | export default Foo; 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-dict.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 211) (2 outline 233) (3 outline 252) (4 outline 272) (5 outline 294) (6 outline 317) (7 outline 361)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | d = { 4 | 123: 'value2', 5 | 'key1': 'value1', 6 | True: 'value3', 7 | (4, 5): 'value4', 8 | Foo.bar: 'value5', 9 | {'inner_key': 'inner_value'}: 'value6', 10 | None: 'value7' 11 | } 12 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-dict.py[@2~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 211) (2 outline 233) (3 outline 252) (4 outline 272) (5 outline 294) (6 outline 317) (7 outline 361)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | d = { 4 | 'key1': 'value1', 5 | True: 'value3', 6 | 123: 'value2', 7 | (4, 5): 'value4', 8 | Foo.bar: 'value5', 9 | {'inner_key': 'inner_value'}: 'value6', 10 | None: 'value7' 11 | } 12 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-dict.py[@3~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 211) (2 outline 233) (3 outline 252) (4 outline 272) (5 outline 294) (6 outline 317) (7 outline 361)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | d = { 4 | 'key1': 'value1', 5 | 123: 'value2', 6 | (4, 5): 'value4', 7 | True: 'value3', 8 | Foo.bar: 'value5', 9 | {'inner_key': 'inner_value'}: 'value6', 10 | None: 'value7' 11 | } 12 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-dict.py[@4~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 211) (2 outline 233) (3 outline 252) (4 outline 272) (5 outline 294) (6 outline 317) (7 outline 361)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | d = { 4 | 'key1': 'value1', 5 | 123: 'value2', 6 | True: 'value3', 7 | Foo.bar: 'value5', 8 | (4, 5): 'value4', 9 | {'inner_key': 'inner_value'}: 'value6', 10 | None: 'value7' 11 | } 12 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-dict.py[@5~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 211) (2 outline 233) (3 outline 252) (4 outline 272) (5 outline 294) (6 outline 317) (7 outline 361)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | d = { 4 | 'key1': 'value1', 5 | 123: 'value2', 6 | True: 'value3', 7 | (4, 5): 'value4', 8 | {'inner_key': 'inner_value'}: 'value6', 9 | Foo.bar: 'value5', 10 | None: 'value7' 11 | } 12 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-dict.py[@6~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 211) (2 outline 233) (3 outline 252) (4 outline 272) (5 outline 294) (6 outline 317) (7 outline 361)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | d = { 4 | 'key1': 'value1', 5 | 123: 'value2', 6 | True: 'value3', 7 | (4, 5): 'value4', 8 | Foo.bar: 'value5', 9 | None: 'value7', 10 | {'inner_key': 'inner_value'}: 'value6' 11 | } 12 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-dict.py[@7~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 211) (2 outline 233) (3 outline 252) (4 outline 272) (5 outline 294) (6 outline 317) (7 outline 361)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | d = { 4 | 'key1': 'value1', 5 | 123: 'value2', 6 | True: 'value3', 7 | (4, 5): 'value4', 8 | Foo.bar: 'value5', 9 | {'inner_key': 'inner_value'}: 'value6', 10 | None: 'value7' 11 | } 12 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-list.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = [[2, 3], 4 | 1, 5 | lambda: 1, {4, 5}, "foo"] 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-list.py[@2~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = [1, 4 | lambda: 1, 5 | [2, 3], {4, 5}, "foo"] 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-list.py[@3~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = [1, 4 | [2, 3], 5 | {4, 5}, lambda: 1, "foo"] 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-list.py[@4~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = [1, 4 | [2, 3], 5 | lambda: 1, "foo", {4, 5}] 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-list.py[@5~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = [1, 4 | [2, 3], 5 | lambda: 1, {4, 5}, "foo"] 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-match-case.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 152) (2 outline 177) (3 outline 202)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | match Foo: 4 | case 2: 5 | pass 6 | case 1: 7 | pass 8 | case _: 9 | pass 10 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-match-case.py[@2~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 152) (2 outline 177) (3 outline 202)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | match Foo: 4 | case 1: 5 | pass 6 | case _: 7 | pass 8 | case 2: 9 | pass 10 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-match-case.py[@3~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 152) (2 outline 177) (3 outline 202)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | match Foo: 4 | case 1: 5 | pass 6 | case 2: 7 | pass 8 | case _: 9 | pass 10 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-set.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 144) (2 outline 147) (3 outline 155)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | foo = {{b, c}, a, (1, 2),} 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-set.py[@2~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 144) (2 outline 147) (3 outline 155)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | foo = {a, (1, 2), {b, c},} 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-set.py[@3~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 144) (2 outline 147) (3 outline 155)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | foo = {a, {b, c}, (1, 2),} 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-string.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 191) (2 outline 195) (3 outline 198) (4 outline 203) (5 outline 206) (6 outline 207)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | s = f"{a}foo bar {b} baz" 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-string.py[@2~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 191) (2 outline 195) (3 outline 198) (4 outline 203) (5 outline 206) (6 outline 207)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | s = f"foo bar {a}{b} baz" 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-string.py[@3~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 191) (2 outline 195) (3 outline 198) (4 outline 203) (5 outline 206) (6 outline 207)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | s = f"foo {a}{b} bar baz" 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-string.py[@4~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 191) (2 outline 195) (3 outline 198) (4 outline 203) (5 outline 206) (6 outline 207)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | s = f"foo {a} bar baz{b}" 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-string.py[@5~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 191) (2 outline 195) (3 outline 198) (4 outline 203) (5 outline 206) (6 outline 207)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | s = f"foo {a} bar {b} baz" 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-string.py[@6~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 191) (2 outline 195) (3 outline 198) (4 outline 203) (5 outline 206) (6 outline 207)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | s = f"foo {a} bar {b} baz" 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-tuple-pattern.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 170) (2 outline 173) (3 outline 181) (4 outline 184) (5 outline 187)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | ((_, f), a, c, d, e) = a 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-tuple-pattern.py[@2~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 170) (2 outline 173) (3 outline 181) (4 outline 184) (5 outline 187)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | (a, c, (_, f), d, e) = a 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-tuple-pattern.py[@3~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 170) (2 outline 173) (3 outline 181) (4 outline 184) (5 outline 187)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | (a, (_, f), d, c, e) = a 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-tuple-pattern.py[@4~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 170) (2 outline 173) (3 outline 181) (4 outline 184) (5 outline 187)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | (a, (_, f), c, e, d) = a 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-tuple-pattern.py[@5~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 170) (2 outline 173) (3 outline 181) (4 outline 184) (5 outline 187)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | (a, (_, f), c, d, e) = a 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-tuple.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = ([2, 3], 4 | 1, 5 | lambda: 1, {4, 5}, "foo") 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-tuple.py[@2~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = (1, 4 | lambda: 1, 5 | [2, 3], {4, 5}, "foo") 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-tuple.py[@3~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = (1, 4 | [2, 3], 5 | {4, 5}, lambda: 1, "foo") 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-tuple.py[@4~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = (1, 4 | [2, 3], 5 | lambda: 1, "foo", {4, 5}) 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/python-tuple.py[@5~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = (1, 4 | [2, 3], 5 | lambda: 1, {4, 5}, "foo") 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/switch.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 180) (2 outline 221) (3 outline 264)); eval: (combobulate-test-fixture-mode t); -*- 2 | func foo () { 3 | switch value := x.(type) { 4 | case string: 5 | fmt.Println("String type") 6 | case int: 7 | fmt.Println("Integer type") 8 | default: 9 | fmt.Printf("Unexpected type %T\n", value) 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/switch.go[@2~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 180) (2 outline 221) (3 outline 264)); eval: (combobulate-test-fixture-mode t); -*- 2 | func foo () { 3 | switch value := x.(type) { 4 | case int: 5 | fmt.Println("Integer type") 6 | default: 7 | fmt.Printf("Unexpected type %T\n", value) 8 | case string: 9 | fmt.Println("String type") 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/switch.go[@3~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 180) (2 outline 221) (3 outline 264)); eval: (combobulate-test-fixture-mode t); -*- 2 | func foo () { 3 | switch value := x.(type) { 4 | case int: 5 | fmt.Println("Integer type") 6 | case string: 7 | fmt.Println("String type") 8 | default: 9 | fmt.Printf("Unexpected type %T\n", value) 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/type-declaration.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 244) (2 outline 257)); eval: (combobulate-test-fixture-mode t); -*- 2 | package main 3 | 4 | var ( 5 | foo = "bar" 6 | baz = "qux" 7 | ) 8 | 9 | const ( 10 | message = "Hello, world!" 11 | foo = 42 12 | ) 13 | 14 | type Person struct { 15 | Age int 16 | Name string 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/type-declaration.go[@2~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 244) (2 outline 257)); eval: (combobulate-test-fixture-mode t); -*- 2 | package main 3 | 4 | var ( 5 | foo = "bar" 6 | baz = "qux" 7 | ) 8 | 9 | const ( 10 | message = "Hello, world!" 11 | foo = 42 12 | ) 13 | 14 | type Person struct { 15 | Name string 16 | Age int 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/value-array.toml[@1~after].toml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 177) (2 outline 183) (3 outline 189)); eval: (combobulate-test-fixture-mode t); -*- 2 | [database] 3 | server = "localhost" 4 | ports = [8001, 8000, 8002] 5 | enabled = true 6 | 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/value-array.toml[@2~after].toml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 177) (2 outline 183) (3 outline 189)); eval: (combobulate-test-fixture-mode t); -*- 2 | [database] 3 | server = "localhost" 4 | ports = [8000, 8002, 8001] 5 | enabled = true 6 | 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/value-array.toml[@3~after].toml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 177) (2 outline 183) (3 outline 189)); eval: (combobulate-test-fixture-mode t); -*- 2 | [database] 3 | server = "localhost" 4 | ports = [8000, 8001, 8002] 5 | enabled = true 6 | 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/var-declaration.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 142) (2 outline 155)); eval: (combobulate-test-fixture-mode t); -*- 2 | package main 3 | 4 | var ( 5 | baz = "qux" 6 | foo = "bar" 7 | ) 8 | 9 | const ( 10 | message = "Hello, world!" 11 | foo = 42 12 | ) 13 | 14 | type Person struct { 15 | Name string 16 | Age int 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-down/var-declaration.go[@2~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 142) (2 outline 155)); eval: (combobulate-test-fixture-mode t); -*- 2 | package main 3 | 4 | var ( 5 | foo = "bar" 6 | baz = "qux" 7 | ) 8 | 9 | const ( 10 | message = "Hello, world!" 11 | foo = 42 12 | ) 13 | 14 | type Person struct { 15 | Name string 16 | Age int 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/attributes.html[@1~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 15 | 16 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/attributes.html[@2~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 15 | 16 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/attributes.html[@3~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 15 | 16 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/component-jsx.tsx[@1~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 221) (2 outline 236) (3 outline 258) (4 outline 266) (5 outline 287)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const test = () => ( 4 | 5 | 6 | baz quux 7 | {1 + 2} This is a test field {3 + 4} 8 | 9 | ) 10 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/component-jsx.tsx[@2~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 221) (2 outline 236) (3 outline 258) (4 outline 266) (5 outline 287)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const test = () => ( 4 | 5 | 6 | quux baz 7 | {1 + 2} This is a test field {3 + 4} 8 | 9 | ) 10 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/component-jsx.tsx[@3~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 221) (2 outline 236) (3 outline 258) (4 outline 266) (5 outline 287)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const test = () => ( 4 | 5 | 6 | baz {1 + 2} 7 | quux This is a test field {3 + 4} 8 | 9 | ) 10 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/component-jsx.tsx[@4~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 221) (2 outline 236) (3 outline 258) (4 outline 266) (5 outline 287)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const test = () => ( 4 | 5 | 6 | baz quux 7 | This is a test field {1 + 2} {3 + 4} 8 | 9 | ) 10 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/component-jsx.tsx[@5~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 221) (2 outline 236) (3 outline 258) (4 outline 266) (5 outline 287)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const test = () => ( 4 | 5 | 6 | baz quux 7 | {1 + 2} {3 + 4} This is a test field 8 | 9 | ) 10 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/const-declaration.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 179) (2 outline 206)); eval: (combobulate-test-fixture-mode t); -*- 2 | package main 3 | 4 | var ( 5 | foo = "bar" 6 | baz = "qux" 7 | ) 8 | 9 | const ( 10 | message = "Hello, world!" 11 | foo = 42 12 | ) 13 | 14 | type Person struct { 15 | Name string 16 | Age int 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/const-declaration.go[@2~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 179) (2 outline 206)); eval: (combobulate-test-fixture-mode t); -*- 2 | package main 3 | 4 | var ( 5 | foo = "bar" 6 | baz = "qux" 7 | ) 8 | 9 | const ( 10 | foo = 42 11 | message = "Hello, world!" 12 | ) 13 | 14 | type Person struct { 15 | Name string 16 | Age int 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/css-declaration.css[@1~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 203) (2 outline 208) (3 outline 213) (4 outline 218)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .testimonial.middle { 4 | width: 90%; 5 | margin: 1rem 2rem 1rem 0rem; 6 | } 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/css-declaration.css[@2~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 203) (2 outline 208) (3 outline 213) (4 outline 218)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .testimonial.middle { 4 | width: 90%; 5 | margin: 2rem 1rem 1rem 0rem; 6 | } 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/css-declaration.css[@3~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 203) (2 outline 208) (3 outline 213) (4 outline 218)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .testimonial.middle { 4 | width: 90%; 5 | margin: 1rem 1rem 2rem 0rem; 6 | } 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/css-declaration.css[@4~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 203) (2 outline 208) (3 outline 213) (4 outline 218)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .testimonial.middle { 4 | width: 90%; 5 | margin: 1rem 2rem 0rem 1rem; 6 | } 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/css-function-arg.css[@1~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 177) (2 outline 183) (3 outline 190)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .flex-center > div { 4 | width: clamp(90ch, 180ch, 95vw); 5 | } 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/css-function-arg.css[@2~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 177) (2 outline 183) (3 outline 190)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .flex-center > div { 4 | width: clamp(180ch, 90ch, 95vw); 5 | } 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/css-function-arg.css[@3~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 177) (2 outline 183) (3 outline 190)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .flex-center > div { 4 | width: clamp(90ch, 95vw, 180ch); 5 | } 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/css-nested-statements.css[@1~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 172) (2 outline 223) (3 outline 309)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | @media (min-width: 1024px) { 4 | .testimonial.middle { 5 | margin-left: 2rem; 6 | } 7 | .testimonial.right { 8 | float: right; 9 | width: 250px; 10 | margin-left: 2rem; 11 | } 12 | .testimonial.right-xl { 13 | float: right; 14 | width: 450px; 15 | margin-left: 2rem; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/css-nested-statements.css[@2~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 172) (2 outline 223) (3 outline 309)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | @media (min-width: 1024px) { 4 | .testimonial.right { 5 | float: right; 6 | width: 250px; 7 | margin-left: 2rem; 8 | } 9 | .testimonial.middle { 10 | margin-left: 2rem; 11 | } 12 | .testimonial.right-xl { 13 | float: right; 14 | width: 450px; 15 | margin-left: 2rem; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/css-nested-statements.css[@3~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 172) (2 outline 223) (3 outline 309)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | @media (min-width: 1024px) { 4 | .testimonial.middle { 5 | margin-left: 2rem; 6 | } 7 | .testimonial.right-xl { 8 | float: right; 9 | width: 450px; 10 | margin-left: 2rem; 11 | } 12 | .testimonial.right { 13 | float: right; 14 | width: 250px; 15 | margin-left: 2rem; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/css-property.css[@1~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 158) (2 outline 181) (3 outline 202)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .testimonial { 4 | margin-left: 0.5rem; 5 | margin-top: .5rem; 6 | margin-bottom: .5rem; 7 | } 8 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/css-property.css[@2~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 158) (2 outline 181) (3 outline 202)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .testimonial { 4 | margin-top: .5rem; 5 | margin-left: 0.5rem; 6 | margin-bottom: .5rem; 7 | } 8 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/css-property.css[@3~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 158) (2 outline 181) (3 outline 202)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .testimonial { 4 | margin-left: 0.5rem; 5 | margin-bottom: .5rem; 6 | margin-top: .5rem; 7 | } 8 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/def-block.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 185) (2 outline 230) (3 outline 248) (4 outline 295) (5 outline 333)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo(): 5 | a = {1: 2, 3: 4} 6 | # some comment here 7 | b = (1, 2, 3) 8 | """ 9 | This is a multiline string 10 | """ 11 | some_func(1, 2, {"a": 1, "b": 2}) 12 | return a, b 13 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/def-block.py[@2~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 185) (2 outline 230) (3 outline 248) (4 outline 295) (5 outline 333)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo(): 5 | b = (1, 2, 3) 6 | # some comment here 7 | a = {1: 2, 3: 4} 8 | """ 9 | This is a multiline string 10 | """ 11 | some_func(1, 2, {"a": 1, "b": 2}) 12 | return a, b 13 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/def-block.py[@3~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 185) (2 outline 230) (3 outline 248) (4 outline 295) (5 outline 333)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo(): 5 | a = {1: 2, 3: 4} 6 | # some comment here 7 | """ 8 | This is a multiline string 9 | """ 10 | b = (1, 2, 3) 11 | some_func(1, 2, {"a": 1, "b": 2}) 12 | return a, b 13 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/def-block.py[@4~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 185) (2 outline 230) (3 outline 248) (4 outline 295) (5 outline 333)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo(): 5 | a = {1: 2, 3: 4} 6 | # some comment here 7 | b = (1, 2, 3) 8 | some_func(1, 2, {"a": 1, "b": 2}) 9 | """ 10 | This is a multiline string 11 | """ 12 | return a, b 13 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/def-block.py[@5~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 185) (2 outline 230) (3 outline 248) (4 outline 295) (5 outline 333)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo(): 5 | a = {1: 2, 3: 4} 6 | # some comment here 7 | b = (1, 2, 3) 8 | """ 9 | This is a multiline string 10 | """ 11 | return a, b 12 | some_func(1, 2, {"a": 1, "b": 2}) 13 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/def-function-block.tsx[@1~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 275) (2 outline 299) (3 outline 308) (4 outline 317) (5 outline 326) (6 outline 418)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({a, b = 1, ...c}: {a: number, b?: number, c: number} = {a: 1, c: 2}) { 3 | console.log(a, b, c); 4 | a = 2; 5 | b = 3; 6 | c = 4; 7 | { 8 | let a = 5; 9 | let b = 6; 10 | let c = 7; 11 | console.log(a, b, c); 12 | } 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/def-function-block.tsx[@2~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 275) (2 outline 299) (3 outline 308) (4 outline 317) (5 outline 326) (6 outline 418)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({a, b = 1, ...c}: {a: number, b?: number, c: number} = {a: 1, c: 2}) { 3 | a = 2; 4 | console.log(a, b, c); 5 | b = 3; 6 | c = 4; 7 | { 8 | let a = 5; 9 | let b = 6; 10 | let c = 7; 11 | console.log(a, b, c); 12 | } 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/def-function-object-args.tsx[@1~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 155) (2 outline 158) (3 outline 164)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({a, ...c, b = 1}: {a: number, b?: number, c: number} = {a: 1, c: 2}) { 3 | console.log(a, b, c); 4 | a = 2; 5 | b = 3; 6 | c = 4; 7 | { 8 | let a = 5; 9 | let b = 6; 10 | let c = 7; 11 | console.log(a, b, c); 12 | } 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/def-function-object-args.tsx[@2~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 155) (2 outline 158) (3 outline 164)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({...c, a, b = 1}: {a: number, b?: number, c: number} = {a: 1, c: 2}) { 3 | console.log(a, b, c); 4 | a = 2; 5 | b = 3; 6 | c = 4; 7 | { 8 | let a = 5; 9 | let b = 6; 10 | let c = 7; 11 | console.log(a, b, c); 12 | } 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/def-function-object-args.tsx[@3~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 155) (2 outline 158) (3 outline 164)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({a, b = 1, ...c}: {a: number, b?: number, c: number} = {a: 1, c: 2}) { 3 | console.log(a, b, c); 4 | a = 2; 5 | b = 3; 6 | c = 4; 7 | { 8 | let a = 5; 9 | let b = 6; 10 | let c = 7; 11 | console.log(a, b, c); 12 | } 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/def-function-type-args.tsx[@1~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 173) (2 outline 184) (3 outline 196)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({a, b = 1, ...c}: {a: number, b?: number, c: number} = {a: 1, c: 2}) { 3 | console.log(a, b, c); 4 | a = 2; 5 | b = 3; 6 | c = 4; 7 | { 8 | let a = 5; 9 | let b = 6; 10 | let c = 7; 11 | console.log(a, b, c); 12 | } 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/def-function-type-args.tsx[@2~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 173) (2 outline 184) (3 outline 196)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({a, b = 1, ...c}: {b?: number, a: number, c: number} = {a: 1, c: 2}) { 3 | console.log(a, b, c); 4 | a = 2; 5 | b = 3; 6 | c = 4; 7 | { 8 | let a = 5; 9 | let b = 6; 10 | let c = 7; 11 | console.log(a, b, c); 12 | } 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/def-function-type-args.tsx[@3~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 173) (2 outline 184) (3 outline 196)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({a, b = 1, ...c}: {a: number, c: number, b?: number} = {a: 1, c: 2}) { 3 | console.log(a, b, c); 4 | a = 2; 5 | b = 3; 6 | c = 4; 7 | { 8 | let a = 5; 9 | let b = 6; 10 | let c = 7; 11 | console.log(a, b, c); 12 | } 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/def-parameters.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 247) (2 outline 257) (3 outline 267) (4 outline 274) (5 outline 284) (6 outline 294) (7 outline 301) (8 outline 343) (9 outline 355)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo( 5 | arg1, 6 | arg2, 7 | /, 8 | arg3, 9 | arg4, 10 | *, 11 | a={ 12 | 1, 13 | (2, 3), 14 | }, 15 | b=None, 16 | c=..., 17 | ): 18 | pass 19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/def-parameters.py[@2~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 247) (2 outline 257) (3 outline 267) (4 outline 274) (5 outline 284) (6 outline 294) (7 outline 301) (8 outline 343) (9 outline 355)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo( 5 | arg2, 6 | arg1, 7 | /, 8 | arg3, 9 | arg4, 10 | *, 11 | a={ 12 | 1, 13 | (2, 3), 14 | }, 15 | b=None, 16 | c=..., 17 | ): 18 | pass 19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/def-parameters.py[@3~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 247) (2 outline 257) (3 outline 267) (4 outline 274) (5 outline 284) (6 outline 294) (7 outline 301) (8 outline 343) (9 outline 355)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo( 5 | arg1, 6 | /, 7 | arg2, 8 | arg3, 9 | arg4, 10 | *, 11 | a={ 12 | 1, 13 | (2, 3), 14 | }, 15 | b=None, 16 | c=..., 17 | ): 18 | pass 19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/def-parameters.py[@4~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 247) (2 outline 257) (3 outline 267) (4 outline 274) (5 outline 284) (6 outline 294) (7 outline 301) (8 outline 343) (9 outline 355)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo( 5 | arg1, 6 | arg2, 7 | arg3, 8 | /, 9 | arg4, 10 | *, 11 | a={ 12 | 1, 13 | (2, 3), 14 | }, 15 | b=None, 16 | c=..., 17 | ): 18 | pass 19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/def-parameters.py[@5~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 247) (2 outline 257) (3 outline 267) (4 outline 274) (5 outline 284) (6 outline 294) (7 outline 301) (8 outline 343) (9 outline 355)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo( 5 | arg1, 6 | arg2, 7 | /, 8 | arg4, 9 | arg3, 10 | *, 11 | a={ 12 | 1, 13 | (2, 3), 14 | }, 15 | b=None, 16 | c=..., 17 | ): 18 | pass 19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/def-parameters.py[@6~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 247) (2 outline 257) (3 outline 267) (4 outline 274) (5 outline 284) (6 outline 294) (7 outline 301) (8 outline 343) (9 outline 355)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo( 5 | arg1, 6 | arg2, 7 | /, 8 | arg3, 9 | *, 10 | arg4, 11 | a={ 12 | 1, 13 | (2, 3), 14 | }, 15 | b=None, 16 | c=..., 17 | ): 18 | pass 19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/def-parameters.py[@7~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 247) (2 outline 257) (3 outline 267) (4 outline 274) (5 outline 284) (6 outline 294) (7 outline 301) (8 outline 343) (9 outline 355)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo( 5 | arg1, 6 | arg2, 7 | /, 8 | arg3, 9 | arg4, 10 | a={ 11 | 1, 12 | (2, 3), 13 | }, 14 | *, 15 | b=None, 16 | c=..., 17 | ): 18 | pass 19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/def-parameters.py[@8~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 247) (2 outline 257) (3 outline 267) (4 outline 274) (5 outline 284) (6 outline 294) (7 outline 301) (8 outline 343) (9 outline 355)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo( 5 | arg1, 6 | arg2, 7 | /, 8 | arg3, 9 | arg4, 10 | *, 11 | b=None, 12 | a={ 13 | 1, 14 | (2, 3), 15 | }, 16 | c=..., 17 | ): 18 | pass 19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/def-parameters.py[@9~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 247) (2 outline 257) (3 outline 267) (4 outline 274) (5 outline 284) (6 outline 294) (7 outline 301) (8 outline 343) (9 outline 355)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo( 5 | arg1, 6 | arg2, 7 | /, 8 | arg3, 9 | arg4, 10 | *, 11 | a={ 12 | 1, 13 | (2, 3), 14 | }, 15 | c=..., 16 | b=None, 17 | ): 18 | pass 19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/elements.html[@1~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Text 5 |
6 | Text here 7 |
8 | Sub text 9 |
10 | 13 | 14 | 15 | 16 | more text 17 |
18 |
19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/elements.html[@2~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | Text 6 | Text here 7 |
8 | Sub text 9 |
10 | 13 | 14 | 15 | 16 | more text 17 |
18 |
19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/elements.html[@3~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Text 5 | Text here 6 |
7 |
8 | Sub text 9 |
10 | 13 | 14 | 15 | 16 | more text 17 |
18 |
19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/elements.html[@4~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Text 5 |
6 |
7 | Sub text 8 |
9 | Text here 10 | 13 | 14 | 15 | 16 | more text 17 |
18 |
19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/elements.html[@5~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Text 5 |
6 | Text here 7 | 10 | 11 | 12 |
13 | Sub text 14 |
15 | 16 | more text 17 |
18 |
19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/elements.html[@6~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Text 5 |
6 | Text here 7 |
8 | Sub text 9 |
10 | 11 | 14 | 15 | 16 | more text 17 |
18 |
19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/elements.html[@7~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Text 5 |
6 | Text here 7 |
8 | Sub text 9 |
10 | 13 | 14 | 15 | more text 16 | 17 |
18 |
19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/expr-switch.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 168) (2 outline 209) (3 outline 252)); eval: (combobulate-test-fixture-mode t); -*- 2 | func foo () { 3 | switch value { 4 | case int: 5 | fmt.Println("Integer type") 6 | case string: 7 | fmt.Println("String type") 8 | default: 9 | fmt.Printf("Unexpected type %T\n", value) 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/expr-switch.go[@2~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 168) (2 outline 209) (3 outline 252)); eval: (combobulate-test-fixture-mode t); -*- 2 | func foo () { 3 | switch value { 4 | case string: 5 | fmt.Println("String type") 6 | case int: 7 | fmt.Println("Integer type") 8 | default: 9 | fmt.Printf("Unexpected type %T\n", value) 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/expr-switch.go[@3~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 168) (2 outline 209) (3 outline 252)); eval: (combobulate-test-fixture-mode t); -*- 2 | func foo () { 3 | switch value { 4 | case int: 5 | fmt.Println("Integer type") 6 | default: 7 | fmt.Printf("Unexpected type %T\n", value) 8 | case string: 9 | fmt.Println("String type") 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/for-loop.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 154) (2 outline 162) (3 outline 169)); eval: (combobulate-test-fixture-mode t); -*- 2 | go func() { 3 | for i := 0; i < 5; i++ { 4 | ch <- i 5 | } 6 | close(ch) 7 | }() 8 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/for-loop.go[@2~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 154) (2 outline 162) (3 outline 169)); eval: (combobulate-test-fixture-mode t); -*- 2 | go func() { 3 | for i < 5; i := 0; i++ { 4 | ch <- i 5 | } 6 | close(ch) 7 | }() 8 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/for-loop.go[@3~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 154) (2 outline 162) (3 outline 169)); eval: (combobulate-test-fixture-mode t); -*- 2 | go func() { 3 | for i := 0; i++; i < 5 { 4 | ch <- i 5 | } 6 | close(ch) 7 | }() 8 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/import-declaration.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 131) (2 outline 146)); eval: (combobulate-test-fixture-mode t); -*- 2 | import ( 3 | "fmt" 4 | // foo 5 | "example.com/foo" 6 | ) 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/import-declaration.go[@2~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 131) (2 outline 146)); eval: (combobulate-test-fixture-mode t); -*- 2 | import ( 3 | "example.com/foo" 4 | // foo 5 | "fmt" 6 | ) 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/inside-case.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 151)); eval: (combobulate-test-fixture-mode t); -*- 2 | switch value := x.(type) { 3 | case fmt.Println("Integer type"): 4 | // Foo 5 | int 6 | go func() { 7 | for i := 0; i < 5; i++ { 8 | ch <- i 9 | } 10 | close(ch) 11 | }() 12 | fmt.Println("Integer type") 13 | case string: 14 | fmt.Println("String type") 15 | default: 16 | fmt.Printf("Unexpected type %T\n", value) 17 | } 18 | 19 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/inside-table.toml[@1~after].toml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 147) (2 outline 168) (3 outline 195)); eval: (combobulate-test-fixture-mode t); -*- 2 | [database] 3 | server = "localhost" 4 | ports = [8000, 8001, 8002] 5 | enabled = true 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/inside-table.toml[@2~after].toml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 147) (2 outline 168) (3 outline 195)); eval: (combobulate-test-fixture-mode t); -*- 2 | [database] 3 | ports = [8000, 8001, 8002] 4 | server = "localhost" 5 | enabled = true 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/inside-table.toml[@3~after].toml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 147) (2 outline 168) (3 outline 195)); eval: (combobulate-test-fixture-mode t); -*- 2 | [database] 3 | server = "localhost" 4 | enabled = true 5 | ports = [8000, 8001, 8002] 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/literal.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 199) (2 outline 202) (3 outline 209) (4 outline 216) (5 outline 224) (6 outline 227)); eval: (combobulate-test-fixture-mode t); -*- 2 | nums := []int{2, "foo", 2.344, {1, 2}, 3, 4} 3 | 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/literal.go[@2~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 199) (2 outline 202) (3 outline 209) (4 outline 216) (5 outline 224) (6 outline 227)); eval: (combobulate-test-fixture-mode t); -*- 2 | nums := []int{"foo", 2, 2.344, {1, 2}, 3, 4} 3 | 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/literal.go[@3~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 199) (2 outline 202) (3 outline 209) (4 outline 216) (5 outline 224) (6 outline 227)); eval: (combobulate-test-fixture-mode t); -*- 2 | nums := []int{2, 2.344, "foo", {1, 2}, 3, 4} 3 | 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/literal.go[@4~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 199) (2 outline 202) (3 outline 209) (4 outline 216) (5 outline 224) (6 outline 227)); eval: (combobulate-test-fixture-mode t); -*- 2 | nums := []int{2, "foo", {1, 2}, 2.344, 3, 4} 3 | 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/literal.go[@5~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 199) (2 outline 202) (3 outline 209) (4 outline 216) (5 outline 224) (6 outline 227)); eval: (combobulate-test-fixture-mode t); -*- 2 | nums := []int{2, "foo", 2.344, 3, {1, 2}, 4} 3 | 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/literal.go[@6~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 199) (2 outline 202) (3 outline 209) (4 outline 216) (5 outline 224) (6 outline 227)); eval: (combobulate-test-fixture-mode t); -*- 2 | nums := []int{2, "foo", 2.344, {1, 2}, 4, 3} 3 | 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/map.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 139) (2 outline 153)); eval: (combobulate-test-fixture-mode t); -*- 2 | map[string]string{"a": "apple", "b": "banana"} 3 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/map.go[@2~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 139) (2 outline 153)); eval: (combobulate-test-fixture-mode t); -*- 2 | map[string]string{"b": "banana", "a": "apple"} 3 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/module-statements.tsx[@1~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 169) (2 outline 209) (3 outline 241) (4 outline 263) (5 outline 318)); eval: (combobulate-test-fixture-mode t); -*- 2 | import { foo } from 'chai'; 3 | // comment 4 | 5 | function foo() { 6 | return 1; 7 | } 8 | 9 | const bar = () => 2; 10 | 11 | class Foo { 12 | constructor() { 13 | this.foo = 1; 14 | } 15 | } 16 | 17 | export default Foo; 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/module-statements.tsx[@2~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 169) (2 outline 209) (3 outline 241) (4 outline 263) (5 outline 318)); eval: (combobulate-test-fixture-mode t); -*- 2 | function foo() { 3 | return 1; 4 | } 5 | // comment 6 | 7 | import { foo } from 'chai'; 8 | 9 | const bar = () => 2; 10 | 11 | class Foo { 12 | constructor() { 13 | this.foo = 1; 14 | } 15 | } 16 | 17 | export default Foo; 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/module-statements.tsx[@3~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 169) (2 outline 209) (3 outline 241) (4 outline 263) (5 outline 318)); eval: (combobulate-test-fixture-mode t); -*- 2 | import { foo } from 'chai'; 3 | // comment 4 | 5 | const bar = () => 2; 6 | 7 | function foo() { 8 | return 1; 9 | } 10 | 11 | class Foo { 12 | constructor() { 13 | this.foo = 1; 14 | } 15 | } 16 | 17 | export default Foo; 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/module-statements.tsx[@4~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 169) (2 outline 209) (3 outline 241) (4 outline 263) (5 outline 318)); eval: (combobulate-test-fixture-mode t); -*- 2 | import { foo } from 'chai'; 3 | // comment 4 | 5 | function foo() { 6 | return 1; 7 | } 8 | 9 | class Foo { 10 | constructor() { 11 | this.foo = 1; 12 | } 13 | } 14 | 15 | const bar = () => 2; 16 | 17 | export default Foo; 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/module-statements.tsx[@5~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 169) (2 outline 209) (3 outline 241) (4 outline 263) (5 outline 318)); eval: (combobulate-test-fixture-mode t); -*- 2 | import { foo } from 'chai'; 3 | // comment 4 | 5 | function foo() { 6 | return 1; 7 | } 8 | 9 | const bar = () => 2; 10 | 11 | export default Foo; 12 | 13 | class Foo { 14 | constructor() { 15 | this.foo = 1; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-dict.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 211) (2 outline 233) (3 outline 252) (4 outline 272) (5 outline 294) (6 outline 317) (7 outline 361)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | d = { 4 | 'key1': 'value1', 5 | 123: 'value2', 6 | True: 'value3', 7 | (4, 5): 'value4', 8 | Foo.bar: 'value5', 9 | {'inner_key': 'inner_value'}: 'value6', 10 | None: 'value7' 11 | } 12 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-dict.py[@2~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 211) (2 outline 233) (3 outline 252) (4 outline 272) (5 outline 294) (6 outline 317) (7 outline 361)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | d = { 4 | 123: 'value2', 5 | 'key1': 'value1', 6 | True: 'value3', 7 | (4, 5): 'value4', 8 | Foo.bar: 'value5', 9 | {'inner_key': 'inner_value'}: 'value6', 10 | None: 'value7' 11 | } 12 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-dict.py[@3~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 211) (2 outline 233) (3 outline 252) (4 outline 272) (5 outline 294) (6 outline 317) (7 outline 361)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | d = { 4 | 'key1': 'value1', 5 | True: 'value3', 6 | 123: 'value2', 7 | (4, 5): 'value4', 8 | Foo.bar: 'value5', 9 | {'inner_key': 'inner_value'}: 'value6', 10 | None: 'value7' 11 | } 12 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-dict.py[@4~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 211) (2 outline 233) (3 outline 252) (4 outline 272) (5 outline 294) (6 outline 317) (7 outline 361)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | d = { 4 | 'key1': 'value1', 5 | 123: 'value2', 6 | (4, 5): 'value4', 7 | True: 'value3', 8 | Foo.bar: 'value5', 9 | {'inner_key': 'inner_value'}: 'value6', 10 | None: 'value7' 11 | } 12 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-dict.py[@5~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 211) (2 outline 233) (3 outline 252) (4 outline 272) (5 outline 294) (6 outline 317) (7 outline 361)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | d = { 4 | 'key1': 'value1', 5 | 123: 'value2', 6 | True: 'value3', 7 | Foo.bar: 'value5', 8 | (4, 5): 'value4', 9 | {'inner_key': 'inner_value'}: 'value6', 10 | None: 'value7' 11 | } 12 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-dict.py[@6~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 211) (2 outline 233) (3 outline 252) (4 outline 272) (5 outline 294) (6 outline 317) (7 outline 361)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | d = { 4 | 'key1': 'value1', 5 | 123: 'value2', 6 | True: 'value3', 7 | (4, 5): 'value4', 8 | {'inner_key': 'inner_value'}: 'value6', 9 | Foo.bar: 'value5', 10 | None: 'value7' 11 | } 12 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-dict.py[@7~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 211) (2 outline 233) (3 outline 252) (4 outline 272) (5 outline 294) (6 outline 317) (7 outline 361)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | d = { 4 | 'key1': 'value1', 5 | 123: 'value2', 6 | True: 'value3', 7 | (4, 5): 'value4', 8 | Foo.bar: 'value5', 9 | None: 'value7', 10 | {'inner_key': 'inner_value'}: 'value6' 11 | } 12 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-list.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = [1, 4 | [2, 3], 5 | lambda: 1, {4, 5}, "foo"] 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-list.py[@2~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = [[2, 3], 4 | 1, 5 | lambda: 1, {4, 5}, "foo"] 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-list.py[@3~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = [1, 4 | lambda: 1, 5 | [2, 3], {4, 5}, "foo"] 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-list.py[@4~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = [1, 4 | [2, 3], 5 | {4, 5}, lambda: 1, "foo"] 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-list.py[@5~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = [1, 4 | [2, 3], 5 | lambda: 1, "foo", {4, 5}] 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-match-case.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 152) (2 outline 177) (3 outline 202)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | match Foo: 4 | case 1: 5 | pass 6 | case 2: 7 | pass 8 | case _: 9 | pass 10 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-match-case.py[@2~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 152) (2 outline 177) (3 outline 202)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | match Foo: 4 | case 2: 5 | pass 6 | case 1: 7 | pass 8 | case _: 9 | pass 10 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-match-case.py[@3~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 152) (2 outline 177) (3 outline 202)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | match Foo: 4 | case 1: 5 | pass 6 | case _: 7 | pass 8 | case 2: 9 | pass 10 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-set.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 144) (2 outline 147) (3 outline 155)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | foo = {a, {b, c}, (1, 2),} 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-set.py[@2~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 144) (2 outline 147) (3 outline 155)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | foo = {{b, c}, a, (1, 2),} 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-set.py[@3~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 144) (2 outline 147) (3 outline 155)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | foo = {a, (1, 2), {b, c},} 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-string.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 191) (2 outline 195) (3 outline 198) (4 outline 203) (5 outline 206) (6 outline 207)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | s = f"foo {a} bar {b} baz" 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-string.py[@2~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 191) (2 outline 195) (3 outline 198) (4 outline 203) (5 outline 206) (6 outline 207)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | s = f"{a}foo bar {b} baz" 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-string.py[@3~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 191) (2 outline 195) (3 outline 198) (4 outline 203) (5 outline 206) (6 outline 207)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | s = f"foo bar {a}{b} baz" 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-string.py[@4~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 191) (2 outline 195) (3 outline 198) (4 outline 203) (5 outline 206) (6 outline 207)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | s = f"foo {a}{b} bar baz" 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-string.py[@5~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 191) (2 outline 195) (3 outline 198) (4 outline 203) (5 outline 206) (6 outline 207)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | s = f"foo {a} bar baz{b}" 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-string.py[@6~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 191) (2 outline 195) (3 outline 198) (4 outline 203) (5 outline 206) (6 outline 207)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | s = f"foo {a} bar baz{b}" 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-tuple-pattern.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 170) (2 outline 173) (3 outline 181) (4 outline 184) (5 outline 187)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | (a, (_, f), c, d, e) = a 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-tuple-pattern.py[@2~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 170) (2 outline 173) (3 outline 181) (4 outline 184) (5 outline 187)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | ((_, f), a, c, d, e) = a 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-tuple-pattern.py[@3~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 170) (2 outline 173) (3 outline 181) (4 outline 184) (5 outline 187)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | (a, c, (_, f), d, e) = a 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-tuple-pattern.py[@4~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 170) (2 outline 173) (3 outline 181) (4 outline 184) (5 outline 187)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | (a, (_, f), d, c, e) = a 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-tuple-pattern.py[@5~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 170) (2 outline 173) (3 outline 181) (4 outline 184) (5 outline 187)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | (a, (_, f), c, e, d) = a 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-tuple.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = (1, 4 | [2, 3], 5 | lambda: 1, {4, 5}, "foo") 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-tuple.py[@2~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = ([2, 3], 4 | 1, 5 | lambda: 1, {4, 5}, "foo") 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-tuple.py[@3~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = (1, 4 | lambda: 1, 5 | [2, 3], {4, 5}, "foo") 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-tuple.py[@4~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = (1, 4 | [2, 3], 5 | {4, 5}, lambda: 1, "foo") 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/python-tuple.py[@5~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = (1, 4 | [2, 3], 5 | lambda: 1, "foo", {4, 5}) 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/switch.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 180) (2 outline 221) (3 outline 264)); eval: (combobulate-test-fixture-mode t); -*- 2 | func foo () { 3 | switch value := x.(type) { 4 | case int: 5 | fmt.Println("Integer type") 6 | case string: 7 | fmt.Println("String type") 8 | default: 9 | fmt.Printf("Unexpected type %T\n", value) 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/switch.go[@2~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 180) (2 outline 221) (3 outline 264)); eval: (combobulate-test-fixture-mode t); -*- 2 | func foo () { 3 | switch value := x.(type) { 4 | case string: 5 | fmt.Println("String type") 6 | case int: 7 | fmt.Println("Integer type") 8 | default: 9 | fmt.Printf("Unexpected type %T\n", value) 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/switch.go[@3~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 180) (2 outline 221) (3 outline 264)); eval: (combobulate-test-fixture-mode t); -*- 2 | func foo () { 3 | switch value := x.(type) { 4 | case int: 5 | fmt.Println("Integer type") 6 | default: 7 | fmt.Printf("Unexpected type %T\n", value) 8 | case string: 9 | fmt.Println("String type") 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/type-declaration.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 244) (2 outline 257)); eval: (combobulate-test-fixture-mode t); -*- 2 | package main 3 | 4 | var ( 5 | foo = "bar" 6 | baz = "qux" 7 | ) 8 | 9 | const ( 10 | message = "Hello, world!" 11 | foo = 42 12 | ) 13 | 14 | type Person struct { 15 | Name string 16 | Age int 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/type-declaration.go[@2~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 244) (2 outline 257)); eval: (combobulate-test-fixture-mode t); -*- 2 | package main 3 | 4 | var ( 5 | foo = "bar" 6 | baz = "qux" 7 | ) 8 | 9 | const ( 10 | message = "Hello, world!" 11 | foo = 42 12 | ) 13 | 14 | type Person struct { 15 | Age int 16 | Name string 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/value-array.toml[@1~after].toml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 177) (2 outline 183) (3 outline 189)); eval: (combobulate-test-fixture-mode t); -*- 2 | [database] 3 | server = "localhost" 4 | ports = [8000, 8001, 8002] 5 | enabled = true 6 | 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/value-array.toml[@2~after].toml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 177) (2 outline 183) (3 outline 189)); eval: (combobulate-test-fixture-mode t); -*- 2 | [database] 3 | server = "localhost" 4 | ports = [8001, 8000, 8002] 5 | enabled = true 6 | 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/value-array.toml[@3~after].toml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 177) (2 outline 183) (3 outline 189)); eval: (combobulate-test-fixture-mode t); -*- 2 | [database] 3 | server = "localhost" 4 | ports = [8000, 8002, 8001] 5 | enabled = true 6 | 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/var-declaration.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 142) (2 outline 155)); eval: (combobulate-test-fixture-mode t); -*- 2 | package main 3 | 4 | var ( 5 | foo = "bar" 6 | baz = "qux" 7 | ) 8 | 9 | const ( 10 | message = "Hello, world!" 11 | foo = 42 12 | ) 13 | 14 | type Person struct { 15 | Name string 16 | Age int 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-drag-up/var-declaration.go[@2~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 142) (2 outline 155)); eval: (combobulate-test-fixture-mode t); -*- 2 | package main 3 | 4 | var ( 5 | baz = "qux" 6 | foo = "bar" 7 | ) 8 | 9 | const ( 10 | message = "Hello, world!" 11 | foo = 42 12 | ) 13 | 14 | type Person struct { 15 | Name string 16 | Age int 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions-tsx/component.tsx[choice-has-choice-0@1~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 171)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | function Foo({ a, b }: { a: number, b: number }) { 4 | return
{a + 11.1}
5 | } 6 | 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions-tsx/component.tsx[choice-has-choice-1@1~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 171)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | function Foo({ a, b }: { a: number, b: number }) { 4 | return
{a + 11.2}
5 | } 6 | 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions-tsx/component.tsx[choice-has-choice-2@1~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 171)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | function Foo({ a, b }: { a: number, b: number }) { 4 | return
{a + 2}
5 | } 6 | 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions-tsx/component.tsx[choice-has-choice-3@1~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 171)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | function Foo({ a, b }: { a: number, b: number }) { 4 | return
{a + 2}
5 | } 6 | 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions-tsx/component.tsx[choice-simple-0@1~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 171)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | function Foo({ a, b }: { a: number, b: number }) { 4 | return
{a + 1}
5 | } 6 | 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions-tsx/component.tsx[choice-simple-1@1~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 171)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | function Foo({ a, b }: { a: number, b: number }) { 4 | return
{a + 2}
5 | } 6 | 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions-tsx/component.tsx[choicestar-with-complex-missing-field-alt@1~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 171)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | function Foo({ a, b }: { a: number, b: number }) { 4 | return
{null 5 | ?
Some jsx element
6 | : 7 | }
8 | } 9 | 10 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions-tsx/component.tsx[choicestar-with-complex-missing-field-consequence@1~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 171)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | function Foo({ a, b }: { a: number, b: number }) { 4 | return
{null 5 | ? null 6 | :
Some jsx element
7 | }
8 | } 9 | 10 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions/blank.py[choice-simple-0@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 104)); eval: (combobulate-test-fixture-mode t); -*- 2 | {a + 1} 3 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions/blank.py[choice-simple-1@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 104)); eval: (combobulate-test-fixture-mode t); -*- 2 | {a + 2} 3 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions/blank.py[choicestar-with-complex-missing-field@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 104)); eval: (combobulate-test-fixture-mode t); -*- 2 | {null 3 | ? 4 | : 5 | } 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions/blank.py[field-before-prompt@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 104)); eval: (combobulate-test-fixture-mode t); -*- 2 | a = blah 3 | b = blah 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions/blank.py[insert-missing-register-with-default@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 104)); eval: (combobulate-test-fixture-mode t); -*- 2 | if True: 3 | foo 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions/blank.py[insert-region-register-2-then-indent@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 104)); eval: (combobulate-test-fixture-mode t); -*- 2 | if True: 3 | my_register = 1 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions/blank.py[insert-region-register-then-indent@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 104)); eval: (combobulate-test-fixture-mode t); -*- 2 | if True: 3 | random = 1 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions/blank.py[insert-region-register@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 104)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions/blank.py[newline-and-indent-inside-block-both@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 104)); eval: (combobulate-test-fixture-mode t); -*- 2 | if 1: 3 | b = 1 4 | c = 1 5 | while True: 6 | d = 3 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions/blank.py[newline-and-indent-inside-block-then-outside@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 104)); eval: (combobulate-test-fixture-mode t); -*- 2 | if 1: 3 | b = 1 4 | c = 1 5 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions/blank.py[newline-and-indent-simple@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 104)); eval: (combobulate-test-fixture-mode t); -*- 2 | a = 1 3 | b = 1 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions/blank.py[newline@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 104)); eval: (combobulate-test-fixture-mode t); -*- 2 | a = 1 3 | b = 1 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions/blank.py[prompt-manual-input-once@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 104)); eval: (combobulate-test-fixture-mode t); -*- 2 | a = simulated prompt value 3 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions/blank.py[prompt-manual-input-twice@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 104)); eval: (combobulate-test-fixture-mode t); -*- 2 | a = second value 3 | b = simulated prompt value 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions/blank.py[prompt-manual-keyboard-quit@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 104)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions/blank.py[prompt-register-once@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 104)); eval: (combobulate-test-fixture-mode t); -*- 2 | a = foo 3 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions/blank.py[prompt-register-reused@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 104)); eval: (combobulate-test-fixture-mode t); -*- 2 | a = this is a prompt value 3 | b = this is a prompt value 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions/blank.py[save-column-nested@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 104)); eval: (combobulate-test-fixture-mode t); -*- 2 | def Foo(): 3 | try: 4 | with some_stuff() as foo: 5 | pass 6 | except: 7 | pass 8 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions/blank.py[save-column@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 104)); eval: (combobulate-test-fixture-mode t); -*- 2 | def Foo(): 3 | try: 4 | do_something() 5 | except: 6 | pass 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions/blank.py[string-basic@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 104)); eval: (combobulate-test-fixture-mode t); -*- 2 | test string 3 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-envelope-expand-instructions/blank.py[string-multiple@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 104)); eval: (combobulate-test-fixture-mode t); -*- 2 | abc 3 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-kill-dwim/attributes.html[@1~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 13 | 14 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-kill-dwim/block.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 229) (2 outline 262) (3 outline 279) (4 outline 299) (5 outline 333) (6 outline 381)); eval: (combobulate-test-fixture-mode t); -*- 2 | package main 3 | 4 | import "fmt" 5 | 6 | func main() { 7 | 8 | 9 | 10 | } 11 | 12 | var ( 13 | foo = "bar" 14 | baz = "qux" 15 | ) 16 | 17 | const ( 18 | message = "Hello, world!" 19 | foo = 42 20 | ) 21 | 22 | type Person struct { 23 | Name string 24 | Age int 25 | } 26 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-kill-dwim/component-jsx.tsx[@1~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 221) (2 outline 236) (3 outline 258) (4 outline 266) (5 outline 287)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const test = () => ( 4 | 5 | 6 | 7 | 8 | ) 9 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-kill-dwim/css-declaration.css[@1~after].css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 203) (2 outline 208) (3 outline 213) (4 outline 218)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .testimonial.middle { 4 | width: 90%; 5 | margin: ; 6 | } 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-kill-dwim/python-dict.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 211) (2 outline 233) (3 outline 252) (4 outline 272) (5 outline 294) (6 outline 317) (7 outline 361)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | d = { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-kill-dwim/python-match-case.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 152) (2 outline 177) (3 outline 202)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | match Foo: 4 | 5 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-self-offset-1/choice-1-for-loop-body.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 145)); eval: (combobulate-test-fixture-mode t); -*- 2 | go func() { 3 | ch <- i 4 | close(ch) 5 | }() 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-self-offset-1/choice-1-inside-case.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 151)); eval: (combobulate-test-fixture-mode t); -*- 2 | fmt.Println("Integer type") 3 | 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-self-offset-1/choice-1-switch.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 120)); eval: (combobulate-test-fixture-mode t); -*- 2 | switch value := x.(type) { 3 | case int: 4 | fmt.Println("Integer type") 5 | case string: 6 | fmt.Println("String type") 7 | default: 8 | fmt.Printf("Unexpected type %T\n", value) 9 | } 10 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-self/choice-0-block-pairs.yaml[@1~after].yaml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((4 outline 182) (3 outline 191) (2 outline 226) (1 outline 267)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | # Deeply nested pairs 4 | One: 5 | Two: 6 | Three: 7 | Bar: "Baz" 8 | lists: 9 | - foo 10 | - bar 11 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-self/choice-0-block-pairs.yaml[@2~after].yaml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((4 outline 182) (3 outline 191) (2 outline 226) (1 outline 267)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | # Deeply nested pairs 4 | One: 5 | Two: 6 | Three: 7 | lists: 8 | - foo 9 | - 10 | - bar 11 | - biz 12 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-self/choice-0-block-pairs.yaml[@3~after].yaml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((4 outline 182) (3 outline 191) (2 outline 226) (1 outline 267)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | # Deeply nested pairs 4 | One: 5 | Three: 6 | Bar: "Baz" 7 | lists: 8 | - foo 9 | - 10 | - bar 11 | - biz 12 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-self/choice-0-block-pairs.yaml[@4~after].yaml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((4 outline 182) (3 outline 191) (2 outline 226) (1 outline 267)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | # Deeply nested pairs 4 | Two: 5 | Three: 6 | Bar: "Baz" 7 | lists: 8 | - foo 9 | - 10 | - bar 11 | - biz 12 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-self/choice-0-jsx-elements.tsx[@1~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((3 outline 173) (2 outline 185) (1 outline 189)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const Foo = () => { 4 | return ( 5 |
6 | Foo 7 |
8 | ) 9 | } 10 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-self/choice-0-jsx-elements.tsx[@2~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((3 outline 173) (2 outline 185) (1 outline 189)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const Foo = () => { 4 | return ( 5 |

Foo

6 | ) 7 | } 8 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-self/choice-0-jsx-elements.tsx[@3~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((3 outline 173) (2 outline 185) (1 outline 189)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const Foo = () => { 4 | return
5 |

Foo

6 |
7 | } 8 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-self/choice-0-messy-splice.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8; eval: (combobulate-test-fixture-mode t); combobulate-test-point-overlays: ((1 outline 155)); -*- 2 | result = (lambda x: x * 2)(sum([i for i in range(10) if i % 2 == 0])) 3 | 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-self/choice-0-nested-elements.html[@1~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 |
6 |
7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-self/choice-0-nested-elements.html[@2~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Some Text Here 6 | 7 | bar 8 | 9 | Some Text Here 10 | 11 | Foo 12 |
13 |
14 |
15 |
16 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-self/choice-0-nested-elements.html[@3~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | Some Text Here 10 | 11 | bar 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-self/choice-0-object.json[@1~after].json: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((3 outline 157) (2 outline 196) (1 outline 203)); eval: (combobulate-test-fixture-mode t); -*- 2 | { 3 | "foo": "bar", 4 | "baz": "qux", 5 | "biz": [1, 2, 3, 4, 5, [4, 5, 6], 7, 8, 9, 10] 6 | } 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-self/choice-0-object.json[@2~after].json: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((3 outline 157) (2 outline 196) (1 outline 203)); eval: (combobulate-test-fixture-mode t); -*- 2 | { 3 | "foo": "bar", 4 | "baz": "qux", 5 | "biz": [1, 2, [4, 5, 6]] 6 | } 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-self/choice-0-object.json[@3~after].json: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((3 outline 157) (2 outline 196) (1 outline 203)); eval: (combobulate-test-fixture-mode t); -*- 2 | "baz": "qux" 3 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-self/choice-0-pairs-in-table.toml[@1~after].toml: -------------------------------------------------------------------------------- 1 | # -*- eval: (combobulate-test-fixture-mode t); combobulate-test-point-overlays: ((1 outline 139)); -*- 2 | 3 | blah = 1 4 | 5 | some.other = "bar" 6 | [another] 7 | blah = 1.234 8 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-self/choice-0-vars.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 126)); eval: (combobulate-test-fixture-mode t); -*- 2 | package main 3 | 4 | globalVar1 = 42 5 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-up/choice-0-block-pairs.yaml[@1~after].yaml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((4 outline 182) (3 outline 191) (2 outline 226) (1 outline 267)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | # Deeply nested pairs 4 | One: 5 | Two: 6 | Three: 7 | Bar: "Baz" 8 | lists: 9 | - foo 10 | - bar 11 | - biz 12 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-up/choice-0-block-pairs.yaml[@2~after].yaml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((4 outline 182) (3 outline 191) (2 outline 226) (1 outline 267)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | # Deeply nested pairs 4 | One: 5 | Two: 6 | Three: 7 | lists: 8 | - foo 9 | - 10 | - bar 11 | - biz 12 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-up/choice-0-block-pairs.yaml[@3~after].yaml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((4 outline 182) (3 outline 191) (2 outline 226) (1 outline 267)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | # Deeply nested pairs 4 | One: 5 | Three: 6 | Bar: "Baz" 7 | lists: 8 | - foo 9 | - 10 | - bar 11 | - biz 12 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-up/choice-0-block-pairs.yaml[@4~after].yaml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((4 outline 182) (3 outline 191) (2 outline 226) (1 outline 267)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | # Deeply nested pairs 4 | Two: 5 | Three: 6 | Bar: "Baz" 7 | lists: 8 | - foo 9 | - 10 | - bar 11 | - biz 12 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-up/choice-0-jsx-elements.tsx[@1~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((3 outline 173) (2 outline 185) (1 outline 189)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const Foo = () => { 4 | return ( 5 |
6 | Foo 7 |
8 | ) 9 | } 10 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-up/choice-0-jsx-elements.tsx[@2~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((3 outline 173) (2 outline 185) (1 outline 189)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const Foo = () => { 4 | return ( 5 |

Foo

6 | ) 7 | } 8 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-up/choice-0-jsx-elements.tsx[@3~after].tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((3 outline 173) (2 outline 185) (1 outline 189)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const Foo = () => { 4 | return
5 |

Foo

6 |
7 | } 8 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-up/choice-0-messy-splice.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8; eval: (combobulate-test-fixture-mode t); combobulate-test-point-overlays: ((1 outline 155)); -*- 2 | result = (lambda x: x * 2)(sum([i for i in range(10) if i % 2 == 0])) 3 | 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-up/choice-0-nested-elements.html[@1~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 |
6 |
7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-up/choice-0-nested-elements.html[@2~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Some Text Here 6 | 7 | bar 8 | 9 | Some Text Here 10 | 11 | bar 12 | 13 | Foo 14 |
15 |
16 |
17 |
18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-up/choice-0-nested-elements.html[@3~after].html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | Some Text Here 10 | 11 | bar 12 | 13 | 14 | Foo 15 |
16 |
17 |
18 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-up/choice-0-object.json[@1~after].json: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((3 outline 157) (2 outline 196) (1 outline 203)); eval: (combobulate-test-fixture-mode t); -*- 2 | { 3 | "foo": "bar", 4 | "baz": "qux", 5 | "biz": [1, 2, 3, 4, 5, [4, 5, 6], 7, 8, 9, 10] 6 | } 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-up/choice-0-object.json[@2~after].json: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((3 outline 157) (2 outline 196) (1 outline 203)); eval: (combobulate-test-fixture-mode t); -*- 2 | { 3 | "foo": "bar", 4 | "baz": "qux", 5 | "biz": [1, 2, [4, 5, 6]], 7, 8, 9, 10 6 | } 7 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-up/choice-0-object.json[@3~after].json: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((3 outline 157) (2 outline 196) (1 outline 203)); eval: (combobulate-test-fixture-mode t); -*- 2 | "baz": "qux", 3 | "biz": [1, 2, 3, 4, 5, [1, 2, [4, 5, 6]], 7, 8, 9, 10] 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-up/choice-0-pairs-in-table.toml[@1~after].toml: -------------------------------------------------------------------------------- 1 | # -*- eval: (combobulate-test-fixture-mode t); combobulate-test-point-overlays: ((1 outline 139)); -*- 2 | 3 | blah = 1 4 | 5 | some.other = "bar" 6 | array_here = [1,2,3] 7 | [another] 8 | blah = 1.234 9 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-up/choice-0-vars.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 126)); eval: (combobulate-test-fixture-mode t); -*- 2 | package main 3 | 4 | globalVar1 = 42 5 | globalVar2 = "example" 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-up/choice-1-for-loop-body.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 145)); eval: (combobulate-test-fixture-mode t); -*- 2 | go func() { 3 | for i := 0; i < 5; i++ ch <- i 4 | close(ch) 5 | }() 6 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-up/choice-1-inside-case.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 151)); eval: (combobulate-test-fixture-mode t); -*- 2 | switch value := x.(type) { 3 | fmt.Println("Integer type") 4 | go func() { 5 | for i := 0; i < 5; i++ { 6 | ch <- i 7 | } 8 | close(ch) 9 | }() 10 | fmt.Println("Integer type") 11 | case string: 12 | fmt.Println("String type") 13 | default: 14 | fmt.Printf("Unexpected type %T\n", value) 15 | } 16 | 17 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-up/choice-1-switch.go[@1~after].go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 120)); eval: (combobulate-test-fixture-mode t); -*- 2 | func foo () switch value := x.(type) { 3 | case int: 4 | fmt.Println("Integer type") 5 | case string: 6 | fmt.Println("String type") 7 | default: 8 | fmt.Printf("Unexpected type %T\n", value) 9 | } 10 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-up/console.ts[@1~after].ts: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((2 outline 129) (1 outline 133)); eval: (combobulate-test-fixture-mode t); -*- 2 | console.log "test" 3 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-up/console.ts[@2~after].ts: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((2 outline 129) (1 outline 133)); eval: (combobulate-test-fixture-mode t); -*- 2 | log("test") 3 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-up/messy-splice.py[@1~after].py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8; eval: (combobulate-test-fixture-mode t); combobulate-test-point-overlays: ((1 outline 155)); -*- 2 | result = (lambda x: x * 2)(sum([i for i in range(10) if i % 2 == 0])) 3 | 4 | -------------------------------------------------------------------------------- /tests/fixture-deltas/combobulate-splice-up/pairs-in-table.toml[@1~after].toml: -------------------------------------------------------------------------------- 1 | # -*- eval: (combobulate-test-fixture-mode t); combobulate-test-point-overlays: ((1 outline 139)); -*- 2 | 3 | blah = 1 4 | 5 | some.other = "bar" 6 | array_here = [1,2,3] 7 | [another] 8 | blah = 1.234 9 | -------------------------------------------------------------------------------- /tests/fixtures/clone/attributes.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 15 | 16 | -------------------------------------------------------------------------------- /tests/fixtures/clone/component-jsx.tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((6 outline 225) (1 outline 240) (2 outline 240) (3 outline 240) (4 outline 240) (5 outline 240)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const test = () => ( 4 | 5 |
Foo
6 |
) 7 | -------------------------------------------------------------------------------- /tests/fixtures/clone/css-declaration.css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 155)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .testimonial.middle { 4 | width: 90%; 5 | margin: 1rem 2rem 1rem 0rem; 6 | } 7 | -------------------------------------------------------------------------------- /tests/fixtures/clone/css-function-arg.css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 145)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .flex-center > div { 4 | width: clamp(90ch, 180ch, 95vw); 5 | } 6 | -------------------------------------------------------------------------------- /tests/fixtures/clone/css-nested-statements.css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 142)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | @media (min-width: 1024px) { 4 | .testimonial.middle { 5 | margin-left: 2rem; 6 | } 7 | .testimonial.right { 8 | float: right; 9 | width: 250px; 10 | margin-left: 2rem; 11 | } 12 | .testimonial.right-xl { 13 | float: right; 14 | width: 450px; 15 | margin-left: 2rem; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixtures/clone/css-property.css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 153)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .testimonial { 4 | margin-left: 0.5rem; 5 | margin-top: .5rem; 6 | margin-top: .5rem; 7 | margin-bottom: .5rem; 8 | } 9 | -------------------------------------------------------------------------------- /tests/fixtures/clone/def-block.py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 121)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo(): 5 | a = {1: 2, 3: 4} 6 | # some comment here 7 | b = (1, 2, 3) 8 | """ 9 | This is a multiline string 10 | """ 11 | some_func(1, 2, {"a": 1, "b": 2}) 12 | return a, b 13 | -------------------------------------------------------------------------------- /tests/fixtures/clone/def-function-block.tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 246)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({a, b = 1, ...c}: {a: number, b?: number, c: number} = {a: 1, c: 2}) { 3 | console.log(a, b, c); 4 | a = 2; 5 | b = 3; 6 | c = 4; 7 | { 8 | let a = 5; 9 | let b = 6; 10 | let c = 7; 11 | console.log(a, b, c); 12 | } 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixtures/clone/def-function-object-args.tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 123)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({a, ...c, b = 1}: {a: number, b?: number, c: number} = {a: 1, c: 2}) { 3 | console.log(a, b, c); 4 | a = 2; 5 | b = 3; 6 | c = 4; 7 | { 8 | let a = 5; 9 | let b = 6; 10 | let c = 7; 11 | console.log(a, b, c); 12 | } 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixtures/clone/elements.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Text 5 |
6 | Text here 7 |
8 | Sub text 9 |
10 | 13 | 14 | 15 | 16 | more text 17 |
18 |
19 | -------------------------------------------------------------------------------- /tests/fixtures/clone/module-statements.tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 145)); eval: (combobulate-test-fixture-mode t); -*- 2 | import { foo } from 'chai'; 3 | // comment 4 | 5 | function foo() { 6 | return 1; 7 | } 8 | 9 | const bar = () => 2; 10 | 11 | class Foo { 12 | constructor() { 13 | this.foo = 1; 14 | } 15 | } 16 | 17 | export default Foo; 18 | -------------------------------------------------------------------------------- /tests/fixtures/clone/nested-blocks.py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 155)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo(): 5 | with some_manager() as x: 6 | if x: 7 | for y in x: 8 | print(y) 9 | else: 10 | return x 11 | try: 12 | print(x) 13 | except: 14 | pass 15 | finally: 16 | print(x) 17 | async with some_async_manager() as y: 18 | print(y) 19 | -------------------------------------------------------------------------------- /tests/fixtures/clone/python-dict.py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 131) (2 outline 192)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | d = { 4 | "key1": "value1", 5 | 123: "value2", 6 | True: "value3", 7 | (4, 5): "value4", 8 | Foo.bar: "value5", 9 | {"inner_key": "inner_value"}: "value6", 10 | None: "value7", 11 | } 12 | -------------------------------------------------------------------------------- /tests/fixtures/clone/python-list.py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = [1, 4 | [2, 3], 5 | lambda: 1, {4, 5}, "foo"] 6 | -------------------------------------------------------------------------------- /tests/fixtures/clone/yaml-sequence.yaml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 128) (2 outline 140)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | foo: 4 | - 1 5 | - 2 6 | - 7 | - 3 8 | - 4 9 | -------------------------------------------------------------------------------- /tests/fixtures/down/array.json: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 153) (2 outline 154) (3 outline 158) (4 outline 162)); eval: (combobulate-test-fixture-mode t); -*- 2 | [1, [2, [3, 4]]] 3 | -------------------------------------------------------------------------------- /tests/fixtures/down/blocks.yaml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 201) (2 outline 209) (3 outline 225) (4 outline 235) (5 outline 237) (6 outline 255) (7 outline 260)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | Key: 4 | Subkey1: 5 | - 6 | - Foo: 7 | Bar: 1 8 | -------------------------------------------------------------------------------- /tests/fixtures/down/declaration.css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 167) (2 outline 185) (3 outline 200) (4 outline 201)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | #foo { 3 | background-color: linear-gradient(to right, #ff0000, #0000ff); 4 | } 5 | -------------------------------------------------------------------------------- /tests/fixtures/down/decorator_class.py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 202) (2 outline 207) (3 outline 221) (4 outline 226) (5 outline 241) (6 outline 250) (7 outline 274)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | @foo 5 | @bar(1, 2, 3) 6 | @baz 7 | class Foo: 8 | @foo 9 | def blah(self): 10 | pass 11 | -------------------------------------------------------------------------------- /tests/fixtures/down/decorator_function.py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 169) (2 outline 174) (3 outline 188) (4 outline 193) (5 outline 212)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | @foo 4 | @bar(1, 2, 3) 5 | @baz 6 | def qux(a, b): 7 | a + b 8 | 9 | -------------------------------------------------------------------------------- /tests/fixtures/down/down-attributes.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Hello 5 | 6 | 7 | -------------------------------------------------------------------------------- /tests/fixtures/down/elements.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Hello 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /tests/fixtures/down/if-statements.tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 251) (2 outline 257) (3 outline 261) (4 outline 271) (5 outline 277) (6 outline 284) (7 outline 292) (8 outline 306) (9 outline 307) (10 outline 311)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | () => { 4 | if (true) { 5 | return ( 6 |
7 | {

Foo

} 8 |
9 | ) 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /tests/fixtures/down/jsx-with-attributes.tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 220) (2 outline 232) (3 outline 253) (4 outline 254) (5 outline 258) (6 outline 266)); eval: (combobulate-test-fixture-mode t); -*- 2 | const Foo = () => { 3 | return ( 4 | 5 |
6 | {1 ?
: null} 7 |

hello

8 |
9 |
10 | ) 11 | } 12 | -------------------------------------------------------------------------------- /tests/fixtures/down/module-statements.tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 201) (2 outline 207) (3 outline 211) (4 outline 215) (5 outline 226) (6 outline 229) (7 outline 235)); eval: (combobulate-test-fixture-mode t); -*- 2 | class Foo { 3 | constructor() { 4 | this.foo = 1; 5 | function foo() { 6 | return 1; 7 | } 8 | 9 | } 10 | } 11 | 12 | export default Foo; 13 | -------------------------------------------------------------------------------- /tests/fixtures/down/nested-jsx.tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 217) (2 outline 226) (3 outline 229) (4 outline 232) (5 outline 236) (6 outline 243) (7 outline 261) (8 outline 280)); eval: (combobulate-test-fixture-mode t); -*- 2 | function foo() { 3 | return 4 |
5 | something before 6 |
bar
7 | something after 8 |
9 |
; 10 | } 11 | export default Foo; 12 | 13 | -------------------------------------------------------------------------------- /tests/fixtures/down/object.json: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 233) (2 outline 237) (3 outline 244) (4 outline 250) (5 outline 255) (6 outline 263) (7 outline 273) (8 outline 285) (9 outline 290)); eval: (combobulate-test-fixture-mode t); -*- 2 | { 3 | "foo": { 4 | "1": [ 5 | [ 6 | { 7 | "a": 1 8 | }, 9 | 2 10 | ], 11 | "bar" 12 | ] 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /tests/fixtures/down/table.toml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 137) (2 outline 148) (3 outline 159)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | [database] 4 | username = "admin" 5 | password = "password123" 6 | -------------------------------------------------------------------------------- /tests/fixtures/envelope/blank.py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 104)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | -------------------------------------------------------------------------------- /tests/fixtures/envelope/blank.tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 105)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | -------------------------------------------------------------------------------- /tests/fixtures/envelope/class.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8; combobulate-test-point-overlays: ((1 outline 140)); eval: (combobulate-test-fixture-mode t); -*- 2 | class Test: 3 | 4 | test: str = "test" 5 | number: int = 1 6 | 7 | def __init__(self): 8 | self.a = 1 9 | self.b = 2 10 | self.c = 3 11 | 12 | def __iter__(self): 13 | return iter([self.a, self.b, self.c]) 14 | 15 | def __next__(self): 16 | return next(self.__iter__()) 17 | -------------------------------------------------------------------------------- /tests/fixtures/envelope/component.tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 171)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | function Foo({ a, b }: { a: number, b: number }) { 4 | return
5 | } 6 | 7 | -------------------------------------------------------------------------------- /tests/fixtures/kill-node/attributes.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 15 | 16 | -------------------------------------------------------------------------------- /tests/fixtures/kill-node/component-jsx.tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 221) (2 outline 236) (3 outline 258) (4 outline 266) (5 outline 287)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const test = () => ( 4 | 5 | 6 | baz quux 7 | {1 + 2} This is a test field {3 + 4} 8 | 9 | ) 10 | -------------------------------------------------------------------------------- /tests/fixtures/kill-node/css-declaration.css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 203) (2 outline 208) (3 outline 213) (4 outline 218)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .testimonial.middle { 4 | width: 90%; 5 | margin: 1rem 2rem 1rem 0rem; 6 | } 7 | -------------------------------------------------------------------------------- /tests/fixtures/kill-node/python-dict.py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 211) (2 outline 233) (3 outline 252) (4 outline 272) (5 outline 294) (6 outline 317) (7 outline 361)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | d = { 4 | 'key1': 'value1', 5 | 123: 'value2', 6 | True: 'value3', 7 | (4, 5): 'value4', 8 | Foo.bar: 'value5', 9 | {'inner_key': 'inner_value'}: 'value6', 10 | None: 'value7' 11 | } 12 | -------------------------------------------------------------------------------- /tests/fixtures/kill-node/python-match-case.py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 152) (2 outline 177) (3 outline 202)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | match Foo: 4 | case 1: 5 | pass 6 | case 2: 7 | pass 8 | case _: 9 | pass 10 | -------------------------------------------------------------------------------- /tests/fixtures/mc-edit/identifiers-named-c.tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 169) (2 outline 198) (3 outline 226)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | function doRandomStuff({ a, b, c }: { a: number, b: number, c: number } = { a: 1, b: 2, c: 3 }) { 4 | console.log(a + b + c); 5 | } 6 | 7 | -------------------------------------------------------------------------------- /tests/fixtures/mc-edit/property.css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 227) (2 outline 242) (3 outline 264) (4 outline 286) (5 outline 306) (6 outline 329) (7 outline 351) (8 outline 372)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | h2 { 3 | margin: 0px; 4 | font-style: italic; 5 | text-align: center; 6 | margin-top: 2rem; 7 | margin-bottom: 2rem; 8 | font-family: Cardo; 9 | font-weight: bold; 10 | font-size: 3rem; 11 | } 12 | -------------------------------------------------------------------------------- /tests/fixtures/mc-edit/python-dict-keys.py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 211) (2 outline 233) (3 outline 252) (4 outline 272) (5 outline 294) (6 outline 317) (7 outline 361)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | d = { 4 | 'key1': 'value1', 5 | 123: 'value2', 6 | True: 'value3', 7 | (4, 5): 'value4', 8 | Foo.bar: 'value5', 9 | {'inner_key': 'inner_value'}: 'value6', 10 | None: 'value7' 11 | } 12 | -------------------------------------------------------------------------------- /tests/fixtures/mc-edit/python-dict-values.py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 260) (2 outline 268) (3 outline 287) (4 outline 307) (5 outline 329) (6 outline 352) (7 outline 367) (8 outline 380) (9 outline 396) (10 outline 416)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | d = { 4 | "key1": "value1", 5 | 123: "value2", 6 | True: "value3", 7 | (4, 5): "value4", 8 | Foo.bar: "value5", 9 | {"inner_key": "inner_value"}: "value6", 10 | None: "value7", 11 | } 12 | -------------------------------------------------------------------------------- /tests/fixtures/mc-edit/sequence.tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 192) (2 outline 228)); eval: (combobulate-test-fixture-mode t); -*- 2 | import React from 'react'; 3 | 4 | 5 | const Something = () => { 6 | return ( 7 |
8 |

Something

9 |
10 | ) 11 | } 12 | -------------------------------------------------------------------------------- /tests/fixtures/mc-edit/table-value-side.toml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 137)); eval: (combobulate-test-fixture-mode t); -*- 2 | [database.connection] 3 | username = "admin" 4 | password = "password123" 5 | -------------------------------------------------------------------------------- /tests/fixtures/mc-edit/table.toml: -------------------------------------------------------------------------------- 1 | # -*- eval: (combobulate-test-fixture-mode t); combobulate-test-point-overlays: ((1 outline 126)); -*- 2 | [database.connection] 3 | username = "admin" 4 | password = "password123" 5 | -------------------------------------------------------------------------------- /tests/fixtures/procedure/component-jsx.tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((3 outline 161) (2 outline 177) (1 outline 226)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const test = () => ( 4 | 5 | 6 | baz quux 7 | {1 + 2} 8 | {3 + 4} 9 | 10 | ) 11 | -------------------------------------------------------------------------------- /tests/fixtures/procedure/function.py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((2 outline 143) (1 outline 176)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def test_function(a, b, f: int = 3): 5 | try: 6 | pass 7 | except: 8 | pass 9 | else: 10 | pass 11 | finally: 12 | pass 13 | -------------------------------------------------------------------------------- /tests/fixtures/sequence/element.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | Text here 5 | 6 |
7 | -------------------------------------------------------------------------------- /tests/fixtures/sequence/jsx.tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 176) (2 outline 192)); eval: (combobulate-test-fixture-mode t); -*- 2 | const HelloWorld = () => { 3 | return ( 4 |
5 |

Hello World

6 |
7 | ); 8 | }; 9 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/attributes.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 15 | 16 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/component-jsx.tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 221) (2 outline 236) (3 outline 258) (4 outline 266) (5 outline 287)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const test = () => ( 4 | 5 | 6 | baz quux 7 | {1 + 2} This is a test field {3 + 4} 8 | 9 | ) 10 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/const-declaration.go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 179) (2 outline 206)); eval: (combobulate-test-fixture-mode t); -*- 2 | package main 3 | 4 | var ( 5 | foo = "bar" 6 | baz = "qux" 7 | ) 8 | 9 | const ( 10 | message = "Hello, world!" 11 | foo = 42 12 | ) 13 | 14 | type Person struct { 15 | Name string 16 | Age int 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/css-declaration.css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 203) (2 outline 208) (3 outline 213) (4 outline 218)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .testimonial.middle { 4 | width: 90%; 5 | margin: 1rem 2rem 1rem 0rem; 6 | } 7 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/css-function-arg.css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 177) (2 outline 183) (3 outline 190)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .flex-center > div { 4 | width: clamp(90ch, 180ch, 95vw); 5 | } 6 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/css-nested-statements.css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 172) (2 outline 223) (3 outline 309)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | @media (min-width: 1024px) { 4 | .testimonial.middle { 5 | margin-left: 2rem; 6 | } 7 | .testimonial.right { 8 | float: right; 9 | width: 250px; 10 | margin-left: 2rem; 11 | } 12 | .testimonial.right-xl { 13 | float: right; 14 | width: 450px; 15 | margin-left: 2rem; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/css-property.css: -------------------------------------------------------------------------------- 1 | /* -*- combobulate-test-point-overlays: ((1 outline 158) (2 outline 181) (3 outline 202)); eval: (combobulate-test-fixture-mode t); -*- */ 2 | 3 | .testimonial { 4 | margin-left: 0.5rem; 5 | margin-top: .5rem; 6 | margin-bottom: .5rem; 7 | } 8 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/def-block.py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 185) (2 outline 230) (3 outline 248) (4 outline 295) (5 outline 333)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo(): 5 | a = {1: 2, 3: 4} 6 | # some comment here 7 | b = (1, 2, 3) 8 | """ 9 | This is a multiline string 10 | """ 11 | some_func(1, 2, {"a": 1, "b": 2}) 12 | return a, b 13 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/def-function-block.tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 275) (2 outline 299) (3 outline 308) (4 outline 317) (5 outline 326) (6 outline 418)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({a, b = 1, ...c}: {a: number, b?: number, c: number} = {a: 1, c: 2}) { 3 | console.log(a, b, c); 4 | a = 2; 5 | b = 3; 6 | c = 4; 7 | { 8 | let a = 5; 9 | let b = 6; 10 | let c = 7; 11 | console.log(a, b, c); 12 | } 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/def-function-object-args.tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 155) (2 outline 158) (3 outline 164)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({a, ...c, b = 1}: {a: number, b?: number, c: number} = {a: 1, c: 2}) { 3 | console.log(a, b, c); 4 | a = 2; 5 | b = 3; 6 | c = 4; 7 | { 8 | let a = 5; 9 | let b = 6; 10 | let c = 7; 11 | console.log(a, b, c); 12 | } 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/def-function-type-args.tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 173) (2 outline 184) (3 outline 196)); eval: (combobulate-test-fixture-mode t); -*- 2 | function doStuff({a, b = 1, ...c}: {a: number, b?: number, c: number} = {a: 1, c: 2}) { 3 | console.log(a, b, c); 4 | a = 2; 5 | b = 3; 6 | c = 4; 7 | { 8 | let a = 5; 9 | let b = 6; 10 | let c = 7; 11 | console.log(a, b, c); 12 | } 13 | // comment 14 | return {a, b, c}; 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/def-parameters.py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 247) (2 outline 257) (3 outline 267) (4 outline 274) (5 outline 284) (6 outline 294) (7 outline 301) (8 outline 343) (9 outline 355)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo( 5 | arg1, 6 | arg2, 7 | /, 8 | arg3, 9 | arg4, 10 | *, 11 | a={ 12 | 1, 13 | (2, 3), 14 | }, 15 | b=None, 16 | c=..., 17 | ): 18 | pass 19 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/elements.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Text 5 |
6 | Text here 7 |
8 | Sub text 9 |
10 | 13 | 14 | 15 | 16 | more text 17 |
18 |
19 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/expr-switch.go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 168) (2 outline 209) (3 outline 252)); eval: (combobulate-test-fixture-mode t); -*- 2 | func foo () { 3 | switch value { 4 | case int: 5 | fmt.Println("Integer type") 6 | case string: 7 | fmt.Println("String type") 8 | default: 9 | fmt.Printf("Unexpected type %T\n", value) 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/for-loop.go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 154) (2 outline 162) (3 outline 169)); eval: (combobulate-test-fixture-mode t); -*- 2 | go func() { 3 | for i := 0; i < 5; i++ { 4 | ch <- i 5 | } 6 | close(ch) 7 | }() 8 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/import-declaration.go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 131) (2 outline 146)); eval: (combobulate-test-fixture-mode t); -*- 2 | import ( 3 | "fmt" 4 | // foo 5 | "example.com/foo" 6 | ) 7 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/inside-case.go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 151)); eval: (combobulate-test-fixture-mode t); -*- 2 | switch value := x.(type) { 3 | case int: 4 | // Foo 5 | fmt.Println("Integer type") 6 | go func() { 7 | for i := 0; i < 5; i++ { 8 | ch <- i 9 | } 10 | close(ch) 11 | }() 12 | fmt.Println("Integer type") 13 | case string: 14 | fmt.Println("String type") 15 | default: 16 | fmt.Printf("Unexpected type %T\n", value) 17 | } 18 | 19 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/inside-table.toml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 147) (2 outline 168) (3 outline 195)); eval: (combobulate-test-fixture-mode t); -*- 2 | [database] 3 | server = "localhost" 4 | ports = [8000, 8001, 8002] 5 | enabled = true 6 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/literal.go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 199) (2 outline 202) (3 outline 209) (4 outline 216) (5 outline 224) (6 outline 227)); eval: (combobulate-test-fixture-mode t); -*- 2 | nums := []int{2, "foo", 2.344, {1, 2}, 3, 4} 3 | 4 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/map.go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 139) (2 outline 153)); eval: (combobulate-test-fixture-mode t); -*- 2 | map[string]string{"a": "apple", "b": "banana"} 3 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/module-statements.tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 169) (2 outline 209) (3 outline 241) (4 outline 263) (5 outline 318)); eval: (combobulate-test-fixture-mode t); -*- 2 | import { foo } from 'chai'; 3 | // comment 4 | 5 | function foo() { 6 | return 1; 7 | } 8 | 9 | const bar = () => 2; 10 | 11 | class Foo { 12 | constructor() { 13 | this.foo = 1; 14 | } 15 | } 16 | 17 | export default Foo; 18 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/nested-blocks.py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 187) (2 outline 285) (3 outline 390)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | 4 | def foo(): 5 | with some_manager() as x: 6 | if x: 7 | for y in x: 8 | print(y) 9 | else: 10 | return x 11 | try: 12 | print(x) 13 | except: 14 | pass 15 | finally: 16 | print(x) 17 | async with some_async_manager() as y: 18 | print(y) 19 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/python-dict.py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 211) (2 outline 233) (3 outline 252) (4 outline 272) (5 outline 294) (6 outline 317) (7 outline 361)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | d = { 4 | 'key1': 'value1', 5 | 123: 'value2', 6 | True: 'value3', 7 | (4, 5): 'value4', 8 | Foo.bar: 'value5', 9 | {'inner_key': 'inner_value'}: 'value6', 10 | None: 'value7' 11 | } 12 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/python-list.py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = [1, 4 | [2, 3], 5 | lambda: 1, {4, 5}, "foo"] 6 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/python-match-case.py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 152) (2 outline 177) (3 outline 202)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | match Foo: 4 | case 1: 5 | pass 6 | case 2: 7 | pass 8 | case _: 9 | pass 10 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/python-set.py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 144) (2 outline 147) (3 outline 155)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | foo = {a, {b, c}, (1, 2),} 4 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/python-string.py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 191) (2 outline 195) (3 outline 198) (4 outline 203) (5 outline 206) (6 outline 207)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | s = f"foo {a} bar {b} baz" 4 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/python-tuple-pattern.py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 170) (2 outline 173) (3 outline 181) (4 outline 184) (5 outline 187)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | (a, (_, f), c, d, e) = a 4 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/python-tuple.py: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 174) (2 outline 182) (3 outline 195) (4 outline 206) (5 outline 214)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | a = (1, 4 | [2, 3], 5 | lambda: 1, {4, 5}, "foo") 6 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/switch.go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 180) (2 outline 221) (3 outline 264)); eval: (combobulate-test-fixture-mode t); -*- 2 | func foo () { 3 | switch value := x.(type) { 4 | case int: 5 | fmt.Println("Integer type") 6 | case string: 7 | fmt.Println("String type") 8 | default: 9 | fmt.Printf("Unexpected type %T\n", value) 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/type-declaration.go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 244) (2 outline 257)); eval: (combobulate-test-fixture-mode t); -*- 2 | package main 3 | 4 | var ( 5 | foo = "bar" 6 | baz = "qux" 7 | ) 8 | 9 | const ( 10 | message = "Hello, world!" 11 | foo = 42 12 | ) 13 | 14 | type Person struct { 15 | Name string 16 | Age int 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/value-array.toml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((1 outline 177) (2 outline 183) (3 outline 189)); eval: (combobulate-test-fixture-mode t); -*- 2 | [database] 3 | server = "localhost" 4 | ports = [8000, 8001, 8002] 5 | enabled = true 6 | 7 | -------------------------------------------------------------------------------- /tests/fixtures/sibling/var-declaration.go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 142) (2 outline 155)); eval: (combobulate-test-fixture-mode t); -*- 2 | package main 3 | 4 | var ( 5 | foo = "bar" 6 | baz = "qux" 7 | ) 8 | 9 | const ( 10 | message = "Hello, world!" 11 | foo = 42 12 | ) 13 | 14 | type Person struct { 15 | Name string 16 | Age int 17 | } 18 | -------------------------------------------------------------------------------- /tests/fixtures/splice/choice-0-block-pairs.yaml: -------------------------------------------------------------------------------- 1 | # -*- combobulate-test-point-overlays: ((4 outline 182) (3 outline 191) (2 outline 226) (1 outline 267)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | # Deeply nested pairs 4 | One: 5 | Two: 6 | Three: 7 | Bar: "Baz" 8 | lists: 9 | - foo 10 | - 11 | - bar 12 | - biz 13 | -------------------------------------------------------------------------------- /tests/fixtures/splice/choice-0-jsx-elements.tsx: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((3 outline 173) (2 outline 185) (1 outline 189)); eval: (combobulate-test-fixture-mode t); -*- 2 | 3 | const Foo = () => { 4 | return ( 5 |
6 |

Foo

7 |
8 | ) 9 | } 10 | -------------------------------------------------------------------------------- /tests/fixtures/splice/choice-0-messy-splice.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8; eval: (combobulate-test-fixture-mode t); combobulate-test-point-overlays: ((1 outline 155)); -*- 2 | result = (lambda x: x if x < 0 else x * 2)(sum([i for i in range(10) if i % 2 == 0])) 3 | 4 | -------------------------------------------------------------------------------- /tests/fixtures/splice/choice-0-object.json: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((3 outline 157) (2 outline 196) (1 outline 203)); eval: (combobulate-test-fixture-mode t); -*- 2 | { 3 | "foo": "bar", 4 | "baz": "qux", 5 | "biz": [1, 2, 3, 4, 5, [1, 2, [4, 5, 6]], 7, 8, 9, 10] 6 | } 7 | -------------------------------------------------------------------------------- /tests/fixtures/splice/choice-0-pairs-in-table.toml: -------------------------------------------------------------------------------- 1 | # -*- eval: (combobulate-test-fixture-mode t); combobulate-test-point-overlays: ((1 outline 139)); -*- 2 | 3 | blah = 1 4 | 5 | [something] 6 | key = "foo" 7 | some.other = "bar" 8 | array_here = [1,2,3] 9 | 10 | [another] 11 | blah = 1.234 12 | -------------------------------------------------------------------------------- /tests/fixtures/splice/choice-0-vars.go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 126)); eval: (combobulate-test-fixture-mode t); -*- 2 | package main 3 | 4 | var ( 5 | globalVar1 = 42 6 | globalVar2 = "example" 7 | ) 8 | -------------------------------------------------------------------------------- /tests/fixtures/splice/choice-1-for-loop-body.go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 145)); eval: (combobulate-test-fixture-mode t); -*- 2 | go func() { 3 | for i := 0; i < 5; i++ { 4 | ch <- i 5 | } 6 | close(ch) 7 | }() 8 | -------------------------------------------------------------------------------- /tests/fixtures/splice/choice-1-inside-case.go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 151)); eval: (combobulate-test-fixture-mode t); -*- 2 | switch value := x.(type) { 3 | case int: 4 | // Foo 5 | fmt.Println("Integer type") 6 | go func() { 7 | for i := 0; i < 5; i++ { 8 | ch <- i 9 | } 10 | close(ch) 11 | }() 12 | fmt.Println("Integer type") 13 | case string: 14 | fmt.Println("String type") 15 | default: 16 | fmt.Printf("Unexpected type %T\n", value) 17 | } 18 | 19 | -------------------------------------------------------------------------------- /tests/fixtures/splice/choice-1-switch.go: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((1 outline 120)); eval: (combobulate-test-fixture-mode t); -*- 2 | func foo () { 3 | switch value := x.(type) { 4 | case int: 5 | fmt.Println("Integer type") 6 | case string: 7 | fmt.Println("String type") 8 | default: 9 | fmt.Printf("Unexpected type %T\n", value) 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /tests/fixtures/splice/console.ts: -------------------------------------------------------------------------------- 1 | // -*- combobulate-test-point-overlays: ((2 outline 129) (1 outline 133)); eval: (combobulate-test-fixture-mode t); -*- 2 | console.log("test") 3 | -------------------------------------------------------------------------------- /tests/fixtures/splice/messy-splice.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8; eval: (combobulate-test-fixture-mode t); combobulate-test-point-overlays: ((1 outline 155)); -*- 2 | result = (lambda x: x if x < 0 else x * 2)(sum([i for i in range(10) if i % 2 == 0])) 3 | 4 | -------------------------------------------------------------------------------- /tests/fixtures/splice/pairs-in-table.toml: -------------------------------------------------------------------------------- 1 | # -*- eval: (combobulate-test-fixture-mode t); combobulate-test-point-overlays: ((1 outline 139)); -*- 2 | 3 | blah = 1 4 | 5 | [something] 6 | key = "foo" 7 | some.other = "bar" 8 | array_here = [1,2,3] 9 | 10 | [another] 11 | blah = 1.234 12 | --------------------------------------------------------------------------------