diff --git a/.claude/skills/fix-issue/references/verification.md b/.claude/skills/fix-issue/references/verification.md index fc27525ea2..4858c7f0e8 100644 --- a/.claude/skills/fix-issue/references/verification.md +++ b/.claude/skills/fix-issue/references/verification.md @@ -129,7 +129,7 @@ The `DEVELOPER_DIR` export above is required; without it SwiftLint aborts with ` Two things to know: -- **SwiftLint's `included:` scope is `TablePro` only.** `Plugins/`, `LocalPackages/`, and the test targets are never linted by a bare `swiftlint lint`. Pass explicit paths to lint a change outside the app target. +- **SwiftLint's `included:` scope is `TablePro` and `Packages`.** The rest of `Plugins/` and the app's test targets are never linted by a bare `swiftlint lint`. Pass explicit paths to lint a change outside that scope. - **Local `swiftformat` is a version behind the repo `.swiftformat`** and rejects `--ifdefindent`, so it cannot run here. Rely on SwiftLint plus reading the diff. - **Never remove a `swiftlint:disable force_unwrapping` comment** to satisfy a local run. There are five of them, inline in four files, not in the config: `.swiftlint.yml` enables the rule as an opt-in and sets it to `warning`. The CI toolchain differs from this one, so a disable that looks unnecessary here is load-bearing there. diff --git a/.github/workflows/macos-tests.yml b/.github/workflows/macos-tests.yml index d8c9b96b3f..ba5257b1fc 100644 --- a/.github/workflows/macos-tests.yml +++ b/.github/workflows/macos-tests.yml @@ -12,7 +12,6 @@ on: - "TablePro/**" - "Plugins/**" - "Packages/**" - - "LocalPackages/**" - "TableProTests/**" - "TableProUITests/**" - "Native/**" @@ -95,7 +94,7 @@ jobs: --base "$BASE_SHA" \ --ref "$REF" \ --skip-release-commit \ - 'TablePro/' 'Plugins/' 'Packages/' 'LocalPackages/' \ + 'TablePro/' 'Plugins/' 'Packages/' \ 'TableProTests/' 'TableProUITests/' 'Native/' 'Configs/' 'Libs/' 'scripts/' \ '\.github/actions/' '\.github/macos-(ui-)?test-quarantine\.txt$' \ 'TablePro\.xcodeproj/project\.xcworkspace/xcshareddata/swiftpm/Package\.resolved$' \ @@ -145,16 +144,12 @@ jobs: if: needs.changes.outputs.oracle == 'true' run: swift test --package-path Packages/TableProOracle --force-resolved-versions - - name: Run CodeEditTextView package tests - run: swift test --package-path LocalPackages/CodeEditTextView --force-resolved-versions - # The editor's own suites, 111 XCTest cases and 102 Swift Testing cases, roughly half of them - # TablePro's. Two XCTest cases skip themselves on a headless runner (no screen, no key window), - # so the expected result is 111 executed with 2 skipped. Pinned to the tracked Package.resolved - # like its siblings; note that this package and CodeEditTextView are path-linked, so a - # SwiftTreeSitter bump has to land in both lockfiles or this step fails rather than floating. - - name: Run CodeEditSourceEditor package tests - run: swift test --package-path LocalPackages/CodeEditSourceEditor --force-resolved-versions + # The editor, both targets. Two XCTest cases skip themselves on a headless runner (no screen, + # no key window), so the expected result is 112 executed with 2 skipped, plus 102 Swift Testing + # cases. Pinned to the tracked Package.resolved like its siblings. + - name: Run TableProEditor package tests + run: swift test --package-path Packages/TableProEditor --force-resolved-versions # Compiles the app, both test bundles and all 31 plugins once, then hands the products to the # test jobs. That build used to happen inside the same job that ran the tests, which meant the diff --git a/.gitignore b/.gitignore index 1fed5acda7..8b135f85f7 100644 --- a/.gitignore +++ b/.gitignore @@ -63,7 +63,6 @@ playground.xcworkspace .swiftpm/ .build/ -LocalPackages/*/Example/**/Package.resolved # Coverage profile output *.profraw diff --git a/CLAUDE.md b/CLAUDE.md index 8af0528dd6..73b5c2653f 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -26,9 +26,9 @@ TablePro is a native macOS database client (SwiftUI + AppKit), a fast, lightweig - **Registry-only** (the other 23): MongoDB, Oracle, DuckDB, MSSQL, Cassandra, Etcd, CloudflareD1, CloudflareR2SQL, DynamoDB, BigQuery, Spanner, LibSQL, Snowflake, Elasticsearch, Typesense, Beancount, SurrealDB, Teradata, Trino, Dameng, Kafka, Weaviate, Parquet export. Parquet is registry-only because it links its own copy of DuckDB, which does the encoding, and that is too large to ship in the app for one format. Distributed via [TableProApp/plugins](https://github.com/TableProApp/plugins) `plugins.json`, installed into the user plugins directory. - **C bridges**: Each plugin contains its own C bridge module (e.g., `Plugins/MySQLDriverPlugin/CMariaDB/`, `Plugins/PostgreSQLDriverPlugin/CLibPQ/`) - **Static libs**: `Libs/` holds pre-built `.a` files and `Libs/ios/` holds the iOS xcframeworks. Both are downloaded by `scripts/download-libs.sh` and are not in git. -- **SPM deps**: declared in `project.yml`. Vendored forks under `LocalPackages/` (CodeEditSourceEditor, CodeEditTextView) and TablePro's own packages under `Packages/` (TableProCore, TableProOracle, TableProGrammars); remote packages are Sparkle, swift-certificates and Yams. Revisions are pinned by the tracked `Package.resolved` inside each generated `.xcodeproj`. +- **SPM deps**: declared in `project.yml`. Every local package lives under `Packages/` (TableProCore, TableProOracle, TableProEditor, TableProGrammars); remote packages are Sparkle, swift-certificates and Yams. Revisions are pinned by the tracked `Package.resolved` inside each generated `.xcodeproj`. - `Packages/TableProGrammars` is first-party code, not a fork. It holds TablePro's `CodeLanguage`, `GrammarID` and `HighlightQueries` plus the four tree-sitter grammars the app compiles (bash, javascript, json, sql), each with its own upstream MIT licence beside its sources and a record in `licenses.yml`. Every `GrammarID` case but `plainText` resolves to a parser, and a test asserts it: the enum is the list of grammars that ship, not a list of languages tree-sitter supports. - - `SWIFT_VERSION` in `Configs/Base.xcconfig` sets the language mode for the Xcode-native targets only. A SwiftPM package takes its mode from its own manifest, so `Packages/TableProCore` and `Packages/TableProOracle` carry `swift-tools-version: 6.0` of their own. The vendored `LocalPackages/` forks stay on 5.9 so they can still take upstream changes, and a remote dependency keeps whatever its own manifest says. Never pass `SWIFT_VERSION=` on an `xcodebuild` command line to test a language-mode change: the override reaches the package targets too and reports their errors as yours. + - `SWIFT_VERSION` in `Configs/Base.xcconfig` sets the language mode for the Xcode-native targets only. A SwiftPM package takes its mode from its own manifest, so every package under `Packages/` carries `swift-tools-version: 6.0` of its own, and a remote dependency keeps whatever its own manifest says. `TableProEditor` sets `.swiftLanguageMode(.v5)` on its targets: the manifest is current but the code has not been through the Swift 6 concurrency migration yet, and that is a change with its own tests rather than a side effect of a move. Never pass `SWIFT_VERSION=` on an `xcodebuild` command line to test a language-mode change: the override reaches the package targets too and reports their errors as yours. ## Build & Development Commands @@ -156,14 +156,14 @@ When adding a new method to the driver protocol: add to `PluginDatabaseDriver` ( - Unknown types (from future plugins) are valid, they round-trip through Codable - Use `DatabaseType.allKnownTypes` (not `allCases`) for the canonical list -### Editor Architecture (CodeEditSourceEditor) +### Editor Architecture (TableProEditor) - **`ThemeEngine`**: the `@Observable` singleton that owns the active theme, and the single source of truth for editor colors and fonts - **Two font domains, and a control never names a third**: `editorFonts` is the Editor Font setting and belongs to a view that also wears the editor's background, text color and syntax palette (the SQL editor, `JSONCodeEditor`, the fold and import previews). Every control that shows or edits a stored *value* takes `ThemeEngine.valueFont` / `valueFontSwiftUI`, which is the Data Grid Font setting, so one value reads the same in the grid cell, its inline editor, the row inspector, a cell popover and a pop-out window. Naming a system text style instead is the defect: it looks right only while the user leaves both settings equal, which is the default, so it ships invisibly (#2393). The inspector sets it once for the whole editor subtree in `InspectorFieldRow`, past the field label and the value menu, so a new field editor inherits it. The switch that decides it is exhaustive over `FieldEditorKind` on purpose: two `default`-armed switches are what let `.typePicker` escape the domain and render a structure row's Name and Type in two different fonts. AppKit will not honour it on a `Picker(.menu)`'s items, which `NSMenu` draws itself; that is the one place the rule stops. -- **`TableProEditorTheme`**: adapter to CodeEdit's `EditorTheme` protocol; `ThemeEngine.makeEditorTheme()` builds it -- **`CompletionEngine`**: framework-agnostic; **`QueryCompletionAdapter`** bridges to CodeEdit's `CodeSuggestionDelegate` +- **`TableProEditorTheme`**: adapter to `TableProEditorKit`'s `EditorTheme` protocol; `ThemeEngine.makeEditorTheme()` builds it +- **`CompletionEngine`**: framework-agnostic; **`QueryCompletionAdapter`** bridges to `TableProEditorKit`'s `CodeSuggestionDelegate` - Editor tabs are drawn by `EditorTabStrip`, not by native window tabs. A window belongs to exactly one `NSWindow` tab group and that group's bar shows every window in it, so a window hosting several connections could only ever show all of their tabs interleaved. Window tabbing itself stays on AppKit's terms: `TabWindowController` leaves `tabbingMode` at `.automatic`, which is the user's own System Settings preference, and never forces `.preferred`. -- Cursor model: `cursorPositions: [CursorPosition]` (multi-cursor via CodeEditSourceEditor) +- Cursor model: `cursorPositions: [CursorPosition]` (multi-cursor via `TableProEditorKit`) ### Change Tracking Flow @@ -339,7 +339,7 @@ These are **non-negotiable**, never skip them: 4. **Tests**: Every change with testable behavior must include or update unit/function tests. UI and user-flow changes should add or update `TableProUITests` UI automation where the flow runs deterministically; if it can't, note why in the PR description. When tests fail, fix the source code, never adjust tests to match incorrect output. Tests define expected behavior. -5. **Lint after changes**: Run `swiftlint lint --strict` to verify compliance. `.swiftlint.yml` sets `included: [TablePro, Packages]`, so a bare run never sees `Plugins/`, `TableProTests/` or `TableProUITests/`. +5. **Lint after changes**: Run `swiftlint lint --strict` to verify compliance. `.swiftlint.yml` sets `included: [TablePro, Packages]`, so a bare run covers the app and every local package, including `TableProPluginKit` through the symlink in `TableProCore`. It still does not see the rest of `Plugins/`, `TableProTests/` or `TableProUITests/`. **Reaching those takes file paths, not directory paths.** SwiftLint applies `included:` to a directory argument and not to a file argument, so `swiftlint lint --strict TableProTests` reports zero violations having linted nothing at all: measured, that command finds 0 and `TableProTests/**/*.swift` finds 1,227. Glob to files for a change outside `included:`, e.g. `swiftlint lint --strict $(git show --name-only --format= HEAD | grep '\.swift$')`. `verify.sh lint` names any directory it was handed and then dropped, so a clean result is not read as coverage it never had. diff --git a/LocalPackages/CodeEditSourceEditor/Package.swift b/LocalPackages/CodeEditSourceEditor/Package.swift deleted file mode 100644 index 33bc2b4c24..0000000000 --- a/LocalPackages/CodeEditSourceEditor/Package.swift +++ /dev/null @@ -1,47 +0,0 @@ -// swift-tools-version: 5.9 -// The swift-tools-version declares the minimum version of Swift required to build this package. - -import PackageDescription - -let package = Package( - name: "CodeEditSourceEditor", - platforms: [.macOS(.v13)], - products: [ - // A source editor with useful features for code editing. - .library( - name: "CodeEditSourceEditor", - targets: ["CodeEditSourceEditor"] - ) - ], - dependencies: [ - // A fast, efficient, text view for code (local override). - .package(path: "../CodeEditTextView"), - // The grammars TablePro ships. - .package(path: "../../Packages/TableProGrammars"), - // Rules for indentation, pair completion, whitespace - .package( - url: "https://github.com/ChimeHQ/TextFormation", - from: "0.8.2" - ), - ], - targets: [ - // A source editor with useful features for code editing. - .target( - name: "CodeEditSourceEditor", - dependencies: [ - "CodeEditTextView", - "TableProGrammars", - "TextFormation" - ] - ), - - // Tests for the source editor - .testTarget( - name: "CodeEditSourceEditorTests", - dependencies: [ - "CodeEditSourceEditor", - "TableProGrammars", - ] - ), - ] -) diff --git a/LocalPackages/CodeEditTextView/Package.resolved b/LocalPackages/CodeEditTextView/Package.resolved deleted file mode 100644 index 4663674eb2..0000000000 --- a/LocalPackages/CodeEditTextView/Package.resolved +++ /dev/null @@ -1,32 +0,0 @@ -{ - "pins" : [ - { - "identity" : "rearrange", - "kind" : "remoteSourceControl", - "location" : "https://github.com/ChimeHQ/Rearrange", - "state" : { - "revision" : "4de8be41dba304192e87dc0a11e0aa39e72aa2e8", - "version" : "2.1.1" - } - }, - { - "identity" : "swift-collections", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-collections.git", - "state" : { - "revision" : "a0cb0954ecb21e4e31b0070e6ed5674e8556685a", - "version" : "1.6.0" - } - }, - { - "identity" : "textstory", - "kind" : "remoteSourceControl", - "location" : "https://github.com/ChimeHQ/TextStory", - "state" : { - "revision" : "a52db1a2eca74d37c8c19bf3165416941632ed45", - "version" : "0.9.2" - } - } - ], - "version" : 2 -} diff --git a/LocalPackages/CodeEditTextView/Package.swift b/LocalPackages/CodeEditTextView/Package.swift deleted file mode 100644 index 7d4306fe16..0000000000 --- a/LocalPackages/CodeEditTextView/Package.swift +++ /dev/null @@ -1,53 +0,0 @@ -// swift-tools-version: 5.9 -// The swift-tools-version declares the minimum version of Swift required to build this package. - -import PackageDescription - -let package = Package( - name: "CodeEditTextView", - platforms: [.macOS(.v13)], - products: [ - // A Fast, Efficient text view for code. - .library( - name: "CodeEditTextView", - targets: ["CodeEditTextView"] - ), - ], - dependencies: [ - // Text mutation, storage helpers - .package( - url: "https://github.com/ChimeHQ/TextStory", - from: "0.9.0" - ), - // Useful data structures - .package( - url: "https://github.com/apple/swift-collections.git", - .upToNextMajor(from: "1.0.0") - ) - ], - targets: [ - // The main text view target. - .target( - name: "CodeEditTextView", - dependencies: [ - "TextStory", - .product(name: "Collections", package: "swift-collections"), - "CodeEditTextViewObjC" - ] - ), - - // ObjC addons - .target( - name: "CodeEditTextViewObjC", - publicHeadersPath: "include" - ), - - // Tests for the text view - .testTarget( - name: "CodeEditTextViewTests", - dependencies: [ - "CodeEditTextView" - ] - ), - ] -) diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/CodeEditTextView.swift b/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/CodeEditTextView.swift deleted file mode 100644 index b190f6c390..0000000000 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/CodeEditTextView.swift +++ /dev/null @@ -1,11 +0,0 @@ -/// This file is purely for helping in the transition from `CodeEditTextView` to `CodeEditSourceEditor` -/// The struct here is an empty view, and will be removed in a future release. - -import SwiftUI - -@available(*, unavailable, renamed: "CodeEditSourceEditor", message: "CodeEditTextView has moved to https://github.com/CodeEditApp/CodeEditSourceEditor, please update any dependencies to use this new repository URL.") -struct CodeEditTextView: View { - var body: some View { - EmptyView() - } -} diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Utils/Logger.swift b/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Utils/Logger.swift deleted file mode 100644 index 543b8e5d7b..0000000000 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Utils/Logger.swift +++ /dev/null @@ -1,3 +0,0 @@ -import os - -let logger = Logger(subsystem: "com.CodeEdit.CodeEditTextView", category: "TextView") diff --git a/LocalPackages/CodeEditSourceEditor/LICENSE.md b/Packages/TableProEditor/LICENSE-CodeEditSourceEditor.md similarity index 100% rename from LocalPackages/CodeEditSourceEditor/LICENSE.md rename to Packages/TableProEditor/LICENSE-CodeEditSourceEditor.md diff --git a/LocalPackages/CodeEditTextView/LICENSE.md b/Packages/TableProEditor/LICENSE-CodeEditTextView.md similarity index 100% rename from LocalPackages/CodeEditTextView/LICENSE.md rename to Packages/TableProEditor/LICENSE-CodeEditTextView.md diff --git a/Packages/TableProEditor/ORIGIN.md b/Packages/TableProEditor/ORIGIN.md new file mode 100644 index 0000000000..cbf2c14b0f --- /dev/null +++ b/Packages/TableProEditor/ORIGIN.md @@ -0,0 +1,52 @@ +# TableProEditor + +The SQL editor: the text engine, its layout and selection, syntax highlighting, folding, the gutter +and the completion window. It began as two packages from the +[CodeEdit](https://github.com/CodeEditApp) project and TablePro has diverged from both far enough +that they are no longer upstreamable as a whole. + +| Target | Vendored from | Licence | +| --- | --- | --- | +| `TableProTextEngine`, `TableProTextEngineObjC` | https://github.com/CodeEditApp/CodeEditTextView at `d7ac3f11f` (2025-07-30) | MIT, `LICENSE-CodeEditTextView.md` | +| `TableProEditorKit` | https://github.com/CodeEditApp/CodeEditSourceEditor at `1fa4d3c3f` (2025-12-31) | MIT, `LICENSE-CodeEditSourceEditor.md` | + +Both were vendored in 2026-03 at what was then upstream's tip, and upstream has landed nothing since. + +## Why it is one package and not two + +Upstream split the engine from the editor because they are two products. Here they are one: 32% of +the commits that touched either touched both, and the strongest co-change pair in the repository is +`TableProEditorKit`'s controller against `TableProTextEngine`'s text view, which the old boundary put +on opposite sides. The targets keep the layering the split was for, and SwiftPM rejects a cycle +between them just as it rejected one between the packages. + +## What TablePro changed + +Roughly 7,000 lines of source and 7,400 lines of tests, in three groups. + +**Correctness and performance in the engine.** Clip-bounded CoreText drawing, per-line widths in the +red-black tree so `maxLineWidth` falls when the widest line is deleted, a typesetting fix where a +line break was used as a length rather than an offset, IME and `NSTextInputClient` range handling, +pasteboard coercion, invisible-character rendering, and range-safety helpers. Most of this is +general and upstream would plausibly want it. + +**Product features.** Per-statement run controls in the gutter, and the fold placeholder preview. +These carry no SQL knowledge: `StatementRun` holds an `NSRange` and nothing else, and every SQL +scanner lives in `TablePro/Core/Utilities/SQL/`. + +**Replacements.** The completion window was rewritten from `NSTableView` to SwiftUI, and the fold +ribbon from upstream's hover-marker strip to macOS disclosure chevrons. Six upstream files were +deleted outright. + +Four subsystems upstream ships were removed because TablePro never used them and two of them were +running anyway: the minimap, jump to definition, the reformatting guide and HTML tag completion +(#2877). + +## Taking a change from upstream + +Do not expect a rebase to work. 42 of 65 files TablePro touched in the engine, and 41 of 70 in the +editor, collide with what upstream changed in its own last 60 commits. Port a specific fix by reading +it and writing it here, the way any other bug report is handled. + +The reverse direction is open: the correctness and performance work is written against upstream's own +shapes and roughly 1,060 lines of it lift out cleanly if anyone wants to send it back. diff --git a/LocalPackages/CodeEditSourceEditor/Package.resolved b/Packages/TableProEditor/Package.resolved similarity index 94% rename from LocalPackages/CodeEditSourceEditor/Package.resolved rename to Packages/TableProEditor/Package.resolved index bd1554cc2e..7b2ddfe572 100644 --- a/LocalPackages/CodeEditSourceEditor/Package.resolved +++ b/Packages/TableProEditor/Package.resolved @@ -1,4 +1,5 @@ { + "originHash" : "1b5dffbc76dc5f663746a71dadea6dce0ab402033adf018419de50c3a2d0b442", "pins" : [ { "identity" : "rearrange", @@ -55,5 +56,5 @@ } } ], - "version" : 2 + "version" : 3 } diff --git a/Packages/TableProEditor/Package.swift b/Packages/TableProEditor/Package.swift new file mode 100644 index 0000000000..7134aba618 --- /dev/null +++ b/Packages/TableProEditor/Package.swift @@ -0,0 +1,56 @@ +// swift-tools-version: 6.0 + +import PackageDescription + +let package = Package( + name: "TableProEditor", + platforms: [.macOS(.v13)], + products: [ + .library(name: "TableProEditorKit", targets: ["TableProEditorKit"]), + .library(name: "TableProTextEngine", targets: ["TableProTextEngine"]) + ], + dependencies: [ + .package(path: "../TableProGrammars"), + .package(url: "https://github.com/ChimeHQ/TextStory", from: "0.9.0"), + .package(url: "https://github.com/ChimeHQ/TextFormation", from: "0.8.2"), + .package(url: "https://github.com/apple/swift-collections.git", .upToNextMajor(from: "1.0.0")) + ], + targets: [ + .target( + name: "TableProTextEngineObjC", + publicHeadersPath: "include", + swiftSettings: [.swiftLanguageMode(.v5)] + ), + .target( + name: "TableProTextEngine", + dependencies: [ + "TableProTextEngineObjC", + "TextStory", + .product(name: "Collections", package: "swift-collections") + ], + swiftSettings: [.swiftLanguageMode(.v5)] + ), + .target( + name: "TableProEditorKit", + dependencies: [ + "TableProTextEngine", + "TableProGrammars", + "TextFormation" + ], + swiftSettings: [.swiftLanguageMode(.v5)] + ), + .testTarget( + name: "TableProTextEngineTests", + dependencies: ["TableProTextEngine"], + swiftSettings: [.swiftLanguageMode(.v5)] + ), + .testTarget( + name: "TableProEditorKitTests", + dependencies: [ + "TableProEditorKit", + "TableProGrammars" + ], + swiftSettings: [.swiftLanguageMode(.v5)] + ) + ] +) diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/Model/CodeSuggestionDelegate.swift b/Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/Model/CodeSuggestionDelegate.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/Model/CodeSuggestionDelegate.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/Model/CodeSuggestionDelegate.swift index cfb4daea37..83ecad9489 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/Model/CodeSuggestionDelegate.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/Model/CodeSuggestionDelegate.swift @@ -1,6 +1,6 @@ // // CodeSuggestionDelegate.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Abe Malla on 12/26/24. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/Model/CodeSuggestionEntry.swift b/Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/Model/CodeSuggestionEntry.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/Model/CodeSuggestionEntry.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/Model/CodeSuggestionEntry.swift index 670edea2d3..fe381f4014 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/Model/CodeSuggestionEntry.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/Model/CodeSuggestionEntry.swift @@ -1,6 +1,6 @@ // // CodeSuggestionEntry.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 7/22/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/Model/SuggestionTriggerCharacterModel.swift b/Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/Model/SuggestionTriggerCharacterModel.swift similarity index 93% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/Model/SuggestionTriggerCharacterModel.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/Model/SuggestionTriggerCharacterModel.swift index 93a9c143a3..0082ad8d7f 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/Model/SuggestionTriggerCharacterModel.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/Model/SuggestionTriggerCharacterModel.swift @@ -1,13 +1,13 @@ // // SuggestionTriggerCharacterModel.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 8/25/25. // import AppKit -import CodeEditTextView import os +import TableProTextEngine import TextStory /// Triggers the suggestion window when trigger characters are typed. @@ -18,7 +18,7 @@ import TextStory /// essentially a textview delegate ensures both of those promises are upheld. @MainActor final class SuggestionTriggerCharacterModel { - private static let logger = Logger(subsystem: "com.CodeEditSourceEditor", category: "CompletionTrigger") + private static let logger = Logger(subsystem: "com.TableProEditorKit", category: "CompletionTrigger") weak var controller: TextViewController? private var lastPosition: NSRange? diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/Model/SuggestionViewModel.swift b/Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/Model/SuggestionViewModel.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/Model/SuggestionViewModel.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/Model/SuggestionViewModel.swift index 8a56f7b9c3..b952f95e6b 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/Model/SuggestionViewModel.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/Model/SuggestionViewModel.swift @@ -1,6 +1,6 @@ // // SuggestionViewModel.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 7/22/25. // @@ -10,7 +10,7 @@ import os @MainActor final class SuggestionViewModel: ObservableObject { - private static let logger = Logger(subsystem: "com.CodeEditSourceEditor", category: "SuggestionVM") + private static let logger = Logger(subsystem: "com.TableProEditorKit", category: "SuggestionVM") /// The items to be displayed in the window @Published var items: [CodeSuggestionEntry] = [] @Published var selectedIndex: Int = 0 diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/View/CodeSuggestionLabelView.swift b/Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/View/CodeSuggestionLabelView.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/View/CodeSuggestionLabelView.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/View/CodeSuggestionLabelView.swift index bd3f1b5ff8..7cde5c1a4d 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/View/CodeSuggestionLabelView.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/View/CodeSuggestionLabelView.swift @@ -1,6 +1,6 @@ // // CodeSuggestionLabelView.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 7/24/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/View/SuggestionContentView.swift b/Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/View/SuggestionContentView.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/View/SuggestionContentView.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/View/SuggestionContentView.swift index a326cd1e80..ccad81e058 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/View/SuggestionContentView.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/View/SuggestionContentView.swift @@ -1,6 +1,6 @@ // // SuggestionContentView.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Claude on 2026-03-19. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/View/SuggestionPreviewView.swift b/Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/View/SuggestionPreviewView.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/View/SuggestionPreviewView.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/View/SuggestionPreviewView.swift index af6cfec4dd..9b1c8cd0ac 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/View/SuggestionPreviewView.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/View/SuggestionPreviewView.swift @@ -1,6 +1,6 @@ // // SuggestionPreviewView.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Claude on 2026-03-19. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/Window/SuggestionController+Window.swift b/Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/Window/SuggestionController+Window.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/Window/SuggestionController+Window.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/Window/SuggestionController+Window.swift index cd68b60e08..c9f6a69193 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/Window/SuggestionController+Window.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/Window/SuggestionController+Window.swift @@ -1,6 +1,6 @@ // // SuggestionController+Window.swift -// CodeEditTextView +// TableProTextEngine // // Created by Abe Malla on 12/22/24. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/Window/SuggestionController.swift b/Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/Window/SuggestionController.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/Window/SuggestionController.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/Window/SuggestionController.swift index 283b75fc5d..9f941753e3 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/Window/SuggestionController.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/Window/SuggestionController.swift @@ -1,15 +1,15 @@ // // SuggestionController.swift -// CodeEditTextView +// TableProTextEngine // // Created by Abe Malla on 6/18/24. // import AppKit import Carbon.HIToolbox -import CodeEditTextView import Combine import SwiftUI +import TableProTextEngine public final class SuggestionController: NSWindowController { static var shared = SuggestionController() diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/Window/SuggestionWindowPlacement.swift b/Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/Window/SuggestionWindowPlacement.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/Window/SuggestionWindowPlacement.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/Window/SuggestionWindowPlacement.swift index d96627066e..4afa32fb8e 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/Window/SuggestionWindowPlacement.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/Window/SuggestionWindowPlacement.swift @@ -1,6 +1,6 @@ // // SuggestionWindowPlacement.swift -// CodeEditSourceEditor +// TableProEditorKit // import AppKit diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/Window/TextViewController+Suggestions.swift b/Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/Window/TextViewController+Suggestions.swift similarity index 96% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/Window/TextViewController+Suggestions.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/Window/TextViewController+Suggestions.swift index 98fd4ed0b3..7ecccd9ffb 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/CodeSuggestion/Window/TextViewController+Suggestions.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/CodeSuggestion/Window/TextViewController+Suggestions.swift @@ -1,6 +1,6 @@ // // TextViewController+Suggestions.swift -// CodeEditSourceEditor +// TableProEditorKit // import AppKit diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/EditorKeyCommand.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/EditorKeyCommand.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/EditorKeyCommand.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Controller/EditorKeyCommand.swift index b5c5fed5e1..61a516ae5f 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/EditorKeyCommand.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/EditorKeyCommand.swift @@ -1,6 +1,6 @@ // // EditorKeyCommand.swift -// CodeEditSourceEditor +// TableProEditorKit // import AppKit diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+Cursor.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+Cursor.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+Cursor.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+Cursor.swift index 3e9173fc09..e50482332a 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+Cursor.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+Cursor.swift @@ -1,6 +1,6 @@ // // TextViewController+Cursor.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Elias Wahl on 15.03.23. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+EmphasizeBracket.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+EmphasizeBracket.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+EmphasizeBracket.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+EmphasizeBracket.swift index cd68508f1f..0d390a3be1 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+EmphasizeBracket.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+EmphasizeBracket.swift @@ -1,12 +1,12 @@ // // TextViewController+EmphasizeBracket.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 4/26/23. // import AppKit -import CodeEditTextView +import TableProTextEngine extension TextViewController { /// Emphasizes bracket pairs using the current selection. diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+FindPanelTarget.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+FindPanelTarget.swift similarity index 94% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+FindPanelTarget.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+FindPanelTarget.swift index df6bcdb543..44421ad95d 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+FindPanelTarget.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+FindPanelTarget.swift @@ -1,12 +1,12 @@ // // TextViewController+FindPanelTarget.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 3/16/25. // import AppKit -import CodeEditTextView +import TableProTextEngine extension TextViewController: FindPanelTarget { var findPanelTargetView: NSView { diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+Folding.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+Folding.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+Folding.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+Folding.swift index dbdd4e18e7..315ab5ec96 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+Folding.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+Folding.swift @@ -1,6 +1,6 @@ // // TextViewController+Folding.swift -// CodeEditSourceEditor +// TableProEditorKit // import AppKit @@ -26,7 +26,7 @@ public struct CollapsedFoldHit: Equatable { public extension TextViewController { /// Posted on the controller whenever a fold collapses or expands. static let foldStateDidChangeNotification = Notification.Name( - "CodeEditSourceEditor.foldStateDidChangeNotification" + "TableProEditorKit.foldStateDidChangeNotification" ) /// The collapsed fold under a point in the text view, if there is one. diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+GutterViewDelegate.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+GutterViewDelegate.swift similarity index 91% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+GutterViewDelegate.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+GutterViewDelegate.swift index e2e0ef7a51..ac8f8b66c2 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+GutterViewDelegate.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+GutterViewDelegate.swift @@ -1,6 +1,6 @@ // // TextViewController+GutterViewDelegate.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 4/17/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+Highlighter.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+Highlighter.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+Highlighter.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+Highlighter.swift index b1e6bb0266..3869f85025 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+Highlighter.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+Highlighter.swift @@ -1,6 +1,6 @@ // // TextViewController+Highlighter.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 10/14/23. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+IndentLines.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+IndentLines.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+IndentLines.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+IndentLines.swift index 3eb5a3edde..8a16f927f1 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+IndentLines.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+IndentLines.swift @@ -1,12 +1,12 @@ // // TextViewController+IndentLines.swift -// CodeEditTextView +// TableProTextEngine // // Created by Ludwig, Tom on 11.09.24. // import AppKit -import CodeEditTextView +import TableProTextEngine extension TextViewController { /// Handles indentation and unindentation for selected lines in the text view. @@ -137,7 +137,7 @@ extension TextViewController { /// when indenting a selected line. /// /// Does not determine the *visible* lines, which is a very slight change from most - /// ``CodeEditTextView/TextLayoutManager`` APIs. + /// ``TableProTextEngine/TextLayoutManager`` APIs. /// Given the text: /// ``` /// A diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+Lifecycle.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+Lifecycle.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+Lifecycle.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+Lifecycle.swift index d38a028494..69ddeb2a97 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+Lifecycle.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+Lifecycle.swift @@ -1,12 +1,12 @@ // // TextViewController+LoadView.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 10/14/23. // import AppKit -import CodeEditTextView +import TableProTextEngine extension TextViewController { override public func viewWillAppear() { diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+LineOperations.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+LineOperations.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+LineOperations.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+LineOperations.swift index 3fa4898d4c..7abdecc802 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+LineOperations.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+LineOperations.swift @@ -1,12 +1,12 @@ // // TextViewController+LineOperations.swift -// CodeEditSourceEditor +// TableProEditorKit // // Line-level editing operations: duplicate, delete. // import AppKit -import CodeEditTextView +import TableProTextEngine extension TextViewController { /// Duplicates the current line(s) below the selection (Cmd+D). diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+MoveLines.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+MoveLines.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+MoveLines.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+MoveLines.swift index f3a8012303..430baf68c2 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+MoveLines.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+MoveLines.swift @@ -1,6 +1,6 @@ // // TextViewController+MoveLines.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Bogdan Belogurov on 01/06/2025. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+ReloadUI.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+ReloadUI.swift similarity index 92% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+ReloadUI.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+ReloadUI.swift index fd99112e09..799c600f4a 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+ReloadUI.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+ReloadUI.swift @@ -1,6 +1,6 @@ // // TextViewController+ReloadUI.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 4/17/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+StatementRunning.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+StatementRunning.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+StatementRunning.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+StatementRunning.swift index 2dfd4e9658..589bdf8a8d 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+StatementRunning.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+StatementRunning.swift @@ -1,6 +1,6 @@ // // TextViewController+StatementRunning.swift -// CodeEditSourceEditor +// TableProEditorKit // import AppKit diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+StyleViews.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+StyleViews.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+StyleViews.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+StyleViews.swift index 986a0d079c..b34888f342 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+StyleViews.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+StyleViews.swift @@ -1,12 +1,12 @@ // // TextViewController+StyleViews.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 7/3/24. // import AppKit -import CodeEditTextView +import TableProTextEngine extension TextViewController { package func generateParagraphStyle() -> NSMutableParagraphStyle { diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+TextFormation.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+TextFormation.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+TextFormation.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+TextFormation.swift index be7198ef64..ea82475a5b 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+TextFormation.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+TextFormation.swift @@ -1,12 +1,12 @@ // // TextViewController+TextFormation.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 1/26/23. // import AppKit -import CodeEditTextView +import TableProTextEngine import TextFormation import TextStory diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+TextViewDelegate.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+TextViewDelegate.swift similarity index 96% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+TextViewDelegate.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+TextViewDelegate.swift index c676c39f4a..29eb0cffd3 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+TextViewDelegate.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+TextViewDelegate.swift @@ -1,12 +1,12 @@ // // TextViewController+TextViewDelegate.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 10/14/23. // -import CodeEditTextView import Foundation +import TableProTextEngine import TextStory extension TextViewController: TextViewDelegate { diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+ToggleComment.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+ToggleComment.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+ToggleComment.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+ToggleComment.swift index b64150f208..cfb9a2c4ec 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+ToggleComment.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+ToggleComment.swift @@ -1,12 +1,12 @@ // // TextViewController+Shortcuts.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Sophia Hooley on 4/21/24. // import AppKit -import CodeEditTextView +import TableProTextEngine extension TextViewController { /// Method called when CMD + / key sequence is recognized. diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+ToggleCommentCache.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+ToggleCommentCache.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+ToggleCommentCache.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+ToggleCommentCache.swift index 5a005127d8..ec0d3e4fe3 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+ToggleCommentCache.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+ToggleCommentCache.swift @@ -5,7 +5,7 @@ // Created by Tommy Ludwig on 23.08.24. // -import CodeEditTextView +import TableProTextEngine extension TextViewController { /// A cache used to store and manage comment-related information for lines in a text view. diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+UnfilteredEdits.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+UnfilteredEdits.swift similarity index 95% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+UnfilteredEdits.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+UnfilteredEdits.swift index bc6ffc653a..933c02074b 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController+UnfilteredEdits.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController+UnfilteredEdits.swift @@ -1,10 +1,10 @@ // // TextViewController+UnfilteredEdits.swift -// CodeEditSourceEditor +// TableProEditorKit // import AppKit -import CodeEditTextView +import TableProTextEngine public extension TextViewController { func applyUnfilteredReplacements(_ replacements: [TextReplacement]) { diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController.swift index fb509e46ba..74a90ace6f 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Controller/TextViewController.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Controller/TextViewController.swift @@ -1,20 +1,20 @@ // // TextViewController.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 6/25/23. // import AppKit -import CodeEditTextView import Combine import SwiftUI import TableProGrammars +import TableProTextEngine import TextFormation /// # TextViewController /// -/// A view controller class for managing a source editor. Uses ``CodeEditTextView/TextView`` for input and rendering, +/// A view controller class for managing a source editor. Uses ``TableProTextEngine/TextView`` for input and rendering, /// tree-sitter for syntax highlighting, and TextFormation for live editing completions. public class TextViewController: NSViewController { public static let cursorPositionUpdatedNotification: Notification.Name = .init("TextViewController.cursorPositionNotification") diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Enums/BracketPairEmphasis.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Enums/BracketPairEmphasis.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Enums/BracketPairEmphasis.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Enums/BracketPairEmphasis.swift index 7da0e9945d..2698c1a3ce 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Enums/BracketPairEmphasis.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Enums/BracketPairEmphasis.swift @@ -1,6 +1,6 @@ // // BracketPairEmphasis.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 5/3/23. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Enums/BracketPairs.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Enums/BracketPairs.swift similarity index 96% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Enums/BracketPairs.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Enums/BracketPairs.swift index bce82896c1..6d8b5c9dc6 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Enums/BracketPairs.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Enums/BracketPairs.swift @@ -1,6 +1,6 @@ // // BracketPairs.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 6/5/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Enums/CaptureModifier.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Enums/CaptureModifier.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Enums/CaptureModifier.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Enums/CaptureModifier.swift index 2a3045215b..e213f83745 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Enums/CaptureModifier.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Enums/CaptureModifier.swift @@ -1,6 +1,6 @@ // // CaptureModifiers.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 10/24/24. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Enums/CaptureModifierSet.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Enums/CaptureModifierSet.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Enums/CaptureModifierSet.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Enums/CaptureModifierSet.swift index 5fb1dbab71..7952372abb 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Enums/CaptureModifierSet.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Enums/CaptureModifierSet.swift @@ -1,6 +1,6 @@ // // CaptureModifierSet.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 12/16/24. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Enums/CaptureName.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Enums/CaptureName.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Enums/CaptureName.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Enums/CaptureName.swift index 39f5116a87..58a7e2086f 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Enums/CaptureName.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Enums/CaptureName.swift @@ -1,6 +1,6 @@ // // CaptureNames.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Lukas Pistrol on 16.08.22. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Enums/IndentOption.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Enums/IndentOption.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Enums/IndentOption.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Enums/IndentOption.swift index eaffde6d21..8116ae3298 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Enums/IndentOption.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Enums/IndentOption.swift @@ -1,6 +1,6 @@ // // IndentOption.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 3/26/23. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/Color+Hex.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/Color+Hex.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/Color+Hex.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/Color+Hex.swift index 72ab7048b7..4042cf2f12 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/Color+Hex.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/Color+Hex.swift @@ -1,6 +1,6 @@ // // Color+HEX.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Lukas Pistrol on 27.05.22. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/DispatchQueue+dispatchMainIfNot.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/DispatchQueue+dispatchMainIfNot.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/DispatchQueue+dispatchMainIfNot.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/DispatchQueue+dispatchMainIfNot.swift index 7012e27578..f0606d54bd 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/DispatchQueue+dispatchMainIfNot.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/DispatchQueue+dispatchMainIfNot.swift @@ -1,6 +1,6 @@ // // DispatchQueue+dispatchMainIfNot.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 9/2/24. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/IndexSet+NSRange.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/IndexSet+NSRange.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/IndexSet+NSRange.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/IndexSet+NSRange.swift index 8cca107945..fd97ef99f5 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/IndexSet+NSRange.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/IndexSet+NSRange.swift @@ -1,6 +1,6 @@ // // IndexSet+NSRange.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 1/12/23. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSBezierPath+RoundedCorners.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSBezierPath+RoundedCorners.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSBezierPath+RoundedCorners.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSBezierPath+RoundedCorners.swift index 141bbead3c..2f59c7438f 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSBezierPath+RoundedCorners.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSBezierPath+RoundedCorners.swift @@ -1,6 +1,6 @@ // // NSBezierPath+RoundedCorners.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 6/3/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSColor+LightDark.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSColor+LightDark.swift similarity index 94% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSColor+LightDark.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSColor+LightDark.swift index b5871b7be3..aebb3cd924 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSColor+LightDark.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSColor+LightDark.swift @@ -1,6 +1,6 @@ // // NSColor+LightDark.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 6/4/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSEdgeInsets/NSEdgeInsets+Equatable.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSEdgeInsets/NSEdgeInsets+Equatable.swift similarity index 93% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSEdgeInsets/NSEdgeInsets+Equatable.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSEdgeInsets/NSEdgeInsets+Equatable.swift index 38911245fc..266dd2cb29 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSEdgeInsets/NSEdgeInsets+Equatable.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSEdgeInsets/NSEdgeInsets+Equatable.swift @@ -1,6 +1,6 @@ // // NSEdgeInsets+Equatable.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Wouter Hennen on 29/04/2023. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSEdgeInsets/NSEdgeInsets+Helpers.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSEdgeInsets/NSEdgeInsets+Helpers.swift similarity index 90% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSEdgeInsets/NSEdgeInsets+Helpers.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSEdgeInsets/NSEdgeInsets+Helpers.swift index 83b2cb81ca..6cf8ea41d9 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSEdgeInsets/NSEdgeInsets+Helpers.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSEdgeInsets/NSEdgeInsets+Helpers.swift @@ -1,6 +1,6 @@ // // NSEdgeInsets+Helpers.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 4/15/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSFont/NSFont+CharWidth.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSFont/NSFont+CharWidth.swift similarity index 89% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSFont/NSFont+CharWidth.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSFont/NSFont+CharWidth.swift index 606e1b6814..0a1b91bfbb 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSFont/NSFont+CharWidth.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSFont/NSFont+CharWidth.swift @@ -1,6 +1,6 @@ // // NSFont+CharWidth.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 6/25/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSFont/NSFont+LineHeight.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSFont/NSFont+LineHeight.swift similarity index 84% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSFont/NSFont+LineHeight.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSFont/NSFont+LineHeight.swift index a22957736d..07b724b639 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSFont/NSFont+LineHeight.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSFont/NSFont+LineHeight.swift @@ -1,12 +1,12 @@ // // NSFont+LineHeight.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Lukas Pistrol on 28.05.22. // import AppKit -import CodeEditTextView +import TableProTextEngine public extension NSFont { /// The default line height of the font. diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSFont/NSFont+RulerFont.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSFont/NSFont+RulerFont.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSFont/NSFont+RulerFont.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSFont/NSFont+RulerFont.swift index f7730020bc..244b40ed8b 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSFont/NSFont+RulerFont.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSFont/NSFont+RulerFont.swift @@ -1,6 +1,6 @@ // // NSFont+RulerFont.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Elias Wahl on 17.03.23. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSRange+/NSRange+InputEdit.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSRange+/NSRange+InputEdit.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSRange+/NSRange+InputEdit.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSRange+/NSRange+InputEdit.swift index e1a8a219b9..47d94786f0 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSRange+/NSRange+InputEdit.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSRange+/NSRange+InputEdit.swift @@ -1,13 +1,13 @@ // // NSRange+InputEdit.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 9/12/22. // -import CodeEditTextView import Foundation import SwiftTreeSitter +import TableProTextEngine extension InputEdit { init?(range: NSRange, delta: Int, oldEndPoint: Point, textView: TextView) { diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSRange+/NSRange+NSTextRange.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSRange+/NSRange+NSTextRange.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSRange+/NSRange+NSTextRange.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSRange+/NSRange+NSTextRange.swift index d87d1567da..60304eb87f 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSRange+/NSRange+NSTextRange.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSRange+/NSRange+NSTextRange.swift @@ -1,6 +1,6 @@ // // NSRange+NSTextRange.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 9/13/22. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSRange+/NSRange+String.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSRange+/NSRange+String.swift similarity index 95% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSRange+/NSRange+String.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSRange+/NSRange+String.swift index c5f30f167d..d7407f3837 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSRange+/NSRange+String.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSRange+/NSRange+String.swift @@ -1,6 +1,6 @@ // // String+NSRange.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Lukas Pistrol on 25.05.22. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSRange+/NSRange+TSRange.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSRange+/NSRange+TSRange.swift similarity index 92% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSRange+/NSRange+TSRange.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSRange+/NSRange+TSRange.swift index 1934eec8cc..34b816950d 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSRange+/NSRange+TSRange.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSRange+/NSRange+TSRange.swift @@ -1,6 +1,6 @@ // // NSRange+TSRange.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 2/26/23. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSRange+/NSRange+isEmpty.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSRange+/NSRange+isEmpty.swift similarity index 86% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSRange+/NSRange+isEmpty.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSRange+/NSRange+isEmpty.swift index dc882a176b..0cd59ebbde 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSRange+/NSRange+isEmpty.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSRange+/NSRange+isEmpty.swift @@ -1,6 +1,6 @@ // // NSRange+isEmpty.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 10/14/23. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSRect+Transform.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSRect+Transform.swift similarity index 94% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSRect+Transform.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSRect+Transform.swift index 34be2a8e7e..1a75464a86 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSRect+Transform.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSRect+Transform.swift @@ -1,6 +1,6 @@ // // NSRect+Transform.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 6/4/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSString+TextStory.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSString+TextStory.swift similarity index 94% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSString+TextStory.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSString+TextStory.swift index 870e115452..ec17e9eb76 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/NSString+TextStory.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/NSString+TextStory.swift @@ -1,6 +1,6 @@ // // NSString+TextStory.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 6/3/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/Node+filterChildren.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/Node+filterChildren.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/Node+filterChildren.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/Node+filterChildren.swift index 9788997437..ca3b0a50a4 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/Node+filterChildren.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/Node+filterChildren.swift @@ -1,6 +1,6 @@ // // Node+filterChildren.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 5/29/24. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/Range+Length.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/Range+Length.swift similarity index 95% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/Range+Length.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/Range+Length.swift index 86f6405407..8a7d1dea76 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/Range+Length.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/Range+Length.swift @@ -1,6 +1,6 @@ // // Range+Length.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 10/25/24. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/Result+ThrowOrReturn.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/Result+ThrowOrReturn.swift similarity index 94% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/Result+ThrowOrReturn.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/Result+ThrowOrReturn.swift index 8327000216..5f6b7d3439 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/Result+ThrowOrReturn.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/Result+ThrowOrReturn.swift @@ -1,6 +1,6 @@ // // Result+ThrowOrReturn.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 9/2/24. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/String+/String+Groups.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/String+/String+Groups.swift similarity index 96% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/String+/String+Groups.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/String+/String+Groups.swift index b01fbd35b3..0fc407bbbb 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/String+/String+Groups.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/String+/String+Groups.swift @@ -1,6 +1,6 @@ // // NewlineProcessingFilter+TagHandling.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Roscoe Rubin-Rottenberg on 5/19/24. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/String+/String+encoding.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/String+/String+encoding.swift similarity index 93% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/String+/String+encoding.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/String+/String+encoding.swift index 9901433ec0..9ec0019bc4 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/String+/String+encoding.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/String+/String+encoding.swift @@ -1,6 +1,6 @@ // // String+encoding.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 1/19/23. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/TextMutation+isEmpty.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/TextMutation+isEmpty.swift similarity index 93% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/TextMutation+isEmpty.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/TextMutation+isEmpty.swift index 6b07fe40dc..98cd3518b5 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/TextMutation+isEmpty.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/TextMutation+isEmpty.swift @@ -1,6 +1,6 @@ // // TextMutation+isEmpty.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 3/1/24. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/TextView+/TextView+Menu.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/TextView+/TextView+Menu.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/TextView+/TextView+Menu.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/TextView+/TextView+Menu.swift index 4a29590570..1711268a6b 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/TextView+/TextView+Menu.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/TextView+/TextView+Menu.swift @@ -1,12 +1,12 @@ // // TextView+Menu.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Lukas Pistrol on 25.05.22. // import AppKit -import CodeEditTextView +import TableProTextEngine extension TextView { /// Setup context menus diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/TextView+/TextView+Point.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/TextView+/TextView+Point.swift similarity index 89% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/TextView+/TextView+Point.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/TextView+/TextView+Point.swift index 746f02177f..5d3685bc3f 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/TextView+/TextView+Point.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/TextView+/TextView+Point.swift @@ -1,13 +1,13 @@ // // TextView+Point.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 1/18/24. // -import CodeEditTextView import Foundation import SwiftTreeSitter +import TableProTextEngine extension TextView { func pointForLocation(_ location: Int) -> Point? { diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/TextView+/TextView+TextFormation.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/TextView+/TextView+TextFormation.swift similarity index 96% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/TextView+/TextView+TextFormation.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/TextView+/TextView+TextFormation.swift index 772c65eac3..eca9404d67 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/TextView+/TextView+TextFormation.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/TextView+/TextView+TextFormation.swift @@ -1,12 +1,12 @@ // // TextView+TextFormation.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 10/14/23. // -import CodeEditTextView import Foundation +import TableProTextEngine import TextFormation import TextStory diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/TextView+/TextView+createReadBlock.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/TextView+/TextView+createReadBlock.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/TextView+/TextView+createReadBlock.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/TextView+/TextView+createReadBlock.swift index e754336446..c711ee81e3 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/TextView+/TextView+createReadBlock.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/TextView+/TextView+createReadBlock.swift @@ -1,13 +1,13 @@ // // TextView+createReadBlock.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 5/20/23. // -import CodeEditTextView import Foundation import SwiftTreeSitter +import TableProTextEngine extension TextView { /// Creates a block for safely reading data into a parser's read block. diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/Tree+prettyPrint.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/Tree+prettyPrint.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/Tree+prettyPrint.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Extensions/Tree+prettyPrint.swift index 034c8aa0bc..33f43bf8db 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Extensions/Tree+prettyPrint.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Extensions/Tree+prettyPrint.swift @@ -1,6 +1,6 @@ // // Tree+prettyPrint.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 3/16/23. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Filters/DeleteWhitespaceFilter.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Filters/DeleteWhitespaceFilter.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Filters/DeleteWhitespaceFilter.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Filters/DeleteWhitespaceFilter.swift index 7cf82e5cf7..2eccdb01ee 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Filters/DeleteWhitespaceFilter.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Filters/DeleteWhitespaceFilter.swift @@ -1,12 +1,12 @@ // // DeleteWhitespaceFilter.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 1/28/23. // -import CodeEditTextView import Foundation +import TableProTextEngine import TextFormation import TextStory diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Filters/TabReplacementFilter.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Filters/TabReplacementFilter.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Filters/TabReplacementFilter.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Filters/TabReplacementFilter.swift index 104f4ea34a..38b3f67340 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Filters/TabReplacementFilter.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Filters/TabReplacementFilter.swift @@ -1,6 +1,6 @@ // // TabReplacementFilter.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 1/28/23. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/FindMethod.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Find/FindMethod.swift similarity index 95% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/FindMethod.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Find/FindMethod.swift index 1abe7e14e3..882df202aa 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/FindMethod.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Find/FindMethod.swift @@ -1,6 +1,6 @@ // // FindMethod.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Austin Condiff on 5/2/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/FindPanelMode.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Find/FindPanelMode.swift similarity index 92% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/FindPanelMode.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Find/FindPanelMode.swift index f7bbf26bd5..e2097a3476 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/FindPanelMode.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Find/FindPanelMode.swift @@ -1,6 +1,6 @@ // // FindPanelMode.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 4/18/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/FindPanelTarget.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Find/FindPanelTarget.swift similarity index 91% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/FindPanelTarget.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Find/FindPanelTarget.swift index 640b00166c..966f79810d 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/FindPanelTarget.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Find/FindPanelTarget.swift @@ -1,12 +1,12 @@ // // FindPanelTarget.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 3/10/25. // import AppKit -import CodeEditTextView +import TableProTextEngine protocol FindPanelTarget: AnyObject { var textView: TextView! { get } diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/FindViewController+Toggle.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Find/FindViewController+Toggle.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/FindViewController+Toggle.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Find/FindViewController+Toggle.swift index d607af3eb4..4cf0d2b880 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/FindViewController+Toggle.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Find/FindViewController+Toggle.swift @@ -1,6 +1,6 @@ // // FindViewController+Toggle.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Austin Condiff on 4/3/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/FindViewController.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Find/FindViewController.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/FindViewController.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Find/FindViewController.swift index 3286023d82..f5b9d2201e 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/FindViewController.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Find/FindViewController.swift @@ -1,12 +1,12 @@ // // FindViewController.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 3/10/25. // import AppKit -import CodeEditTextView +import TableProTextEngine /// Creates a container controller for displaying and hiding a find panel with a content view. final class FindViewController: NSViewController { diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/FindControls.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/FindControls.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/FindControls.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/FindControls.swift index ede8476dae..96c892236f 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/FindControls.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/FindControls.swift @@ -1,6 +1,6 @@ // // FindControls.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Austin Condiff on 4/30/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/FindMethodPicker.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/FindMethodPicker.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/FindMethodPicker.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/FindMethodPicker.swift index 191d94ddc6..a7e4c48bad 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/FindMethodPicker.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/FindMethodPicker.swift @@ -1,6 +1,6 @@ // // FindMethodPicker.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Austin Condiff on 5/2/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/FindModePicker.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/FindModePicker.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/FindModePicker.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/FindModePicker.swift index e7a076a13f..c68d33ad52 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/FindModePicker.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/FindModePicker.swift @@ -1,6 +1,6 @@ // // FindModePicker.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Austin Condiff on 4/10/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/FindPanelContent.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/FindPanelContent.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/FindPanelContent.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/FindPanelContent.swift index 383d2305de..222168f10a 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/FindPanelContent.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/FindPanelContent.swift @@ -1,6 +1,6 @@ // // FindPanelContent.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Austin Condiff on 5/2/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/FindPanelHostingView.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/FindPanelHostingView.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/FindPanelHostingView.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/FindPanelHostingView.swift index bf16e490fa..b7f1e0f407 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/FindPanelHostingView.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/FindPanelHostingView.swift @@ -1,6 +1,6 @@ // // FindPanelHostingView.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 3/10/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/FindPanelView.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/FindPanelView.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/FindPanelView.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/FindPanelView.swift index 68b0335bf0..72070975ff 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/FindPanelView.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/FindPanelView.swift @@ -1,13 +1,13 @@ // // FindPanelView.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Austin Condiff on 3/12/25. // import AppKit -import CodeEditTextView import SwiftUI +import TableProTextEngine /// A SwiftUI view that provides a find and replace interface for the text editor. /// diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/FindSearchField.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/FindSearchField.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/FindSearchField.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/FindSearchField.swift index 12d19fcdf4..78ea750892 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/FindSearchField.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/FindSearchField.swift @@ -1,6 +1,6 @@ // // FindSearchField.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 4/18/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/ReplaceControls.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/ReplaceControls.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/ReplaceControls.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/ReplaceControls.swift index 6b62348f0a..f5df5b7c55 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/ReplaceControls.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/ReplaceControls.swift @@ -1,6 +1,6 @@ // // ReplaceControls.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Austin Condiff on 4/30/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/ReplaceSearchField.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/ReplaceSearchField.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/ReplaceSearchField.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/ReplaceSearchField.swift index 87e470b265..0d23759dc3 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/PanelView/ReplaceSearchField.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Find/PanelView/ReplaceSearchField.swift @@ -1,6 +1,6 @@ // // ReplaceSearchField.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 4/18/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/ViewModel/FindPanelViewModel+Emphasis.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Find/ViewModel/FindPanelViewModel+Emphasis.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/ViewModel/FindPanelViewModel+Emphasis.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Find/ViewModel/FindPanelViewModel+Emphasis.swift index adcebcd8e0..56006a71ee 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/ViewModel/FindPanelViewModel+Emphasis.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Find/ViewModel/FindPanelViewModel+Emphasis.swift @@ -1,11 +1,11 @@ // // FindPanelViewModel+Emphasis.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 4/18/25. // -import CodeEditTextView +import TableProTextEngine extension FindPanelViewModel { func addMatchEmphases(flashCurrent: Bool) { diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/ViewModel/FindPanelViewModel+Find.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Find/ViewModel/FindPanelViewModel+Find.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/ViewModel/FindPanelViewModel+Find.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Find/ViewModel/FindPanelViewModel+Find.swift index a65ff20f08..316a7ec755 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/ViewModel/FindPanelViewModel+Find.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Find/ViewModel/FindPanelViewModel+Find.swift @@ -1,6 +1,6 @@ // // FindPanelViewModel+Find.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 4/18/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/ViewModel/FindPanelViewModel+Move.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Find/ViewModel/FindPanelViewModel+Move.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/ViewModel/FindPanelViewModel+Move.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Find/ViewModel/FindPanelViewModel+Move.swift index 726598b7ca..f1ce5bffa1 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/ViewModel/FindPanelViewModel+Move.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Find/ViewModel/FindPanelViewModel+Move.swift @@ -1,6 +1,6 @@ // // FindPanelViewModel+Move.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 4/18/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/ViewModel/FindPanelViewModel+Replace.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Find/ViewModel/FindPanelViewModel+Replace.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/ViewModel/FindPanelViewModel+Replace.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Find/ViewModel/FindPanelViewModel+Replace.swift index 0f1da9485f..2dd597ea9f 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/ViewModel/FindPanelViewModel+Replace.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Find/ViewModel/FindPanelViewModel+Replace.swift @@ -1,12 +1,12 @@ // // FindPanelViewModel+Replace.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 4/18/25. // -import CodeEditTextView import Foundation +import TableProTextEngine extension FindPanelViewModel { /// Replace one or all ``findMatches`` with the contents of ``replaceText``. diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/ViewModel/FindPanelViewModel.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Find/ViewModel/FindPanelViewModel.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/ViewModel/FindPanelViewModel.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Find/ViewModel/FindPanelViewModel.swift index 905aa0c4d8..64523c734d 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Find/ViewModel/FindPanelViewModel.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Find/ViewModel/FindPanelViewModel.swift @@ -1,13 +1,13 @@ // // FindPanelViewModel.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Austin Condiff on 3/12/25. // -import CodeEditTextView import Combine import SwiftUI +import TableProTextEngine class FindPanelViewModel: ObservableObject { enum Notifications { diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Gutter/GutterView.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Gutter/GutterView.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Gutter/GutterView.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Gutter/GutterView.swift index 2fa8af1654..2a3e087f1f 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Gutter/GutterView.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Gutter/GutterView.swift @@ -1,13 +1,13 @@ // // GutterView.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 8/22/23. // import AppKit -import CodeEditTextView -import CodeEditTextViewObjC +import TableProTextEngine +import TableProTextEngineObjC public protocol GutterViewDelegate: AnyObject { func gutterViewWidthDidUpdate() diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Highlighting/HighlightProviding/HighlightProviderState.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Highlighting/HighlightProviding/HighlightProviderState.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Highlighting/HighlightProviding/HighlightProviderState.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Highlighting/HighlightProviding/HighlightProviderState.swift index 923aece006..cdf8e1f54a 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Highlighting/HighlightProviding/HighlightProviderState.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Highlighting/HighlightProviding/HighlightProviderState.swift @@ -1,14 +1,14 @@ // // HighlightProviderState.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 10/13/24. // -import CodeEditTextView import Foundation import OSLog import TableProGrammars +import TableProTextEngine @MainActor protocol HighlightProviderStateDelegate: AnyObject { diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Highlighting/HighlightProviding/HighlightProviding.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Highlighting/HighlightProviding/HighlightProviding.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Highlighting/HighlightProviding/HighlightProviding.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Highlighting/HighlightProviding/HighlightProviding.swift index 86e7c2c4f3..962afd46e2 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Highlighting/HighlightProviding/HighlightProviding.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Highlighting/HighlightProviding/HighlightProviding.swift @@ -1,14 +1,14 @@ // // HighlightProviding.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 1/18/23. // import AppKit -import CodeEditTextView import Foundation import TableProGrammars +import TableProTextEngine /// A single-case error that should be thrown when an operation should be retried. public enum HighlightProvidingError: Error { diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Highlighting/HighlightRange.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Highlighting/HighlightRange.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Highlighting/HighlightRange.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Highlighting/HighlightRange.swift index 85b416b824..3c3bdf0ff9 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Highlighting/HighlightRange.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Highlighting/HighlightRange.swift @@ -1,6 +1,6 @@ // // HighlightRange.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 9/14/22. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Highlighting/Highlighter.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Highlighting/Highlighter.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Highlighting/Highlighter.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Highlighting/Highlighter.swift index cf96f3b5b9..2239c4af80 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Highlighting/Highlighter.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Highlighting/Highlighter.swift @@ -1,16 +1,16 @@ // // Highlighter.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 9/12/22. // import AppKit -import CodeEditTextView import Foundation import OSLog import SwiftTreeSitter import TableProGrammars +import TableProTextEngine /// Thresholds for degrading language services on large documents. public enum EditorHighlighting { diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Highlighting/StyledRangeContainer/StyledRangeContainer+runsIn.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Highlighting/StyledRangeContainer/StyledRangeContainer+runsIn.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Highlighting/StyledRangeContainer/StyledRangeContainer+runsIn.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Highlighting/StyledRangeContainer/StyledRangeContainer+runsIn.swift index aa1a3590cf..61c80b7857 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Highlighting/StyledRangeContainer/StyledRangeContainer+runsIn.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Highlighting/StyledRangeContainer/StyledRangeContainer+runsIn.swift @@ -1,6 +1,6 @@ // // StyledRangeContainer+runsIn.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 7/18/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Highlighting/StyledRangeContainer/StyledRangeContainer.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Highlighting/StyledRangeContainer/StyledRangeContainer.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Highlighting/StyledRangeContainer/StyledRangeContainer.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Highlighting/StyledRangeContainer/StyledRangeContainer.swift index f02e61a9da..74164b203f 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Highlighting/StyledRangeContainer/StyledRangeContainer.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Highlighting/StyledRangeContainer/StyledRangeContainer.swift @@ -1,6 +1,6 @@ // // StyledRangeContainer.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 10/13/24. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Highlighting/VisibleRangeProvider.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Highlighting/VisibleRangeProvider.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Highlighting/VisibleRangeProvider.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Highlighting/VisibleRangeProvider.swift index 91428e250b..cbb57ae28b 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Highlighting/VisibleRangeProvider.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Highlighting/VisibleRangeProvider.swift @@ -1,12 +1,12 @@ // // VisibleRangeProvider.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 10/13/24. // import AppKit -import CodeEditTextView +import TableProTextEngine @MainActor protocol VisibleRangeProviderDelegate: AnyObject { diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/InvisibleCharacters/InvisibleCharactersConfiguration.swift b/Packages/TableProEditor/Sources/TableProEditorKit/InvisibleCharacters/InvisibleCharactersConfiguration.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/InvisibleCharacters/InvisibleCharactersConfiguration.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/InvisibleCharacters/InvisibleCharactersConfiguration.swift index ac7239f71c..1f9640fb45 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/InvisibleCharacters/InvisibleCharactersConfiguration.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/InvisibleCharacters/InvisibleCharactersConfiguration.swift @@ -1,6 +1,6 @@ // // InvisibleCharactersConfiguration.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 6/11/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/InvisibleCharacters/InvisibleCharactersCoordinator.swift b/Packages/TableProEditor/Sources/TableProEditorKit/InvisibleCharacters/InvisibleCharactersCoordinator.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/InvisibleCharacters/InvisibleCharactersCoordinator.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/InvisibleCharacters/InvisibleCharactersCoordinator.swift index a09c7de742..0d08870179 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/InvisibleCharacters/InvisibleCharactersCoordinator.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/InvisibleCharacters/InvisibleCharactersCoordinator.swift @@ -1,12 +1,12 @@ // // InvisibleCharactersCoordinator.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 6/9/25. // import AppKit -import CodeEditTextView +import TableProTextEngine /// Object that tells the text view how to draw invisible characters. /// @@ -15,7 +15,7 @@ import CodeEditTextView /// To keep lookups fast, does not use a computed property for ``InvisibleCharactersConfiguration/triggerCharacters``. /// Instead, this type keeps that internal property up-to-date whenever config is updated. /// -/// Another performance optimization is a cache mechanism in CodeEditTextView. Whenever the config, indent option, +/// Another performance optimization is a cache mechanism in TableProTextEngine. Whenever the config, indent option, /// theme, or font are updated, this object will tell the text view to clear it's cache. Keep updates to a minimum to /// retain as much cached data as possible. final class InvisibleCharactersCoordinator: InvisibleCharactersDelegate { diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/LineFoldProviders/LineFoldProvider.swift b/Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/LineFoldProviders/LineFoldProvider.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/LineFoldProviders/LineFoldProvider.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/LineFoldProviders/LineFoldProvider.swift index 07f3ee9752..4662583a2e 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/LineFoldProviders/LineFoldProvider.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/LineFoldProviders/LineFoldProvider.swift @@ -1,12 +1,12 @@ // // LineFoldProvider.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 5/7/25. // import AppKit -import CodeEditTextView +import TableProTextEngine /// Represents a fold's start or end. public enum LineFoldProviderLineInfo { diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/LineFoldProviders/LineIndentationFoldProvider.swift b/Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/LineFoldProviders/LineIndentationFoldProvider.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/LineFoldProviders/LineIndentationFoldProvider.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/LineFoldProviders/LineIndentationFoldProvider.swift index 5c04b0d7dd..c33e1cbd44 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/LineFoldProviders/LineIndentationFoldProvider.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/LineFoldProviders/LineIndentationFoldProvider.swift @@ -1,12 +1,12 @@ // // LineIndentationFoldProvider.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 5/8/25. // import AppKit -import CodeEditTextView +import TableProTextEngine /// A basic fold provider that uses line indentation to determine fold regions. final class LineIndentationFoldProvider: LineFoldProvider { diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/Model/FoldRange.swift b/Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/Model/FoldRange.swift similarity index 92% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/Model/FoldRange.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/Model/FoldRange.swift index 98ee04533e..a1e0e04cad 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/Model/FoldRange.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/Model/FoldRange.swift @@ -1,6 +1,6 @@ // // FoldRange.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 6/26/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/Model/LineFoldCalculator.swift b/Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/Model/LineFoldCalculator.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/Model/LineFoldCalculator.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/Model/LineFoldCalculator.swift index a6e71ab76e..8714dd2723 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/Model/LineFoldCalculator.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/Model/LineFoldCalculator.swift @@ -1,12 +1,12 @@ // // LineFoldCalculator.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 5/9/25. // import AppKit -import CodeEditTextView +import TableProTextEngine /// `LineFoldCalculator` receives text edits and rebuilds fold regions asynchronously. /// diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/Model/LineFoldModel.swift b/Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/Model/LineFoldModel.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/Model/LineFoldModel.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/Model/LineFoldModel.swift index 9ed63b83b3..5d8acb9917 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/Model/LineFoldModel.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/Model/LineFoldModel.swift @@ -1,13 +1,13 @@ // // LineFoldModel.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 5/7/25. // import AppKit -import CodeEditTextView import Combine +import TableProTextEngine /// This object acts as the conductor between the line folding components. /// diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/Model/LineFoldStorage.swift b/Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/Model/LineFoldStorage.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/Model/LineFoldStorage.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/Model/LineFoldStorage.swift index 33999bea46..b7fbfe6602 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/Model/LineFoldStorage.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/Model/LineFoldStorage.swift @@ -1,6 +1,6 @@ // // LineFoldStorage.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 5/7/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/Placeholder/FoldPlaceholderSummary.swift b/Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/Placeholder/FoldPlaceholderSummary.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/Placeholder/FoldPlaceholderSummary.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/Placeholder/FoldPlaceholderSummary.swift index da4a8e951c..db150831a8 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/Placeholder/FoldPlaceholderSummary.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/Placeholder/FoldPlaceholderSummary.swift @@ -1,6 +1,6 @@ // // FoldPlaceholderSummary.swift -// CodeEditSourceEditor +// TableProEditorKit // import Foundation diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/Placeholder/LineFoldPlaceholder.swift b/Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/Placeholder/LineFoldPlaceholder.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/Placeholder/LineFoldPlaceholder.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/Placeholder/LineFoldPlaceholder.swift index ebc41f39e8..ac356df971 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/Placeholder/LineFoldPlaceholder.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/Placeholder/LineFoldPlaceholder.swift @@ -1,12 +1,12 @@ // // LineFoldPlaceholder.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 5/9/25. // import AppKit -import CodeEditTextView +import TableProTextEngine protocol LineFoldPlaceholderDelegate: AnyObject { func placeholderBackgroundColor() -> NSColor diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/View/LineFoldPlaceholderTracker.swift b/Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/View/LineFoldPlaceholderTracker.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/View/LineFoldPlaceholderTracker.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/View/LineFoldPlaceholderTracker.swift index 26dc910763..bb2ac79dab 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/View/LineFoldPlaceholderTracker.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/View/LineFoldPlaceholderTracker.swift @@ -1,10 +1,10 @@ // // LineFoldPlaceholderTracker.swift -// CodeEditSourceEditor +// TableProEditorKit // import AppKit -import CodeEditTextView +import TableProTextEngine /// Reports which collapsed fold's placeholder the pointer is resting on. /// diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/View/LineFoldRibbonView+Accessibility.swift b/Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/View/LineFoldRibbonView+Accessibility.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/View/LineFoldRibbonView+Accessibility.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/View/LineFoldRibbonView+Accessibility.swift index d21a942eb5..209e12887f 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/View/LineFoldRibbonView+Accessibility.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/View/LineFoldRibbonView+Accessibility.swift @@ -1,10 +1,10 @@ // // LineFoldRibbonView+Accessibility.swift -// CodeEditSourceEditor +// TableProEditorKit // import AppKit -import CodeEditTextView +import TableProTextEngine /// One fold's disclosure chevron, as assistive technology sees it. /// diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/View/LineFoldRibbonView+Draw.swift b/Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/View/LineFoldRibbonView+Draw.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/View/LineFoldRibbonView+Draw.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/View/LineFoldRibbonView+Draw.swift index a4a10203e7..9e3c82015b 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/View/LineFoldRibbonView+Draw.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/View/LineFoldRibbonView+Draw.swift @@ -1,12 +1,12 @@ // // LineFoldRibbonView+Draw.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 5/8/25. // import AppKit -import CodeEditTextView +import TableProTextEngine extension LineFoldRibbonView { override func draw(_ dirtyRect: NSRect) { diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/View/LineFoldRibbonView.swift b/Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/View/LineFoldRibbonView.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/View/LineFoldRibbonView.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/View/LineFoldRibbonView.swift index 4eed36bfc6..426c346a77 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/LineFolding/View/LineFoldRibbonView.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/LineFolding/View/LineFoldRibbonView.swift @@ -1,12 +1,12 @@ // // LineFoldRibbonView.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 5/6/25. // import AppKit -import CodeEditTextView +import TableProTextEngine /// Draws the fold controls in the ``GutterView``. /// diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/RangeStore/RangeStore+Coalesce.swift b/Packages/TableProEditor/Sources/TableProEditorKit/RangeStore/RangeStore+Coalesce.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/RangeStore/RangeStore+Coalesce.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/RangeStore/RangeStore+Coalesce.swift index 9d753126d2..0c86de7211 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/RangeStore/RangeStore+Coalesce.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/RangeStore/RangeStore+Coalesce.swift @@ -1,6 +1,6 @@ // // RangeStore+Internals.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 10/25/24 // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/RangeStore/RangeStore+FindIndex.swift b/Packages/TableProEditor/Sources/TableProEditorKit/RangeStore/RangeStore+FindIndex.swift similarity index 96% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/RangeStore/RangeStore+FindIndex.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/RangeStore/RangeStore+FindIndex.swift index 7700fced01..192a4de6e3 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/RangeStore/RangeStore+FindIndex.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/RangeStore/RangeStore+FindIndex.swift @@ -1,6 +1,6 @@ // // RangeStore+FindIndex.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 1/6/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/RangeStore/RangeStore+OffsetMetric.swift b/Packages/TableProEditor/Sources/TableProEditorKit/RangeStore/RangeStore+OffsetMetric.swift similarity index 94% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/RangeStore/RangeStore+OffsetMetric.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/RangeStore/RangeStore+OffsetMetric.swift index 4b63e0a453..de39924b6d 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/RangeStore/RangeStore+OffsetMetric.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/RangeStore/RangeStore+OffsetMetric.swift @@ -1,6 +1,6 @@ // // RangeStore+OffsetMetric.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 10/25/24 // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/RangeStore/RangeStore+StoredRun.swift b/Packages/TableProEditor/Sources/TableProEditorKit/RangeStore/RangeStore+StoredRun.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/RangeStore/RangeStore+StoredRun.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/RangeStore/RangeStore+StoredRun.swift index 18cd53268b..2637cc83c8 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/RangeStore/RangeStore+StoredRun.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/RangeStore/RangeStore+StoredRun.swift @@ -1,6 +1,6 @@ // // RangeStore+StoredRun.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 10/25/24 diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/RangeStore/RangeStore.swift b/Packages/TableProEditor/Sources/TableProEditorKit/RangeStore/RangeStore.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/RangeStore/RangeStore.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/RangeStore/RangeStore.swift index 482e6dbc09..aa0c6ec845 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/RangeStore/RangeStore.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/RangeStore/RangeStore.swift @@ -1,6 +1,6 @@ // // RangeStore.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 10/24/24 // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/RangeStore/RangeStoreElement.swift b/Packages/TableProEditor/Sources/TableProEditorKit/RangeStore/RangeStoreElement.swift similarity index 86% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/RangeStore/RangeStoreElement.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/RangeStore/RangeStoreElement.swift index 9db2d325e3..49d497303a 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/RangeStore/RangeStoreElement.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/RangeStore/RangeStoreElement.swift @@ -1,6 +1,6 @@ // // RangeStoreElement.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 5/28/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/RangeStore/RangeStoreRun.swift b/Packages/TableProEditor/Sources/TableProEditorKit/RangeStore/RangeStoreRun.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/RangeStore/RangeStoreRun.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/RangeStore/RangeStoreRun.swift index 116764eece..79e0d4e689 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/RangeStore/RangeStoreRun.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/RangeStore/RangeStoreRun.swift @@ -1,6 +1,6 @@ // // RangeStoreRun.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 11/4/24. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditor/RepresentableSyncPhase.swift b/Packages/TableProEditor/Sources/TableProEditorKit/SourceEditor/RepresentableSyncPhase.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditor/RepresentableSyncPhase.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/SourceEditor/RepresentableSyncPhase.swift index 553be948f7..397daf87aa 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditor/RepresentableSyncPhase.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/SourceEditor/RepresentableSyncPhase.swift @@ -1,6 +1,6 @@ // // RepresentableSyncPhase.swift -// CodeEditSourceEditor +// TableProEditorKit // // Tracks which side of the SwiftUI representable boundary originated the // change currently being synchronized, replacing the pair of booleans the diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditor/SourceEditor+Coordinator.swift b/Packages/TableProEditor/Sources/TableProEditorKit/SourceEditor/SourceEditor+Coordinator.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditor/SourceEditor+Coordinator.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/SourceEditor/SourceEditor+Coordinator.swift index ee989708ec..5cb8b82e0d 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditor/SourceEditor+Coordinator.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/SourceEditor/SourceEditor+Coordinator.swift @@ -1,14 +1,14 @@ // // SourceEditor+Coordinator.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 5/20/24. // import AppKit -import CodeEditTextView import Combine import SwiftUI +import TableProTextEngine public extension SourceEditor { @MainActor diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditor/SourceEditor.swift b/Packages/TableProEditor/Sources/TableProEditorKit/SourceEditor/SourceEditor.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditor/SourceEditor.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/SourceEditor/SourceEditor.swift index 9051b42e1f..b543b6eda0 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditor/SourceEditor.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/SourceEditor/SourceEditor.swift @@ -1,14 +1,14 @@ // // SourceEditor.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Lukas Pistrol on 24.05.22. // import AppKit -import CodeEditTextView import SwiftUI import TableProGrammars +import TableProTextEngine /// A SwiftUI View that provides source editing functionality. public struct SourceEditor: NSViewControllerRepresentable { diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditor/TextBindingSync.swift b/Packages/TableProEditor/Sources/TableProEditorKit/SourceEditor/TextBindingSync.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditor/TextBindingSync.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/SourceEditor/TextBindingSync.swift index 50f5d75bfc..eaae2dbd52 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditor/TextBindingSync.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/SourceEditor/TextBindingSync.swift @@ -1,6 +1,6 @@ // // TextBindingSync.swift -// CodeEditSourceEditor +// TableProEditorKit // // Owns the two-way synchronization between a SwiftUI text binding and the // text view: editor edits are written back to the binding (debounced for @@ -10,8 +10,8 @@ // import AppKit -import CodeEditTextView import SwiftUI +import TableProTextEngine @MainActor final class TextBindingSync { diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditorConfiguration/SourceEditorConfiguration+Appearance.swift b/Packages/TableProEditor/Sources/TableProEditorKit/SourceEditorConfiguration/SourceEditorConfiguration+Appearance.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditorConfiguration/SourceEditorConfiguration+Appearance.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/SourceEditorConfiguration/SourceEditorConfiguration+Appearance.swift index 7c3351780c..e3b89a3a96 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditorConfiguration/SourceEditorConfiguration+Appearance.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/SourceEditorConfiguration/SourceEditorConfiguration+Appearance.swift @@ -1,6 +1,6 @@ // // SourceEditorConfiguration+Appearance.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 6/16/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditorConfiguration/SourceEditorConfiguration+Behavior.swift b/Packages/TableProEditor/Sources/TableProEditorKit/SourceEditorConfiguration/SourceEditorConfiguration+Behavior.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditorConfiguration/SourceEditorConfiguration+Behavior.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/SourceEditorConfiguration/SourceEditorConfiguration+Behavior.swift index e03697b2d1..15c85ba131 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditorConfiguration/SourceEditorConfiguration+Behavior.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/SourceEditorConfiguration/SourceEditorConfiguration+Behavior.swift @@ -1,6 +1,6 @@ // // SourceEditorConfiguration+Behavior.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 6/16/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditorConfiguration/SourceEditorConfiguration+Layout.swift b/Packages/TableProEditor/Sources/TableProEditorKit/SourceEditorConfiguration/SourceEditorConfiguration+Layout.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditorConfiguration/SourceEditorConfiguration+Layout.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/SourceEditorConfiguration/SourceEditorConfiguration+Layout.swift index 93d2d0f423..71ed41aa80 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditorConfiguration/SourceEditorConfiguration+Layout.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/SourceEditorConfiguration/SourceEditorConfiguration+Layout.swift @@ -1,6 +1,6 @@ // // SourceEditorConfiguration+Layout.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 6/16/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditorConfiguration/SourceEditorConfiguration+Peripherals.swift b/Packages/TableProEditor/Sources/TableProEditorKit/SourceEditorConfiguration/SourceEditorConfiguration+Peripherals.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditorConfiguration/SourceEditorConfiguration+Peripherals.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/SourceEditorConfiguration/SourceEditorConfiguration+Peripherals.swift index 55d6c873a5..3b01170b37 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditorConfiguration/SourceEditorConfiguration+Peripherals.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/SourceEditorConfiguration/SourceEditorConfiguration+Peripherals.swift @@ -1,11 +1,11 @@ // // EditorConfig+Peripherals.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 6/16/25. // -import CodeEditTextView +import TableProTextEngine public extension SourceEditorConfiguration { struct Peripherals: Equatable { diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditorConfiguration/SourceEditorConfiguration.swift b/Packages/TableProEditor/Sources/TableProEditorKit/SourceEditorConfiguration/SourceEditorConfiguration.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditorConfiguration/SourceEditorConfiguration.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/SourceEditorConfiguration/SourceEditorConfiguration.swift index ad8c9eff97..be1b30cd06 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditorConfiguration/SourceEditorConfiguration.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/SourceEditorConfiguration/SourceEditorConfiguration.swift @@ -1,6 +1,6 @@ // // SourceEditorConfiguration.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 6/16/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditorState/SourceEditorState.swift b/Packages/TableProEditor/Sources/TableProEditorKit/SourceEditorState/SourceEditorState.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditorState/SourceEditorState.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/SourceEditorState/SourceEditorState.swift index 598ab9f16d..4d57868ff4 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SourceEditorState/SourceEditorState.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/SourceEditorState/SourceEditorState.swift @@ -1,6 +1,6 @@ // // SourceEditorState.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 6/19/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/StatementRunning/StatementRun.swift b/Packages/TableProEditor/Sources/TableProEditorKit/StatementRunning/StatementRun.swift similarity index 95% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/StatementRunning/StatementRun.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/StatementRunning/StatementRun.swift index 37cd0e8a1b..2721f59e1d 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/StatementRunning/StatementRun.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/StatementRunning/StatementRun.swift @@ -1,6 +1,6 @@ // // StatementRun.swift -// CodeEditSourceEditor +// TableProEditorKit // import Foundation diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/StatementRunning/StatementRunRibbonView+Accessibility.swift b/Packages/TableProEditor/Sources/TableProEditorKit/StatementRunning/StatementRunRibbonView+Accessibility.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/StatementRunning/StatementRunRibbonView+Accessibility.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/StatementRunning/StatementRunRibbonView+Accessibility.swift index 89314e1621..2549c6fccd 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/StatementRunning/StatementRunRibbonView+Accessibility.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/StatementRunning/StatementRunRibbonView+Accessibility.swift @@ -1,10 +1,10 @@ // // StatementRunRibbonView+Accessibility.swift -// CodeEditSourceEditor +// TableProEditorKit // import AppKit -import CodeEditTextView +import TableProTextEngine /// One statement's run control, as assistive technology sees it. /// diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/StatementRunning/StatementRunRibbonView+Draw.swift b/Packages/TableProEditor/Sources/TableProEditorKit/StatementRunning/StatementRunRibbonView+Draw.swift similarity index 96% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/StatementRunning/StatementRunRibbonView+Draw.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/StatementRunning/StatementRunRibbonView+Draw.swift index 420bf35ce6..1c81695d0e 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/StatementRunning/StatementRunRibbonView+Draw.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/StatementRunning/StatementRunRibbonView+Draw.swift @@ -1,10 +1,10 @@ // // StatementRunRibbonView+Draw.swift -// CodeEditSourceEditor +// TableProEditorKit // import AppKit -import CodeEditTextView +import TableProTextEngine extension StatementRunRibbonView { /// How dim a control is when running is not possible right now. diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/StatementRunning/StatementRunRibbonView.swift b/Packages/TableProEditor/Sources/TableProEditorKit/StatementRunning/StatementRunRibbonView.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/StatementRunning/StatementRunRibbonView.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/StatementRunning/StatementRunRibbonView.swift index bc278e7dff..8ae50ff928 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/StatementRunning/StatementRunRibbonView.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/StatementRunning/StatementRunRibbonView.swift @@ -1,10 +1,10 @@ // // StatementRunRibbonView.swift -// CodeEditSourceEditor +// TableProEditorKit // import AppKit -import CodeEditTextView +import TableProTextEngine /// Draws a run control beside each statement in the ``GutterView``. /// diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SupportingViews/BezelNotification.swift b/Packages/TableProEditor/Sources/TableProEditorKit/SupportingViews/BezelNotification.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SupportingViews/BezelNotification.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/SupportingViews/BezelNotification.swift index cf71c2fbd2..1ac2a3455c 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SupportingViews/BezelNotification.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/SupportingViews/BezelNotification.swift @@ -1,6 +1,6 @@ // // BezelNotification.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Austin Condiff on 3/17/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SupportingViews/EffectView.swift b/Packages/TableProEditor/Sources/TableProEditorKit/SupportingViews/EffectView.swift similarity index 100% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SupportingViews/EffectView.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/SupportingViews/EffectView.swift diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SupportingViews/IconButtonStyle.swift b/Packages/TableProEditor/Sources/TableProEditorKit/SupportingViews/IconButtonStyle.swift similarity index 100% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SupportingViews/IconButtonStyle.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/SupportingViews/IconButtonStyle.swift diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SupportingViews/IconToggleStyle.swift b/Packages/TableProEditor/Sources/TableProEditorKit/SupportingViews/IconToggleStyle.swift similarity index 100% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SupportingViews/IconToggleStyle.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/SupportingViews/IconToggleStyle.swift diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SupportingViews/PanelStyles.swift b/Packages/TableProEditor/Sources/TableProEditorKit/SupportingViews/PanelStyles.swift similarity index 100% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SupportingViews/PanelStyles.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/SupportingViews/PanelStyles.swift diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SupportingViews/PanelTextField.swift b/Packages/TableProEditor/Sources/TableProEditorKit/SupportingViews/PanelTextField.swift similarity index 100% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SupportingViews/PanelTextField.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/SupportingViews/PanelTextField.swift diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SupportingViews/SourceEditorClipView.swift b/Packages/TableProEditor/Sources/TableProEditorKit/SupportingViews/SourceEditorClipView.swift similarity index 96% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SupportingViews/SourceEditorClipView.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/SupportingViews/SourceEditorClipView.swift index bca26ca63c..863433649f 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SupportingViews/SourceEditorClipView.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/SupportingViews/SourceEditorClipView.swift @@ -1,10 +1,10 @@ // // SourceEditorClipView.swift -// CodeEditSourceEditor +// TableProEditorKit // import AppKit -import CodeEditTextView +import TableProTextEngine /// The editor's clip view, which adds the room the floating views take to the insets AppKit works out for it. /// diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SupportingViews/SourceEditorScrollView.swift b/Packages/TableProEditor/Sources/TableProEditorKit/SupportingViews/SourceEditorScrollView.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SupportingViews/SourceEditorScrollView.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/SupportingViews/SourceEditorScrollView.swift index 4ab0173504..a12012aaf1 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SupportingViews/SourceEditorScrollView.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/SupportingViews/SourceEditorScrollView.swift @@ -1,10 +1,10 @@ // // SourceEditorScrollView.swift -// CodeEditSourceEditor +// TableProEditorKit // import AppKit -import CodeEditTextView +import TableProTextEngine /// The editor's scroll view, which keeps the text clear of the views floating along its leading and trailing edges. /// diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SupportingViews/SourceEditorTextView.swift b/Packages/TableProEditor/Sources/TableProEditorKit/SupportingViews/SourceEditorTextView.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SupportingViews/SourceEditorTextView.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/SupportingViews/SourceEditorTextView.swift index dab11921f1..b32b95346e 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/SupportingViews/SourceEditorTextView.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/SupportingViews/SourceEditorTextView.swift @@ -1,12 +1,12 @@ // // SourceEditorTextView.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 7/23/25. // import AppKit -import CodeEditTextView +import TableProTextEngine final class SourceEditorTextView: TextView { /// The span of the statement the caret sits in, painted as a band behind the text. diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TextViewCoordinator/CombineCoordinator.swift b/Packages/TableProEditor/Sources/TableProEditorKit/TextViewCoordinator/CombineCoordinator.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TextViewCoordinator/CombineCoordinator.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/TextViewCoordinator/CombineCoordinator.swift index d0101ca50b..727b6496b5 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TextViewCoordinator/CombineCoordinator.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/TextViewCoordinator/CombineCoordinator.swift @@ -1,13 +1,13 @@ // // CombineCoordinator.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 5/19/24. // -import CodeEditTextView import Combine import Foundation +import TableProTextEngine /// A ``TextViewCoordinator`` class that publishes text changes and selection changes using Combine publishers. /// diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TextViewCoordinator/TextViewCoordinator.swift b/Packages/TableProEditor/Sources/TableProEditorKit/TextViewCoordinator/TextViewCoordinator.swift similarity index 96% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TextViewCoordinator/TextViewCoordinator.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/TextViewCoordinator/TextViewCoordinator.swift index 9d91aa7d3d..d09b1b654a 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TextViewCoordinator/TextViewCoordinator.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/TextViewCoordinator/TextViewCoordinator.swift @@ -1,6 +1,6 @@ // // TextViewCoordinator.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 11/14/23. // @@ -18,7 +18,7 @@ import AppKit /// messages this protocol provides. /// /// Conforming objects can also be used to get more detailed text editing notifications by conforming to the -/// `TextViewDelegate` (from CodeEditTextView) protocol. In that case they'll receive most text change notifications. +/// `TextViewDelegate` (from TableProTextEngine) protocol. In that case they'll receive most text change notifications. public protocol TextViewCoordinator: AnyObject { /// Called when an instance of ``TextViewController`` is available. Use this method to install any delegates, /// perform any modifications on the text view or controller, or capture the text view for later use in your app. diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Theme/EditorTheme.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Theme/EditorTheme.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Theme/EditorTheme.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Theme/EditorTheme.swift index c408e822de..657d4a6914 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Theme/EditorTheme.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Theme/EditorTheme.swift @@ -1,6 +1,6 @@ // // EditorTheme.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Lukas Pistrol on 29.05.22. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Theme/ThemeAttributesProviding.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Theme/ThemeAttributesProviding.swift similarity index 93% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Theme/ThemeAttributesProviding.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Theme/ThemeAttributesProviding.swift index 7935943d5a..c88bb3113d 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Theme/ThemeAttributesProviding.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Theme/ThemeAttributesProviding.swift @@ -1,6 +1,6 @@ // // ThemeAttributesProviding.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 1/18/23. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/Atomic.swift b/Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/Atomic.swift similarity index 96% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/Atomic.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/Atomic.swift index b2815fbf65..e3ac7bff3f 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/Atomic.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/Atomic.swift @@ -1,6 +1,6 @@ // // Atomic.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 9/2/24. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/LanguageLayer.swift b/Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/LanguageLayer.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/LanguageLayer.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/LanguageLayer.swift index 936c7ef6a9..dd7efd0301 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/LanguageLayer.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/LanguageLayer.swift @@ -1,6 +1,6 @@ // // TreeSitterClient+LanguageLayer.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 3/8/23. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/TreeSitterClient+Edit.swift b/Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/TreeSitterClient+Edit.swift similarity index 100% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/TreeSitterClient+Edit.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/TreeSitterClient+Edit.swift diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/TreeSitterClient+Highlight.swift b/Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/TreeSitterClient+Highlight.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/TreeSitterClient+Highlight.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/TreeSitterClient+Highlight.swift index 73db285bf3..791fa0b498 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/TreeSitterClient+Highlight.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/TreeSitterClient+Highlight.swift @@ -1,6 +1,6 @@ // // TreeSitterClient+Highlight.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 3/10/23. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/TreeSitterClient+Query.swift b/Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/TreeSitterClient+Query.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/TreeSitterClient+Query.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/TreeSitterClient+Query.swift index fff178df37..8e8c949f5e 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/TreeSitterClient+Query.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/TreeSitterClient+Query.swift @@ -1,6 +1,6 @@ // // TreeSitterClient+Query.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 5/27/24. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/TreeSitterClient+Temporary.swift b/Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/TreeSitterClient+Temporary.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/TreeSitterClient+Temporary.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/TreeSitterClient+Temporary.swift index 2874aa68dd..e7d906441a 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/TreeSitterClient+Temporary.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/TreeSitterClient+Temporary.swift @@ -1,6 +1,6 @@ // // TreeSitterClient+Temporary.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 7/24/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/TreeSitterClient.swift b/Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/TreeSitterClient.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/TreeSitterClient.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/TreeSitterClient.swift index ec93d031b5..3b0a26a9b3 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/TreeSitterClient.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/TreeSitterClient.swift @@ -1,15 +1,15 @@ // // TreeSitterClient.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 9/12/22. // -import CodeEditTextView import Foundation import OSLog import SwiftTreeSitter import TableProGrammars +import TableProTextEngine /// # TreeSitterClient /// @@ -90,11 +90,11 @@ public final class TreeSitterClient: HighlightProviding { public static var longParseTimeout: Duration = .seconds(0.5) /// The notification name sent when a long parse is detected. - public static let longParse: Notification.Name = .init("CodeEditSourceEditor.longParseNotification") + public static let longParse: Notification.Name = .init("TableProEditorKit.longParseNotification") /// The notification name sent when a long parse is finished. public static let longParseFinished: Notification.Name = .init( - "CodeEditSourceEditor.longParseFinishedNotification" + "TableProEditorKit.longParseFinishedNotification" ) /// The duration tasks sleep before checking if they're runnable. diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/TreeSitterExecutor.swift b/Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/TreeSitterExecutor.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/TreeSitterExecutor.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/TreeSitterExecutor.swift index 668b87b5a9..769b5915fa 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/TreeSitterExecutor.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/TreeSitterExecutor.swift @@ -1,6 +1,6 @@ // // TreeSitterExecutor.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 9/2/24. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/TreeSitterState.swift b/Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/TreeSitterState.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/TreeSitterState.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/TreeSitterState.swift index 944e9987dd..777f1909f2 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/TreeSitter/TreeSitterState.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/TreeSitter/TreeSitterState.swift @@ -1,6 +1,6 @@ // // TreeSitterState.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 5/21/23. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Utils/CursorPosition.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Utils/CursorPosition.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Utils/CursorPosition.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Utils/CursorPosition.swift index 805b874f2e..81c586c52b 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Utils/CursorPosition.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Utils/CursorPosition.swift @@ -1,6 +1,6 @@ // // CursorPosition.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 11/13/23. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Utils/EmphasisGroup.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Utils/EmphasisGroup.swift similarity index 87% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Utils/EmphasisGroup.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Utils/EmphasisGroup.swift index 37a52b93c4..16614a4783 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Utils/EmphasisGroup.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Utils/EmphasisGroup.swift @@ -1,6 +1,6 @@ // // EmphasisGroup.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 4/7/25. // diff --git a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Utils/WeakCoordinator.swift b/Packages/TableProEditor/Sources/TableProEditorKit/Utils/WeakCoordinator.swift similarity index 94% rename from LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Utils/WeakCoordinator.swift rename to Packages/TableProEditor/Sources/TableProEditorKit/Utils/WeakCoordinator.swift index cc5090a12a..45e15f2ab1 100644 --- a/LocalPackages/CodeEditSourceEditor/Sources/CodeEditSourceEditor/Utils/WeakCoordinator.swift +++ b/Packages/TableProEditor/Sources/TableProEditorKit/Utils/WeakCoordinator.swift @@ -1,6 +1,6 @@ // // WeakCoordinator.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 9/13/24. // diff --git a/Packages/TableProEditor/Sources/TableProTextEngine/CodeEditTextView.swift b/Packages/TableProEditor/Sources/TableProTextEngine/CodeEditTextView.swift new file mode 100644 index 0000000000..0857914c49 --- /dev/null +++ b/Packages/TableProEditor/Sources/TableProTextEngine/CodeEditTextView.swift @@ -0,0 +1,11 @@ +/// This file is purely for helping in the transition from `TableProTextEngine` to `TableProEditorKit` +/// The struct here is an empty view, and will be removed in a future release. + +import SwiftUI + +@available(*, unavailable, renamed: "TableProEditorKit", message: "TableProTextEngine has moved to https://github.com/CodeEditApp/TableProEditorKit, please update any dependencies to use this new repository URL.") +struct TableProTextEngine: View { + var body: some View { + EmptyView() + } +} diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Cursors/CursorSelectionMode.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Cursors/CursorSelectionMode.swift similarity index 86% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Cursors/CursorSelectionMode.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Cursors/CursorSelectionMode.swift index 7a7da3ed0f..16b341c0f2 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Cursors/CursorSelectionMode.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Cursors/CursorSelectionMode.swift @@ -1,6 +1,6 @@ // // CursorSelectionMode.swift -// CodeEditTextView +// TableProTextEngine // // Created by Abe Malla on 3/31/25. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Cursors/CursorTimer.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Cursors/CursorTimer.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Cursors/CursorTimer.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Cursors/CursorTimer.swift index 71526d0bf4..e9ce4a621f 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Cursors/CursorTimer.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Cursors/CursorTimer.swift @@ -1,6 +1,6 @@ // // CursorTimer.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 1/16/24. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Cursors/CursorView.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Cursors/CursorView.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Cursors/CursorView.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Cursors/CursorView.swift index 836d5646fa..c6b514aa6f 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Cursors/CursorView.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Cursors/CursorView.swift @@ -1,6 +1,6 @@ // // CursorView.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 8/15/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/EmphasisManager/Emphasis.swift b/Packages/TableProEditor/Sources/TableProTextEngine/EmphasisManager/Emphasis.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/EmphasisManager/Emphasis.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/EmphasisManager/Emphasis.swift index e7e13989cb..8c960742ea 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/EmphasisManager/Emphasis.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/EmphasisManager/Emphasis.swift @@ -1,6 +1,6 @@ // // Emphasis.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 3/31/25. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/EmphasisManager/EmphasisManager.swift b/Packages/TableProEditor/Sources/TableProTextEngine/EmphasisManager/EmphasisManager.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/EmphasisManager/EmphasisManager.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/EmphasisManager/EmphasisManager.swift index baa5a59f31..88229f7396 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/EmphasisManager/EmphasisManager.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/EmphasisManager/EmphasisManager.swift @@ -1,6 +1,6 @@ // // EmphasisManager.swift -// CodeEditTextView +// TableProTextEngine // // Created by Tom Ludwig on 05.11.24. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/EmphasisManager/EmphasisStyle.swift b/Packages/TableProEditor/Sources/TableProTextEngine/EmphasisManager/EmphasisStyle.swift similarity index 97% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/EmphasisManager/EmphasisStyle.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/EmphasisManager/EmphasisStyle.swift index 66b32a8621..91f033b1e7 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/EmphasisManager/EmphasisStyle.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/EmphasisManager/EmphasisStyle.swift @@ -1,6 +1,6 @@ // // EmphasisStyle.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 3/31/25. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/EmphasisManager/EmphasisToolTips.swift b/Packages/TableProEditor/Sources/TableProTextEngine/EmphasisManager/EmphasisToolTips.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/EmphasisManager/EmphasisToolTips.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/EmphasisManager/EmphasisToolTips.swift index aae4071cc7..c2014e067f 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/EmphasisManager/EmphasisToolTips.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/EmphasisManager/EmphasisToolTips.swift @@ -1,6 +1,6 @@ // // EmphasisToolTips.swift -// CodeEditTextView +// TableProTextEngine // import AppKit diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/CGRectArray+BoundingRect.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/CGRectArray+BoundingRect.swift similarity index 95% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/CGRectArray+BoundingRect.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Extensions/CGRectArray+BoundingRect.swift index c813be1f73..34625193c4 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/CGRectArray+BoundingRect.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/CGRectArray+BoundingRect.swift @@ -1,6 +1,6 @@ // // File.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 7/17/25. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/CTTypesetter+SuggestLineBreak.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/CTTypesetter+SuggestLineBreak.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/CTTypesetter+SuggestLineBreak.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Extensions/CTTypesetter+SuggestLineBreak.swift index fefe985306..01921a4f5c 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/CTTypesetter+SuggestLineBreak.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/CTTypesetter+SuggestLineBreak.swift @@ -1,6 +1,6 @@ // // CTTypesetter+SuggestLineBreak.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 4/24/25. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/CharacterSet.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/CharacterSet.swift similarity index 93% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/CharacterSet.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Extensions/CharacterSet.swift index 0d59bc9705..2d19d27b35 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/CharacterSet.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/CharacterSet.swift @@ -1,6 +1,6 @@ // // CharacterSet.swift -// CodeEditTextView +// TableProTextEngine // // Created by Abe Malla on 3/29/25. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/GC+ApproximateEqual.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/GC+ApproximateEqual.swift similarity index 97% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/GC+ApproximateEqual.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Extensions/GC+ApproximateEqual.swift index 0777d73448..b74d5e7a87 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/GC+ApproximateEqual.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/GC+ApproximateEqual.swift @@ -1,6 +1,6 @@ // // GC+ApproximateEqual.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 2/16/24. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSBezierPath+CGPathFallback.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSBezierPath+CGPathFallback.swift similarity index 97% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSBezierPath+CGPathFallback.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSBezierPath+CGPathFallback.swift index 7ae6f619ea..782c260126 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSBezierPath+CGPathFallback.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSBezierPath+CGPathFallback.swift @@ -1,6 +1,6 @@ // // NSBezierPath+CGPathFallback.swift -// CodeEditTextView +// TableProTextEngine // // Created by Tom Ludwig on 27.11.24. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSBezierPath+DrawableBounds.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSBezierPath+DrawableBounds.swift similarity index 95% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSBezierPath+DrawableBounds.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSBezierPath+DrawableBounds.swift index c7ce62a67b..48c2561c3d 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSBezierPath+DrawableBounds.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSBezierPath+DrawableBounds.swift @@ -1,6 +1,6 @@ // // NSBezierPath+DrawableBounds.swift -// CodeEditTextView +// TableProTextEngine // import AppKit diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSBezierPath+SmoothPath.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSBezierPath+SmoothPath.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSBezierPath+SmoothPath.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSBezierPath+SmoothPath.swift index 4ed737640f..8b383e71f3 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSBezierPath+SmoothPath.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSBezierPath+SmoothPath.swift @@ -1,6 +1,6 @@ // // NSBezierPath+SmoothPath.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Tom Ludwig on 12.11.24. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSColor+Greyscale.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSColor+Greyscale.swift similarity index 95% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSColor+Greyscale.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSColor+Greyscale.swift index 4afd858ab9..00ab097228 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSColor+Greyscale.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSColor+Greyscale.swift @@ -1,6 +1,6 @@ // // NSColor+Greyscale.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 2/2/24. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSColor+Hex.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSColor+Hex.swift similarity index 94% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSColor+Hex.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSColor+Hex.swift index d52f6a0d4e..c5afa91523 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSColor+Hex.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSColor+Hex.swift @@ -1,6 +1,6 @@ // // NSColor+Hex.swift -// CodeEditTextView +// TableProTextEngine // // Created by Tom Ludwig on 27.11.24. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSColor+SafeCGColor.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSColor+SafeCGColor.swift similarity index 100% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSColor+SafeCGColor.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSColor+SafeCGColor.swift diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSRange+/NSRange+clamped.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSRange+/NSRange+clamped.swift similarity index 96% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSRange+/NSRange+clamped.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSRange+/NSRange+clamped.swift index 241614a97e..7355beef8f 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSRange+/NSRange+clamped.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSRange+/NSRange+clamped.swift @@ -1,6 +1,6 @@ // // NSRange+clamped.swift -// CodeEditTextView +// TableProTextEngine // import Foundation diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSRange+/NSRange+init.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSRange+/NSRange+init.swift similarity index 90% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSRange+/NSRange+init.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSRange+/NSRange+init.swift index 0c8c8e6a00..7e4b16c090 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSRange+/NSRange+init.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSRange+/NSRange+init.swift @@ -1,6 +1,6 @@ // // NSRange.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 8/20/24. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSRange+/NSRange+isEmpty.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSRange+/NSRange+isEmpty.swift similarity index 88% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSRange+/NSRange+isEmpty.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSRange+/NSRange+isEmpty.swift index 61ae0bc040..aa08ac83f4 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSRange+/NSRange+isEmpty.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSRange+/NSRange+isEmpty.swift @@ -1,6 +1,6 @@ // // NSRange+isEmpty.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 8/23/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSRange+/NSRange+overlaps.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSRange+/NSRange+overlaps.swift similarity index 95% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSRange+/NSRange+overlaps.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSRange+/NSRange+overlaps.swift index d320fd3a97..a372415330 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSRange+/NSRange+overlaps.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSRange+/NSRange+overlaps.swift @@ -1,6 +1,6 @@ // // NSRange+overlaps.swift -// CodeEditTextView +// TableProTextEngine // import Foundation diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSRange+/NSRange+resolved.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSRange+/NSRange+resolved.swift similarity index 97% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSRange+/NSRange+resolved.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSRange+/NSRange+resolved.swift index f905812c7c..8a3692b13d 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSRange+/NSRange+resolved.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSRange+/NSRange+resolved.swift @@ -1,6 +1,6 @@ // // NSRange+resolved.swift -// CodeEditTextView +// TableProTextEngine // import Foundation diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSRange+/NSRange+translate.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSRange+/NSRange+translate.swift similarity index 91% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSRange+/NSRange+translate.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSRange+/NSRange+translate.swift index 40f6251ccd..f43624024f 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSRange+/NSRange+translate.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSRange+/NSRange+translate.swift @@ -1,6 +1,6 @@ // // NSRange+translate.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 7/21/25. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSTextStorage+getLine.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSTextStorage+getLine.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSTextStorage+getLine.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSTextStorage+getLine.swift index f45a0b790c..eb6a66ba3e 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/NSTextStorage+getLine.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/NSTextStorage+getLine.swift @@ -1,6 +1,6 @@ // // NSTextStorage+getLine.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 9/3/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/PixelAligned.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/PixelAligned.swift similarity index 95% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/PixelAligned.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Extensions/PixelAligned.swift index 7a1c22d9c3..79c7e3ccd8 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Extensions/PixelAligned.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Extensions/PixelAligned.swift @@ -1,6 +1,6 @@ // // PixelAligned.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 9/10/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/InvisibleCharacters/InvisibleCharactersDelegate.swift b/Packages/TableProEditor/Sources/TableProTextEngine/InvisibleCharacters/InvisibleCharactersDelegate.swift similarity index 95% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/InvisibleCharacters/InvisibleCharactersDelegate.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/InvisibleCharacters/InvisibleCharactersDelegate.swift index c011de3ce5..34eaa5767a 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/InvisibleCharacters/InvisibleCharactersDelegate.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/InvisibleCharacters/InvisibleCharactersDelegate.swift @@ -1,6 +1,6 @@ // // InvisibleCharactersConfig.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 6/9/25. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/MarkedTextManager/MarkedRanges.swift b/Packages/TableProEditor/Sources/TableProTextEngine/MarkedTextManager/MarkedRanges.swift similarity index 93% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/MarkedTextManager/MarkedRanges.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/MarkedTextManager/MarkedRanges.swift index 3cfcdbafd2..7bd6593dd9 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/MarkedTextManager/MarkedRanges.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/MarkedTextManager/MarkedRanges.swift @@ -1,6 +1,6 @@ // // MarkedRanges.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 4/17/25. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/MarkedTextManager/MarkedTextManager.swift b/Packages/TableProEditor/Sources/TableProTextEngine/MarkedTextManager/MarkedTextManager.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/MarkedTextManager/MarkedTextManager.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/MarkedTextManager/MarkedTextManager.swift index 31122749cf..b36e5835e1 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/MarkedTextManager/MarkedTextManager.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/MarkedTextManager/MarkedTextManager.swift @@ -1,6 +1,6 @@ // // MarkedTextManager.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 11/7/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/SpecialCharacters/SpecialCharacter.swift b/Packages/TableProEditor/Sources/TableProTextEngine/SpecialCharacters/SpecialCharacter.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/SpecialCharacters/SpecialCharacter.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/SpecialCharacters/SpecialCharacter.swift index f90b1245e3..09ab4be410 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/SpecialCharacters/SpecialCharacter.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/SpecialCharacters/SpecialCharacter.swift @@ -1,6 +1,6 @@ // // SpecialCharacter.swift -// CodeEditTextView +// TableProTextEngine // import Foundation diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/SpecialCharacters/SpecialCharacterDisplay.swift b/Packages/TableProEditor/Sources/TableProTextEngine/SpecialCharacters/SpecialCharacterDisplay.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/SpecialCharacters/SpecialCharacterDisplay.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/SpecialCharacters/SpecialCharacterDisplay.swift index 27a80d6133..4629c2408c 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/SpecialCharacters/SpecialCharacterDisplay.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/SpecialCharacters/SpecialCharacterDisplay.swift @@ -1,6 +1,6 @@ // // SpecialCharacterDisplay.swift -// CodeEditTextView +// TableProTextEngine // import AppKit diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/SpecialCharacters/SpecialCharacterGeometry.swift b/Packages/TableProEditor/Sources/TableProTextEngine/SpecialCharacters/SpecialCharacterGeometry.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/SpecialCharacters/SpecialCharacterGeometry.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/SpecialCharacters/SpecialCharacterGeometry.swift index 79fbacbe32..844816533a 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/SpecialCharacters/SpecialCharacterGeometry.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/SpecialCharacters/SpecialCharacterGeometry.swift @@ -1,6 +1,6 @@ // // SpecialCharacterGeometry.swift -// CodeEditTextView +// TableProTextEngine // import AppKit diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/SpecialCharacters/SpecialCharacterMarkRenderer.swift b/Packages/TableProEditor/Sources/TableProTextEngine/SpecialCharacters/SpecialCharacterMarkRenderer.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/SpecialCharacters/SpecialCharacterMarkRenderer.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/SpecialCharacters/SpecialCharacterMarkRenderer.swift index 54f4c464e7..e0f83b970c 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/SpecialCharacters/SpecialCharacterMarkRenderer.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/SpecialCharacters/SpecialCharacterMarkRenderer.swift @@ -1,6 +1,6 @@ // // SpecialCharacterMarkRenderer.swift -// CodeEditTextView +// TableProTextEngine // import AppKit diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/SpecialCharacters/SpecialCharacterMarksLayer.swift b/Packages/TableProEditor/Sources/TableProTextEngine/SpecialCharacters/SpecialCharacterMarksLayer.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/SpecialCharacters/SpecialCharacterMarksLayer.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/SpecialCharacters/SpecialCharacterMarksLayer.swift index 8d2f4ef3e7..bb901f5eba 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/SpecialCharacters/SpecialCharacterMarksLayer.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/SpecialCharacters/SpecialCharacterMarksLayer.swift @@ -1,6 +1,6 @@ // // SpecialCharacterMarksLayer.swift -// CodeEditTextView +// TableProTextEngine // import AppKit diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/SpecialCharacters/SpecialCharacterStyle.swift b/Packages/TableProEditor/Sources/TableProTextEngine/SpecialCharacters/SpecialCharacterStyle.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/SpecialCharacters/SpecialCharacterStyle.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/SpecialCharacters/SpecialCharacterStyle.swift index ed0133c162..3118f0f669 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/SpecialCharacters/SpecialCharacterStyle.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/SpecialCharacters/SpecialCharacterStyle.swift @@ -1,6 +1,6 @@ // // SpecialCharacterStyle.swift -// CodeEditTextView +// TableProTextEngine // import AppKit diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextAttachments/TextAttachment.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextAttachments/TextAttachment.swift similarity index 93% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextAttachments/TextAttachment.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextAttachments/TextAttachment.swift index a737e4e640..eade35bf8b 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextAttachments/TextAttachment.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextAttachments/TextAttachment.swift @@ -1,6 +1,6 @@ // // TextAttachment.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 4/24/25. // @@ -43,7 +43,7 @@ public extension TextAttachment { /// Type-erasing type for ``TextAttachment`` that also contains range information about the attachment. /// -/// This type cannot be initialized outside of `CodeEditTextView`, but will be received when interrogating +/// This type cannot be initialized outside of `TableProTextEngine`, but will be received when interrogating /// the ``TextAttachmentManager``. public struct AnyTextAttachment: Equatable { package(set) public var range: NSRange diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextAttachments/TextAttachmentManager.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextAttachments/TextAttachmentManager.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextAttachments/TextAttachmentManager.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextAttachments/TextAttachmentManager.swift index efe723525c..2dd6e519f3 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextAttachments/TextAttachmentManager.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextAttachments/TextAttachmentManager.swift @@ -1,6 +1,6 @@ // // TextAttachmentManager.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 4/24/25. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextAttachments/TextAttachmentManagerDelegate.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextAttachments/TextAttachmentManagerDelegate.swift similarity index 93% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextAttachments/TextAttachmentManagerDelegate.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextAttachments/TextAttachmentManagerDelegate.swift index c5b363b00f..92253c6f8f 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextAttachments/TextAttachmentManagerDelegate.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextAttachments/TextAttachmentManagerDelegate.swift @@ -1,6 +1,6 @@ // // TextAttachmentManagerDelegate.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 6/25/25. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Edits.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutManager+Edits.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Edits.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutManager+Edits.swift index 4b02b0f9b1..9e9009d9d4 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Edits.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutManager+Edits.swift @@ -1,6 +1,6 @@ // // TextLayoutManager+Edits.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 9/3/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Invalidation.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutManager+Invalidation.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Invalidation.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutManager+Invalidation.swift index db1c279d1b..6268a4bbf4 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Invalidation.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutManager+Invalidation.swift @@ -1,6 +1,6 @@ // // TextLayoutManager+Invalidation.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 2/24/24. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Iterator.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutManager+Iterator.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Iterator.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutManager+Iterator.swift index f6a5e1ab8d..3999acbcf8 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Iterator.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutManager+Iterator.swift @@ -1,6 +1,6 @@ // // TextLayoutManager+Iterator.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 8/21/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Layout.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutManager+Layout.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Layout.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutManager+Layout.swift index 006af05a7c..d0984f6269 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Layout.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutManager+Layout.swift @@ -1,6 +1,6 @@ // // TextLayoutManager+ensureLayout.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 4/7/25. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Public.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutManager+Public.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Public.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutManager+Public.swift index 6fb89124eb..a3861e2166 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Public.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutManager+Public.swift @@ -1,6 +1,6 @@ // // TextLayoutManager+Public.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 9/13/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutManager.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutManager.swift index 07a506b96d..b277ccabf8 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutManager.swift @@ -1,6 +1,6 @@ // // TextLayoutManager.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 6/21/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManagerDelegate.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutManagerDelegate.swift similarity index 97% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManagerDelegate.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutManagerDelegate.swift index b9e36ef945..cf682921ae 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManagerDelegate.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutManagerDelegate.swift @@ -1,6 +1,6 @@ // // TextLayoutManagerDelegate.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 4/10/25. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManagerRenderDelegate.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutManagerRenderDelegate.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManagerRenderDelegate.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutManagerRenderDelegate.swift index 7b2cb80b25..8faeef9fd4 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManagerRenderDelegate.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutManagerRenderDelegate.swift @@ -1,6 +1,6 @@ // // TextLayoutManagerRenderDelegate.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 4/10/25. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutUpdate.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutUpdate.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutUpdate.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutUpdate.swift index 23cde0711a..926820d695 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLayoutManager/TextLayoutUpdate.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLayoutManager/TextLayoutUpdate.swift @@ -1,6 +1,6 @@ // // TextLayoutUpdate.swift -// CodeEditTextView +// TableProTextEngine // import Foundation diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/ClippedLineDrawing+CoreText.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/ClippedLineDrawing+CoreText.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/ClippedLineDrawing+CoreText.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLine/ClippedLineDrawing+CoreText.swift index 27fafb5339..d17dab96b5 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/ClippedLineDrawing+CoreText.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/ClippedLineDrawing+CoreText.swift @@ -1,6 +1,6 @@ // // ClippedLineDrawing+CoreText.swift -// CodeEditTextView +// TableProTextEngine // import AppKit diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/ClippedLineDrawing+Plan.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/ClippedLineDrawing+Plan.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/ClippedLineDrawing+Plan.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLine/ClippedLineDrawing+Plan.swift index 2fd662d37d..79e5e43251 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/ClippedLineDrawing+Plan.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/ClippedLineDrawing+Plan.swift @@ -1,6 +1,6 @@ // // ClippedLineDrawing+Plan.swift -// CodeEditTextView +// TableProTextEngine // import AppKit diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/ClippedLineDrawing.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/ClippedLineDrawing.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/ClippedLineDrawing.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLine/ClippedLineDrawing.swift index e07d3d2172..99e17d1cbf 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/ClippedLineDrawing.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/ClippedLineDrawing.swift @@ -1,6 +1,6 @@ // // ClippedLineDrawing.swift -// CodeEditTextView +// TableProTextEngine // import AppKit diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/LineBreakStrategy.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/LineBreakStrategy.swift similarity index 93% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/LineBreakStrategy.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLine/LineBreakStrategy.swift index 6ca4a80aed..4804431b22 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/LineBreakStrategy.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/LineBreakStrategy.swift @@ -1,6 +1,6 @@ // // LineBreakStrategy.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 9/19/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/LineFragment.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/LineFragment.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/LineFragment.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLine/LineFragment.swift index 2f924a2b0c..a3b2b902bd 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/LineFragment.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/LineFragment.swift @@ -1,12 +1,12 @@ // // LineFragment.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 6/29/23. // import AppKit -import CodeEditTextViewObjC +import TableProTextEngineObjC /// A ``LineFragment`` represents a subrange of characters in a line. Every text line contains at least one line /// fragments, and any lines that need to be broken due to width constraints will contain more than one fragment. diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/LineFragmentRenderer+Invisibles.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/LineFragmentRenderer+Invisibles.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/LineFragmentRenderer+Invisibles.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLine/LineFragmentRenderer+Invisibles.swift index 2af3c04956..e2e71bf991 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/LineFragmentRenderer+Invisibles.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/LineFragmentRenderer+Invisibles.swift @@ -1,6 +1,6 @@ // // LineFragmentRenderer+Invisibles.swift -// CodeEditTextView +// TableProTextEngine // import AppKit diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/LineFragmentRenderer.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/LineFragmentRenderer.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/LineFragmentRenderer.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLine/LineFragmentRenderer.swift index 29bf235e46..85bc157cd5 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/LineFragmentRenderer.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/LineFragmentRenderer.swift @@ -1,12 +1,12 @@ // // LineFragmentRenderer.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 6/10/25. // import AppKit -import CodeEditTextViewObjC +import TableProTextEngineObjC /// Manages drawing line fragments into a drawing context. public final class LineFragmentRenderer { diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/LineFragmentView.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/LineFragmentView.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/LineFragmentView.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLine/LineFragmentView.swift index 15026d1c8a..0645213001 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/LineFragmentView.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/LineFragmentView.swift @@ -1,6 +1,6 @@ // // LineFragmentView.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 8/14/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/TextLine.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/TextLine.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/TextLine.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLine/TextLine.swift index 9bffbdbfff..21fc92644d 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/TextLine.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/TextLine.swift @@ -1,6 +1,6 @@ // // TextLine.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 6/21/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/Typesetter/CTLineTypesetData.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/Typesetter/CTLineTypesetData.swift similarity index 92% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/Typesetter/CTLineTypesetData.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLine/Typesetter/CTLineTypesetData.swift index 7466a9e5d9..bb2754bf0c 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/Typesetter/CTLineTypesetData.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/Typesetter/CTLineTypesetData.swift @@ -1,6 +1,6 @@ // // CTLineTypesetData.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 4/24/25. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/Typesetter/LineFragmentTypesetContext.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/Typesetter/LineFragmentTypesetContext.swift similarity index 95% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/Typesetter/LineFragmentTypesetContext.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLine/Typesetter/LineFragmentTypesetContext.swift index f6bb487b28..0b08d10840 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/Typesetter/LineFragmentTypesetContext.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/Typesetter/LineFragmentTypesetContext.swift @@ -1,6 +1,6 @@ // // LineFragmentTypesetContext.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 4/24/25. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/Typesetter/TypesetContext.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/Typesetter/TypesetContext.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/Typesetter/TypesetContext.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLine/Typesetter/TypesetContext.swift index f5b6ab6df5..39c3d7d004 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/Typesetter/TypesetContext.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/Typesetter/TypesetContext.swift @@ -1,6 +1,6 @@ // // TypesetContext.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 4/24/25. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/Typesetter/Typesetter.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/Typesetter/Typesetter.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/Typesetter/Typesetter.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLine/Typesetter/Typesetter.swift index bed4d93452..e6fa0cf20e 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLine/Typesetter/Typesetter.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLine/Typesetter/Typesetter.swift @@ -1,6 +1,6 @@ // // Typesetter.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 6/21/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLineStorage/TextLineStorage+Iterator.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLineStorage/TextLineStorage+Iterator.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLineStorage/TextLineStorage+Iterator.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLineStorage/TextLineStorage+Iterator.swift index c79d4adcb3..f1316e1f1b 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLineStorage/TextLineStorage+Iterator.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLineStorage/TextLineStorage+Iterator.swift @@ -1,6 +1,6 @@ // // TextLineStorage+Iterator.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 7/16/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLineStorage/TextLineStorage+NSTextStorage.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLineStorage/TextLineStorage+NSTextStorage.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLineStorage/TextLineStorage+NSTextStorage.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLineStorage/TextLineStorage+NSTextStorage.swift index ab866ccc91..4004ff5183 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLineStorage/TextLineStorage+NSTextStorage.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLineStorage/TextLineStorage+NSTextStorage.swift @@ -1,6 +1,6 @@ // // TextLineStorage+NSTextStorage.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 8/21/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLineStorage/TextLineStorage+Node.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLineStorage/TextLineStorage+Node.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLineStorage/TextLineStorage+Node.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLineStorage/TextLineStorage+Node.swift index e143279231..b6499df2b8 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLineStorage/TextLineStorage+Node.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLineStorage/TextLineStorage+Node.swift @@ -1,6 +1,6 @@ // // TextLineStorage+Node.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 6/25/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLineStorage/TextLineStorage+Structs.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLineStorage/TextLineStorage+Structs.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLineStorage/TextLineStorage+Structs.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLineStorage/TextLineStorage+Structs.swift index b022a9b1cb..e490bed44e 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLineStorage/TextLineStorage+Structs.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLineStorage/TextLineStorage+Structs.swift @@ -1,6 +1,6 @@ // // TextLineStorage+Structs.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 8/24/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLineStorage/TextLineStorage.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextLineStorage/TextLineStorage.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLineStorage/TextLineStorage.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextLineStorage/TextLineStorage.swift index 3ba5e1a904..004d08cc71 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextLineStorage/TextLineStorage.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextLineStorage/TextLineStorage.swift @@ -1,6 +1,6 @@ // // TextLayoutLineStorage.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 6/25/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/Destination.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/Destination.swift similarity index 92% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/Destination.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/Destination.swift index c897448c52..2366b9ff94 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/Destination.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/Destination.swift @@ -1,6 +1,6 @@ // // Destination.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 8/20/24. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/Direction.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/Direction.swift similarity index 90% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/Direction.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/Direction.swift index 39cd2f86b7..2e07a7b63b 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/Direction.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/Direction.swift @@ -1,6 +1,6 @@ // // Direction.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 8/20/24. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/SelectionManipulation/SelectionManipulation+Horizontal.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/SelectionManipulation/SelectionManipulation+Horizontal.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/SelectionManipulation/SelectionManipulation+Horizontal.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/SelectionManipulation/SelectionManipulation+Horizontal.swift index 3480e5b25d..683e5c0ad0 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/SelectionManipulation/SelectionManipulation+Horizontal.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/SelectionManipulation/SelectionManipulation+Horizontal.swift @@ -1,6 +1,6 @@ // // SelectionManipulation+Horizontal.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 5/11/24. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/SelectionManipulation/SelectionManipulation+Vertical.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/SelectionManipulation/SelectionManipulation+Vertical.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/SelectionManipulation/SelectionManipulation+Vertical.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/SelectionManipulation/SelectionManipulation+Vertical.swift index 9ae4b10e8a..cbe4f8b99e 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/SelectionManipulation/SelectionManipulation+Vertical.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/SelectionManipulation/SelectionManipulation+Vertical.swift @@ -1,6 +1,6 @@ // // SelectionManipulation+Vertical.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 5/11/24. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/SelectionManipulation/TextSelectionManager+SelectionManipulation.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/SelectionManipulation/TextSelectionManager+SelectionManipulation.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/SelectionManipulation/TextSelectionManager+SelectionManipulation.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/SelectionManipulation/TextSelectionManager+SelectionManipulation.swift index eb7e8a349f..ebb83660fe 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/SelectionManipulation/TextSelectionManager+SelectionManipulation.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/SelectionManipulation/TextSelectionManager+SelectionManipulation.swift @@ -1,6 +1,6 @@ // // TextSelectionManager+SelectionManipulation.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 8/26/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/TextSelection.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/TextSelection.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/TextSelection.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/TextSelection.swift index 6609df0eca..b54a37a897 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/TextSelection.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/TextSelection.swift @@ -1,6 +1,6 @@ // // TextSelection.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 8/20/24. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/TextSelectionManager+Draw.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/TextSelectionManager+Draw.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/TextSelectionManager+Draw.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/TextSelectionManager+Draw.swift index 1b3e55855b..317c4b8c9f 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/TextSelectionManager+Draw.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/TextSelectionManager+Draw.swift @@ -1,6 +1,6 @@ // // TextSelectionManager+Draw.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 1/12/25. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/TextSelectionManager+FillRects.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/TextSelectionManager+FillRects.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/TextSelectionManager+FillRects.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/TextSelectionManager+FillRects.swift index 53fcd921a9..6eb8cfd9f2 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/TextSelectionManager+FillRects.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/TextSelectionManager+FillRects.swift @@ -1,6 +1,6 @@ // // TextSelectionManager+FillRects.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 10/22/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/TextSelectionManager+Move.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/TextSelectionManager+Move.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/TextSelectionManager+Move.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/TextSelectionManager+Move.swift index 44569e46b1..49b516b4a6 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/TextSelectionManager+Move.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/TextSelectionManager+Move.swift @@ -1,6 +1,6 @@ // // TextSelectionManager+Move.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 9/20/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/TextSelectionManager+Update.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/TextSelectionManager+Update.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/TextSelectionManager+Update.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/TextSelectionManager+Update.swift index 91ebb706fd..e884ddcca6 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/TextSelectionManager+Update.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/TextSelectionManager+Update.swift @@ -1,6 +1,6 @@ // // TextSelectionManager+Update.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 10/22/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/TextSelectionManager.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/TextSelectionManager.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/TextSelectionManager.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/TextSelectionManager.swift index b59588361e..21fe683ff3 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextSelectionManager/TextSelectionManager.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextSelectionManager/TextSelectionManager.swift @@ -1,6 +1,6 @@ // // TextSelectionManager.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 7/17/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/DraggingTextRenderer.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/DraggingTextRenderer.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/DraggingTextRenderer.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/DraggingTextRenderer.swift index 09df7f22d2..732adaf094 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/DraggingTextRenderer.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/DraggingTextRenderer.swift @@ -1,6 +1,6 @@ // // DraggingTextRenderer.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 11/24/24. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Accessibility.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Accessibility.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Accessibility.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Accessibility.swift index 877a3b1518..9158f00fbe 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Accessibility.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Accessibility.swift @@ -1,6 +1,6 @@ // // TextView+Accessibility.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 10/14/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+ColumnSelection.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+ColumnSelection.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+ColumnSelection.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+ColumnSelection.swift index baccf379a1..9cdd073005 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+ColumnSelection.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+ColumnSelection.swift @@ -1,6 +1,6 @@ // // TextView+ColumnSelection.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 6/19/25. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+CopyPaste.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+CopyPaste.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+CopyPaste.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+CopyPaste.swift index 166b073d9a..3e6a9e44b0 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+CopyPaste.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+CopyPaste.swift @@ -1,6 +1,6 @@ // // TextView+CopyPaste.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 8/21/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Delete.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Delete.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Delete.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Delete.swift index 4093df0a68..477c8b2518 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Delete.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Delete.swift @@ -1,6 +1,6 @@ // // TextView+Delete.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 8/24/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Drag.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Drag.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Drag.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Drag.swift index 149d43e1df..a8d6fe9aa1 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Drag.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Drag.swift @@ -1,6 +1,6 @@ // // TextView+Drag.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 10/20/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+FirstResponder.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+FirstResponder.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+FirstResponder.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+FirstResponder.swift index fbb33fc61d..e5c21bc5a4 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+FirstResponder.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+FirstResponder.swift @@ -1,6 +1,6 @@ // // TextView+FirstResponder.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 6/15/24. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Insert.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Insert.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Insert.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Insert.swift index 6415b66e3a..c07fed3405 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Insert.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Insert.swift @@ -1,6 +1,6 @@ // // TextView+Insert.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 9/3/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+KeyDown.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+KeyDown.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+KeyDown.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+KeyDown.swift index b26569f2f5..b1a237fd42 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+KeyDown.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+KeyDown.swift @@ -1,6 +1,6 @@ // // TextView+KeyDown.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 6/15/24. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Layout.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Layout.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Layout.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Layout.swift index d1ed9583e6..92843a680d 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Layout.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Layout.swift @@ -1,6 +1,6 @@ // // TextView+Layout.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 6/15/24. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Lifecycle.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Lifecycle.swift similarity index 97% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Lifecycle.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Lifecycle.swift index f5b6ac90e5..3eaf340fe2 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Lifecycle.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Lifecycle.swift @@ -1,6 +1,6 @@ // // TextView+Lifecycle.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 4/7/25. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Menu.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Menu.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Menu.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Menu.swift index d0f39adae4..871d8f03a4 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Menu.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Menu.swift @@ -1,6 +1,6 @@ // // TextView+Menu.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 8/21/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Mouse.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Mouse.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Mouse.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Mouse.swift index 3ba7b6d3a6..9436670ba3 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Mouse.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Mouse.swift @@ -1,6 +1,6 @@ // // TextView+Mouse.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 9/19/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Move.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Move.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Move.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Move.swift index 4b0b187e79..e1a0017368 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Move.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Move.swift @@ -1,6 +1,6 @@ // // TextView+Move.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 9/10/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+NSTextInput.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+NSTextInput.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+NSTextInput.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+NSTextInput.swift index 6e54231e60..b0cb219c6d 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+NSTextInput.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+NSTextInput.swift @@ -1,6 +1,6 @@ // // TextView+NSTextInput.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 7/16/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+ReplaceCharacters.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+ReplaceCharacters.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+ReplaceCharacters.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+ReplaceCharacters.swift index 8bd8e6ef9f..38512c9ac9 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+ReplaceCharacters.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+ReplaceCharacters.swift @@ -1,6 +1,6 @@ // // TextView+ReplaceCharacters.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 9/3/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+ScrollToVisible.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+ScrollToVisible.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+ScrollToVisible.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+ScrollToVisible.swift index 0de00b9fb4..ff1495c24b 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+ScrollToVisible.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+ScrollToVisible.swift @@ -1,6 +1,6 @@ // // TextView+ScrollToVisible.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 6/15/24. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Select.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Select.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Select.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Select.swift index 22b369b8d9..894aeaf2ae 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Select.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Select.swift @@ -1,6 +1,6 @@ // // TextView+Select.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 10/20/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+SetText.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+SetText.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+SetText.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+SetText.swift index a0d918b839..455b231e07 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+SetText.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+SetText.swift @@ -1,6 +1,6 @@ // // TextView+SetText.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 1/12/25. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Setup.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Setup.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Setup.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Setup.swift index a17d390261..6eb32d8c76 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+Setup.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+Setup.swift @@ -1,6 +1,6 @@ // // TextView+Setup.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 9/15/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+StorageDelegate.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+StorageDelegate.swift similarity index 94% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+StorageDelegate.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+StorageDelegate.swift index 36f3734e39..a4bf7f16e3 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+StorageDelegate.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+StorageDelegate.swift @@ -1,6 +1,6 @@ // // TextView+StorageDelegate.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 11/8/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+TextLayoutManagerDelegate.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+TextLayoutManagerDelegate.swift similarity index 97% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+TextLayoutManagerDelegate.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+TextLayoutManagerDelegate.swift index b734f54ad1..03dd6b344d 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+TextLayoutManagerDelegate.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+TextLayoutManagerDelegate.swift @@ -1,6 +1,6 @@ // // TextView+TextLayoutManagerDelegate.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 9/15/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+TextSelectionManagerDelegate.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+TextSelectionManagerDelegate.swift similarity index 93% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+TextSelectionManagerDelegate.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+TextSelectionManagerDelegate.swift index 999b34eccf..1f34496547 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+TextSelectionManagerDelegate.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+TextSelectionManagerDelegate.swift @@ -1,6 +1,6 @@ // // TextView+TextSelectionManagerDelegate.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 6/15/24. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+UndoRedo.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+UndoRedo.swift similarity index 96% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+UndoRedo.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+UndoRedo.swift index cd2ee0cc49..fe37d109b8 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView+UndoRedo.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView+UndoRedo.swift @@ -1,6 +1,6 @@ // // TextView+UndoRedo.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 8/21/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView.swift index 4d357bbbe9..f441ccb3c7 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextView.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextView.swift @@ -1,6 +1,6 @@ // // TextView.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 6/21/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextViewDelegate.swift b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextViewDelegate.swift similarity index 97% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextViewDelegate.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextViewDelegate.swift index 244cd182de..7010aea998 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/TextView/TextViewDelegate.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/TextView/TextViewDelegate.swift @@ -1,6 +1,6 @@ // // TextViewDelegate.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 9/3/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Utils/CEUndoManager.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Utils/CEUndoManager.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Utils/CEUndoManager.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Utils/CEUndoManager.swift index 845df676a2..b2f3bf1d73 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Utils/CEUndoManager.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Utils/CEUndoManager.swift @@ -1,6 +1,6 @@ // // CEUndoManager.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 7/8/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Utils/HorizontalEdgeInsets.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Utils/HorizontalEdgeInsets.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Utils/HorizontalEdgeInsets.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Utils/HorizontalEdgeInsets.swift index 6520100853..defa7997bf 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Utils/HorizontalEdgeInsets.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Utils/HorizontalEdgeInsets.swift @@ -1,6 +1,6 @@ // // HorizontalEdgeInsets.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 9/11/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Utils/KillRing.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Utils/KillRing.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Utils/KillRing.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Utils/KillRing.swift index 889e982da0..0645451a6a 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Utils/KillRing.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Utils/KillRing.swift @@ -1,6 +1,6 @@ // // KillRing.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 6/13/24. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Utils/LineEnding.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Utils/LineEnding.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Utils/LineEnding.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Utils/LineEnding.swift index f0957d491b..894a80cfa0 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Utils/LineEnding.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Utils/LineEnding.swift @@ -1,6 +1,6 @@ // // LineEnding.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 8/16/23. // diff --git a/Packages/TableProEditor/Sources/TableProTextEngine/Utils/Logger.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Utils/Logger.swift new file mode 100644 index 0000000000..93817ed927 --- /dev/null +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Utils/Logger.swift @@ -0,0 +1,3 @@ +import os + +let logger = Logger(subsystem: "com.CodeEdit.TableProTextEngine", category: "TextView") diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Utils/MultiStorageDelegate.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Utils/MultiStorageDelegate.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Utils/MultiStorageDelegate.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Utils/MultiStorageDelegate.swift index 97350383d2..b3ba903df2 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Utils/MultiStorageDelegate.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Utils/MultiStorageDelegate.swift @@ -1,6 +1,6 @@ // // MultiStorageDelegate.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 6/25/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Utils/PasteboardTextReader.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Utils/PasteboardTextReader.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Utils/PasteboardTextReader.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Utils/PasteboardTextReader.swift index dd1677561d..9c59c1117e 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Utils/PasteboardTextReader.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Utils/PasteboardTextReader.swift @@ -1,6 +1,6 @@ // // PasteboardTextReader.swift -// CodeEditTextView +// TableProTextEngine // import AppKit diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Utils/ViewReuseQueue.swift b/Packages/TableProEditor/Sources/TableProTextEngine/Utils/ViewReuseQueue.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Utils/ViewReuseQueue.swift rename to Packages/TableProEditor/Sources/TableProTextEngine/Utils/ViewReuseQueue.swift index 3b85c6aebe..8e47af9b3d 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextView/Utils/ViewReuseQueue.swift +++ b/Packages/TableProEditor/Sources/TableProTextEngine/Utils/ViewReuseQueue.swift @@ -1,6 +1,6 @@ // // ViewReuseQueue.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 8/14/23. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextViewObjC/CGContextHidden.m b/Packages/TableProEditor/Sources/TableProTextEngineObjC/CGContextHidden.m similarity index 92% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextViewObjC/CGContextHidden.m rename to Packages/TableProEditor/Sources/TableProTextEngineObjC/CGContextHidden.m index a5318ea643..34f2f3e213 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextViewObjC/CGContextHidden.m +++ b/Packages/TableProEditor/Sources/TableProTextEngineObjC/CGContextHidden.m @@ -1,6 +1,6 @@ // // CGContextHidden.m -// CodeEditTextViewObjC +// TableProTextEngineObjC // // Created by Khan Winter on 2/12/24. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextViewObjC/include/CGContextHidden.h b/Packages/TableProEditor/Sources/TableProTextEngineObjC/include/CGContextHidden.h similarity index 90% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextViewObjC/include/CGContextHidden.h rename to Packages/TableProEditor/Sources/TableProTextEngineObjC/include/CGContextHidden.h index 87a5aad125..48fa89c488 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextViewObjC/include/CGContextHidden.h +++ b/Packages/TableProEditor/Sources/TableProTextEngineObjC/include/CGContextHidden.h @@ -1,6 +1,6 @@ // // CGContextHidden.h -// CodeEditTextViewObjC +// TableProTextEngineObjC // // Created by Khan Winter on 2/12/24. // diff --git a/LocalPackages/CodeEditTextView/Sources/CodeEditTextViewObjC/include/module.modulemap b/Packages/TableProEditor/Sources/TableProTextEngineObjC/include/module.modulemap similarity index 50% rename from LocalPackages/CodeEditTextView/Sources/CodeEditTextViewObjC/include/module.modulemap rename to Packages/TableProEditor/Sources/TableProTextEngineObjC/include/module.modulemap index 8b431cb1f5..176e598db2 100644 --- a/LocalPackages/CodeEditTextView/Sources/CodeEditTextViewObjC/include/module.modulemap +++ b/Packages/TableProEditor/Sources/TableProTextEngineObjC/include/module.modulemap @@ -1,3 +1,3 @@ -module CodeEditTextViewObjC { +module TableProTextEngineObjC { header "CGContextHidden.h" } diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CaptureModifierSetTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/CaptureModifierSetTests.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CaptureModifierSetTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/CaptureModifierSetTests.swift index e83b44f0b8..06c814bd5b 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CaptureModifierSetTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/CaptureModifierSetTests.swift @@ -1,4 +1,4 @@ -@testable import CodeEditSourceEditor +@testable import TableProEditorKit import XCTest final class CaptureModifierSetTests: XCTestCase { diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CodeEditSourceEditorTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/CodeEditSourceEditorTests.swift similarity index 92% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CodeEditSourceEditorTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/CodeEditSourceEditorTests.swift index f1e014c63c..5e3aed95b9 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CodeEditSourceEditorTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/CodeEditSourceEditorTests.swift @@ -1,8 +1,8 @@ -@testable import CodeEditSourceEditor +@testable import TableProEditorKit import XCTest // swiftlint:disable all -final class CodeEditSourceEditorTests: XCTestCase { +final class TableProEditorKitTests: XCTestCase { // MARK: NSFont Line Height diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CodeSuggestion/SuggestionApplyTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/CodeSuggestion/SuggestionApplyTests.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CodeSuggestion/SuggestionApplyTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/CodeSuggestion/SuggestionApplyTests.swift index 1079fc0b93..9d30f37829 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CodeSuggestion/SuggestionApplyTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/CodeSuggestion/SuggestionApplyTests.swift @@ -1,6 +1,6 @@ import AppKit -@testable import CodeEditSourceEditor import SwiftUI +@testable import TableProEditorKit import XCTest final class SuggestionApplyTests: XCTestCase { diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CodeSuggestion/SuggestionControllerPlacementTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/CodeSuggestion/SuggestionControllerPlacementTests.swift similarity index 96% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CodeSuggestion/SuggestionControllerPlacementTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/CodeSuggestion/SuggestionControllerPlacementTests.swift index 092792da77..d97f1ff73b 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CodeSuggestion/SuggestionControllerPlacementTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/CodeSuggestion/SuggestionControllerPlacementTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditSourceEditor +@testable import TableProEditorKit import XCTest final class SuggestionControllerPlacementTests: XCTestCase { diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CodeSuggestion/SuggestionCursorsUpdatedTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/CodeSuggestion/SuggestionCursorsUpdatedTests.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CodeSuggestion/SuggestionCursorsUpdatedTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/CodeSuggestion/SuggestionCursorsUpdatedTests.swift index 824a0cacd0..256bbf1f9c 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CodeSuggestion/SuggestionCursorsUpdatedTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/CodeSuggestion/SuggestionCursorsUpdatedTests.swift @@ -1,6 +1,6 @@ import AppKit -@testable import CodeEditSourceEditor import SwiftUI +@testable import TableProEditorKit import XCTest final class SuggestionCursorsUpdatedTests: XCTestCase { diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CodeSuggestion/SuggestionPanelFocusTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/CodeSuggestion/SuggestionPanelFocusTests.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CodeSuggestion/SuggestionPanelFocusTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/CodeSuggestion/SuggestionPanelFocusTests.swift index ec39a91593..770b45a339 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CodeSuggestion/SuggestionPanelFocusTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/CodeSuggestion/SuggestionPanelFocusTests.swift @@ -1,6 +1,6 @@ import AppKit -@testable import CodeEditSourceEditor import SwiftUI +@testable import TableProEditorKit import XCTest final class SuggestionPanelFocusTests: XCTestCase { diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CodeSuggestion/SuggestionShowCompletionsGuardTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/CodeSuggestion/SuggestionShowCompletionsGuardTests.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CodeSuggestion/SuggestionShowCompletionsGuardTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/CodeSuggestion/SuggestionShowCompletionsGuardTests.swift index 0972a9bfce..41b41be09e 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CodeSuggestion/SuggestionShowCompletionsGuardTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/CodeSuggestion/SuggestionShowCompletionsGuardTests.swift @@ -1,6 +1,6 @@ import AppKit -@testable import CodeEditSourceEditor import SwiftUI +@testable import TableProEditorKit import XCTest final class SuggestionShowCompletionsGuardTests: XCTestCase { diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CodeSuggestion/SuggestionWindowPlacementTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/CodeSuggestion/SuggestionWindowPlacementTests.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CodeSuggestion/SuggestionWindowPlacementTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/CodeSuggestion/SuggestionWindowPlacementTests.swift index 36158adcce..020db8a90d 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CodeSuggestion/SuggestionWindowPlacementTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/CodeSuggestion/SuggestionWindowPlacementTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditSourceEditor +@testable import TableProEditorKit import XCTest final class SuggestionWindowPlacementTests: XCTestCase { diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CodeSuggestion/TextViewControllerSuggestionsTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/CodeSuggestion/TextViewControllerSuggestionsTests.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CodeSuggestion/TextViewControllerSuggestionsTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/CodeSuggestion/TextViewControllerSuggestionsTests.swift index 1a81a3899c..374d4e0b1b 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/CodeSuggestion/TextViewControllerSuggestionsTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/CodeSuggestion/TextViewControllerSuggestionsTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditSourceEditor +@testable import TableProEditorKit import XCTest final class TextViewControllerSuggestionsTests: XCTestCase { diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Controller/TextViewController+IndentTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/Controller/TextViewController+IndentTests.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Controller/TextViewController+IndentTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/Controller/TextViewController+IndentTests.swift index 5e4caf1828..7927768319 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Controller/TextViewController+IndentTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/Controller/TextViewController+IndentTests.swift @@ -1,12 +1,12 @@ // // TextViewController+IndentTests.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Ludwig, Tom on 08.10.24. // -@testable import CodeEditSourceEditor -@testable import CodeEditTextView +@testable import TableProEditorKit +@testable import TableProTextEngine import XCTest final class TextViewControllerIndentTests: XCTestCase { diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Controller/TextViewController+MoveLinesTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/Controller/TextViewController+MoveLinesTests.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Controller/TextViewController+MoveLinesTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/Controller/TextViewController+MoveLinesTests.swift index 650a60995c..8118b6e334 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Controller/TextViewController+MoveLinesTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/Controller/TextViewController+MoveLinesTests.swift @@ -1,12 +1,12 @@ // // TextViewController+MoveLinesTests.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Bogdan Belogurov on 01/06/2025. // -@testable import CodeEditSourceEditor -@testable import CodeEditTextView +@testable import TableProEditorKit +@testable import TableProTextEngine import XCTest final class TextViewControllerMoveLinesTests: XCTestCase { diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Controller/TextViewControllerFloatingInsetsTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/Controller/TextViewControllerFloatingInsetsTests.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Controller/TextViewControllerFloatingInsetsTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/Controller/TextViewControllerFloatingInsetsTests.swift index a66fb69918..fac114922e 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Controller/TextViewControllerFloatingInsetsTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/Controller/TextViewControllerFloatingInsetsTests.swift @@ -1,11 +1,11 @@ // // TextViewControllerFloatingInsetsTests.swift -// CodeEditSourceEditor +// TableProEditorKit // import AppKit -@testable import CodeEditSourceEditor -import CodeEditTextView +@testable import TableProEditorKit +import TableProTextEngine import Testing /// The editor keeps the start of every line clear of the gutter, whatever the document's width does (#2709). diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Controller/TextViewControllerTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/Controller/TextViewControllerTests.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Controller/TextViewControllerTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/Controller/TextViewControllerTests.swift index 8f36d1ffbf..263d807b95 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Controller/TextViewControllerTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/Controller/TextViewControllerTests.swift @@ -1,7 +1,7 @@ import AppKit -@testable import CodeEditSourceEditor import SwiftTreeSitter import SwiftUI +@testable import TableProEditorKit import TextStory import XCTest diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/FindPanelTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/FindPanelTests.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/FindPanelTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/FindPanelTests.swift index 64b0d97a33..c48af0e507 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/FindPanelTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/FindPanelTests.swift @@ -1,6 +1,6 @@ import AppKit -@testable import CodeEditSourceEditor -import CodeEditTextView +@testable import TableProEditorKit +import TableProTextEngine import Testing @MainActor diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/GutterNumberOffsetTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/GutterNumberOffsetTests.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/GutterNumberOffsetTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/GutterNumberOffsetTests.swift index 874435866f..b6461f1f11 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/GutterNumberOffsetTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/GutterNumberOffsetTests.swift @@ -1,11 +1,11 @@ // // GutterNumberOffsetTests.swift -// CodeEditSourceEditor +// TableProEditorKit // import AppKit -@testable import CodeEditSourceEditor -import CodeEditTextView +@testable import TableProEditorKit +import TableProTextEngine import Testing /// Where the line number is actually painted, read back off the gutter. diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Highlighting/HighlightProviderStateTest.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/Highlighting/HighlightProviderStateTest.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Highlighting/HighlightProviderStateTest.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/Highlighting/HighlightProviderStateTest.swift index 6c1b53bd6e..a868b2d943 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Highlighting/HighlightProviderStateTest.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/Highlighting/HighlightProviderStateTest.swift @@ -1,6 +1,6 @@ -@testable import CodeEditSourceEditor -import CodeEditTextView +@testable import TableProEditorKit import TableProGrammars +import TableProTextEngine import XCTest /// Because the provider state is mostly just passing messages between providers and the highlight state, what we need diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Highlighting/HighlighterTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/Highlighting/HighlighterTests.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Highlighting/HighlighterTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/Highlighting/HighlighterTests.swift index 0e0db2ac8b..8ff1fe45f2 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Highlighting/HighlighterTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/Highlighting/HighlighterTests.swift @@ -1,6 +1,6 @@ -@testable import CodeEditSourceEditor -import CodeEditTextView +@testable import TableProEditorKit import TableProGrammars +import TableProTextEngine import XCTest final class HighlighterTests: XCTestCase { diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Highlighting/StyledRangeContainerTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/Highlighting/StyledRangeContainerTests.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Highlighting/StyledRangeContainerTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/Highlighting/StyledRangeContainerTests.swift index c674e1b507..2407ca981c 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Highlighting/StyledRangeContainerTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/Highlighting/StyledRangeContainerTests.swift @@ -1,4 +1,4 @@ -@testable import CodeEditSourceEditor +@testable import TableProEditorKit import XCTest final class StyledRangeContainerTests: XCTestCase { diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Highlighting/VisibleRangeProviderTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/Highlighting/VisibleRangeProviderTests.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Highlighting/VisibleRangeProviderTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/Highlighting/VisibleRangeProviderTests.swift index da6740e3bd..f1cbe3a8d6 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Highlighting/VisibleRangeProviderTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/Highlighting/VisibleRangeProviderTests.swift @@ -1,4 +1,4 @@ -@testable import CodeEditSourceEditor +@testable import TableProEditorKit import XCTest final class VisibleRangeProviderTests: XCTestCase { diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldAccessibilityTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldAccessibilityTests.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldAccessibilityTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldAccessibilityTests.swift index 83dca4592e..a58b9fc516 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldAccessibilityTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldAccessibilityTests.swift @@ -1,11 +1,11 @@ // // LineFoldAccessibilityTests.swift -// CodeEditSourceEditor +// TableProEditorKit // import AppKit -@testable import CodeEditSourceEditor -import CodeEditTextView +@testable import TableProEditorKit +import TableProTextEngine import Testing /// The fold chevrons are drawn rather than hosted as views, which is what keeps scrolling a long document cheap. A diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldChunkBoundaryTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldChunkBoundaryTests.swift similarity index 96% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldChunkBoundaryTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldChunkBoundaryTests.swift index c36714d325..658af8eca6 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldChunkBoundaryTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldChunkBoundaryTests.swift @@ -1,11 +1,11 @@ // // LineFoldChunkBoundaryTests.swift -// CodeEditSourceEditor +// TableProEditorKit // import AppKit -@testable import CodeEditSourceEditor -import CodeEditTextView +@testable import TableProEditorKit +import TableProTextEngine import Testing /// The fold calculator pulls lines from the provider 50 at a time, threading the running depth between calls. A local diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldCollapsePathTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldCollapsePathTests.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldCollapsePathTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldCollapsePathTests.swift index 425edf7f0f..b67c05e0cd 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldCollapsePathTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldCollapsePathTests.swift @@ -1,11 +1,11 @@ // // LineFoldCollapsePathTests.swift -// CodeEditSourceEditor +// TableProEditorKit // import AppKit -@testable import CodeEditSourceEditor -import CodeEditTextView +@testable import TableProEditorKit +import TableProTextEngine import Testing /// A fold can be toggled from the gutter's chevron or by clicking the placeholder that stands in for it, and the two diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldDocumentSwapTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldDocumentSwapTests.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldDocumentSwapTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldDocumentSwapTests.swift index be3daa8bef..4c87c0fbac 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldDocumentSwapTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldDocumentSwapTests.swift @@ -1,11 +1,11 @@ // // LineFoldDocumentSwapTests.swift -// CodeEditSourceEditor +// TableProEditorKit // import AppKit -@testable import CodeEditSourceEditor -import CodeEditTextView +@testable import TableProEditorKit +import TableProTextEngine import Testing /// A recalculation deliberately carries collapse state across by depth and start offset, which is what keeps a region diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldHoverTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldHoverTests.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldHoverTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldHoverTests.swift index 404a065fb9..507ed6c301 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldHoverTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldHoverTests.swift @@ -1,11 +1,11 @@ // // LineFoldHoverTests.swift -// CodeEditSourceEditor +// TableProEditorKit // import AppKit -@testable import CodeEditSourceEditor -import CodeEditTextView +@testable import TableProEditorKit +import TableProTextEngine import Testing /// The gutter's chevron and a collapsed fold's placeholder are two controls onto the same fold, so both report which diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldPlaceholderClickTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldPlaceholderClickTests.swift similarity index 93% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldPlaceholderClickTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldPlaceholderClickTests.swift index 316ee1dec3..15eb34cfeb 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldPlaceholderClickTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldPlaceholderClickTests.swift @@ -1,11 +1,11 @@ // // LineFoldPlaceholderClickTests.swift -// CodeEditSourceEditor +// TableProEditorKit // import AppKit -@testable import CodeEditSourceEditor -import CodeEditTextView +@testable import TableProEditorKit +import TableProTextEngine import Testing /// A placeholder stands in for code the reader asked to hide and now wants back, so one click brings it back rather diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldRibbonLookupTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldRibbonLookupTests.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldRibbonLookupTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldRibbonLookupTests.swift index 5a3534cb85..118c972ee7 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldRibbonLookupTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldRibbonLookupTests.swift @@ -1,11 +1,11 @@ // // LineFoldRibbonLookupTests.swift -// CodeEditSourceEditor +// TableProEditorKit // import AppKit -@testable import CodeEditSourceEditor -import CodeEditTextView +@testable import TableProEditorKit +import TableProTextEngine import Testing /// The ribbon draws one chevron per line that opens a fold, and that chevron has to fold the largest block starting diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldStorageTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldStorageTests.swift similarity index 96% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldStorageTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldStorageTests.swift index 08e94d1523..3e81e35f17 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldStorageTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldStorageTests.swift @@ -1,11 +1,11 @@ // // LineFoldStorageTests.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 5/29/25. // -@testable import CodeEditSourceEditor +@testable import TableProEditorKit import Testing struct LineFoldStorageTests { diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldingModelTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldingModelTests.swift similarity index 96% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldingModelTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldingModelTests.swift index 750b1faa98..2ad1e47087 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/LineFoldingTests/LineFoldingModelTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/LineFoldingTests/LineFoldingModelTests.swift @@ -1,13 +1,13 @@ // // LineFoldingModelTests.swift -// CodeEditSourceEditor +// TableProEditorKit // // Created by Khan Winter on 5/8/25. // import AppKit -@testable import CodeEditSourceEditor -import CodeEditTextView +@testable import TableProEditorKit +import TableProTextEngine import Testing @MainActor diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Mock.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/Mock.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Mock.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/Mock.swift index 3c98876d61..daa44928f8 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/Mock.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/Mock.swift @@ -1,8 +1,8 @@ import AppKit -@testable import CodeEditSourceEditor -import CodeEditTextView import Foundation +@testable import TableProEditorKit import TableProGrammars +import TableProTextEngine class MockHighlightProvider: HighlightProviding { var onSetUp: (CodeLanguage) -> Void diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/RangeStoreTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/RangeStoreTests.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/RangeStoreTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/RangeStoreTests.swift index 5a250a5576..2b39dcb514 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/RangeStoreTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/RangeStoreTests.swift @@ -1,4 +1,4 @@ -@testable import CodeEditSourceEditor +@testable import TableProEditorKit import Testing extension RangeStore { diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/RepresentableSyncPhaseTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/RepresentableSyncPhaseTests.swift similarity index 97% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/RepresentableSyncPhaseTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/RepresentableSyncPhaseTests.swift index 5df73d2f92..472959a5a3 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/RepresentableSyncPhaseTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/RepresentableSyncPhaseTests.swift @@ -1,6 +1,6 @@ import XCTest -@testable import CodeEditSourceEditor +@testable import TableProEditorKit final class RepresentableSyncPhaseTests: XCTestCase { @MainActor diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/SourceEditorBindingSyncTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/SourceEditorBindingSyncTests.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/SourceEditorBindingSyncTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/SourceEditorBindingSyncTests.swift index 77b9ff18b3..e1021ba2f0 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/SourceEditorBindingSyncTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/SourceEditorBindingSyncTests.swift @@ -2,8 +2,8 @@ import AppKit import SwiftUI import XCTest -@testable import CodeEditSourceEditor -import CodeEditTextView +@testable import TableProEditorKit +import TableProTextEngine final class SourceEditorBindingSyncTests: XCTestCase { var controller: TextViewController! diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/SourceEditorScrollViewTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/SourceEditorScrollViewTests.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/SourceEditorScrollViewTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/SourceEditorScrollViewTests.swift index fa140f79a0..d61815a959 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/SourceEditorScrollViewTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/SourceEditorScrollViewTests.swift @@ -1,11 +1,11 @@ // // SourceEditorScrollViewTests.swift -// CodeEditSourceEditor +// TableProEditorKit // import AppKit -@testable import CodeEditSourceEditor -import CodeEditTextView +@testable import TableProEditorKit +import TableProTextEngine import Testing /// The editor's scroll view reserves the room its floating views take on the clip view (#2709). diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/TreeSitterClientTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/TreeSitterClientTests.swift similarity index 99% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/TreeSitterClientTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/TreeSitterClientTests.swift index 6a45f51388..00e57e60c8 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/TreeSitterClientTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/TreeSitterClientTests.swift @@ -1,5 +1,5 @@ -@testable import CodeEditSourceEditor -import CodeEditTextView +@testable import TableProEditorKit +import TableProTextEngine import XCTest // swiftlint:disable all diff --git a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/TreeSitterExecutorTests.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/TreeSitterExecutorTests.swift similarity index 98% rename from LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/TreeSitterExecutorTests.swift rename to Packages/TableProEditor/Tests/TableProEditorKitTests/TreeSitterExecutorTests.swift index b40d0c5cfd..141130d4cf 100644 --- a/LocalPackages/CodeEditSourceEditor/Tests/CodeEditSourceEditorTests/TreeSitterExecutorTests.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/TreeSitterExecutorTests.swift @@ -1,7 +1,7 @@ import Foundation import Testing -@testable import CodeEditSourceEditor +@testable import TableProEditorKit @Suite("Tree-sitter executor") struct TreeSitterExecutorTests { diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/AccessibilityTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/AccessibilityTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/AccessibilityTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/AccessibilityTests.swift index a5d449a362..568e1e4606 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/AccessibilityTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/AccessibilityTests.swift @@ -1,12 +1,12 @@ // // AccessibilityTests.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 7/17/25. // import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing @MainActor diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/ClippedLineDrawingFixtures.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/ClippedLineDrawingFixtures.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/ClippedLineDrawingFixtures.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/ClippedLineDrawingFixtures.swift index c4541a1dab..1878547b02 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/ClippedLineDrawingFixtures.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/ClippedLineDrawingFixtures.swift @@ -1,6 +1,6 @@ import AppKit -@testable import CodeEditTextView import CoreText +@testable import TableProTextEngine /// Names a line the plan has to judge, so a parameterised failure prints something readable. struct ClippedLineDrawingCase: CustomStringConvertible, Sendable { diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/ClippedLineDrawingRenderingTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/ClippedLineDrawingRenderingTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/ClippedLineDrawingRenderingTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/ClippedLineDrawingRenderingTests.swift index 7a13ca3100..fcd029ddde 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/ClippedLineDrawingRenderingTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/ClippedLineDrawingRenderingTests.swift @@ -1,6 +1,6 @@ import AppKit -@testable import CodeEditTextView import CoreText +@testable import TableProTextEngine import Testing @Suite("Clipped line drawing renders the same pixels") diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/ClippedLineDrawingTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/ClippedLineDrawingTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/ClippedLineDrawingTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/ClippedLineDrawingTests.swift index 4f1f3df60c..cf4d7c45a9 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/ClippedLineDrawingTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/ClippedLineDrawingTests.swift @@ -1,6 +1,6 @@ import AppKit -@testable import CodeEditTextView import CoreText +@testable import TableProTextEngine import Testing @Suite("Clipped line drawing") diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/CmdShiftLeftAtEndOfDocumentTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/CmdShiftLeftAtEndOfDocumentTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/CmdShiftLeftAtEndOfDocumentTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/CmdShiftLeftAtEndOfDocumentTests.swift index a1df2a60dd..472e8c222c 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/CmdShiftLeftAtEndOfDocumentTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/CmdShiftLeftAtEndOfDocumentTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing /// Regression tests for word-granularity selection extension when the cursor diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/CmdUpAtEndOfDocumentTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/CmdUpAtEndOfDocumentTests.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/CmdUpAtEndOfDocumentTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/CmdUpAtEndOfDocumentTests.swift index 68762a58f6..13e12435bf 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/CmdUpAtEndOfDocumentTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/CmdUpAtEndOfDocumentTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing /// Regression tests for vertical cursor moves when the cursor sits at the end of a line, diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/CopyPasteTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/CopyPasteTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/CopyPasteTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/CopyPasteTests.swift index 8788454c0b..3a02f85289 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/CopyPasteTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/CopyPasteTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing /// Regression tests for issue #2172, "sometimes pasting does not work". diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/CutLineTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/CutLineTests.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/CutLineTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/CutLineTests.swift index b347827f7c..849715290e 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/CutLineTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/CutLineTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing /// Covers the empty-selection line cut that backs Cmd+X cutting the current diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/EmphasisGeometryUpdateTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/EmphasisGeometryUpdateTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/EmphasisGeometryUpdateTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/EmphasisGeometryUpdateTests.swift index d3ef30e630..77c78c441b 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/EmphasisGeometryUpdateTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/EmphasisGeometryUpdateTests.swift @@ -1,6 +1,6 @@ import AppKit -@testable import CodeEditTextView import Foundation +@testable import TableProTextEngine import Testing /// Emphasis geometry follows the layout pass, not the drawing call. diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/EmphasisManagerTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/EmphasisManagerTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/EmphasisManagerTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/EmphasisManagerTests.swift index b88f377f7e..3d567d1734 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/EmphasisManagerTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/EmphasisManagerTests.swift @@ -1,6 +1,6 @@ import AppKit -@testable import CodeEditTextView import Foundation +@testable import TableProTextEngine import Testing @Suite() diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/IMEInputTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/IMEInputTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/IMEInputTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/IMEInputTests.swift index 3986b5ea36..d3b5e78067 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/IMEInputTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/IMEInputTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing /// Regression tests for IME commits (Pinyin / Rime / any system that uses marked text). diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/KillRingTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/KillRingTests.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/KillRingTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/KillRingTests.swift index 85726c10ea..d3ae1a3662 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/KillRingTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/KillRingTests.swift @@ -1,4 +1,4 @@ -@testable import CodeEditTextView +@testable import TableProTextEngine import XCTest class KillRingTests: XCTestCase { diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/LayoutManager/OverridingLayoutManagerRenderingTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/LayoutManager/OverridingLayoutManagerRenderingTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/LayoutManager/OverridingLayoutManagerRenderingTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/LayoutManager/OverridingLayoutManagerRenderingTests.swift index dceaf82d76..aab5f53969 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/LayoutManager/OverridingLayoutManagerRenderingTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/LayoutManager/OverridingLayoutManagerRenderingTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing class MockRenderDelegate: TextLayoutManagerRenderDelegate { diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/LayoutManager/TextLayoutManagerAttachmentsTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/LayoutManager/TextLayoutManagerAttachmentsTests.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/LayoutManager/TextLayoutManagerAttachmentsTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/LayoutManager/TextLayoutManagerAttachmentsTests.swift index 40e64a415e..7ed482fdc3 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/LayoutManager/TextLayoutManagerAttachmentsTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/LayoutManager/TextLayoutManagerAttachmentsTests.swift @@ -1,12 +1,12 @@ // // TextLayoutManagerAttachmentsTests.swift -// CodeEditTextView +// TableProTextEngine // // Created by Khan Winter on 5/5/25. // import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing @Suite diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/LayoutManager/TextLayoutManagerFragmentViewTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/LayoutManager/TextLayoutManagerFragmentViewTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/LayoutManager/TextLayoutManagerFragmentViewTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/LayoutManager/TextLayoutManagerFragmentViewTests.swift index 7db4d533da..21079ffe1d 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/LayoutManager/TextLayoutManagerFragmentViewTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/LayoutManager/TextLayoutManagerFragmentViewTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing @Suite diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/LayoutManager/TextLayoutManagerLineWidthTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/LayoutManager/TextLayoutManagerLineWidthTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/LayoutManager/TextLayoutManagerLineWidthTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/LayoutManager/TextLayoutManagerLineWidthTests.swift index 923de003da..d614ab3ddc 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/LayoutManager/TextLayoutManagerLineWidthTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/LayoutManager/TextLayoutManagerLineWidthTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing /// The document is as wide as the widest line it still has, in both directions (#2709). diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/LayoutManager/TextLayoutManagerTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/LayoutManager/TextLayoutManagerTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/LayoutManager/TextLayoutManagerTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/LayoutManager/TextLayoutManagerTests.swift index 023f6a40cb..651d4e2ff2 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/LayoutManager/TextLayoutManagerTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/LayoutManager/TextLayoutManagerTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing extension TextLineStorage { diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/LineEndingTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/LineEndingTests.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/LineEndingTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/LineEndingTests.swift index e3068c7ea8..fd63f6a69d 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/LineEndingTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/LineEndingTests.swift @@ -1,4 +1,4 @@ -@testable import CodeEditTextView +@testable import TableProTextEngine import XCTest class LineEndingTests: XCTestCase { diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/LineFragmentRendererTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/LineFragmentRendererTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/LineFragmentRendererTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/LineFragmentRendererTests.swift index fd8aac3afd..74f58b09a9 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/LineFragmentRendererTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/LineFragmentRendererTests.swift @@ -1,6 +1,6 @@ import AppKit -@testable import CodeEditTextView import CoreText +@testable import TableProTextEngine import Testing /// Counts how often the renderer reaches for the document's text. diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/LineSeparatorLineModelTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/LineSeparatorLineModelTests.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/LineSeparatorLineModelTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/LineSeparatorLineModelTests.swift index 12bde1d737..c6064e1eca 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/LineSeparatorLineModelTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/LineSeparatorLineModelTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing @Suite("Lines break at LF, CR and CRLF only") diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/MarkedTextTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/MarkedTextTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/MarkedTextTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/MarkedTextTests.swift index e938295d9f..68f26a144b 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/MarkedTextTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/MarkedTextTests.swift @@ -1,4 +1,4 @@ -@testable import CodeEditTextView +@testable import TableProTextEngine import XCTest class MarkedTextTests: XCTestCase { diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/NSBezierPathSmoothPathTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/NSBezierPathSmoothPathTests.swift similarity index 96% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/NSBezierPathSmoothPathTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/NSBezierPathSmoothPathTests.swift index 5585e0fb8a..c88dc6722b 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/NSBezierPathSmoothPathTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/NSBezierPathSmoothPathTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing @Suite() diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/NSTextInputRangeGuardTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/NSTextInputRangeGuardTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/NSTextInputRangeGuardTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/NSTextInputRangeGuardTests.swift index 5876968172..e2830c813e 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/NSTextInputRangeGuardTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/NSTextInputRangeGuardTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing /// Input services, accessibility clients and the view's own marked-text bookkeeping all hand the diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/SelectAllWithTrailingNewlineTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/SelectAllWithTrailingNewlineTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/SelectAllWithTrailingNewlineTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/SelectAllWithTrailingNewlineTests.swift index 62491ad10b..182fd49f59 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/SelectAllWithTrailingNewlineTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/SelectAllWithTrailingNewlineTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing /// Regression tests for Cmd+A (`selectAll:`) when the buffer has a trailing diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/SelectionBehaviourTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/SelectionBehaviourTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/SelectionBehaviourTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/SelectionBehaviourTests.swift index a787ea4cdc..9346a0e56b 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/SelectionBehaviourTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/SelectionBehaviourTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing private final class InvalidationSpy: TextSelectionManagerDelegate { diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/SelectionGeometryTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/SelectionGeometryTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/SelectionGeometryTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/SelectionGeometryTests.swift index aec034f785..73ea42510b 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/SelectionGeometryTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/SelectionGeometryTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing /// A delegate that reports a viewport unrelated to the rect being drawn. diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/SpecialCharacterLayoutTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/SpecialCharacterLayoutTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/SpecialCharacterLayoutTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/SpecialCharacterLayoutTests.swift index 24715f3c76..2e38488bdf 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/SpecialCharacterLayoutTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/SpecialCharacterLayoutTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing @Suite("Special character layout") diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/SpecialCharacterTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/SpecialCharacterTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/SpecialCharacterTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/SpecialCharacterTests.swift index 57e981a700..2de042c827 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/SpecialCharacterTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/SpecialCharacterTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing @Suite("Special character classification") diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/TextInputControlCharacterTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/TextInputControlCharacterTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/TextInputControlCharacterTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/TextInputControlCharacterTests.swift index f29eaf7735..f531d83ecd 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/TextInputControlCharacterTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/TextInputControlCharacterTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing @Suite("Control characters from text input") diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/TextLayoutLineStorageTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/TextLayoutLineStorageTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/TextLayoutLineStorageTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/TextLayoutLineStorageTests.swift index d21511b84b..b6b7a07f58 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/TextLayoutLineStorageTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/TextLayoutLineStorageTests.swift @@ -1,4 +1,4 @@ -@testable import CodeEditTextView +@testable import TableProTextEngine import XCTest fileprivate extension CGFloat { diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/TextLineDisplayRangeTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/TextLineDisplayRangeTests.swift similarity index 97% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/TextLineDisplayRangeTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/TextLineDisplayRangeTests.swift index 54d9faf5d0..5ecb9c2436 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/TextLineDisplayRangeTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/TextLineDisplayRangeTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing /// The line storage is updated from the edited range and can be longer than the string it indexes diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/TextSelectionManagerTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/TextSelectionManagerTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/TextSelectionManagerTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/TextSelectionManagerTests.swift index 4e90b637cb..99c7d7f448 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/TextSelectionManagerTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/TextSelectionManagerTests.swift @@ -1,4 +1,4 @@ -@testable import CodeEditTextView +@testable import TableProTextEngine import XCTest final class TextSelectionManagerTests: XCTestCase { diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/TextViewDragImageTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/TextViewDragImageTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/TextViewDragImageTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/TextViewDragImageTests.swift index 255dc95b5d..2c0e1a5628 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/TextViewDragImageTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/TextViewDragImageTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing /// The image the user drags covers what they can see of the selection, never the whole document. diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/TextViewScrollInsetsTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/TextViewScrollInsetsTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/TextViewScrollInsetsTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/TextViewScrollInsetsTests.swift index 02057c5dfe..e0d79a6292 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/TextViewScrollInsetsTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/TextViewScrollInsetsTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing /// A text view keeps its text out from under whatever its scroll view reserves over the leading and trailing edges diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/TextViewTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/TextViewTests.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/TextViewTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/TextViewTests.swift index b1b85a5873..a6ed5afbb4 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/TextViewTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/TextViewTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing @Suite diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/TypesetterTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/TypesetterTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/TypesetterTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/TypesetterTests.swift index 91fd8cc6f7..2c8560dc94 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/TypesetterTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/TypesetterTests.swift @@ -1,4 +1,4 @@ -@testable import CodeEditTextView +@testable import TableProTextEngine import XCTest final class DemoTextAttachment: TextAttachment { diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/VisualLineEndOfDocumentTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/VisualLineEndOfDocumentTests.swift similarity index 98% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/VisualLineEndOfDocumentTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/VisualLineEndOfDocumentTests.swift index c273d0e73c..fe043b78d8 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/VisualLineEndOfDocumentTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/VisualLineEndOfDocumentTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing /// Regression tests for cmd+arrow (visualLine destination) when the cursor sits at, or one diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/WordNavigationUnicodeTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/WordNavigationUnicodeTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/WordNavigationUnicodeTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/WordNavigationUnicodeTests.swift index a2894aea40..838cc58973 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/WordNavigationUnicodeTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/WordNavigationUnicodeTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing @Suite diff --git a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/WordSelectionTests.swift b/Packages/TableProEditor/Tests/TableProTextEngineTests/WordSelectionTests.swift similarity index 99% rename from LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/WordSelectionTests.swift rename to Packages/TableProEditor/Tests/TableProTextEngineTests/WordSelectionTests.swift index 9781f202ee..68b71c18aa 100644 --- a/LocalPackages/CodeEditTextView/Tests/CodeEditTextViewTests/WordSelectionTests.swift +++ b/Packages/TableProEditor/Tests/TableProTextEngineTests/WordSelectionTests.swift @@ -1,5 +1,5 @@ import AppKit -@testable import CodeEditTextView +@testable import TableProTextEngine import Testing @Suite diff --git a/TablePro.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/TablePro.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 7a05d47328..b9f2986d36 100644 --- a/TablePro.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/TablePro.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -80,15 +80,6 @@ "version" : "4.2.0" } }, - { - "identity" : "swift-custom-dump", - "kind" : "remoteSourceControl", - "location" : "https://github.com/pointfreeco/swift-custom-dump", - "state" : { - "revision" : "e9c34fd54ece006b491a0e6d23fe9a6024b9a828", - "version" : "1.7.0" - } - }, { "identity" : "swift-distributed-tracing", "kind" : "remoteSourceControl", @@ -206,15 +197,6 @@ "version" : "0.25.10" } }, - { - "identity" : "xctest-dynamic-overlay", - "kind" : "remoteSourceControl", - "location" : "https://github.com/pointfreeco/xctest-dynamic-overlay", - "state" : { - "revision" : "8f6abcf4c8950e2679d5b2fee4ca284fd7c34886", - "version" : "1.11.0" - } - }, { "identity" : "yams", "kind" : "remoteSourceControl", diff --git a/TablePro/Core/AI/InlineSuggestion/GhostTextRenderer.swift b/TablePro/Core/AI/InlineSuggestion/GhostTextRenderer.swift index 11aeb1e88f..1370dd3509 100644 --- a/TablePro/Core/AI/InlineSuggestion/GhostTextRenderer.swift +++ b/TablePro/Core/AI/InlineSuggestion/GhostTextRenderer.swift @@ -4,9 +4,9 @@ // @preconcurrency import AppKit -import CodeEditSourceEditor -import CodeEditTextView import os +import TableProEditorKit +import TableProTextEngine @MainActor final class GhostTextRenderer { @@ -54,7 +54,7 @@ final class GhostTextRenderer { attributes: attrs ) - // isFlipped = true in CodeEditTextView, so y=0 is top — coords match layoutManager directly + // isFlipped = true in TableProTextEngine, so y=0 is top — coords match layoutManager directly layer.frame = CGRect( x: rect.origin.x, y: rect.origin.y, diff --git a/TablePro/Core/AI/InlineSuggestion/InlineSuggestionManager.swift b/TablePro/Core/AI/InlineSuggestion/InlineSuggestionManager.swift index 71d4b73559..455b207ca2 100644 --- a/TablePro/Core/AI/InlineSuggestion/InlineSuggestionManager.swift +++ b/TablePro/Core/AI/InlineSuggestion/InlineSuggestionManager.swift @@ -4,9 +4,9 @@ // @preconcurrency import AppKit -import CodeEditSourceEditor -import CodeEditTextView import os +import TableProEditorKit +import TableProTextEngine @MainActor final class InlineSuggestionManager { diff --git a/TablePro/Core/Services/Infrastructure/ClipboardService.swift b/TablePro/Core/Services/Infrastructure/ClipboardService.swift index 7d520e9cfb..6440713766 100644 --- a/TablePro/Core/Services/Infrastructure/ClipboardService.swift +++ b/TablePro/Core/Services/Infrastructure/ClipboardService.swift @@ -4,8 +4,8 @@ // import AppKit -import CodeEditTextView import TableProPluginKit +import TableProTextEngine import UniformTypeIdentifiers struct GridRowsClipboardPayload: Codable, Equatable { diff --git a/TablePro/Core/Utilities/SQL/InvisibleCharacterRemover.swift b/TablePro/Core/Utilities/SQL/InvisibleCharacterRemover.swift index d98ccb39f4..77c4f7e8ca 100644 --- a/TablePro/Core/Utilities/SQL/InvisibleCharacterRemover.swift +++ b/TablePro/Core/Utilities/SQL/InvisibleCharacterRemover.swift @@ -3,8 +3,8 @@ // TablePro // -import CodeEditTextView import Foundation +import TableProTextEngine internal enum InvisibleCharacterRemover { private static let lineBreaks: Set = [0x85, 0x2028, 0x2029] diff --git a/TablePro/Core/Utilities/Text/RevealedText.swift b/TablePro/Core/Utilities/Text/RevealedText.swift index 29033a2ca0..b33f0f8795 100644 --- a/TablePro/Core/Utilities/Text/RevealedText.swift +++ b/TablePro/Core/Utilities/Text/RevealedText.swift @@ -3,8 +3,8 @@ // TablePro // -import CodeEditTextView import Foundation +import TableProTextEngine internal struct RevealedText: Equatable, Sendable { internal enum Segment: Equatable, Sendable { diff --git a/TablePro/Core/Vim/VimCursorManager.swift b/TablePro/Core/Vim/VimCursorManager.swift index 37324754c5..e181d6a530 100644 --- a/TablePro/Core/Vim/VimCursorManager.swift +++ b/TablePro/Core/Vim/VimCursorManager.swift @@ -6,15 +6,15 @@ // Shows a block cursor (character-width rectangle) in Normal/Visual modes // and hides it to show the default I-beam cursor in Insert mode. // -// On macOS 14+, CodeEditTextView uses NSTextInsertionIndicator (system cursor) +// On macOS 14+, TableProTextEngine uses NSTextInsertionIndicator (system cursor) // instead of its internal CursorView. Setting insertionPointColor only affects // CursorView, so we must directly set displayMode on NSTextInsertionIndicator // subviews to hide/show the I-beam. // import AppKit -import CodeEditTextView import os +import TableProTextEngine /// Manages Vim-style block cursor rendering on the text view @MainActor @@ -114,7 +114,7 @@ final class VimCursorManager { // Ensure system cursor stays hidden (it can be recreated during selection changes). // Hide immediately, then defer another hide to catch cursor views that - // CodeEditTextView creates after the selection change notification fires + // TableProTextEngine creates after the selection change notification fires // (e.g., double-click word selection recreates NSTextInsertionIndicator views). hideSystemCursor() scheduleDeferredHide() diff --git a/TablePro/Core/Vim/VimEngine+InsertReplace.swift b/TablePro/Core/Vim/VimEngine+InsertReplace.swift index 4a98d00e58..ea721bd704 100644 --- a/TablePro/Core/Vim/VimEngine+InsertReplace.swift +++ b/TablePro/Core/Vim/VimEngine+InsertReplace.swift @@ -3,8 +3,8 @@ // TablePro // -import CodeEditTextView import Foundation +import TableProTextEngine enum VimInsertControl: Character { case outdentLine = "\u{04}" diff --git a/TablePro/Core/Vim/VimEngine+Operators.swift b/TablePro/Core/Vim/VimEngine+Operators.swift index 2b1a4e17cb..ef2c795ddc 100644 --- a/TablePro/Core/Vim/VimEngine+Operators.swift +++ b/TablePro/Core/Vim/VimEngine+Operators.swift @@ -3,8 +3,8 @@ // TablePro // -import CodeEditTextView import Foundation +import TableProTextEngine extension VimEngine { func executeOperatorWithMotion( diff --git a/TablePro/Core/Vim/VimKeyInterceptor.swift b/TablePro/Core/Vim/VimKeyInterceptor.swift index 7cbbeba48e..964b5de325 100644 --- a/TablePro/Core/Vim/VimKeyInterceptor.swift +++ b/TablePro/Core/Vim/VimKeyInterceptor.swift @@ -6,9 +6,9 @@ // @preconcurrency import AppKit -import CodeEditSourceEditor -import CodeEditTextView import os +import TableProEditorKit +import TableProTextEngine /// Which window a key event seen by the app-wide monitor belongs to enum VimKeyEventScope: Equatable { diff --git a/TablePro/Core/Vim/VimTextBufferAdapter.swift b/TablePro/Core/Vim/VimTextBufferAdapter.swift index 5747c5e914..cf6e958d33 100644 --- a/TablePro/Core/Vim/VimTextBufferAdapter.swift +++ b/TablePro/Core/Vim/VimTextBufferAdapter.swift @@ -2,14 +2,14 @@ // VimTextBufferAdapter.swift // TablePro // -// Adapts CodeEditTextView's TextView to the VimTextBuffer protocol +// Adapts TableProTextEngine's TextView to the VimTextBuffer protocol // import AppKit -import CodeEditTextView import Foundation +import TableProTextEngine -/// Bridges CodeEditTextView's TextView to VimTextBuffer for the Vim engine +/// Bridges TableProTextEngine's TextView to VimTextBuffer for the Vim engine @MainActor final class VimTextBufferAdapter: VimTextBuffer { private weak var textView: TextView? diff --git a/TablePro/Resources/ThirdPartyLicenses/licenses.yml b/TablePro/Resources/ThirdPartyLicenses/licenses.yml index 414fb68601..120d3cf1b9 100644 --- a/TablePro/Resources/ThirdPartyLicenses/licenses.yml +++ b/TablePro/Resources/ThirdPartyLicenses/licenses.yml @@ -23,7 +23,7 @@ Zero `$s6BigInt` symbols in the app dylib. - id: codeeditsourceeditor name: CodeEditSourceEditor - version: vendored (no upstream tag recorded in the tree) + version: vendored at 1fa4d3c3f, 2026-03; see Packages/TableProEditor/ORIGIN.md spdx: MIT copyrights: - Copyright (c) 2022 CodeEdit @@ -32,13 +32,14 @@ textFile: texts/codeeditsourceeditor.txt source: manual patched: false - notes: 'LICENSE.md present at the package root. First 3 lines: "MIT License" / "" / "Copyright (c) 2022 - CodeEdit". Vendored fork with local modifications (its Package.swift points CodeEditTextView and TableProGrammars - at local paths). MIT requires the copyright notice and permission notice be reproduced. Confirmed - linked: 83+ `$s21CodeEditSourceEditor` symbols in the app dylib.' + notes: 'Vendored as the TableProEditorKit target of Packages/TableProEditor. The notice travels with + the sources at Packages/TableProEditor/LICENSE-CodeEditSourceEditor.md, and ORIGIN.md beside it records + the upstream commit and what TablePro changed. First 3 lines of the notice: "MIT License" / "" / + "Copyright (c) 2022 CodeEdit". MIT requires the copyright notice and permission notice be reproduced. + Heavily modified: roughly 7,000 lines of TablePro source across this target and TableProTextEngine.' - id: codeedittextview name: CodeEditTextView - version: vendored (no upstream tag recorded in the tree) + version: vendored at d7ac3f11f, 2026-03; see Packages/TableProEditor/ORIGIN.md spdx: MIT copyrights: - Copyright (c) 2023 CodeEdit @@ -47,9 +48,9 @@ textFile: texts/codeedittextview.txt source: manual patched: false - notes: 'LICENSE.md present at the package root. First 3 lines: "MIT License" / "" / "Copyright (c) 2023 - CodeEdit". Note the year differs from CodeEditSourceEditor (2023 vs 2022), so the two notices are - NOT interchangeable.' + notes: 'Vendored as the TableProTextEngine and TableProTextEngineObjC targets of Packages/TableProEditor. + The notice travels with the sources at Packages/TableProEditor/LICENSE-CodeEditTextView.md. Note the + year differs from CodeEditSourceEditor (2023 vs 2022), so the two notices are NOT interchangeable.' - id: cassandra-cpp-driver name: DataStax C/C++ Driver for Apache Cassandra version: 2.17.1 diff --git a/TablePro/Theme/ThemeEngine.swift b/TablePro/Theme/ThemeEngine.swift index 165c5afdc1..506933d46f 100644 --- a/TablePro/Theme/ThemeEngine.swift +++ b/TablePro/Theme/ThemeEngine.swift @@ -7,12 +7,12 @@ // import AppKit -import CodeEditSourceEditor import Combine import Foundation import Observation import os import SwiftUI +import TableProEditorKit // MARK: - Font Caches @@ -280,7 +280,7 @@ internal final class ThemeEngine { self.wordWrap = wordWrap } - // MARK: - CodeEditSourceEditor Theme + // MARK: - TableProEditorKit Theme func makeEditorTheme() -> EditorTheme { let c = colors.editor diff --git a/TablePro/Views/AIChat/AIChatCodeBlockView.swift b/TablePro/Views/AIChat/AIChatCodeBlockView.swift index 4fdb2146c8..c9de2f144c 100644 --- a/TablePro/Views/AIChat/AIChatCodeBlockView.swift +++ b/TablePro/Views/AIChat/AIChatCodeBlockView.swift @@ -4,8 +4,8 @@ // import AppKit -import CodeEditSourceEditor import SwiftUI +import TableProEditorKit import TableProGrammars struct AIChatCodeBlockView: View, Equatable { diff --git a/TablePro/Views/Components/SQLReviewSheet.swift b/TablePro/Views/Components/SQLReviewSheet.swift index 44d9acd0c2..2baa5b2859 100644 --- a/TablePro/Views/Components/SQLReviewSheet.swift +++ b/TablePro/Views/Components/SQLReviewSheet.swift @@ -4,8 +4,8 @@ // import AppKit -import CodeEditSourceEditor import SwiftUI +import TableProEditorKit import TableProGrammars import TableProPluginKit diff --git a/TablePro/Views/Editor/EditorEventRouter.swift b/TablePro/Views/Editor/EditorEventRouter.swift index 1983d32780..9e5aacdea4 100644 --- a/TablePro/Views/Editor/EditorEventRouter.swift +++ b/TablePro/Views/Editor/EditorEventRouter.swift @@ -7,7 +7,7 @@ // @preconcurrency import AppKit -import CodeEditTextView +import TableProTextEngine @MainActor internal final class EditorEventRouter { diff --git a/TablePro/Views/Editor/EditorPeripherals.swift b/TablePro/Views/Editor/EditorPeripherals.swift index e31bbf158f..f8f7de7a5f 100644 --- a/TablePro/Views/Editor/EditorPeripherals.swift +++ b/TablePro/Views/Editor/EditorPeripherals.swift @@ -3,7 +3,7 @@ // TablePro // -import CodeEditSourceEditor +import TableProEditorKit /// Builds the gutter and rail settings every code editor in the app shares. /// diff --git a/TablePro/Views/Editor/Folding/FoldPreviewController.swift b/TablePro/Views/Editor/Folding/FoldPreviewController.swift index 9158bc5c56..ea0e551567 100644 --- a/TablePro/Views/Editor/Folding/FoldPreviewController.swift +++ b/TablePro/Views/Editor/Folding/FoldPreviewController.swift @@ -4,8 +4,8 @@ // import AppKit -import CodeEditSourceEditor import SwiftUI +import TableProEditorKit import TableProGrammars /// Shows the block behind a collapsed fold while the pointer rests on its placeholder. @@ -61,7 +61,7 @@ final class FoldPreviewController: NSObject { // MARK: - Hover - /// Reports where the pointer is, from ``CodeEditSourceEditor/TextViewCoordinator``. + /// Reports where the pointer is, from ``TableProEditorKit/TextViewCoordinator``. func hoverDidChange(to hit: CollapsedFoldHit?) { guard hit != activeHit else { return } diff --git a/TablePro/Views/Editor/Folding/FoldPreviewView.swift b/TablePro/Views/Editor/Folding/FoldPreviewView.swift index 269b7a8af3..28ab3c19db 100644 --- a/TablePro/Views/Editor/Folding/FoldPreviewView.swift +++ b/TablePro/Views/Editor/Folding/FoldPreviewView.swift @@ -4,8 +4,8 @@ // import AppKit -import CodeEditSourceEditor import SwiftUI +import TableProEditorKit import TableProGrammars /// The block behind a collapsed fold, shown while the pointer rests on its placeholder. diff --git a/TablePro/Views/Editor/Folding/FoldProviderResolver.swift b/TablePro/Views/Editor/Folding/FoldProviderResolver.swift index a5f5fd1732..5707e7e77e 100644 --- a/TablePro/Views/Editor/Folding/FoldProviderResolver.swift +++ b/TablePro/Views/Editor/Folding/FoldProviderResolver.swift @@ -3,7 +3,7 @@ // TablePro // -import CodeEditSourceEditor +import TableProEditorKit import TableProGrammars import TableProPluginKit diff --git a/TablePro/Views/Editor/Folding/SQLLineFoldProvider.swift b/TablePro/Views/Editor/Folding/SQLLineFoldProvider.swift index 268e3193bf..ab2b2437f1 100644 --- a/TablePro/Views/Editor/Folding/SQLLineFoldProvider.swift +++ b/TablePro/Views/Editor/Folding/SQLLineFoldProvider.swift @@ -3,10 +3,10 @@ // TablePro // -import CodeEditSourceEditor -import CodeEditTextView import Foundation +import TableProEditorKit import TableProPluginKit +import TableProTextEngine /// Answers the editor's per-line fold queries from a whole-document scan. /// diff --git a/TablePro/Views/Editor/QueryCompletionAdapter.swift b/TablePro/Views/Editor/QueryCompletionAdapter.swift index 915c16e2c0..836d1144d7 100644 --- a/TablePro/Views/Editor/QueryCompletionAdapter.swift +++ b/TablePro/Views/Editor/QueryCompletionAdapter.swift @@ -2,15 +2,15 @@ // QueryCompletionAdapter.swift // TablePro // -// Bridges a per-language QueryCompletionService to CodeEditSourceEditor's +// Bridges a per-language QueryCompletionService to TableProEditorKit's // CodeSuggestionDelegate. // import AppKit -import CodeEditSourceEditor -import CodeEditTextView import SwiftUI +import TableProEditorKit import TableProPluginKit +import TableProTextEngine @MainActor final class QueryCompletionAdapter: CodeSuggestionDelegate { diff --git a/TablePro/Views/Editor/QueryDiagnosticsController.swift b/TablePro/Views/Editor/QueryDiagnosticsController.swift index 5f4237932f..b229b096dc 100644 --- a/TablePro/Views/Editor/QueryDiagnosticsController.swift +++ b/TablePro/Views/Editor/QueryDiagnosticsController.swift @@ -3,13 +3,13 @@ // TablePro // // Runs the language's diagnostic producer on a debounce and renders the result as underlines -// through CodeEditTextView's EmphasisManager, which owns its own drawing layer. +// through TableProTextEngine's EmphasisManager, which owns its own drawing layer. // import AppKit -import CodeEditSourceEditor -import CodeEditTextView import os +import TableProEditorKit +import TableProTextEngine @MainActor final class QueryDiagnosticsController { diff --git a/TablePro/Views/Editor/QueryEditorView.swift b/TablePro/Views/Editor/QueryEditorView.swift index aa6bfd91b3..24a9c0b096 100644 --- a/TablePro/Views/Editor/QueryEditorView.swift +++ b/TablePro/Views/Editor/QueryEditorView.swift @@ -5,9 +5,9 @@ // SQL query editor wrapper with toolbar // -import CodeEditSourceEditor import os import SwiftUI +import TableProEditorKit import TableProPluginKit /// SQL query editor view with execute button diff --git a/TablePro/Views/Editor/SQLEditorCoordinator+InvisibleCharacters.swift b/TablePro/Views/Editor/SQLEditorCoordinator+InvisibleCharacters.swift index 421f867b79..a12b69428f 100644 --- a/TablePro/Views/Editor/SQLEditorCoordinator+InvisibleCharacters.swift +++ b/TablePro/Views/Editor/SQLEditorCoordinator+InvisibleCharacters.swift @@ -4,9 +4,9 @@ // import AppKit -import CodeEditSourceEditor -import CodeEditTextView +import TableProEditorKit import TableProPluginKit +import TableProTextEngine extension SQLEditorCoordinator { func performRemoveInvisibleCharacters() { diff --git a/TablePro/Views/Editor/SQLEditorCoordinator.swift b/TablePro/Views/Editor/SQLEditorCoordinator.swift index ebbab9e1ed..29a1e28d04 100644 --- a/TablePro/Views/Editor/SQLEditorCoordinator.swift +++ b/TablePro/Views/Editor/SQLEditorCoordinator.swift @@ -2,17 +2,17 @@ // SQLEditorCoordinator.swift // TablePro // -// TextViewCoordinator for the CodeEditSourceEditor-based SQL editor. +// TextViewCoordinator for the TableProEditorKit-based SQL editor. // Handles find panel workarounds and horizontal scrolling fix. // import AppKit -import CodeEditSourceEditor -import CodeEditTextView import Combine import Observation import os +import TableProEditorKit import TableProPluginKit +import TableProTextEngine /// Coordinator for the SQL editor — manages find panel, horizontal scrolling, and scroll-to-match @Observable diff --git a/TablePro/Views/Editor/SQLEditorView.swift b/TablePro/Views/Editor/SQLEditorView.swift index e8073e3c2c..16096d7aad 100644 --- a/TablePro/Views/Editor/SQLEditorView.swift +++ b/TablePro/Views/Editor/SQLEditorView.swift @@ -2,20 +2,20 @@ // SQLEditorView.swift // TablePro // -// SwiftUI wrapper for CodeEditSourceEditor-based SQL editor +// SwiftUI wrapper for TableProEditorKit-based SQL editor // import AppKit -import CodeEditSourceEditor -import CodeEditTextView import Combine import SwiftUI +import TableProEditorKit import TableProGrammars import TableProPluginKit +import TableProTextEngine // MARK: - SQLEditorView -/// SwiftUI SQL editor powered by CodeEditSourceEditor +/// SwiftUI SQL editor powered by TableProEditorKit struct SQLEditorView: View { @Binding var text: String @Binding var cursorPositions: [CursorPosition] diff --git a/TablePro/Views/Editor/StatementRunController.swift b/TablePro/Views/Editor/StatementRunController.swift index f8ac697be8..29722a12d3 100644 --- a/TablePro/Views/Editor/StatementRunController.swift +++ b/TablePro/Views/Editor/StatementRunController.swift @@ -4,9 +4,9 @@ // import AppKit -import CodeEditSourceEditor -import CodeEditTextView +import TableProEditorKit import TableProPluginKit +import TableProTextEngine /// Which way a statement navigation command moves the caret. enum StatementNavigationDirection { diff --git a/TablePro/Views/Editor/TableProEditorTheme.swift b/TablePro/Views/Editor/TableProEditorTheme.swift index 2818cc527f..d3013b9349 100644 --- a/TablePro/Views/Editor/TableProEditorTheme.swift +++ b/TablePro/Views/Editor/TableProEditorTheme.swift @@ -2,13 +2,13 @@ // TableProEditorTheme.swift // TablePro // -// Adapts ThemeEngine colors to CodeEditSourceEditor's EditorTheme. +// Adapts ThemeEngine colors to TableProEditorKit's EditorTheme. // import AppKit -import CodeEditSourceEditor +import TableProEditorKit -/// Maps ThemeEngine's active theme to CodeEditSourceEditor's EditorTheme +/// Maps ThemeEngine's active theme to TableProEditorKit's EditorTheme struct TableProEditorTheme { @MainActor static func make() -> EditorTheme { diff --git a/TablePro/Views/Editor/TextViewController+FindActions.swift b/TablePro/Views/Editor/TextViewController+FindActions.swift index c65201ed6f..ee1d67c769 100644 --- a/TablePro/Views/Editor/TextViewController+FindActions.swift +++ b/TablePro/Views/Editor/TextViewController+FindActions.swift @@ -4,7 +4,7 @@ // import AppKit -import CodeEditSourceEditor +import TableProEditorKit /// The Edit menu's Find items are nil-targeted, so AppKit resolves them through the responder chain. /// `SourceEditor` is an `NSViewControllerRepresentable`, which makes `TextViewController` a child view diff --git a/TablePro/Views/Import/SQLCodePreview.swift b/TablePro/Views/Import/SQLCodePreview.swift index c5e06ff840..a34e21ccef 100644 --- a/TablePro/Views/Import/SQLCodePreview.swift +++ b/TablePro/Views/Import/SQLCodePreview.swift @@ -5,11 +5,11 @@ // Read-only SQL code preview with tree-sitter syntax highlighting // -import CodeEditSourceEditor import SwiftUI +import TableProEditorKit import TableProGrammars -/// Read-only SQL code preview with syntax highlighting powered by CodeEditSourceEditor +/// Read-only SQL code preview with syntax highlighting powered by TableProEditorKit struct SQLCodePreview: View { @Binding var text: String diff --git a/TablePro/Views/Main/Child/MainEditorContentView.swift b/TablePro/Views/Main/Child/MainEditorContentView.swift index 1de69d4ad2..5fe0d48975 100644 --- a/TablePro/Views/Main/Child/MainEditorContentView.swift +++ b/TablePro/Views/Main/Child/MainEditorContentView.swift @@ -7,8 +7,8 @@ // import AppKit -import CodeEditSourceEditor import SwiftUI +import TableProEditorKit import TableProPluginKit /// Identity for the visibility-scoped lazy-load `.task(id:)` modifier on diff --git a/TablePro/Views/Main/Extensions/MainContentCoordinator+Explain.swift b/TablePro/Views/Main/Extensions/MainContentCoordinator+Explain.swift index 3e6cf72bc6..f6e2d8f9eb 100644 --- a/TablePro/Views/Main/Extensions/MainContentCoordinator+Explain.swift +++ b/TablePro/Views/Main/Extensions/MainContentCoordinator+Explain.swift @@ -7,8 +7,8 @@ // gate and is fenced against a superseded result, the same way a normal query is. // -import CodeEditSourceEditor import Foundation +import TableProEditorKit import TableProPluginKit extension MainContentCoordinator { diff --git a/TablePro/Views/Main/Extensions/MainContentCoordinator+TabSwitch.swift b/TablePro/Views/Main/Extensions/MainContentCoordinator+TabSwitch.swift index 3a34fb3946..46150c5fd7 100644 --- a/TablePro/Views/Main/Extensions/MainContentCoordinator+TabSwitch.swift +++ b/TablePro/Views/Main/Extensions/MainContentCoordinator+TabSwitch.swift @@ -6,9 +6,9 @@ // to keep the main class body within SwiftLint limits. // -import CodeEditSourceEditor import Foundation import os +import TableProEditorKit extension MainContentCoordinator { func handleTabChange( diff --git a/TablePro/Views/Main/MainContentCommandActions+TextInputFocus.swift b/TablePro/Views/Main/MainContentCommandActions+TextInputFocus.swift index ef614176c4..a596a25698 100644 --- a/TablePro/Views/Main/MainContentCommandActions+TextInputFocus.swift +++ b/TablePro/Views/Main/MainContentCommandActions+TextInputFocus.swift @@ -54,7 +54,7 @@ extension MainContentCommandActions { } /// `NSTextInputClient` covers every responder that edits text: the SQL editor - /// (`CodeEditTextView.TextView` is `NSView`-based but conforms), an `NSTextView` + /// (`TableProTextEngine.TextView` is `NSView`-based but conforms), an `NSTextView` /// field editor over a grid cell, and the sidebar filter field. It excludes /// `NSTableView` and `NSOutlineView`, so selecting rows or sidebar tables keeps /// the grid commands enabled. diff --git a/TablePro/Views/Main/MainContentCoordinator.swift b/TablePro/Views/Main/MainContentCoordinator.swift index db6c308fae..13817a687a 100644 --- a/TablePro/Views/Main/MainContentCoordinator.swift +++ b/TablePro/Views/Main/MainContentCoordinator.swift @@ -6,12 +6,12 @@ // Separates view logic from presentation for better maintainability. // -import CodeEditSourceEditor import Combine import Foundation import Observation import os import SwiftUI +import TableProEditorKit import TableProPluginKit /// Discard action types for unified alert handling diff --git a/TablePro/Views/Results/JSONCodeEditor.swift b/TablePro/Views/Results/JSONCodeEditor.swift index 79fd161994..458cf9fb6b 100644 --- a/TablePro/Views/Results/JSONCodeEditor.swift +++ b/TablePro/Views/Results/JSONCodeEditor.swift @@ -2,13 +2,13 @@ // JSONCodeEditor.swift // TablePro // -// JSON text view backed by CodeEditSourceEditor (tree-sitter), sharing the +// JSON text view backed by TableProEditorKit (tree-sitter), sharing the // app's editor theme and font with the SQL editor. // import AppKit -import CodeEditSourceEditor import SwiftUI +import TableProEditorKit import TableProGrammars internal struct JSONCodeEditor: View { diff --git a/TablePro/Views/Structure/DDLTextView.swift b/TablePro/Views/Structure/DDLTextView.swift index 05ca37fb35..21f48dae60 100644 --- a/TablePro/Views/Structure/DDLTextView.swift +++ b/TablePro/Views/Structure/DDLTextView.swift @@ -2,15 +2,15 @@ // DDLTextView.swift // TablePro // -// Read-only DDL view with tree-sitter syntax highlighting via CodeEditSourceEditor +// Read-only DDL view with tree-sitter syntax highlighting via TableProEditorKit // -import CodeEditSourceEditor import SwiftUI +import TableProEditorKit import TableProGrammars import TableProPluginKit -/// Read-only DDL display with syntax highlighting powered by CodeEditSourceEditor +/// Read-only DDL display with syntax highlighting powered by TableProEditorKit struct DDLTextView: View { let ddl: String @Binding var fontSize: Double diff --git a/TablePro/Views/Structure/TriggerEditorView.swift b/TablePro/Views/Structure/TriggerEditorView.swift index a55a8b6ec9..a10267fa59 100644 --- a/TablePro/Views/Structure/TriggerEditorView.swift +++ b/TablePro/Views/Structure/TriggerEditorView.swift @@ -5,8 +5,8 @@ // DDL-first editor sheet for creating and editing triggers. // -import CodeEditSourceEditor import SwiftUI +import TableProEditorKit import TableProGrammars import TableProPluginKit diff --git a/TableProTests/Core/AI/InlineSuggestionManagerCompositionTests.swift b/TableProTests/Core/AI/InlineSuggestionManagerCompositionTests.swift index 92cc25311b..7c25753447 100644 --- a/TableProTests/Core/AI/InlineSuggestionManagerCompositionTests.swift +++ b/TableProTests/Core/AI/InlineSuggestionManagerCompositionTests.swift @@ -5,9 +5,9 @@ import AppKit import Carbon.HIToolbox -import CodeEditSourceEditor -import CodeEditTextView @testable import TablePro +import TableProEditorKit +import TableProTextEngine import Testing @MainActor diff --git a/TableProTests/Core/Utilities/SQL/InvisibleCharacterRemoverTests.swift b/TableProTests/Core/Utilities/SQL/InvisibleCharacterRemoverTests.swift index db4ec7cce0..8bbb9cc5aa 100644 --- a/TableProTests/Core/Utilities/SQL/InvisibleCharacterRemoverTests.swift +++ b/TableProTests/Core/Utilities/SQL/InvisibleCharacterRemoverTests.swift @@ -3,10 +3,10 @@ // TableProTests // -import CodeEditTextView import Foundation @testable import TablePro import TableProPluginKit +import TableProTextEngine import Testing @Suite("Remove invisible characters") diff --git a/TableProTests/Core/Utilities/SQL/SQLFoldPlaceholderLabelTests.swift b/TableProTests/Core/Utilities/SQL/SQLFoldPlaceholderLabelTests.swift index 650052a4fb..1c9ab7469c 100644 --- a/TableProTests/Core/Utilities/SQL/SQLFoldPlaceholderLabelTests.swift +++ b/TableProTests/Core/Utilities/SQL/SQLFoldPlaceholderLabelTests.swift @@ -3,10 +3,10 @@ // TableProTests // -import CodeEditSourceEditor import Foundation -import Testing @testable import TablePro +import TableProEditorKit +import Testing @Suite("Fold placeholder summary") struct FoldPlaceholderSummaryTests { diff --git a/TableProTests/Core/Utilities/SQL/StatementBlankTests.swift b/TableProTests/Core/Utilities/SQL/StatementBlankTests.swift index b710825b7d..a1d40f90b1 100644 --- a/TableProTests/Core/Utilities/SQL/StatementBlankTests.swift +++ b/TableProTests/Core/Utilities/SQL/StatementBlankTests.swift @@ -3,9 +3,9 @@ // TableProTests // -import CodeEditTextView import Foundation @testable import TablePro +import TableProTextEngine import Testing @Suite("Statement blank characters") diff --git a/TableProTests/Core/Vim/VimTextBufferAdapterPerfTests.swift b/TableProTests/Core/Vim/VimTextBufferAdapterPerfTests.swift index ab850c87b9..a88d9e6492 100644 --- a/TableProTests/Core/Vim/VimTextBufferAdapterPerfTests.swift +++ b/TableProTests/Core/Vim/VimTextBufferAdapterPerfTests.swift @@ -7,9 +7,9 @@ // import AppKit -import CodeEditTextView -import TableProPluginKit @testable import TablePro +import TableProPluginKit +import TableProTextEngine import Testing @Suite("VimTextBufferAdapter Incremental LineCount") diff --git a/TableProTests/Editor/PasteHighlightCancelTests.swift b/TableProTests/Editor/PasteHighlightCancelTests.swift index 6954a1c244..d2c9ecfda1 100644 --- a/TableProTests/Editor/PasteHighlightCancelTests.swift +++ b/TableProTests/Editor/PasteHighlightCancelTests.swift @@ -13,11 +13,11 @@ // import AppKit -@preconcurrency @testable import CodeEditSourceEditor -import CodeEditTextView import Foundation import Rearrange +@preconcurrency @testable import TableProEditorKit import TableProGrammars +import TableProTextEngine import Testing @MainActor diff --git a/TableProTests/Views/Editor/EditorContextMenuRoutingTests.swift b/TableProTests/Views/Editor/EditorContextMenuRoutingTests.swift index 905d2a6a6d..32dca25433 100644 --- a/TableProTests/Views/Editor/EditorContextMenuRoutingTests.swift +++ b/TableProTests/Views/Editor/EditorContextMenuRoutingTests.swift @@ -9,7 +9,7 @@ // import AppKit -import CodeEditTextView +import TableProTextEngine import Testing @MainActor diff --git a/TableProTests/Views/Editor/EditorControllerFixture.swift b/TableProTests/Views/Editor/EditorControllerFixture.swift index ae1c2aad1b..6bdbcfd116 100644 --- a/TableProTests/Views/Editor/EditorControllerFixture.swift +++ b/TableProTests/Views/Editor/EditorControllerFixture.swift @@ -7,9 +7,9 @@ // import AppKit -@testable import CodeEditSourceEditor -import CodeEditTextView +@testable import TableProEditorKit import TableProGrammars +import TableProTextEngine @MainActor internal enum EditorControllerFixture { diff --git a/TableProTests/Views/Editor/EditorKeyMonitorCompositionTests.swift b/TableProTests/Views/Editor/EditorKeyMonitorCompositionTests.swift index bec24f0647..cec6f2775c 100644 --- a/TableProTests/Views/Editor/EditorKeyMonitorCompositionTests.swift +++ b/TableProTests/Views/Editor/EditorKeyMonitorCompositionTests.swift @@ -5,9 +5,9 @@ import AppKit import Carbon.HIToolbox -@testable import CodeEditSourceEditor -import CodeEditTextView import SwiftUI +@testable import TableProEditorKit +import TableProTextEngine import Testing internal struct EditorKeyChord: Sendable, CustomTestStringConvertible { diff --git a/TableProTests/Views/Editor/EditorLifecycleTeardownTests.swift b/TableProTests/Views/Editor/EditorLifecycleTeardownTests.swift index 85f7b01d71..9ab8e1871b 100644 --- a/TableProTests/Views/Editor/EditorLifecycleTeardownTests.swift +++ b/TableProTests/Views/Editor/EditorLifecycleTeardownTests.swift @@ -9,10 +9,10 @@ // import AppKit -@testable import CodeEditSourceEditor -import CodeEditTextView import SwiftUI @testable import TablePro +@testable import TableProEditorKit +import TableProTextEngine import Testing private final class RecordingCoordinator: TextViewCoordinator { diff --git a/TableProTests/Views/Editor/EditorPeripheralSurfaceTests.swift b/TableProTests/Views/Editor/EditorPeripheralSurfaceTests.swift index 42e82fe3a7..b59d29b245 100644 --- a/TableProTests/Views/Editor/EditorPeripheralSurfaceTests.swift +++ b/TableProTests/Views/Editor/EditorPeripheralSurfaceTests.swift @@ -4,10 +4,10 @@ // import AppKit -@testable import CodeEditSourceEditor -import CodeEditTextView @testable import TablePro +@testable import TableProEditorKit import TableProGrammars +import TableProTextEngine import Testing @MainActor diff --git a/TableProTests/Views/Editor/EditorPeripheralsTests.swift b/TableProTests/Views/Editor/EditorPeripheralsTests.swift index 6a41ad4d92..2821e75c8e 100644 --- a/TableProTests/Views/Editor/EditorPeripheralsTests.swift +++ b/TableProTests/Views/Editor/EditorPeripheralsTests.swift @@ -3,10 +3,10 @@ // TableProTests // -import CodeEditSourceEditor import Foundation -import Testing @testable import TablePro +import TableProEditorKit +import Testing /// A gutter can be shown without line numbers so it can host the fold rail alone, and that is what left a 30pt /// column holding a 14pt control, blank whenever the document had nothing to fold. Every editor in the app builds diff --git a/TableProTests/Views/Editor/FoldCommandBehaviourTests.swift b/TableProTests/Views/Editor/FoldCommandBehaviourTests.swift index f0a5ec6c27..4dd8a237c1 100644 --- a/TableProTests/Views/Editor/FoldCommandBehaviourTests.swift +++ b/TableProTests/Views/Editor/FoldCommandBehaviourTests.swift @@ -4,12 +4,12 @@ // import AppKit -import CodeEditSourceEditor -import CodeEditTextView import Foundation @testable import TablePro +import TableProEditorKit import TableProGrammars import TableProPluginKit +import TableProTextEngine import Testing @Suite("Fold commands") diff --git a/TableProTests/Views/Editor/FoldGutterLayoutTests.swift b/TableProTests/Views/Editor/FoldGutterLayoutTests.swift index 902167c496..89f4dd7d35 100644 --- a/TableProTests/Views/Editor/FoldGutterLayoutTests.swift +++ b/TableProTests/Views/Editor/FoldGutterLayoutTests.swift @@ -4,11 +4,11 @@ // import AppKit -import CodeEditSourceEditor -import CodeEditTextView import Foundation @testable import TablePro +import TableProEditorKit import TableProGrammars +import TableProTextEngine import Testing @Suite("Fold gutter layout") diff --git a/TableProTests/Views/Editor/FoldPreviewHitTestTests.swift b/TableProTests/Views/Editor/FoldPreviewHitTestTests.swift index 1f378f296d..98797dab31 100644 --- a/TableProTests/Views/Editor/FoldPreviewHitTestTests.swift +++ b/TableProTests/Views/Editor/FoldPreviewHitTestTests.swift @@ -4,12 +4,12 @@ // import AppKit -import CodeEditSourceEditor -import CodeEditTextView import Foundation @testable import TablePro +import TableProEditorKit import TableProGrammars import TableProPluginKit +import TableProTextEngine import Testing @Suite("Fold preview hit testing") diff --git a/TableProTests/Views/Editor/GutterHighlightTests.swift b/TableProTests/Views/Editor/GutterHighlightTests.swift index 586ff146ae..34f605f81d 100644 --- a/TableProTests/Views/Editor/GutterHighlightTests.swift +++ b/TableProTests/Views/Editor/GutterHighlightTests.swift @@ -10,8 +10,8 @@ // import AppKit -@testable import CodeEditSourceEditor -import CodeEditTextView +@testable import TableProEditorKit +import TableProTextEngine import Testing @MainActor diff --git a/TableProTests/Views/Editor/QueryCompletionAdapterLifecycleTests.swift b/TableProTests/Views/Editor/QueryCompletionAdapterLifecycleTests.swift index 8b0b3451c0..39294f4522 100644 --- a/TableProTests/Views/Editor/QueryCompletionAdapterLifecycleTests.swift +++ b/TableProTests/Views/Editor/QueryCompletionAdapterLifecycleTests.swift @@ -10,11 +10,11 @@ // deterministically unit-testable; these tests cover the logic the fix relies on. // -import CodeEditSourceEditor -import CodeEditTextView import Foundation @testable import TablePro +import TableProEditorKit import TableProPluginKit +import TableProTextEngine import Testing @Suite("Query Completion Adapter Lifecycle") diff --git a/TableProTests/Views/Editor/QueryDiagnosticsRefreshTests.swift b/TableProTests/Views/Editor/QueryDiagnosticsRefreshTests.swift index dd2e4f15c5..93df95e3b3 100644 --- a/TableProTests/Views/Editor/QueryDiagnosticsRefreshTests.swift +++ b/TableProTests/Views/Editor/QueryDiagnosticsRefreshTests.swift @@ -4,11 +4,11 @@ // import AppKit -@testable import CodeEditSourceEditor -@testable import CodeEditTextView import Foundation import SwiftUI @testable import TablePro +@testable import TableProEditorKit +@testable import TableProTextEngine import Testing @MainActor diff --git a/TableProTests/Views/Editor/QueryEditorLargePasteTests.swift b/TableProTests/Views/Editor/QueryEditorLargePasteTests.swift index 88d431c0ad..b908ee6c92 100644 --- a/TableProTests/Views/Editor/QueryEditorLargePasteTests.swift +++ b/TableProTests/Views/Editor/QueryEditorLargePasteTests.swift @@ -8,14 +8,14 @@ // `HighlightProviderState`, so highlight state and `NSTextStorage` were touched off the main thread // while the main thread was still processing the same edit. // -// These live here rather than in `CodeEditSourceEditorTests` because the TablePro scheme does not +// These live here rather than in `TableProEditorKitTests` because the TablePro scheme does not // run that target, so a test there would never gate a regression. // -@preconcurrency @testable import CodeEditSourceEditor -import CodeEditTextView import Foundation +@preconcurrency @testable import TableProEditorKit import TableProGrammars +import TableProTextEngine import Testing private final class CompletionRecorder: @unchecked Sendable { diff --git a/TableProTests/Views/Editor/RemoveInvisibleCharactersCommandTests.swift b/TableProTests/Views/Editor/RemoveInvisibleCharactersCommandTests.swift index e6bbfe92bc..0b03492993 100644 --- a/TableProTests/Views/Editor/RemoveInvisibleCharactersCommandTests.swift +++ b/TableProTests/Views/Editor/RemoveInvisibleCharactersCommandTests.swift @@ -4,10 +4,10 @@ // import AppKit -@testable import CodeEditSourceEditor -import CodeEditTextView import Foundation @testable import TablePro +@testable import TableProEditorKit +import TableProTextEngine import Testing @MainActor diff --git a/TableProTests/Views/Editor/SQLEditorLongLineScrollTests.swift b/TableProTests/Views/Editor/SQLEditorLongLineScrollTests.swift index f77fc87d39..847dc3b7a9 100644 --- a/TableProTests/Views/Editor/SQLEditorLongLineScrollTests.swift +++ b/TableProTests/Views/Editor/SQLEditorLongLineScrollTests.swift @@ -4,8 +4,8 @@ // import AppKit -@testable import CodeEditSourceEditor -import CodeEditTextView +@testable import TableProEditorKit +import TableProTextEngine import Testing /// Pasting a long line into the query editor and taking it back out leaves the start of every line in view (#2709). diff --git a/TableProTests/Views/Editor/SQLFoldPerformanceGuardTests.swift b/TableProTests/Views/Editor/SQLFoldPerformanceGuardTests.swift index 6ca0fc20a3..ca19acd85f 100644 --- a/TableProTests/Views/Editor/SQLFoldPerformanceGuardTests.swift +++ b/TableProTests/Views/Editor/SQLFoldPerformanceGuardTests.swift @@ -7,12 +7,12 @@ // import AppKit -import CodeEditSourceEditor -import CodeEditTextView import Foundation @testable import TablePro +import TableProEditorKit import TableProGrammars import TableProPluginKit +import TableProTextEngine import Testing @Suite("SQL folding performance guards") diff --git a/TableProTests/Views/Editor/StatementNavigationCommandTests.swift b/TableProTests/Views/Editor/StatementNavigationCommandTests.swift index e0101f2df1..b89d0b6d80 100644 --- a/TableProTests/Views/Editor/StatementNavigationCommandTests.swift +++ b/TableProTests/Views/Editor/StatementNavigationCommandTests.swift @@ -7,12 +7,12 @@ // import AppKit -import CodeEditSourceEditor -import CodeEditTextView import Foundation @testable import TablePro +import TableProEditorKit import TableProGrammars import TableProPluginKit +import TableProTextEngine import Testing @Suite("Statement navigation commands") diff --git a/TableProTests/Views/Editor/StatementRunControllerTests.swift b/TableProTests/Views/Editor/StatementRunControllerTests.swift index c5215e2090..30a34028ed 100644 --- a/TableProTests/Views/Editor/StatementRunControllerTests.swift +++ b/TableProTests/Views/Editor/StatementRunControllerTests.swift @@ -7,12 +7,12 @@ // import AppKit -import CodeEditSourceEditor -import CodeEditTextView import Foundation @testable import TablePro +import TableProEditorKit import TableProGrammars import TableProPluginKit +import TableProTextEngine import Testing @Suite("Statement run controls") diff --git a/TableProTests/Views/Editor/StatementRunPerformanceGuardTests.swift b/TableProTests/Views/Editor/StatementRunPerformanceGuardTests.swift index 2e9a368aed..624697f464 100644 --- a/TableProTests/Views/Editor/StatementRunPerformanceGuardTests.swift +++ b/TableProTests/Views/Editor/StatementRunPerformanceGuardTests.swift @@ -8,12 +8,12 @@ // import AppKit -import CodeEditSourceEditor -import CodeEditTextView import Foundation @testable import TablePro +import TableProEditorKit import TableProGrammars import TableProPluginKit +import TableProTextEngine import Testing @Suite("Statement decoration performance guards") diff --git a/TableProTests/Views/Editor/SyntaxHighlightingTests.swift b/TableProTests/Views/Editor/SyntaxHighlightingTests.swift index 27699fcfb1..c33562f825 100644 --- a/TableProTests/Views/Editor/SyntaxHighlightingTests.swift +++ b/TableProTests/Views/Editor/SyntaxHighlightingTests.swift @@ -8,10 +8,10 @@ // import AppKit -@testable import CodeEditSourceEditor import Foundation import SwiftTreeSitter @testable import TablePro +@testable import TableProEditorKit import TableProGrammars import Testing diff --git a/TableProTests/Views/Editor/TypesetterWrapLengthTests.swift b/TableProTests/Views/Editor/TypesetterWrapLengthTests.swift index 39250aa663..967159efd2 100644 --- a/TableProTests/Views/Editor/TypesetterWrapLengthTests.swift +++ b/TableProTests/Views/Editor/TypesetterWrapLengthTests.swift @@ -7,13 +7,13 @@ // after the first then re-typeset all the text before it, so glyph work and retained memory grew // with the square of the line length and a long single line could exhaust memory. // -// These live here rather than in CodeEditTextViewTests because the TablePro scheme does not run +// These live here rather than in TableProTextEngineTests because the TablePro scheme does not run // that package's test target, so a test there would never gate a regression. // import AppKit -@testable import CodeEditTextView import Foundation +@testable import TableProTextEngine import Testing @MainActor diff --git a/TableProTests/Views/Main/MainContentCoordinatorDisplayStateTests.swift b/TableProTests/Views/Main/MainContentCoordinatorDisplayStateTests.swift index ec1a499a4c..3f4f3e2b19 100644 --- a/TableProTests/Views/Main/MainContentCoordinatorDisplayStateTests.swift +++ b/TableProTests/Views/Main/MainContentCoordinatorDisplayStateTests.swift @@ -4,9 +4,9 @@ // import AppKit -import CodeEditSourceEditor import Foundation import SwiftUI +import TableProEditorKit import TableProPluginKit import Testing diff --git a/TableProTests/Views/Main/MainContentCoordinatorTabSwitchTests.swift b/TableProTests/Views/Main/MainContentCoordinatorTabSwitchTests.swift index c26483de7b..e0980b9cf2 100644 --- a/TableProTests/Views/Main/MainContentCoordinatorTabSwitchTests.swift +++ b/TableProTests/Views/Main/MainContentCoordinatorTabSwitchTests.swift @@ -4,9 +4,9 @@ // import AppKit -import CodeEditSourceEditor import Foundation import SwiftUI +import TableProEditorKit import TableProPluginKit import Testing diff --git a/TableProTests/Views/Main/MainContentCoordinatorTableMetadataTests.swift b/TableProTests/Views/Main/MainContentCoordinatorTableMetadataTests.swift index b985123396..8644f07115 100644 --- a/TableProTests/Views/Main/MainContentCoordinatorTableMetadataTests.swift +++ b/TableProTests/Views/Main/MainContentCoordinatorTableMetadataTests.swift @@ -4,9 +4,9 @@ // import AppKit -import CodeEditSourceEditor import Foundation import SwiftUI +import TableProEditorKit import TableProPluginKit import Testing diff --git a/docs/development/architecture.mdx b/docs/development/architecture.mdx index d55df8e264..f16e31d70e 100644 --- a/docs/development/architecture.mdx +++ b/docs/development/architecture.mdx @@ -108,7 +108,8 @@ A cancelled connect is the hard case here, because `Task.cancel()` cannot interr | Package | Source | Purpose | |---------|--------|---------| -| CodeEditSourceEditor | Vendored in `LocalPackages/`, with CodeEditTextView and CodeEditLanguages | Tree-sitter code editor | +| TableProEditor | Local package in `Packages/`, a heavily modified fork of CodeEditSourceEditor and CodeEditTextView | The SQL editor: text engine, layout, highlighting, folding | +| TableProGrammars | Local package in `Packages/` | The four tree-sitter grammars the editor highlights | | TableProCore | Local package in `Packages/` | SwiftPM modules the macOS and iOS apps share | | TableProOracle | Local package in `Packages/`, wraps a pinned TablePro fork of OracleNIO | Oracle wire protocol for OracleDriverPlugin | | Sparkle | SPM, 2.10.0+ | Auto-update with EdDSA signing | diff --git a/docs/development/building.mdx b/docs/development/building.mdx index 12ee952635..47dba76d9f 100644 --- a/docs/development/building.mdx +++ b/docs/development/building.mdx @@ -70,7 +70,7 @@ workflow still reports a result on a docs-only change. | Job | What it does | |---|---| | Detect relevant changes | Decides whether the macOS suites run | -| Package Tests | `swift test` for TableProCore and CodeEditTextView | +| Package Tests | `swift test` for TableProCore and TableProEditor | | Build for testing | Builds `AllPlugins`, `dlopen`s each built bundle, then builds the app and both test bundles | | Unit tests | `TableProTests` against the prebuilt products | | UI tests | `TableProUITests`, split across three shards | diff --git a/docs/development/code-style.mdx b/docs/development/code-style.mdx index 3b505e30b1..3769eff2f4 100644 --- a/docs/development/code-style.mdx +++ b/docs/development/code-style.mdx @@ -3,9 +3,9 @@ title: Code Style description: Swift conventions, tooling, naming, and file organization rules --- -Lint covers `TablePro/` and nothing else. `Plugins/`, `Packages/`, `LocalPackages/` and the test -bundles get no automated style check at all, locally or in CI. On a change outside the app target, -the conventions here are all there is. +Lint covers `TablePro/` and `Packages/`, which includes `TableProPluginKit` through the symlink in +`TableProCore`. The rest of `Plugins/` and the app's own test bundles get no automated style check, +so on a change there the conventions on this page are all there is. `.swiftlint.yml` and `.swiftformat` settle the mechanical half. `CLAUDE.md` carries the rest, the rules no linter can check: no comments, early returns over nested conditionals, explicit access @@ -74,16 +74,16 @@ SwiftLint's `sorted_imports` catches an out-of-order import that never went thro ```swift import AppKit -import CodeEditSourceEditor import Foundation import os +import TableProEditorKit import TableProPluginKit final class QueryRunner { … } ``` Lowercase module names sort by their own spelling, which is why `os` lands between `Foundation` and -`TableProPluginKit`. +`TableProEditorKit`. ## Rules that bite diff --git a/docs/development/setup.mdx b/docs/development/setup.mdx index fa2bf7f4cc..f0e3f23575 100644 --- a/docs/development/setup.mdx +++ b/docs/development/setup.mdx @@ -141,10 +141,7 @@ and [Testing a Custom Plugin](/development/testing-plugins) covers running it in - - - - + diff --git a/project.yml b/project.yml index 50791966c2..f2b3332a81 100644 --- a/project.yml +++ b/project.yml @@ -37,14 +37,10 @@ fileGroups: - project.yml packages: - CodeEditSourceEditor: - path: LocalPackages/CodeEditSourceEditor + TableProEditor: + path: Packages/TableProEditor TableProGrammars: path: Packages/TableProGrammars - # Reached transitively by CodeEditSourceEditor, but the app links its product - # directly, so it has to be declared here too. - CodeEditTextView: - path: LocalPackages/CodeEditTextView TableProCore: path: Packages/TableProCore TableProOracle: @@ -227,9 +223,9 @@ targets: - target: CSVInspectorPlugin embed: true copy: { destination: plugins } - - package: CodeEditSourceEditor + - package: TableProEditor + products: [TableProEditorKit, TableProTextEngine] - package: TableProGrammars - - package: CodeEditTextView - package: Sparkle - package: Yams - package: TableProCore diff --git a/scripts/check-doc-symbols.sh b/scripts/check-doc-symbols.sh index a5713b067b..7855ea67d7 100755 --- a/scripts/check-doc-symbols.sh +++ b/scripts/check-doc-symbols.sh @@ -84,7 +84,7 @@ build_symbol_index() { # Per file, not over one concatenated stream: a non-greedy /* */ match across a joined # stream would swallow everything between one file's opening marker and a later file's # closing one. - find TablePro Plugins Packages LocalPackages TableProTests TableProUITests \ + find TablePro Plugins Packages TableProTests TableProUITests \ -name '*.swift' -type f 2> /dev/null | while IFS= read -r swift_file; do perl -0777 -pe 's{/\*.*?\*/}{}gs' "$swift_file" 2> /dev/null |