├── CodeColors 2025Feb Universal Binary.zip ├── CodeColors.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ └── IDEWorkspaceChecks.plist │ └── xcuserdata │ │ ├── morris.xcuserdatad │ │ └── UserInterfaceState.xcuserstate │ │ └── zzs.xcuserdatad │ │ └── UserInterfaceState.xcuserstate └── xcuserdata │ ├── morris.xcuserdatad │ ├── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist │ └── xcschemes │ │ └── xcschememanagement.plist │ ├── ssz.xcuserdatad │ ├── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist │ └── xcschemes │ │ └── xcschememanagement.plist │ └── zzs.xcuserdatad │ └── xcschemes │ └── xcschememanagement.plist ├── CodeColors ├── Assets.xcassets │ ├── AccentColor.colorset │ │ └── Contents.json │ ├── AppIcon.appiconset │ │ ├── 1024.png │ │ ├── 128.png │ │ ├── 16.png │ │ ├── 256 1.png │ │ ├── 256.png │ │ ├── 32 1.png │ │ ├── 32.png │ │ ├── 512 1.png │ │ ├── 512.png │ │ ├── 64.png │ │ └── Contents.json │ └── Contents.json ├── CodeColors.entitlements ├── CodeColorsApp.swift ├── Preview Content │ └── Preview Assets.xcassets │ │ └── Contents.json ├── SettingsView.swift └── SyntaxSettings.swift ├── QuickCodeColorLook ├── CodeContentLoader.swift ├── Info.plist ├── LineReader.swift ├── PreviewProvider.swift ├── PreviewViewController.swift ├── QuickCodeColorLook.entitlements ├── SyntaxHighlighter.swift └── SyntaxRules.swift └── README.md /CodeColors 2025Feb Universal Binary.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Oil3/CodeColors-Quicklook-Syntax-Highlighting/0cd7ab07b32add0424e2d014d9b65abef7a6e833/CodeColors 2025Feb Universal Binary.zip -------------------------------------------------------------------------------- /CodeColors.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 56; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 340B3CB42CBE47D6009C20B5 /* SyntaxSettings.swift in Sources */ = {isa = PBXBuildFile; fileRef = 340B3CB32CBE47D6009C20B5 /* SyntaxSettings.swift */; }; 11 | 340B3CB62CBE4823009C20B5 /* SettingsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 340B3CB52CBE4823009C20B5 /* SettingsView.swift */; }; 12 | 340B3CB72CBE49FA009C20B5 /* SyntaxSettings.swift in Sources */ = {isa = PBXBuildFile; fileRef = 340B3CB32CBE47D6009C20B5 /* SyntaxSettings.swift */; }; 13 | 34B4DB152CBCAD7E001F31C6 /* CodeColorsApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34B4DB142CBCAD7E001F31C6 /* CodeColorsApp.swift */; }; 14 | 34B4DB192CBCAD7F001F31C6 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 34B4DB182CBCAD7F001F31C6 /* Assets.xcassets */; }; 15 | 34B4DB1C2CBCAD7F001F31C6 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 34B4DB1B2CBCAD7F001F31C6 /* Preview Assets.xcassets */; }; 16 | 34B4DB2A2CBCADFD001F31C6 /* Quartz.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 34B4DB292CBCADFD001F31C6 /* Quartz.framework */; }; 17 | 34B4DB372CBCADFD001F31C6 /* QuickCodeColorLook.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = 34B4DB272CBCADFD001F31C6 /* QuickCodeColorLook.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; 18 | 34B4DB3D2CBCC51D001F31C6 /* PreviewViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34B4DB2C2CBCADFD001F31C6 /* PreviewViewController.swift */; }; 19 | 34B4DB3E2CBCC5F3001F31C6 /* PreviewProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34B4DB2E2CBCADFD001F31C6 /* PreviewProvider.swift */; }; 20 | 34E745012CBE141900EB6061 /* SyntaxRules.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34E745002CBE141900EB6061 /* SyntaxRules.swift */; }; 21 | 34E745032CBE15D200EB6061 /* SyntaxHighlighter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34E745022CBE15D200EB6061 /* SyntaxHighlighter.swift */; }; 22 | 34E745052CBE2C4700EB6061 /* CodeContentLoader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34E745042CBE2C4700EB6061 /* CodeContentLoader.swift */; }; 23 | 34E745072CBE2C6D00EB6061 /* LineReader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34E745062CBE2C6D00EB6061 /* LineReader.swift */; }; 24 | /* End PBXBuildFile section */ 25 | 26 | /* Begin PBXContainerItemProxy section */ 27 | 34B4DB352CBCADFD001F31C6 /* PBXContainerItemProxy */ = { 28 | isa = PBXContainerItemProxy; 29 | containerPortal = 34B4DB092CBCAD7E001F31C6 /* Project object */; 30 | proxyType = 1; 31 | remoteGlobalIDString = 34B4DB262CBCADFD001F31C6; 32 | remoteInfo = QuickCodeColorLook; 33 | }; 34 | /* End PBXContainerItemProxy section */ 35 | 36 | /* Begin PBXCopyFilesBuildPhase section */ 37 | 34B4DB3B2CBCADFD001F31C6 /* Embed Foundation Extensions */ = { 38 | isa = PBXCopyFilesBuildPhase; 39 | buildActionMask = 2147483647; 40 | dstPath = ""; 41 | dstSubfolderSpec = 13; 42 | files = ( 43 | 34B4DB372CBCADFD001F31C6 /* QuickCodeColorLook.appex in Embed Foundation Extensions */, 44 | ); 45 | name = "Embed Foundation Extensions"; 46 | runOnlyForDeploymentPostprocessing = 0; 47 | }; 48 | /* End PBXCopyFilesBuildPhase section */ 49 | 50 | /* Begin PBXFileReference section */ 51 | 340B3CB32CBE47D6009C20B5 /* SyntaxSettings.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SyntaxSettings.swift; sourceTree = ""; }; 52 | 340B3CB52CBE4823009C20B5 /* SettingsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SettingsView.swift; sourceTree = ""; }; 53 | 34B4DB112CBCAD7E001F31C6 /* CodeColors.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CodeColors.app; sourceTree = BUILT_PRODUCTS_DIR; }; 54 | 34B4DB142CBCAD7E001F31C6 /* CodeColorsApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CodeColorsApp.swift; sourceTree = ""; }; 55 | 34B4DB182CBCAD7F001F31C6 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 56 | 34B4DB1B2CBCAD7F001F31C6 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; 57 | 34B4DB1D2CBCAD7F001F31C6 /* CodeColors.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = CodeColors.entitlements; sourceTree = ""; }; 58 | 34B4DB272CBCADFD001F31C6 /* QuickCodeColorLook.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = QuickCodeColorLook.appex; sourceTree = BUILT_PRODUCTS_DIR; }; 59 | 34B4DB292CBCADFD001F31C6 /* Quartz.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Quartz.framework; path = System/Library/Frameworks/Quartz.framework; sourceTree = SDKROOT; }; 60 | 34B4DB2C2CBCADFD001F31C6 /* PreviewViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PreviewViewController.swift; sourceTree = ""; }; 61 | 34B4DB2E2CBCADFD001F31C6 /* PreviewProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PreviewProvider.swift; sourceTree = ""; }; 62 | 34B4DB332CBCADFD001F31C6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 63 | 34B4DB342CBCADFD001F31C6 /* QuickCodeColorLook.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = QuickCodeColorLook.entitlements; sourceTree = ""; }; 64 | 34E745002CBE141900EB6061 /* SyntaxRules.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SyntaxRules.swift; sourceTree = ""; }; 65 | 34E745022CBE15D200EB6061 /* SyntaxHighlighter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SyntaxHighlighter.swift; sourceTree = ""; }; 66 | 34E745042CBE2C4700EB6061 /* CodeContentLoader.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CodeContentLoader.swift; sourceTree = ""; }; 67 | 34E745062CBE2C6D00EB6061 /* LineReader.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LineReader.swift; sourceTree = ""; }; 68 | /* End PBXFileReference section */ 69 | 70 | /* Begin PBXFrameworksBuildPhase section */ 71 | 34B4DB0E2CBCAD7E001F31C6 /* Frameworks */ = { 72 | isa = PBXFrameworksBuildPhase; 73 | buildActionMask = 2147483647; 74 | files = ( 75 | ); 76 | runOnlyForDeploymentPostprocessing = 0; 77 | }; 78 | 34B4DB242CBCADFD001F31C6 /* Frameworks */ = { 79 | isa = PBXFrameworksBuildPhase; 80 | buildActionMask = 2147483647; 81 | files = ( 82 | 34B4DB2A2CBCADFD001F31C6 /* Quartz.framework in Frameworks */, 83 | ); 84 | runOnlyForDeploymentPostprocessing = 0; 85 | }; 86 | /* End PBXFrameworksBuildPhase section */ 87 | 88 | /* Begin PBXGroup section */ 89 | 34B4DB082CBCAD7E001F31C6 = { 90 | isa = PBXGroup; 91 | children = ( 92 | 34B4DB132CBCAD7E001F31C6 /* CodeColors */, 93 | 34B4DB2B2CBCADFD001F31C6 /* QuickCodeColorLook */, 94 | 34B4DB282CBCADFD001F31C6 /* Frameworks */, 95 | 34B4DB122CBCAD7E001F31C6 /* Products */, 96 | ); 97 | sourceTree = ""; 98 | }; 99 | 34B4DB122CBCAD7E001F31C6 /* Products */ = { 100 | isa = PBXGroup; 101 | children = ( 102 | 34B4DB112CBCAD7E001F31C6 /* CodeColors.app */, 103 | 34B4DB272CBCADFD001F31C6 /* QuickCodeColorLook.appex */, 104 | ); 105 | name = Products; 106 | sourceTree = ""; 107 | }; 108 | 34B4DB132CBCAD7E001F31C6 /* CodeColors */ = { 109 | isa = PBXGroup; 110 | children = ( 111 | 34B4DB142CBCAD7E001F31C6 /* CodeColorsApp.swift */, 112 | 340B3CB32CBE47D6009C20B5 /* SyntaxSettings.swift */, 113 | 340B3CB52CBE4823009C20B5 /* SettingsView.swift */, 114 | 34B4DB182CBCAD7F001F31C6 /* Assets.xcassets */, 115 | 34B4DB1D2CBCAD7F001F31C6 /* CodeColors.entitlements */, 116 | 34B4DB1A2CBCAD7F001F31C6 /* Preview Content */, 117 | ); 118 | path = CodeColors; 119 | sourceTree = ""; 120 | }; 121 | 34B4DB1A2CBCAD7F001F31C6 /* Preview Content */ = { 122 | isa = PBXGroup; 123 | children = ( 124 | 34B4DB1B2CBCAD7F001F31C6 /* Preview Assets.xcassets */, 125 | ); 126 | path = "Preview Content"; 127 | sourceTree = ""; 128 | }; 129 | 34B4DB282CBCADFD001F31C6 /* Frameworks */ = { 130 | isa = PBXGroup; 131 | children = ( 132 | 34B4DB292CBCADFD001F31C6 /* Quartz.framework */, 133 | ); 134 | name = Frameworks; 135 | sourceTree = ""; 136 | }; 137 | 34B4DB2B2CBCADFD001F31C6 /* QuickCodeColorLook */ = { 138 | isa = PBXGroup; 139 | children = ( 140 | 34E745042CBE2C4700EB6061 /* CodeContentLoader.swift */, 141 | 34E745062CBE2C6D00EB6061 /* LineReader.swift */, 142 | 34B4DB2C2CBCADFD001F31C6 /* PreviewViewController.swift */, 143 | 34B4DB2E2CBCADFD001F31C6 /* PreviewProvider.swift */, 144 | 34E745002CBE141900EB6061 /* SyntaxRules.swift */, 145 | 34E745022CBE15D200EB6061 /* SyntaxHighlighter.swift */, 146 | 34B4DB332CBCADFD001F31C6 /* Info.plist */, 147 | 34B4DB342CBCADFD001F31C6 /* QuickCodeColorLook.entitlements */, 148 | ); 149 | path = QuickCodeColorLook; 150 | sourceTree = ""; 151 | }; 152 | /* End PBXGroup section */ 153 | 154 | /* Begin PBXNativeTarget section */ 155 | 34B4DB102CBCAD7E001F31C6 /* CodeColors */ = { 156 | isa = PBXNativeTarget; 157 | buildConfigurationList = 34B4DB202CBCAD7F001F31C6 /* Build configuration list for PBXNativeTarget "CodeColors" */; 158 | buildPhases = ( 159 | 34B4DB0D2CBCAD7E001F31C6 /* Sources */, 160 | 34B4DB0E2CBCAD7E001F31C6 /* Frameworks */, 161 | 34B4DB0F2CBCAD7E001F31C6 /* Resources */, 162 | 34B4DB3B2CBCADFD001F31C6 /* Embed Foundation Extensions */, 163 | ); 164 | buildRules = ( 165 | ); 166 | dependencies = ( 167 | 34B4DB362CBCADFD001F31C6 /* PBXTargetDependency */, 168 | ); 169 | name = CodeColors; 170 | productName = CodeColors; 171 | productReference = 34B4DB112CBCAD7E001F31C6 /* CodeColors.app */; 172 | productType = "com.apple.product-type.application"; 173 | }; 174 | 34B4DB262CBCADFD001F31C6 /* QuickCodeColorLook */ = { 175 | isa = PBXNativeTarget; 176 | buildConfigurationList = 34B4DB382CBCADFD001F31C6 /* Build configuration list for PBXNativeTarget "QuickCodeColorLook" */; 177 | buildPhases = ( 178 | 34B4DB232CBCADFD001F31C6 /* Sources */, 179 | 34B4DB242CBCADFD001F31C6 /* Frameworks */, 180 | 34B4DB252CBCADFD001F31C6 /* Resources */, 181 | ); 182 | buildRules = ( 183 | ); 184 | dependencies = ( 185 | ); 186 | name = QuickCodeColorLook; 187 | productName = QuickCodeColorLook; 188 | productReference = 34B4DB272CBCADFD001F31C6 /* QuickCodeColorLook.appex */; 189 | productType = "com.apple.product-type.app-extension"; 190 | }; 191 | /* End PBXNativeTarget section */ 192 | 193 | /* Begin PBXProject section */ 194 | 34B4DB092CBCAD7E001F31C6 /* Project object */ = { 195 | isa = PBXProject; 196 | attributes = { 197 | BuildIndependentTargetsInParallel = 1; 198 | LastSwiftUpdateCheck = 1540; 199 | LastUpgradeCheck = 1540; 200 | TargetAttributes = { 201 | 34B4DB102CBCAD7E001F31C6 = { 202 | CreatedOnToolsVersion = 15.4; 203 | }; 204 | 34B4DB262CBCADFD001F31C6 = { 205 | CreatedOnToolsVersion = 15.4; 206 | }; 207 | }; 208 | }; 209 | buildConfigurationList = 34B4DB0C2CBCAD7E001F31C6 /* Build configuration list for PBXProject "CodeColors" */; 210 | compatibilityVersion = "Xcode 14.0"; 211 | developmentRegion = en; 212 | hasScannedForEncodings = 0; 213 | knownRegions = ( 214 | en, 215 | Base, 216 | ); 217 | mainGroup = 34B4DB082CBCAD7E001F31C6; 218 | productRefGroup = 34B4DB122CBCAD7E001F31C6 /* Products */; 219 | projectDirPath = ""; 220 | projectRoot = ""; 221 | targets = ( 222 | 34B4DB102CBCAD7E001F31C6 /* CodeColors */, 223 | 34B4DB262CBCADFD001F31C6 /* QuickCodeColorLook */, 224 | ); 225 | }; 226 | /* End PBXProject section */ 227 | 228 | /* Begin PBXResourcesBuildPhase section */ 229 | 34B4DB0F2CBCAD7E001F31C6 /* Resources */ = { 230 | isa = PBXResourcesBuildPhase; 231 | buildActionMask = 2147483647; 232 | files = ( 233 | 34B4DB1C2CBCAD7F001F31C6 /* Preview Assets.xcassets in Resources */, 234 | 34B4DB192CBCAD7F001F31C6 /* Assets.xcassets in Resources */, 235 | ); 236 | runOnlyForDeploymentPostprocessing = 0; 237 | }; 238 | 34B4DB252CBCADFD001F31C6 /* Resources */ = { 239 | isa = PBXResourcesBuildPhase; 240 | buildActionMask = 2147483647; 241 | files = ( 242 | ); 243 | runOnlyForDeploymentPostprocessing = 0; 244 | }; 245 | /* End PBXResourcesBuildPhase section */ 246 | 247 | /* Begin PBXSourcesBuildPhase section */ 248 | 34B4DB0D2CBCAD7E001F31C6 /* Sources */ = { 249 | isa = PBXSourcesBuildPhase; 250 | buildActionMask = 2147483647; 251 | files = ( 252 | 340B3CB42CBE47D6009C20B5 /* SyntaxSettings.swift in Sources */, 253 | 340B3CB62CBE4823009C20B5 /* SettingsView.swift in Sources */, 254 | 34B4DB152CBCAD7E001F31C6 /* CodeColorsApp.swift in Sources */, 255 | ); 256 | runOnlyForDeploymentPostprocessing = 0; 257 | }; 258 | 34B4DB232CBCADFD001F31C6 /* Sources */ = { 259 | isa = PBXSourcesBuildPhase; 260 | buildActionMask = 2147483647; 261 | files = ( 262 | 34E745032CBE15D200EB6061 /* SyntaxHighlighter.swift in Sources */, 263 | 34E745012CBE141900EB6061 /* SyntaxRules.swift in Sources */, 264 | 34B4DB3D2CBCC51D001F31C6 /* PreviewViewController.swift in Sources */, 265 | 34B4DB3E2CBCC5F3001F31C6 /* PreviewProvider.swift in Sources */, 266 | 34E745072CBE2C6D00EB6061 /* LineReader.swift in Sources */, 267 | 34E745052CBE2C4700EB6061 /* CodeContentLoader.swift in Sources */, 268 | 340B3CB72CBE49FA009C20B5 /* SyntaxSettings.swift in Sources */, 269 | ); 270 | runOnlyForDeploymentPostprocessing = 0; 271 | }; 272 | /* End PBXSourcesBuildPhase section */ 273 | 274 | /* Begin PBXTargetDependency section */ 275 | 34B4DB362CBCADFD001F31C6 /* PBXTargetDependency */ = { 276 | isa = PBXTargetDependency; 277 | target = 34B4DB262CBCADFD001F31C6 /* QuickCodeColorLook */; 278 | targetProxy = 34B4DB352CBCADFD001F31C6 /* PBXContainerItemProxy */; 279 | }; 280 | /* End PBXTargetDependency section */ 281 | 282 | /* Begin XCBuildConfiguration section */ 283 | 34B4DB1E2CBCAD7F001F31C6 /* Debug */ = { 284 | isa = XCBuildConfiguration; 285 | buildSettings = { 286 | ALWAYS_SEARCH_USER_PATHS = NO; 287 | ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; 288 | CLANG_ANALYZER_NONNULL = YES; 289 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 290 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; 291 | CLANG_ENABLE_MODULES = YES; 292 | CLANG_ENABLE_OBJC_ARC = YES; 293 | CLANG_ENABLE_OBJC_WEAK = YES; 294 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 295 | CLANG_WARN_BOOL_CONVERSION = YES; 296 | CLANG_WARN_COMMA = YES; 297 | CLANG_WARN_CONSTANT_CONVERSION = YES; 298 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 299 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 300 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 301 | CLANG_WARN_EMPTY_BODY = YES; 302 | CLANG_WARN_ENUM_CONVERSION = YES; 303 | CLANG_WARN_INFINITE_RECURSION = YES; 304 | CLANG_WARN_INT_CONVERSION = YES; 305 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 306 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 307 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 308 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 309 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 310 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 311 | CLANG_WARN_STRICT_PROTOTYPES = YES; 312 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 313 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 314 | CLANG_WARN_UNREACHABLE_CODE = YES; 315 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 316 | COPY_PHASE_STRIP = NO; 317 | DEBUG_INFORMATION_FORMAT = dwarf; 318 | ENABLE_STRICT_OBJC_MSGSEND = YES; 319 | ENABLE_TESTABILITY = YES; 320 | ENABLE_USER_SCRIPT_SANDBOXING = YES; 321 | GCC_C_LANGUAGE_STANDARD = gnu17; 322 | GCC_DYNAMIC_NO_PIC = NO; 323 | GCC_NO_COMMON_BLOCKS = YES; 324 | GCC_OPTIMIZATION_LEVEL = 0; 325 | GCC_PREPROCESSOR_DEFINITIONS = ( 326 | "DEBUG=1", 327 | "$(inherited)", 328 | ); 329 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 330 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 331 | GCC_WARN_UNDECLARED_SELECTOR = YES; 332 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 333 | GCC_WARN_UNUSED_FUNCTION = YES; 334 | GCC_WARN_UNUSED_VARIABLE = YES; 335 | LOCALIZATION_PREFERS_STRING_CATALOGS = YES; 336 | MACOSX_DEPLOYMENT_TARGET = 12.2; 337 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 338 | MTL_FAST_MATH = YES; 339 | ONLY_ACTIVE_ARCH = YES; 340 | SDKROOT = macosx; 341 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; 342 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 343 | }; 344 | name = Debug; 345 | }; 346 | 34B4DB1F2CBCAD7F001F31C6 /* Release */ = { 347 | isa = XCBuildConfiguration; 348 | buildSettings = { 349 | ALWAYS_SEARCH_USER_PATHS = NO; 350 | ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; 351 | CLANG_ANALYZER_NONNULL = YES; 352 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 353 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; 354 | CLANG_ENABLE_MODULES = YES; 355 | CLANG_ENABLE_OBJC_ARC = YES; 356 | CLANG_ENABLE_OBJC_WEAK = YES; 357 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 358 | CLANG_WARN_BOOL_CONVERSION = YES; 359 | CLANG_WARN_COMMA = YES; 360 | CLANG_WARN_CONSTANT_CONVERSION = YES; 361 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 362 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 363 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 364 | CLANG_WARN_EMPTY_BODY = YES; 365 | CLANG_WARN_ENUM_CONVERSION = YES; 366 | CLANG_WARN_INFINITE_RECURSION = YES; 367 | CLANG_WARN_INT_CONVERSION = YES; 368 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 369 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 370 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 371 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 372 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 373 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 374 | CLANG_WARN_STRICT_PROTOTYPES = YES; 375 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 376 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 377 | CLANG_WARN_UNREACHABLE_CODE = YES; 378 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 379 | COPY_PHASE_STRIP = NO; 380 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 381 | ENABLE_NS_ASSERTIONS = NO; 382 | ENABLE_STRICT_OBJC_MSGSEND = YES; 383 | ENABLE_USER_SCRIPT_SANDBOXING = YES; 384 | GCC_C_LANGUAGE_STANDARD = gnu17; 385 | GCC_NO_COMMON_BLOCKS = YES; 386 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 387 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 388 | GCC_WARN_UNDECLARED_SELECTOR = YES; 389 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 390 | GCC_WARN_UNUSED_FUNCTION = YES; 391 | GCC_WARN_UNUSED_VARIABLE = YES; 392 | LOCALIZATION_PREFERS_STRING_CATALOGS = YES; 393 | MACOSX_DEPLOYMENT_TARGET = 12.2; 394 | MTL_ENABLE_DEBUG_INFO = NO; 395 | MTL_FAST_MATH = YES; 396 | SDKROOT = macosx; 397 | SWIFT_COMPILATION_MODE = wholemodule; 398 | }; 399 | name = Release; 400 | }; 401 | 34B4DB212CBCAD7F001F31C6 /* Debug */ = { 402 | isa = XCBuildConfiguration; 403 | buildSettings = { 404 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 405 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 406 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; 407 | CODE_SIGN_ENTITLEMENTS = CodeColors/CodeColors.entitlements; 408 | CODE_SIGN_STYLE = Automatic; 409 | COMBINE_HIDPI_IMAGES = YES; 410 | CURRENT_PROJECT_VERSION = 1; 411 | DEVELOPMENT_ASSET_PATHS = ""; 412 | DEVELOPMENT_TEAM = 46WUYUUA8V; 413 | ENABLE_HARDENED_RUNTIME = YES; 414 | ENABLE_PREVIEWS = YES; 415 | GENERATE_INFOPLIST_FILE = YES; 416 | INFOPLIST_KEY_CFBundleDisplayName = "Code Colors "; 417 | INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools"; 418 | INFOPLIST_KEY_NSHumanReadableCopyright = "Quet Almahdi Morris"; 419 | LD_RUNPATH_SEARCH_PATHS = ( 420 | "$(inherited)", 421 | "@executable_path/../Frameworks", 422 | ); 423 | MACOSX_DEPLOYMENT_TARGET = 12.2; 424 | MARKETING_VERSION = oct2024; 425 | PRODUCT_BUNDLE_IDENTIFIER = com.oil3.CodeColors; 426 | PRODUCT_NAME = "$(TARGET_NAME)"; 427 | SWIFT_EMIT_LOC_STRINGS = YES; 428 | SWIFT_VERSION = 5.0; 429 | }; 430 | name = Debug; 431 | }; 432 | 34B4DB222CBCAD7F001F31C6 /* Release */ = { 433 | isa = XCBuildConfiguration; 434 | buildSettings = { 435 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 436 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 437 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; 438 | CODE_SIGN_ENTITLEMENTS = CodeColors/CodeColors.entitlements; 439 | CODE_SIGN_STYLE = Automatic; 440 | COMBINE_HIDPI_IMAGES = YES; 441 | CURRENT_PROJECT_VERSION = 1; 442 | DEVELOPMENT_ASSET_PATHS = ""; 443 | DEVELOPMENT_TEAM = 46WUYUUA8V; 444 | ENABLE_HARDENED_RUNTIME = YES; 445 | ENABLE_PREVIEWS = YES; 446 | GENERATE_INFOPLIST_FILE = YES; 447 | INFOPLIST_KEY_CFBundleDisplayName = "Code Colors "; 448 | INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools"; 449 | INFOPLIST_KEY_NSHumanReadableCopyright = "Quet Almahdi Morris"; 450 | LD_RUNPATH_SEARCH_PATHS = ( 451 | "$(inherited)", 452 | "@executable_path/../Frameworks", 453 | ); 454 | MACOSX_DEPLOYMENT_TARGET = 12.2; 455 | MARKETING_VERSION = oct2024; 456 | PRODUCT_BUNDLE_IDENTIFIER = com.oil3.CodeColors; 457 | PRODUCT_NAME = "$(TARGET_NAME)"; 458 | SWIFT_EMIT_LOC_STRINGS = YES; 459 | SWIFT_VERSION = 5.0; 460 | }; 461 | name = Release; 462 | }; 463 | 34B4DB392CBCADFD001F31C6 /* Debug */ = { 464 | isa = XCBuildConfiguration; 465 | buildSettings = { 466 | CODE_SIGN_ENTITLEMENTS = QuickCodeColorLook/QuickCodeColorLook.entitlements; 467 | CODE_SIGN_STYLE = Automatic; 468 | CURRENT_PROJECT_VERSION = 1; 469 | DEVELOPMENT_TEAM = 46WUYUUA8V; 470 | ENABLE_HARDENED_RUNTIME = YES; 471 | GENERATE_INFOPLIST_FILE = YES; 472 | INFOPLIST_FILE = QuickCodeColorLook/Info.plist; 473 | INFOPLIST_KEY_CFBundleDisplayName = QuickCodeColorLook; 474 | INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools"; 475 | INFOPLIST_KEY_NSHumanReadableCopyright = "Quet Almahdi Morris"; 476 | LD_RUNPATH_SEARCH_PATHS = ( 477 | "$(inherited)", 478 | "@executable_path/../Frameworks", 479 | "@executable_path/../../../../Frameworks", 480 | ); 481 | MACOSX_DEPLOYMENT_TARGET = 12.2; 482 | PRODUCT_BUNDLE_IDENTIFIER = com.oil3.CodeColors.QuickCodeColorLook; 483 | PRODUCT_NAME = "$(TARGET_NAME)"; 484 | SKIP_INSTALL = YES; 485 | SWIFT_EMIT_LOC_STRINGS = YES; 486 | SWIFT_VERSION = 5.0; 487 | }; 488 | name = Debug; 489 | }; 490 | 34B4DB3A2CBCADFD001F31C6 /* Release */ = { 491 | isa = XCBuildConfiguration; 492 | buildSettings = { 493 | CODE_SIGN_ENTITLEMENTS = QuickCodeColorLook/QuickCodeColorLook.entitlements; 494 | CODE_SIGN_STYLE = Automatic; 495 | CURRENT_PROJECT_VERSION = 1; 496 | DEVELOPMENT_TEAM = 46WUYUUA8V; 497 | ENABLE_HARDENED_RUNTIME = YES; 498 | GENERATE_INFOPLIST_FILE = YES; 499 | INFOPLIST_FILE = QuickCodeColorLook/Info.plist; 500 | INFOPLIST_KEY_CFBundleDisplayName = QuickCodeColorLook; 501 | INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools"; 502 | INFOPLIST_KEY_NSHumanReadableCopyright = "Quet Almahdi Morris"; 503 | LD_RUNPATH_SEARCH_PATHS = ( 504 | "$(inherited)", 505 | "@executable_path/../Frameworks", 506 | "@executable_path/../../../../Frameworks", 507 | ); 508 | MACOSX_DEPLOYMENT_TARGET = 12.2; 509 | PRODUCT_BUNDLE_IDENTIFIER = com.oil3.CodeColors.QuickCodeColorLook; 510 | PRODUCT_NAME = "$(TARGET_NAME)"; 511 | SKIP_INSTALL = YES; 512 | SWIFT_EMIT_LOC_STRINGS = YES; 513 | SWIFT_VERSION = 5.0; 514 | }; 515 | name = Release; 516 | }; 517 | /* End XCBuildConfiguration section */ 518 | 519 | /* Begin XCConfigurationList section */ 520 | 34B4DB0C2CBCAD7E001F31C6 /* Build configuration list for PBXProject "CodeColors" */ = { 521 | isa = XCConfigurationList; 522 | buildConfigurations = ( 523 | 34B4DB1E2CBCAD7F001F31C6 /* Debug */, 524 | 34B4DB1F2CBCAD7F001F31C6 /* Release */, 525 | ); 526 | defaultConfigurationIsVisible = 0; 527 | defaultConfigurationName = Release; 528 | }; 529 | 34B4DB202CBCAD7F001F31C6 /* Build configuration list for PBXNativeTarget "CodeColors" */ = { 530 | isa = XCConfigurationList; 531 | buildConfigurations = ( 532 | 34B4DB212CBCAD7F001F31C6 /* Debug */, 533 | 34B4DB222CBCAD7F001F31C6 /* Release */, 534 | ); 535 | defaultConfigurationIsVisible = 0; 536 | defaultConfigurationName = Release; 537 | }; 538 | 34B4DB382CBCADFD001F31C6 /* Build configuration list for PBXNativeTarget "QuickCodeColorLook" */ = { 539 | isa = XCConfigurationList; 540 | buildConfigurations = ( 541 | 34B4DB392CBCADFD001F31C6 /* Debug */, 542 | 34B4DB3A2CBCADFD001F31C6 /* Release */, 543 | ); 544 | defaultConfigurationIsVisible = 0; 545 | defaultConfigurationName = Release; 546 | }; 547 | /* End XCConfigurationList section */ 548 | }; 549 | rootObject = 34B4DB092CBCAD7E001F31C6 /* Project object */; 550 | } 551 | -------------------------------------------------------------------------------- /CodeColors.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /CodeColors.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /CodeColors.xcodeproj/project.xcworkspace/xcuserdata/morris.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Oil3/CodeColors-Quicklook-Syntax-Highlighting/0cd7ab07b32add0424e2d014d9b65abef7a6e833/CodeColors.xcodeproj/project.xcworkspace/xcuserdata/morris.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /CodeColors.xcodeproj/project.xcworkspace/xcuserdata/zzs.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Oil3/CodeColors-Quicklook-Syntax-Highlighting/0cd7ab07b32add0424e2d014d9b65abef7a6e833/CodeColors.xcodeproj/project.xcworkspace/xcuserdata/zzs.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /CodeColors.xcodeproj/xcuserdata/morris.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /CodeColors.xcodeproj/xcuserdata/morris.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | CodeColors.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 0 11 | 12 | QuickCodeColorLook.xcscheme_^#shared#^_ 13 | 14 | orderHint 15 | 1 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /CodeColors.xcodeproj/xcuserdata/ssz.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /CodeColors.xcodeproj/xcuserdata/ssz.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | CodeColors.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 0 11 | 12 | QuickCodeColorLook.xcscheme_^#shared#^_ 13 | 14 | orderHint 15 | 1 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /CodeColors.xcodeproj/xcuserdata/zzs.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | CodeColors.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 0 11 | 12 | QuickCodeColorLook.xcscheme_^#shared#^_ 13 | 14 | orderHint 15 | 1 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /CodeColors/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "colors" : [ 3 | { 4 | "idiom" : "universal" 5 | } 6 | ], 7 | "info" : { 8 | "author" : "xcode", 9 | "version" : 1 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /CodeColors/Assets.xcassets/AppIcon.appiconset/1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Oil3/CodeColors-Quicklook-Syntax-Highlighting/0cd7ab07b32add0424e2d014d9b65abef7a6e833/CodeColors/Assets.xcassets/AppIcon.appiconset/1024.png -------------------------------------------------------------------------------- /CodeColors/Assets.xcassets/AppIcon.appiconset/128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Oil3/CodeColors-Quicklook-Syntax-Highlighting/0cd7ab07b32add0424e2d014d9b65abef7a6e833/CodeColors/Assets.xcassets/AppIcon.appiconset/128.png -------------------------------------------------------------------------------- /CodeColors/Assets.xcassets/AppIcon.appiconset/16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Oil3/CodeColors-Quicklook-Syntax-Highlighting/0cd7ab07b32add0424e2d014d9b65abef7a6e833/CodeColors/Assets.xcassets/AppIcon.appiconset/16.png -------------------------------------------------------------------------------- /CodeColors/Assets.xcassets/AppIcon.appiconset/256 1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Oil3/CodeColors-Quicklook-Syntax-Highlighting/0cd7ab07b32add0424e2d014d9b65abef7a6e833/CodeColors/Assets.xcassets/AppIcon.appiconset/256 1.png -------------------------------------------------------------------------------- /CodeColors/Assets.xcassets/AppIcon.appiconset/256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Oil3/CodeColors-Quicklook-Syntax-Highlighting/0cd7ab07b32add0424e2d014d9b65abef7a6e833/CodeColors/Assets.xcassets/AppIcon.appiconset/256.png -------------------------------------------------------------------------------- /CodeColors/Assets.xcassets/AppIcon.appiconset/32 1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Oil3/CodeColors-Quicklook-Syntax-Highlighting/0cd7ab07b32add0424e2d014d9b65abef7a6e833/CodeColors/Assets.xcassets/AppIcon.appiconset/32 1.png -------------------------------------------------------------------------------- /CodeColors/Assets.xcassets/AppIcon.appiconset/32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Oil3/CodeColors-Quicklook-Syntax-Highlighting/0cd7ab07b32add0424e2d014d9b65abef7a6e833/CodeColors/Assets.xcassets/AppIcon.appiconset/32.png -------------------------------------------------------------------------------- /CodeColors/Assets.xcassets/AppIcon.appiconset/512 1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Oil3/CodeColors-Quicklook-Syntax-Highlighting/0cd7ab07b32add0424e2d014d9b65abef7a6e833/CodeColors/Assets.xcassets/AppIcon.appiconset/512 1.png -------------------------------------------------------------------------------- /CodeColors/Assets.xcassets/AppIcon.appiconset/512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Oil3/CodeColors-Quicklook-Syntax-Highlighting/0cd7ab07b32add0424e2d014d9b65abef7a6e833/CodeColors/Assets.xcassets/AppIcon.appiconset/512.png -------------------------------------------------------------------------------- /CodeColors/Assets.xcassets/AppIcon.appiconset/64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Oil3/CodeColors-Quicklook-Syntax-Highlighting/0cd7ab07b32add0424e2d014d9b65abef7a6e833/CodeColors/Assets.xcassets/AppIcon.appiconset/64.png -------------------------------------------------------------------------------- /CodeColors/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "16.png", 5 | "idiom" : "mac", 6 | "scale" : "1x", 7 | "size" : "16x16" 8 | }, 9 | { 10 | "filename" : "32 1.png", 11 | "idiom" : "mac", 12 | "scale" : "2x", 13 | "size" : "16x16" 14 | }, 15 | { 16 | "filename" : "32.png", 17 | "idiom" : "mac", 18 | "scale" : "1x", 19 | "size" : "32x32" 20 | }, 21 | { 22 | "filename" : "64.png", 23 | "idiom" : "mac", 24 | "scale" : "2x", 25 | "size" : "32x32" 26 | }, 27 | { 28 | "filename" : "128.png", 29 | "idiom" : "mac", 30 | "scale" : "1x", 31 | "size" : "128x128" 32 | }, 33 | { 34 | "filename" : "256 1.png", 35 | "idiom" : "mac", 36 | "scale" : "2x", 37 | "size" : "128x128" 38 | }, 39 | { 40 | "filename" : "256.png", 41 | "idiom" : "mac", 42 | "scale" : "1x", 43 | "size" : "256x256" 44 | }, 45 | { 46 | "filename" : "512.png", 47 | "idiom" : "mac", 48 | "scale" : "2x", 49 | "size" : "256x256" 50 | }, 51 | { 52 | "filename" : "512 1.png", 53 | "idiom" : "mac", 54 | "scale" : "1x", 55 | "size" : "512x512" 56 | }, 57 | { 58 | "filename" : "1024.png", 59 | "idiom" : "mac", 60 | "scale" : "2x", 61 | "size" : "512x512" 62 | } 63 | ], 64 | "info" : { 65 | "author" : "xcode", 66 | "version" : 1 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /CodeColors/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /CodeColors/CodeColors.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.application-groups 8 | 9 | com.oil3.codecolors 10 | 11 | com.apple.security.files.user-selected.read-write 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /CodeColors/CodeColorsApp.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeColorsApp.swift 3 | // CodeColors: Syntax Highlighting 4 | // 5 | // Created by Almahdi Morris on 13/10/24. 6 | // 7 | 8 | import SwiftUI 9 | 10 | @main 11 | struct CodeColorsApp: App { 12 | var body: some Scene { 13 | WindowGroup { 14 | SettingsView() 15 | } 16 | } 17 | } 18 | 19 | 20 | // 21 | // Copyright Almahdi Morris Quet 2024 22 | // 23 | -------------------------------------------------------------------------------- /CodeColors/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /CodeColors/SettingsView.swift: -------------------------------------------------------------------------------- 1 | import SwiftUI 2 | 3 | struct SettingsView: View { 4 | @ObservedObject var settings = SyntaxSettings.shared 5 | 6 | var body: some View { 7 | Form { 8 | ForEach(settings.syntaxColors.keys.sorted(), id: \.self) { key in 9 | HStack { 10 | Text(key.capitalized) 11 | Spacer() 12 | ColorPicker("", selection: Binding( 13 | get: { settings.syntaxColors[key] ?? .black }, 14 | set: { settings.syntaxColors[key] = $0 } 15 | )) 16 | .labelsHidden() 17 | } 18 | } 19 | HStack { 20 | Button("Reset to Default") { 21 | settings.resetToDefault() 22 | } 23 | Spacer() 24 | Button("Save") { 25 | settings.saveSettings() 26 | } 27 | } 28 | } 29 | .padding() 30 | .frame(width: 400) 31 | } 32 | } 33 | 34 | 35 | -------------------------------------------------------------------------------- /CodeColors/SyntaxSettings.swift: -------------------------------------------------------------------------------- 1 | import SwiftUI 2 | import Combine 3 | 4 | class SyntaxSettings: ObservableObject { 5 | static let shared = SyntaxSettings() 6 | let userDefaults = UserDefaults(suiteName: "com.oil3.codecolors") 7 | 8 | @Published var syntaxColors: [String: Color] = [:] 9 | 10 | private init() { 11 | loadSettings() 12 | } 13 | 14 | func loadSettings() { 15 | if let data = userDefaults?.data(forKey: "syntaxColors"), 16 | let savedColors = try? JSONDecoder().decode([String: CodableColor].self, from: data) { 17 | self.syntaxColors = savedColors.mapValues { $0.color } 18 | } else { 19 | // Load default colors 20 | syntaxColors = SyntaxSettings.defaultColors 21 | } 22 | } 23 | 24 | func saveSettings() { 25 | let codableColors = syntaxColors.mapValues { CodableColor(color: $0) } 26 | if let data = try? JSONEncoder().encode(codableColors) { 27 | userDefaults?.set(data, forKey: "syntaxColors") 28 | } 29 | } 30 | 31 | func resetToDefault() { 32 | syntaxColors = SyntaxSettings.defaultColors 33 | saveSettings() 34 | } 35 | 36 | static let defaultColors: [String: Color] = [ 37 | "string": .teal, 38 | "number": .orange, 39 | "boolean": .blue, 40 | "keyword": .purple, 41 | "comment": .green, 42 | // need add more default colors 43 | ] 44 | } 45 | 46 | struct CodableColor: Codable { 47 | let color: Color 48 | 49 | enum CodingKeys: CodingKey { 50 | case red, green, blue, opacity 51 | } 52 | 53 | init(color: Color) { 54 | let components = color.components 55 | self.color = Color(red: components.red, green: components.green, blue: components.blue, opacity: components.opacity) 56 | } 57 | 58 | init(from decoder: Decoder) throws { 59 | let container = try decoder.container(keyedBy: CodingKeys.self) 60 | let red = try container.decode(Double.self, forKey: .red) 61 | let green = try container.decode(Double.self, forKey: .green) 62 | let blue = try container.decode(Double.self, forKey: .blue) 63 | let opacity = try container.decode(Double.self, forKey: .opacity) 64 | color = Color(red: red, green: green, blue: blue, opacity: opacity) 65 | } 66 | 67 | func encode(to encoder: Encoder) throws { 68 | var container = encoder.container(keyedBy: CodingKeys.self) 69 | let components = color.components 70 | try container.encode(components.red, forKey: .red) 71 | try container.encode(components.green, forKey: .green) 72 | try container.encode(components.blue, forKey: .blue) 73 | try container.encode(components.opacity, forKey: .opacity) 74 | } 75 | } 76 | 77 | extension Color { 78 | var components: (red: Double, green: Double, blue: Double, opacity: Double) { 79 | #if os(macOS) 80 | let nsColor = NSColor(self) 81 | var red: CGFloat = 0 82 | var green: CGFloat = 0 83 | var blue: CGFloat = 0 84 | var opacity: CGFloat = 0 85 | nsColor.getRed(&red, green: &green, blue: &blue, alpha: &opacity) 86 | return (Double(red), Double(green), Double(blue), Double(opacity)) 87 | #else 88 | // iOS placeholder 89 | #endif 90 | } 91 | } 92 | 93 | 94 | // 95 | // Copyright Almahdi Morris Quet 2024 96 | // 97 | -------------------------------------------------------------------------------- /QuickCodeColorLook/CodeContentLoader.swift: -------------------------------------------------------------------------------- 1 | import SwiftUI 2 | import Combine 3 | 4 | class CodeContentLoader: ObservableObject { 5 | @Published var attributedContent: AttributedString = AttributedString() 6 | @Published var isLoading = false 7 | @Published var totalLines = 0 8 | @Published var progress: Double = 0.0 9 | @Published var errorMessage: String? = nil 10 | 11 | private var shouldCancel = false 12 | private var cachedLines: [AttributedString] = [] 13 | private var reader: LineReader? 14 | private let batchSize = 100 15 | private let preloadThreshold = 20 16 | private let maxLines = 10_000 17 | 18 | func loadFile(at url: URL, maxFileSize: Int64 = 5 * 1024 * 1024) { 19 | cleanup() // Reset the loader 20 | 21 | // Check file size 22 | if let fileSize = try? url.resourceValues(forKeys: [.fileSizeKey]).fileSize { 23 | if Int64(fileSize) > maxFileSize { 24 | DispatchQueue.main.async { 25 | self.errorMessage = "File size exceeds the preview limit of \(maxFileSize / 1024 / 1024) MB." 26 | self.isLoading = false 27 | } 28 | return 29 | } 30 | } 31 | 32 | let fileExtension = url.pathExtension.lowercased() 33 | self.isLoading = true 34 | self.shouldCancel = false 35 | 36 | DispatchQueue.global(qos: .userInitiated).async { 37 | guard let reader = LineReader(url: url) else { 38 | DispatchQueue.main.async { 39 | self.errorMessage = "Unable to open file. Unsupported format or corrupt file." 40 | self.isLoading = false 41 | } 42 | return 43 | } 44 | self.reader = reader 45 | self.processLines(fileExtension: fileExtension) 46 | } 47 | } 48 | 49 | private func processLines(fileExtension: String) { 50 | var lineNumber = 0 51 | var batch = [AttributedString]() 52 | 53 | while !shouldCancel { 54 | guard let line = reader?.nextLine() else { break } 55 | let highlightedLine = SyntaxHighlighter.highlightLine(line: line, fileExtension: fileExtension) 56 | batch.append(highlightedLine) 57 | lineNumber += 1 58 | 59 | if batch.count >= batchSize { 60 | appendBatch(batch, lineNumber: lineNumber) 61 | batch.removeAll() 62 | } 63 | 64 | // Stop processing if max lines are reached 65 | if lineNumber >= maxLines { 66 | DispatchQueue.main.async { 67 | self.errorMessage = "Preview truncated to \(self.maxLines) lines." 68 | self.isLoading = false 69 | } 70 | break 71 | } 72 | } 73 | 74 | if !batch.isEmpty { 75 | appendBatch(batch, lineNumber: lineNumber) 76 | } 77 | 78 | DispatchQueue.main.async { 79 | self.isLoading = false 80 | } 81 | } 82 | 83 | private func appendBatch(_ batch: [AttributedString], lineNumber: Int) { 84 | DispatchQueue.main.async { 85 | self.cachedLines.append(contentsOf: batch) 86 | self.totalLines = lineNumber 87 | self.progress = Double(lineNumber) / Double(self.maxLines) 88 | } 89 | } 90 | 91 | func getLine(at index: Int) -> AttributedString { 92 | guard index >= 0 && index < cachedLines.count else { 93 | return AttributedString("") 94 | } 95 | return cachedLines[index] 96 | } 97 | 98 | func loadNextBatchIfNeeded(currentIndex: Int) { 99 | guard currentIndex >= totalLines - preloadThreshold, !isLoading else { return } 100 | processLines(fileExtension: "swift") // Replace with the actual file extension 101 | } 102 | 103 | func cancelLoading() { 104 | shouldCancel = true 105 | cleanup() 106 | } 107 | 108 | private func cleanup() { 109 | shouldCancel = true 110 | reader?.close() 111 | reader = nil 112 | cachedLines.removeAll() 113 | attributedContent = AttributedString() 114 | isLoading = false 115 | totalLines = 0 116 | progress = 0.0 117 | errorMessage = nil 118 | } 119 | } 120 | // 121 | // Copyright Almahdi Morris Quet 2024-2025 122 | // 123 | -------------------------------------------------------------------------------- /QuickCodeColorLook/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 24B2082 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleDisplayName 10 | QuickCodeColorLook 11 | CFBundleExecutable 12 | QuickCodeColorLook 13 | CFBundleIdentifier 14 | com.oil3.CodeColors.QuickCodeColorLook 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | QuickCodeColorLook 19 | CFBundlePackageType 20 | XPC! 21 | CFBundleShortVersionString 22 | 2025Feb 23 | CFBundleSupportedPlatforms 24 | 25 | MacOSX 26 | 27 | CFBundleVersion 28 | 1.2 29 | DTCompiler 30 | com.apple.compilers.llvm.clang.1_0 31 | DTPlatformBuild 32 | 24C94 33 | DTPlatformName 34 | macosx 35 | DTPlatformVersion 36 | 15.2 37 | DTSDKBuild 38 | 24C94 39 | DTSDKName 40 | macosx15.2 41 | DTXcode 42 | 1620 43 | DTXcodeBuild 44 | 16C5032a 45 | LSApplicationCategoryType 46 | public.app-category.developer-tools 47 | LSMinimumSystemVersion 48 | 12.2 49 | NSExtension 50 | 51 | NSExtensionAttributes 52 | 53 | QLIsDataBasedPreview 54 | 55 | QLSupportedContentTypes 56 | 57 | public.python-script 58 | public.shell-script 59 | com.barebones.bbedit.ini-configuration 60 | public.c-source 61 | public.c-plus-plus-source 62 | public.c-header 63 | public.make-source 64 | dyn.ah62d4rv4ge80e2py 65 | dyn.ah62d4rv4ge81a22 66 | dyn.ah62d4rv4ge80e2p4qz0a 67 | dyn.ah62d4rv4ge80e8xq 68 | dyn.ah62d4rv4ge80865x 69 | public.protobuf-source 70 | dyn.ah62d4rv4ge804ra 71 | dyn.ah62d4rv4ge80e7pmrvwa 72 | dyn.ah62d4rv4ge80c5k 73 | public.ruby-script 74 | public.php-script 75 | public.perl-script 76 | public.objective-c-source 77 | public.log 78 | public.lex-source 79 | org.golang.go-source 80 | org.kotlinlang.kotlin-source 81 | public.assembly-source 82 | public.fortran-source 83 | public.nasm-assembly-source 84 | public.pascal-source 85 | public.m3u-playlist 86 | dyn.ah62d4rv4ge80c22 87 | dyn.ah62d4rv4ge81a55esr2gn22 88 | dyn.ah62d4rv4ge81a55e 89 | dyn.ah62d4rv4ge80w5u 90 | com.barebones.bbedit.toml-source 91 | com.barebones.bbedit.actionscript-source 92 | com.barebones.bbedit.arduino-source 93 | com.barebones.bbedit.go-source 94 | com.barebones.bbedit.typescript-source 95 | com.barebones.bbedit.rust-source 96 | com.barebones.bbedit.vbscript-source 97 | public.csh-script 98 | public.css 99 | dyn.ah62d4rv4ge80s6xbqv0gn 100 | public.object-code 101 | public.html 102 | dyn.ah62d4rv4ge81a6xtsbw1e7dmqz3u 103 | com.sun.java-source 104 | dyn.ah62d4rv4ge80y4py 105 | dyn.ah62d4rv4ge81g7pu 106 | dyn.ah62d4rv4ge8064psrmuu 107 | dyn.ah62d4rv4ge81e65y 108 | dyn.ah62d4rv4ge8xc 109 | dyn.ah62d4rv4ge80k 110 | com.netscape.javascript-source 111 | dyn.ah62d4rv4ge80g5pbrrwu 112 | public.yaml 113 | public.data 114 | public.objective-c-plus-plus-source 115 | public.xml 116 | public.json 117 | public.swift-source 118 | com.apple.property-list 119 | 120 | QLSupportsSearchableItems 121 | 122 | 123 | NSExtensionPointIdentifier 124 | com.apple.quicklook.preview 125 | NSExtensionPrincipalClass 126 | QuickCodeColorLook.PreviewViewController 127 | 128 | NSHumanReadableCopyright 129 | Quet Almahdi Morris 130 | 131 | 132 | -------------------------------------------------------------------------------- /QuickCodeColorLook/LineReader.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | class LineReader { 4 | let encoding: String.Encoding 5 | let chunkSize: Int 6 | var fileHandle: FileHandle! 7 | var buffer: Data 8 | var atEof: Bool = false 9 | 10 | init?(url: URL, encoding: String.Encoding = .utf8, chunkSize: Int = 4096) { 11 | guard let fileHandle = try? FileHandle(forReadingFrom: url) else { return nil } 12 | self.fileHandle = fileHandle 13 | self.encoding = encoding 14 | self.chunkSize = chunkSize 15 | self.buffer = Data(capacity: chunkSize) 16 | } 17 | 18 | func nextLine() -> String? { 19 | while !atEof { 20 | if let range = buffer.range(of: Data([0x0A])) { // Newline character 21 | let subData = buffer.subdata(in: 0.. 0 { 28 | buffer.append(tmpData) 29 | } else { 30 | atEof = true 31 | if buffer.count > 0 { 32 | let line = String(data: buffer, encoding: encoding) 33 | buffer.count = 0 34 | return line 35 | } 36 | } 37 | } 38 | return nil 39 | } 40 | 41 | func close() { 42 | try? fileHandle.close() 43 | } 44 | } 45 | // 46 | // Copyright Almahdi Morris Quet 2024-2025 47 | // 48 | -------------------------------------------------------------------------------- /QuickCodeColorLook/PreviewProvider.swift: -------------------------------------------------------------------------------- 1 | import QuickLook 2 | import QuickLookUI 3 | import SwiftUI 4 | import AppKit 5 | 6 | class PreviewProvider: QLPreviewProvider { 7 | func providePreview(for request: QLFilePreviewRequest, handler: @escaping (QLPreviewReply?, Error?) -> Void) { 8 | } 9 | } 10 | // ContentView.swift 11 | import SwiftUI 12 | 13 | struct ContentView: View { 14 | @ObservedObject var loader: CodeContentLoader 15 | @State private var fontSize: CGFloat = 12.0 16 | 17 | var body: some View { 18 | VStack { 19 | if loader.isLoading { 20 | ProgressView(value: loader.progress, total: 1.0) 21 | .padding() 22 | Text("Loading...") 23 | } else if let error = loader.errorMessage { 24 | Text(error) 25 | .foregroundColor(.red) 26 | .padding() 27 | } else { 28 | ScrollView { 29 | LazyVStack(alignment: .leading, spacing: 2) { 30 | ForEach(0..? 7 | let loader = CodeContentLoader() 8 | 9 | override func loadView() { 10 | self.view = NSView() 11 | } 12 | 13 | func preparePreviewOfFile(at fileURL: URL, completionHandler handler: @escaping (Error?) -> Void) { 14 | // Cancel any ongoing loading 15 | loader.cancelLoading() 16 | // Start loading the new file 17 | loader.loadFile(at: fileURL) 18 | 19 | DispatchQueue.main.async { 20 | // Remove existing content view if any 21 | self.contentView?.removeFromSuperview() 22 | 23 | // Embed the SwiftUI view into NSHostingView 24 | let hostingView = NSHostingView(rootView: ContentView(loader: self.loader)) 25 | hostingView.frame = self.view.bounds 26 | hostingView.autoresizingMask = [.width, .height] 27 | self.view.addSubview(hostingView) 28 | self.contentView = hostingView 29 | 30 | handler(nil) 31 | } 32 | } 33 | 34 | override func viewDidDisappear() { 35 | super.viewDidDisappear() 36 | loader.cancelLoading() 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /QuickCodeColorLook/QuickCodeColorLook.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.application-groups 8 | 9 | com.oil3.codecolors 10 | 11 | com.apple.security.files.user-selected.read-write 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /QuickCodeColorLook/SyntaxHighlighter.swift: -------------------------------------------------------------------------------- 1 | import SwiftUI 2 | 3 | struct SyntaxHighlighter { 4 | static func highlightLine(line: String, fileExtension: String) -> AttributedString { 5 | var lineAttributedString = AttributedString(line) 6 | applySyntaxHighlighting(to: &lineAttributedString, fileExtension: fileExtension) 7 | return lineAttributedString 8 | } 9 | 10 | static func applySyntaxHighlighting(to attributedString: inout AttributedString, fileExtension: String) { 11 | let nsString = String(attributedString.characters) as NSString 12 | let wholeRange = NSRange(location: 0, length: nsString.length) 13 | let patterns = SyntaxRules.shared.rules(for: fileExtension) 14 | 15 | for (pattern, color) in patterns { 16 | if let regex = try? NSRegularExpression(pattern: pattern, options: []) { 17 | let matches = regex.matches(in: nsString as String, options: [], range: wholeRange) 18 | for match in matches { 19 | if let range = Range(match.range, in: attributedString) { 20 | attributedString[range].foregroundColor = Color(color) 21 | } 22 | } 23 | } 24 | } 25 | } 26 | } 27 | 28 | // 29 | // Copyright Almahdi Morris Quet 2024-2025 30 | // 31 | -------------------------------------------------------------------------------- /QuickCodeColorLook/SyntaxRules.swift: -------------------------------------------------------------------------------- 1 | import AppKit 2 | 3 | class SyntaxRules { 4 | static let shared = SyntaxRules() 5 | 6 | private var allRules: [String: [(pattern: String, color: NSColor)]] 7 | private let commonRules: [(pattern: String, color: NSColor)] 8 | 9 | private init() { 10 | self.commonRules = [ 11 | // Strings 12 | ("(\"[^\"]*\"|'[^']*')", NSColor.systemTeal), 13 | // Numbers (including negative numbers) 14 | ("\\b-?\\d+(?:\\.\\d+)?\\b", NSColor.orange), 15 | // Booleans 16 | ("\\b(?:True|False|true|false)\\b", NSColor.systemBlue), 17 | // Comments 18 | ("#.*", NSColor.green), 19 | ("\"\"\".*?\"\"\"", NSColor.green), 20 | 21 | // Python 22 | ("\\b(def|class|if|else|elif|return|import|from|as|for|while|try|except|with|lambda|pass|break|continue|yield|assert|async|await)\\b", NSColor.systemPurple), 23 | 24 | ] 25 | 26 | let swiftKeywords = [ 27 | "class", "struct", "enum", "func", "let", "var", "if", "else", "switch", 28 | "case", "default", "break", "continue", "return", "for", "while", "repeat", 29 | "do", "try", "catch", "throw", "throws", "rethrows", "import", "as", "in", 30 | "is", "nil", "true", "false", "public", "private", "fileprivate", "internal", 31 | "open", "static", "extension", "protocol", "guard", "defer", "where", 32 | "associatedtype", "inout", "operator", "init", "super", "self", "Type", 33 | "typealias", "Any", "dynamicType", "return", "->", 34 | "HStack", "VStack", "ScrollView", "LazyVStack", "LazyHStack", "View", "List", "Grid" 35 | 36 | ] 37 | let swiftKeywordPattern = "\\b(\(swiftKeywords.joined(separator: "|")))\\b" 38 | 39 | let swiftRules: [(pattern: String, color: NSColor)] = [ 40 | // Strings 41 | ("(\"[^\"]*\"|'[^']*')", NSColor.systemTeal), 42 | // Numbers (including negative numbers) 43 | ("\\b-?\\d+(?:\\.\\d+)?\\b", NSColor.orange), 44 | // Keywords 45 | (swiftKeywordPattern, NSColor.systemPurple), 46 | // Comments (single line) 47 | ("//.*", NSColor.green), 48 | // Comments (multi-line) 49 | ("/\\*[^*]*\\*+(?:[^/*][^*]*\\*+)*/", NSColor.green), 50 | ("\"\"\".*?\"\"\"", NSColor.green), 51 | 52 | ] 53 | 54 | let htmlRules: [(pattern: String, color: NSColor)] = [ 55 | // Tags 56 | ("]*>", NSColor.systemPurple), 57 | // Attributes 58 | ("\\b[a-zA-Z-]+(?=\\=)", NSColor.systemBlue), 59 | // Attribute values 60 | ("(\"[^\"]*\"|'[^']*')", NSColor.systemTeal), 61 | // Comments 62 | ("", NSColor.green) 63 | ] 64 | 65 | self.allRules = [ 66 | "py": commonRules, 67 | "yaml": commonRules, 68 | "yml": commonRules, 69 | "swift": swiftRules, 70 | "html": htmlRules, 71 | "xml": htmlRules 72 | ] 73 | } 74 | 75 | func rules(for fileExtension: String) -> [(pattern: String, color: NSColor)] { 76 | return allRules[fileExtension] ?? commonRules 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 | 3 |

