├── .nvmrc ├── commitlint.config.js ├── Assets ├── com.fluid.simple-spellcheck │ ├── LICENSE.md │ ├── README.md │ ├── CHANGELOG.md │ ├── Documentation~ │ │ └── com.fluid.simple-spellcheck.md │ ├── Editor │ │ ├── Scripts │ │ │ ├── Windows.meta │ │ │ ├── Settings.meta │ │ │ ├── SpellCheck.meta │ │ │ ├── Windows │ │ │ │ ├── Logs.meta │ │ │ │ ├── Logs │ │ │ │ │ ├── LogEntry.cs.meta │ │ │ │ │ ├── SpellCheckLogs.cs.meta │ │ │ │ │ ├── LogEntry.cs │ │ │ │ │ └── SpellCheckLogs.cs │ │ │ │ ├── SpellCheckResults.cs.meta │ │ │ │ └── SpellCheckResults.cs │ │ │ ├── SpellCheck │ │ │ │ ├── WordSpelling.cs.meta │ │ │ │ ├── SpellCheck.cs.meta │ │ │ │ ├── WordSpelling.cs │ │ │ │ └── SpellCheck.cs │ │ │ ├── TextAreaSpellCheckDrawer.cs.meta │ │ │ ├── Settings │ │ │ │ ├── SpellCheckSettings.cs.meta │ │ │ │ ├── SpellCheckSettingsInspector.cs.meta │ │ │ │ ├── SpellCheckSettings.cs │ │ │ │ └── SpellCheckSettingsInspector.cs │ │ │ ├── EnglishDictionary.meta │ │ │ ├── EnglishDictionary │ │ │ │ ├── FluidWordsAlpha.txt.meta │ │ │ │ ├── EnglishDictionary.cs.meta │ │ │ │ └── EnglishDictionary.cs │ │ │ └── TextAreaSpellCheckDrawer.cs │ │ ├── Resources │ │ │ ├── SpellCheck.meta │ │ │ └── SpellCheck │ │ │ │ ├── Logs.uss.meta │ │ │ │ ├── Logs.uxml.meta │ │ │ │ ├── LogEntry.uxml.meta │ │ │ │ ├── Results.uss.meta │ │ │ │ ├── Results.uss │ │ │ │ ├── Results.uxml.meta │ │ │ │ ├── Logs.uxml │ │ │ │ ├── Results.uxml │ │ │ │ ├── LogEntry.uxml │ │ │ │ └── Logs.uss │ │ ├── Scripts.meta │ │ ├── Resources.meta │ │ ├── com.fluid.simple-spellcheck.Editor.asmdef.meta │ │ └── com.fluid.simple-spellcheck.Editor.asmdef │ ├── Tests │ │ ├── Editor │ │ │ ├── SpellCheckTest.cs.meta │ │ │ ├── com.fluid.simple-spellcheck.Editor.Tests.asmdef.meta │ │ │ ├── EnglishDictionaryTest.cs.meta │ │ │ ├── com.fluid.simple-spellcheck.Editor.Tests.asmdef │ │ │ ├── SpellCheckTest.cs │ │ │ └── EnglishDictionaryTest.cs │ │ └── Editor.meta │ ├── CHANGELOG.md.meta │ ├── LICENSE.md.meta │ ├── README.md.meta │ ├── package.json.meta │ ├── Editor.meta │ ├── Runtime.meta │ ├── Tests.meta │ ├── Runtime │ │ ├── Scripts.meta │ │ ├── com.fluid.simple-spellcheck.asmdef │ │ ├── com.fluid.simple-spellcheck.asmdef.meta │ │ └── Scripts │ │ │ ├── TextAreaSpellcheckAttribute.cs.meta │ │ │ └── TextAreaSpellcheckAttribute.cs │ └── package.json ├── Examples │ ├── Editor │ │ ├── SpellCheckAllDialogue.cs.meta │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── SpellCheck.meta │ │ │ └── SpellCheck │ │ │ │ ├── SpellCheckSettings.asset.meta │ │ │ │ └── SpellCheckSettings.asset │ │ └── SpellCheckAllDialogue.cs │ ├── Editor.meta │ ├── Scripts.meta │ ├── ExampleDialogue.asset.meta │ ├── ExampleDialogueNoErrors.asset.meta │ ├── ExampleDialogueBadLineBreaks.asset.meta │ ├── Scripts │ │ ├── ExampleDialogue.cs.meta │ │ └── ExampleDialogue.cs │ ├── ExampleDialogueNoErrors.asset │ ├── ExampleDialogue.asset │ └── ExampleDialogueBadLineBreaks.asset ├── Examples.meta └── com.fluid.simple-spellcheck.meta ├── images ├── simple-usage.png └── advanced-usage.png ├── .husky └── commit-msg ├── ProjectSettings ├── ProjectVersion.txt ├── ClusterInputManager.asset ├── PresetManager.asset ├── EditorBuildSettings.asset ├── XRSettings.asset ├── VersionControlSettings.asset ├── TimeManager.asset ├── VFXManager.asset ├── AudioManager.asset ├── TagManager.asset ├── UnityConnectSettings.asset ├── EditorSettings.asset ├── PackageManagerSettings.asset ├── DynamicsManager.asset ├── MemorySettings.asset ├── NavMeshAreas.asset ├── Physics2DSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── QualitySettings.asset └── ProjectSettings.asset ├── .github └── workflows │ ├── commitlint.yml │ ├── workflow.yml │ └── nightly-build.yml ├── .editorconfig ├── publish-nightly.sh ├── UIElementsSchema ├── UIElements.xsd ├── UnityEditor.UIElements.Debugger.xsd ├── UnityEditor.PackageManager.UI.xsd └── UnityEngine.UIElements.xsd ├── .oyster.json ├── .releaserc ├── LICENSE.md ├── .gitignore ├── package.json ├── Packages ├── manifest.json └── packages-lock.json └── README.md /.nvmrc: -------------------------------------------------------------------------------- 1 | 16.17.0 2 | -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = {extends: ['@commitlint/config-conventional']}; 2 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/LICENSE.md: -------------------------------------------------------------------------------- 1 | Edit LICENSE.md in root, contents will be replaced. 2 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/README.md: -------------------------------------------------------------------------------- 1 | Edit README.md in root, contents will be replaced. 2 | -------------------------------------------------------------------------------- /images/simple-usage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashblue/unity-simple-spellcheck/HEAD/images/simple-usage.png -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | npx --no -- commitlint --edit 5 | -------------------------------------------------------------------------------- /images/advanced-usage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashblue/unity-simple-spellcheck/HEAD/images/advanced-usage.png -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | Replaced when project is built from commit logs via Semantic Release. 2 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Documentation~/com.fluid.simple-spellcheck.md: -------------------------------------------------------------------------------- 1 | Documentation beyond README.md goes here. 2 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2022.1.16f1 2 | m_EditorVersionWithRevision: 2022.1.16f1 (7321c9670bc2) 3 | -------------------------------------------------------------------------------- /Assets/Examples/Editor/SpellCheckAllDialogue.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 76107f9a10a94d9d8105e312c6014001 3 | timeCreated: 1581706449 -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Scripts/Windows.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8bfb658a32a482aa58a535193751c58 3 | timeCreated: 1581705718 -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Resources/SpellCheck.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 021c8a8ab2564905aba2b34bdfe179a4 3 | timeCreated: 1581715777 -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Scripts/Settings.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fcaa022df0af4ba497d6594e9fb35a9a 3 | timeCreated: 1581553741 -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Scripts/SpellCheck.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2121159223aa44279cf5b6ffd02afd64 3 | timeCreated: 1581464112 -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Scripts/Windows/Logs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 18da0aed730546f6ac7302a025291fd3 3 | timeCreated: 1581707598 -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Tests/Editor/SpellCheckTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52cd69b9fcc34cf69c8fc6c0cef3d76c 3 | timeCreated: 1581464138 -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Resources/SpellCheck/Logs.uss.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 35d36c87c18343c9a3f57c40eb598e90 3 | timeCreated: 1581705912 -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Resources/SpellCheck/Logs.uxml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ee328a5906774fceb05a91121dc737bc 3 | timeCreated: 1581705897 -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Resources/SpellCheck/LogEntry.uxml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5592ad6c258049fcbc5eb04f36cb6918 3 | timeCreated: 1581715795 -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Resources/SpellCheck/Results.uss.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 140ef7fe766349b7825ea9e90a2de37e 3 | timeCreated: 1581552658 -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Scripts/SpellCheck/WordSpelling.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3bf09533b72047bd992fcd0faa09c27b 3 | timeCreated: 1581468352 -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Scripts/TextAreaSpellCheckDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c9f0ce6a8ff43a0810523e9e25e3f82 3 | timeCreated: 1581637171 -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Scripts/Windows/Logs/LogEntry.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b5a00c0c78e04e35b7f8ee958bc843b8 3 | timeCreated: 1581707617 -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Scripts/Settings/SpellCheckSettings.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 542cda9a3e7349ac9c415ba5fc5fdcc3 3 | timeCreated: 1581553609 -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Scripts/Windows/Logs/SpellCheckLogs.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2693cf64557849208a684d3154a89256 3 | timeCreated: 1581705740 -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Scripts/Windows/SpellCheckResults.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a2579b271bde4ad296560586289994b3 3 | timeCreated: 1581546024 -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Scripts/Settings/SpellCheckSettingsInspector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 72b028aeeab6493487a2f6fd329af0e1 3 | timeCreated: 1581554784 -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_DefaultPresets: {} 8 | -------------------------------------------------------------------------------- /Assets/Examples.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: be284a59683d5f14584d260b9ae22fa2 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Examples/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d8471fa47f264205ac66d9fb7e67a1a3 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Examples/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 542acb0669d7275409c3e45bd4f247e2 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: [] 8 | m_configObjects: {} 9 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/CHANGELOG.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 53943d526b9974107adc78a6303ab24c 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/LICENSE.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce693eecaf500403a8e62d570f330fa3 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 75a5972bc41a948e9bb7077833570bfb 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/package.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 654f0d0507f244645a8987319dba5601 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /ProjectSettings/XRSettings.asset: -------------------------------------------------------------------------------- 1 | { 2 | "m_SettingKeys": [ 3 | "VR Device Disabled", 4 | "VR Device User Alert" 5 | ], 6 | "m_SettingValues": [ 7 | "False", 8 | "False" 9 | ] 10 | } -------------------------------------------------------------------------------- /Assets/Examples/Editor/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4eb282ad3a1ec5542a02334ee28c287c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 566a1f42c65c24f19b3edffd9e66733d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Examples/Editor/Resources/SpellCheck.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7229a739cbc85b24bbc61ad109f011ed 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 598ee36b1c49a4c6189a5224e6c59631 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Runtime.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0570f2f511064469cbe4d4ff19ae4f40 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Tests.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a68d5b1d53128474d90a4e2d0df59f1b 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Examples/ExampleDialogue.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2b3e378abf97f124aa06eb57e9972ac6 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b05ff55f0730cd24d829831018fea0aa 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Tests/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66c25c898abcd4446ae6155693279341 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2cd4ee544ebc2ff488cd341df16d069a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Runtime/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b18f0315d6344ca47aa1610f846cf005 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Examples/ExampleDialogueNoErrors.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e8715df57b48b3343b5c2893ff193776 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Runtime/com.fluid.simple-spellcheck.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "com.fluid.simple-spellcheck", 3 | "references": [], 4 | "optionalUnityReferences": [], 5 | "includePlatforms": [], 6 | "excludePlatforms": [] 7 | } 8 | -------------------------------------------------------------------------------- /ProjectSettings/VersionControlSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!890905787 &1 4 | VersionControlSettings: 5 | m_ObjectHideFlags: 0 6 | m_Mode: Visible Meta Files 7 | m_CollabEditorSettings: 8 | inProgressEnabled: 1 9 | -------------------------------------------------------------------------------- /Assets/Examples/ExampleDialogueBadLineBreaks.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6970ca5847ab3244f871b3a6669a9662 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Scripts/EnglishDictionary.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 77eeaf72bd0a9134e90c5ce63d277b30 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Scripts/EnglishDictionary/FluidWordsAlpha.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 94e36cbd7eb4d1f4bad2555b5add6e72 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Runtime/com.fluid.simple-spellcheck.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2812f985c9a0f42828df87a8d8614bae 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "com.fluid.simple-spellcheck", 3 | "version": "0.0.0", 4 | "displayName": "Unity Simple Spellcheck", 5 | "description": "A simple spell check utility for use in the Unity Editor", 6 | "unity": "" 7 | } 8 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/com.fluid.simple-spellcheck.Editor.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5c2e8e45579c1420792afac86fc73d2e 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /Assets/Examples/Editor/Resources/SpellCheck/SpellCheckSettings.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 29c0542e531a20841bec846fc8fd998b 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Tests/Editor/com.fluid.simple-spellcheck.Editor.Tests.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6745c38567c3a4dddaf2292c0d03f46d 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /.github/workflows/commitlint.yml: -------------------------------------------------------------------------------- 1 | name: Lint Commit Messages 2 | on: [pull_request] 3 | 4 | jobs: 5 | commitlint: 6 | runs-on: ubuntu-latest 7 | steps: 8 | - uses: actions/checkout@v3 9 | with: 10 | fetch-depth: 0 11 | - uses: wagoid/commitlint-github-action@v5 12 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Resources/SpellCheck/Results.uss: -------------------------------------------------------------------------------- 1 | #container { 2 | padding: 10px; 3 | } 4 | 5 | .text-block { 6 | margin-bottom: 10px; 7 | } 8 | 9 | .text-title { 10 | -unity-font-style: bold; 11 | } 12 | 13 | .bad-spelling { 14 | color: red; 15 | -unity-font-style: bold; 16 | } 17 | -------------------------------------------------------------------------------- /Assets/Examples/Scripts/ExampleDialogue.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb9ef6d906063f14eb0ee0de17d10a24 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # Editor configuration, see http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | indent_style = space 7 | indent_size = 4 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*.md] 12 | max_line_length = off 13 | trim_trailing_whitespace = false 14 | 15 | [manifest.json] 16 | indent_size = 2 17 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Scripts/SpellCheck/SpellCheck.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 291f3dd8a47f63c479f2958d45f75d11 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Tests/Editor/EnglishDictionaryTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 41148453d64b45742bb8734623306a08 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Runtime/Scripts/TextAreaSpellcheckAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5488f7f45b8f1e740bbd9310449ec63f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Scripts/EnglishDictionary/EnglishDictionary.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6c76429844d691d44adf2ab145f969e4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_StripUpdateShader: {fileID: 0} 10 | m_RenderPipeSettingsPath: 11 | m_FixedTimeStep: 0.016666668 12 | m_MaxDeltaTime: 0.05 13 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/com.fluid.simple-spellcheck.Editor.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "com.fluid.simple-spellcheck.Editor", 3 | "references": [ 4 | "com.fluid.simple-spellcheck" 5 | ], 6 | "optionalUnityReferences": [], 7 | "includePlatforms": [ 8 | "Editor" 9 | ], 10 | "excludePlatforms": [], 11 | "allowUnsafeCode": false 12 | } 13 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Resources/SpellCheck/Results.uxml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f436792f0a892e445bab2664c6cfce56 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0} 11 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Scripts/Windows/Logs/LogEntry.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace CleverCrow.Fluid.SimpleSpellcheck { 4 | public class LogEntry { 5 | public string Preview { get; } 6 | public Action ViewCallback { get; } 7 | 8 | public LogEntry (string preview, Action viewCallback) { 9 | Preview = preview; 10 | ViewCallback = viewCallback; 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Volume: 1 8 | Rolloff Scale: 1 9 | Doppler Factor: 1 10 | Default Speaker Mode: 2 11 | m_SampleRate: 0 12 | m_DSPBufferSize: 1024 13 | m_VirtualVoiceCount: 512 14 | m_RealVoiceCount: 32 15 | m_SpatializerPlugin: 16 | m_AmbisonicDecoderPlugin: 17 | m_DisableAudio: 0 18 | m_VirtualizeEffects: 1 19 | m_RequestedDSPBufferSize: 1024 20 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Scripts/SpellCheck/WordSpelling.cs: -------------------------------------------------------------------------------- 1 | namespace CleverCrow.Fluid.SimpleSpellcheck { 2 | public interface IWordSpelling { 3 | string Text { get; } 4 | bool IsValid { get; } 5 | } 6 | 7 | public class WordSpelling : IWordSpelling { 8 | public string Text { get; } 9 | public bool IsValid { get; } 10 | 11 | public WordSpelling (string text, bool isValid) { 12 | Text = text; 13 | IsValid = isValid; 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Resources/SpellCheck/Logs.uxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /publish-nightly.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | setup_git() { 4 | git config --global user.email "no-reply@github.com" 5 | git config --global user.name "Github-Actions[bot]" 6 | } 7 | 8 | update_nightly_branch() { 9 | printf "Run nightly update \n" 10 | git remote add origin-nightly "https://${GH_TOKEN}@github.com/ashblue/unity-simple-spellcheck.git" 11 | git subtree split --prefix Assets/com.fluid.simple-spellcheck -b nightly 12 | git push -f origin-nightly nightly:nightly 13 | } 14 | 15 | setup_git 16 | update_nightly_branch 17 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Runtime/Scripts/TextAreaSpellcheckAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace CleverCrow.Fluid.SimpleSpellcheck { 5 | [AttributeUsage(AttributeTargets.Field)] 6 | public class TextAreaSpellCheckAttribute : PropertyAttribute { 7 | public int Lines { get; } 8 | 9 | public TextAreaSpellCheckAttribute () { 10 | Lines = 3; 11 | } 12 | 13 | public TextAreaSpellCheckAttribute (int lines) { 14 | Lines = lines; 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Assets/Examples/ExampleDialogueNoErrors.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: fb9ef6d906063f14eb0ee0de17d10a24, type: 3} 13 | m_Name: ExampleDialogueNoErrors 14 | m_EditorClassIdentifier: 15 | _title: Example 16 | _text: I'm an example dialogue 17 | -------------------------------------------------------------------------------- /Assets/Examples/Scripts/ExampleDialogue.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace CleverCrow.Fluid.SimpleSpellcheck.Examples { 4 | [CreateAssetMenu(menuName = "Fluid/Spell Check/Example Dialogue", fileName = "ExampleDialogue")] 5 | public class ExampleDialogue : ScriptableObject { 6 | [SerializeField] 7 | private string _title = null; 8 | 9 | [SerializeField] 10 | [TextAreaSpellCheck] 11 | private string _text = null; 12 | 13 | public string Title => _title; 14 | public string Text => _text; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /.github/workflows/workflow.yml: -------------------------------------------------------------------------------- 1 | name: CI 2 | on: push 3 | jobs: 4 | test: 5 | runs-on: ubuntu-latest 6 | steps: 7 | - uses: actions/checkout@v3 8 | - uses: actions/setup-node@v3 9 | with: 10 | node-version: 16 11 | - run: HUSKY=0 npm ci 12 | - run: npm run build 13 | - name: Release 14 | env: 15 | NPM_TOKEN: ${{ secrets.NPM_TOKEN }} 16 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} 17 | run: npm run semantic-release 18 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /.github/workflows/nightly-build.yml: -------------------------------------------------------------------------------- 1 | name: Nightly Build 2 | on: 3 | push: 4 | branches: 5 | - develop 6 | jobs: 7 | deployNightly: 8 | runs-on: ubuntu-latest 9 | steps: 10 | - uses: actions/checkout@v3 11 | - uses: actions/setup-node@v3 12 | with: 13 | node-version: 16 14 | - run: HUSKY=0 npm ci 15 | - run: npm run build 16 | - name: Deploy nightly branch 17 | run: sh ./publish-nightly.sh 18 | env: 19 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} 20 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Resources/SpellCheck/Results.uxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Assets/com.fluid.simple-spellcheck/Editor/Resources/SpellCheck/LogEntry.uxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 |