├── .editorconfig ├── .github ├── FUNDING.yml └── workflows │ └── ci.yml ├── .gitignore ├── .spi.yml ├── CODE_OF_CONDUCT.md ├── LICENSE ├── Package.resolved ├── Package.swift ├── README.md ├── Sources └── TextFormation │ ├── ClosePairFilter.swift │ ├── CompositeFilter.swift │ ├── ConsecutiveCharacterRecognizer.swift │ ├── DeleteCloseFilter.swift │ ├── Documentation.docc │ └── TextFormation.md │ ├── Filter+Language.swift │ ├── Filter.swift │ ├── Indentation.swift │ ├── LineLeadingWhitespaceFilter.swift │ ├── MutableStringPartialSystem.swift │ ├── NewlineProcessingFilter.swift │ ├── NewlineWithinPairFilter.swift │ ├── OpenPairReplacementFilter.swift │ ├── PatternMatcher.swift │ ├── SkipFilter.swift │ ├── StandardOpenPairFilter.swift │ ├── TextMutation.swift │ ├── TextStoring+Extensions.swift │ ├── TextSystemInterface.swift │ ├── TextViewFilterApplier.swift │ ├── TextualIndenter+Language.swift │ └── TextualIndenter.swift └── Tests └── TextFormationTests ├── ClosePairFilterTests.swift ├── ConsecutiveCharacterRecognizerTests.swift ├── DeleteCloseFilterTests.swift ├── IndentationTests.swift ├── LineLeadingWhitespaceFilterTests.swift ├── MockSystem.swift ├── NewlineProcessingFilterTests.swift ├── NewlineWithinPairFilterTests.swift ├── OpenPairReplacementFilterTests.swift ├── PythonIndentationTests.swift ├── RubyIndentationTests.swift ├── SkipFilterTests.swift ├── StandardOpenPairFilterTests.swift ├── TextStoringTests.swift ├── TextSystemInterface+Helpers.swift └── TextualIndenterTests.swift /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [mattmassicotte] 2 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/.gitignore -------------------------------------------------------------------------------- /.spi.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/.spi.yml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Package.resolved -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/README.md -------------------------------------------------------------------------------- /Sources/TextFormation/ClosePairFilter.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Sources/TextFormation/ClosePairFilter.swift -------------------------------------------------------------------------------- /Sources/TextFormation/CompositeFilter.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Sources/TextFormation/CompositeFilter.swift -------------------------------------------------------------------------------- /Sources/TextFormation/ConsecutiveCharacterRecognizer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Sources/TextFormation/ConsecutiveCharacterRecognizer.swift -------------------------------------------------------------------------------- /Sources/TextFormation/DeleteCloseFilter.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Sources/TextFormation/DeleteCloseFilter.swift -------------------------------------------------------------------------------- /Sources/TextFormation/Documentation.docc/TextFormation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Sources/TextFormation/Documentation.docc/TextFormation.md -------------------------------------------------------------------------------- /Sources/TextFormation/Filter+Language.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Sources/TextFormation/Filter+Language.swift -------------------------------------------------------------------------------- /Sources/TextFormation/Filter.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Sources/TextFormation/Filter.swift -------------------------------------------------------------------------------- /Sources/TextFormation/Indentation.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Sources/TextFormation/Indentation.swift -------------------------------------------------------------------------------- /Sources/TextFormation/LineLeadingWhitespaceFilter.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Sources/TextFormation/LineLeadingWhitespaceFilter.swift -------------------------------------------------------------------------------- /Sources/TextFormation/MutableStringPartialSystem.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Sources/TextFormation/MutableStringPartialSystem.swift -------------------------------------------------------------------------------- /Sources/TextFormation/NewlineProcessingFilter.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Sources/TextFormation/NewlineProcessingFilter.swift -------------------------------------------------------------------------------- /Sources/TextFormation/NewlineWithinPairFilter.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Sources/TextFormation/NewlineWithinPairFilter.swift -------------------------------------------------------------------------------- /Sources/TextFormation/OpenPairReplacementFilter.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Sources/TextFormation/OpenPairReplacementFilter.swift -------------------------------------------------------------------------------- /Sources/TextFormation/PatternMatcher.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Sources/TextFormation/PatternMatcher.swift -------------------------------------------------------------------------------- /Sources/TextFormation/SkipFilter.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Sources/TextFormation/SkipFilter.swift -------------------------------------------------------------------------------- /Sources/TextFormation/StandardOpenPairFilter.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Sources/TextFormation/StandardOpenPairFilter.swift -------------------------------------------------------------------------------- /Sources/TextFormation/TextMutation.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Sources/TextFormation/TextMutation.swift -------------------------------------------------------------------------------- /Sources/TextFormation/TextStoring+Extensions.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Sources/TextFormation/TextStoring+Extensions.swift -------------------------------------------------------------------------------- /Sources/TextFormation/TextSystemInterface.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Sources/TextFormation/TextSystemInterface.swift -------------------------------------------------------------------------------- /Sources/TextFormation/TextViewFilterApplier.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Sources/TextFormation/TextViewFilterApplier.swift -------------------------------------------------------------------------------- /Sources/TextFormation/TextualIndenter+Language.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Sources/TextFormation/TextualIndenter+Language.swift -------------------------------------------------------------------------------- /Sources/TextFormation/TextualIndenter.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Sources/TextFormation/TextualIndenter.swift -------------------------------------------------------------------------------- /Tests/TextFormationTests/ClosePairFilterTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Tests/TextFormationTests/ClosePairFilterTests.swift -------------------------------------------------------------------------------- /Tests/TextFormationTests/ConsecutiveCharacterRecognizerTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Tests/TextFormationTests/ConsecutiveCharacterRecognizerTests.swift -------------------------------------------------------------------------------- /Tests/TextFormationTests/DeleteCloseFilterTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Tests/TextFormationTests/DeleteCloseFilterTests.swift -------------------------------------------------------------------------------- /Tests/TextFormationTests/IndentationTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Tests/TextFormationTests/IndentationTests.swift -------------------------------------------------------------------------------- /Tests/TextFormationTests/LineLeadingWhitespaceFilterTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Tests/TextFormationTests/LineLeadingWhitespaceFilterTests.swift -------------------------------------------------------------------------------- /Tests/TextFormationTests/MockSystem.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Tests/TextFormationTests/MockSystem.swift -------------------------------------------------------------------------------- /Tests/TextFormationTests/NewlineProcessingFilterTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Tests/TextFormationTests/NewlineProcessingFilterTests.swift -------------------------------------------------------------------------------- /Tests/TextFormationTests/NewlineWithinPairFilterTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Tests/TextFormationTests/NewlineWithinPairFilterTests.swift -------------------------------------------------------------------------------- /Tests/TextFormationTests/OpenPairReplacementFilterTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Tests/TextFormationTests/OpenPairReplacementFilterTests.swift -------------------------------------------------------------------------------- /Tests/TextFormationTests/PythonIndentationTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Tests/TextFormationTests/PythonIndentationTests.swift -------------------------------------------------------------------------------- /Tests/TextFormationTests/RubyIndentationTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Tests/TextFormationTests/RubyIndentationTests.swift -------------------------------------------------------------------------------- /Tests/TextFormationTests/SkipFilterTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Tests/TextFormationTests/SkipFilterTests.swift -------------------------------------------------------------------------------- /Tests/TextFormationTests/StandardOpenPairFilterTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Tests/TextFormationTests/StandardOpenPairFilterTests.swift -------------------------------------------------------------------------------- /Tests/TextFormationTests/TextStoringTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Tests/TextFormationTests/TextStoringTests.swift -------------------------------------------------------------------------------- /Tests/TextFormationTests/TextSystemInterface+Helpers.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Tests/TextFormationTests/TextSystemInterface+Helpers.swift -------------------------------------------------------------------------------- /Tests/TextFormationTests/TextualIndenterTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChimeHQ/TextFormation/HEAD/Tests/TextFormationTests/TextualIndenterTests.swift --------------------------------------------------------------------------------