├── .github └── FUNDING.yml ├── .gitignore ├── .swiftpm └── xcode │ └── package.xcworkspace │ └── contents.xcworkspacedata ├── Firefly.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── xcuserdata │ └── zacharylineman.xcuserdatad │ └── xcschemes │ └── xcschememanagement.plist ├── Icon.png ├── LICENSE.txt ├── Package.swift ├── README.md ├── Sources ├── Extensions │ ├── AttributedType.swift │ ├── Comparable + Clamped.swift │ ├── Dispatch.swift │ ├── NSTextView + Bounding Rect.swift │ ├── Range+Encompasses.swift │ ├── Safe Array.swift │ ├── String+NSRange.swift │ └── UIColor+HexInit.swift ├── Highlighter │ ├── Data │ │ ├── Languages.swift │ │ └── Themes.swift │ ├── Markdown.swift │ ├── Syntax │ │ ├── Definition.swift │ │ ├── Syntax.swift │ │ └── Theme.swift │ ├── SyntaxAttributedString.swift │ └── Tokens │ │ └── Token.swift ├── Utility │ └── KeyCommand.swift └── Views │ ├── FireflySyntaxView + TextDelegate.swift │ ├── FireflySyntaxView.swift │ ├── FireflyTextView.swift │ ├── FireflyTextViewDelegate.swift │ ├── Line Numbers │ ├── LineNumberLayoutManager.swift │ └── LineNumberRulerView.swift │ ├── Swift UI │ └── FireflySyntaxEditor.swift │ └── UIAppKitBirdge.swift └── Tests └── FireflyTests └── FireflyTextViewTests.swift /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/.gitignore -------------------------------------------------------------------------------- /.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Firefly.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Firefly.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /Firefly.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Firefly.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Firefly.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Firefly.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /Firefly.xcodeproj/xcuserdata/zacharylineman.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Firefly.xcodeproj/xcuserdata/zacharylineman.xcuserdatad/xcschemes/xcschememanagement.plist -------------------------------------------------------------------------------- /Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Icon.png -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/README.md -------------------------------------------------------------------------------- /Sources/Extensions/AttributedType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Extensions/AttributedType.swift -------------------------------------------------------------------------------- /Sources/Extensions/Comparable + Clamped.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Extensions/Comparable + Clamped.swift -------------------------------------------------------------------------------- /Sources/Extensions/Dispatch.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Extensions/Dispatch.swift -------------------------------------------------------------------------------- /Sources/Extensions/NSTextView + Bounding Rect.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Extensions/NSTextView + Bounding Rect.swift -------------------------------------------------------------------------------- /Sources/Extensions/Range+Encompasses.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Extensions/Range+Encompasses.swift -------------------------------------------------------------------------------- /Sources/Extensions/Safe Array.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Extensions/Safe Array.swift -------------------------------------------------------------------------------- /Sources/Extensions/String+NSRange.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Extensions/String+NSRange.swift -------------------------------------------------------------------------------- /Sources/Extensions/UIColor+HexInit.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Extensions/UIColor+HexInit.swift -------------------------------------------------------------------------------- /Sources/Highlighter/Data/Languages.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Highlighter/Data/Languages.swift -------------------------------------------------------------------------------- /Sources/Highlighter/Data/Themes.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Highlighter/Data/Themes.swift -------------------------------------------------------------------------------- /Sources/Highlighter/Markdown.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Highlighter/Markdown.swift -------------------------------------------------------------------------------- /Sources/Highlighter/Syntax/Definition.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Highlighter/Syntax/Definition.swift -------------------------------------------------------------------------------- /Sources/Highlighter/Syntax/Syntax.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Highlighter/Syntax/Syntax.swift -------------------------------------------------------------------------------- /Sources/Highlighter/Syntax/Theme.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Highlighter/Syntax/Theme.swift -------------------------------------------------------------------------------- /Sources/Highlighter/SyntaxAttributedString.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Highlighter/SyntaxAttributedString.swift -------------------------------------------------------------------------------- /Sources/Highlighter/Tokens/Token.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Highlighter/Tokens/Token.swift -------------------------------------------------------------------------------- /Sources/Utility/KeyCommand.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Utility/KeyCommand.swift -------------------------------------------------------------------------------- /Sources/Views/FireflySyntaxView + TextDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Views/FireflySyntaxView + TextDelegate.swift -------------------------------------------------------------------------------- /Sources/Views/FireflySyntaxView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Views/FireflySyntaxView.swift -------------------------------------------------------------------------------- /Sources/Views/FireflyTextView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Views/FireflyTextView.swift -------------------------------------------------------------------------------- /Sources/Views/FireflyTextViewDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Views/FireflyTextViewDelegate.swift -------------------------------------------------------------------------------- /Sources/Views/Line Numbers/LineNumberLayoutManager.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Views/Line Numbers/LineNumberLayoutManager.swift -------------------------------------------------------------------------------- /Sources/Views/Line Numbers/LineNumberRulerView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Views/Line Numbers/LineNumberRulerView.swift -------------------------------------------------------------------------------- /Sources/Views/Swift UI/FireflySyntaxEditor.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Views/Swift UI/FireflySyntaxEditor.swift -------------------------------------------------------------------------------- /Sources/Views/UIAppKitBirdge.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Sources/Views/UIAppKitBirdge.swift -------------------------------------------------------------------------------- /Tests/FireflyTests/FireflyTextViewTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActuallyTaylor/Firefly/HEAD/Tests/FireflyTests/FireflyTextViewTests.swift --------------------------------------------------------------------------------