Code Colors

4 |

5 | 6 | **Code Colors - Quicklook Preview** is a free, very fast Quicklook Extension for macOS. 7 | It is different than others because it uses new SwiftUI Text capabilities: no html, no rtf, no js. 8 | Very fast as in _breaks the sound barrier_: it's opened before the sound of your spacebar/click ends. [`*`](https://github.com/Oil3/CodeColors-Quicklook-Syntax-Highlighting/tree/oil3#sound-on-truth-of-breaking-the-sound-barrier) 9 | 10 | ### Features 11 | - **Any File Types**: More than 60 extensions, such as `.swift`, `.py`, `.yaml`, `.xml`, `.json`, `.c`, `.h`, `.mm`, `.1`, `.gradle`... etc, as well as files without extension. But not Markdown. [Info.plit full list](https://github.com/Oil3/CodeColors-Quicklook-Syntax-Highlighting/blob/oil3/QuickCodeColorLook/Info.plist). 12 | 13 | - **Syntax Highlighting**: Still basic. 14 | - **Lazy Loading**: Loads lines per 96KB chunks for immediate viewing, stops when view disappears. 15 | - **Pure Swift**: 100% Swift with only the code that is necessary: the minimum and nothing external. 16 | - **Main-Thread Offloading**: All file loading and processing are done off the main thread, safeguarding against system freezes. 17 | - **As safe as your file**: Sandboxed, hardened, notarized, doesn't require internet or any permission whatsoever, doesn't run the files, but applies formatting on strings that match a pattern. 18 | - **No File Associations**: Doesn't replace the default app for opening files, doesn't interfere with workflow. 19 | 20 | 21 | 22 | ### Download from Releases or from the repository 23 | 24 | Direct download latest [Universal binary (Silicon and Intel)](https://github.com/Oil3/CodeColors-Quicklook-Syntax-Highlighting/releases/download/LatestFeb2025UniversalBinary/CodeColors.2025Feb.Universal.Binary.zip). 25 | 26 | ## Install 27 | >Launch the app once. This registers the extension as the extension itself stays within the app bundle. 28 | 29 | ## Uninstall 30 | >Delete the app. 31 | 32 | ## Update 33 | >Replace the older app with the newer app. MacOS looks for the extension in the app: if app is moved, a relaunch might be needed. 34 | 35 | 36 | 37 | 38 | 39 | ![ss1_lanczos](https://github.com/user-attachments/assets/df6605b5-b4e8-45ed-88af-60a3d98997ab) 40 | 41 | 42 | ### Issues/todo: 43 | The first priority _was_ to handle a _test file with 23millions characters in 200thousands lines_, with immediate render, no freeze and a quick memory release. 44 | Now the needs are: 45 | - Implementing the logic for customizing the colors which is God willing for next update; right now these are just my colors. 46 | - Fixing an issue where a negative number doesn't have its `-` sign colored. 47 | - import profiles 48 | - Markdown is not in the list to not interfere until we have the settings to choose which extension to ignore. 49 | 50 | ## Sound-on truth of breaking the sound barrier 51 | 52 | [Screen Recording 2025-02-21 at 7.57.07 P720M (1).webm](https://github.com/user-attachments/assets/6b0b2024-b001-4179-9e9f-dca328691eca) 53 | 54 | 55 | _a mac is a mac and it needs to stay comfortable._ 56 | 57 | 58 | --------------------------------------------------------------------------------