mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Remove unused settings keys
More will follow as we hookup the preferences window to TextMate’s property system.
This commit is contained in:
@@ -72,27 +72,11 @@ PUBLIC extern NSString* const kUserDefaultsLicenseOwnerKey;
|
||||
// ==============
|
||||
|
||||
PUBLIC extern NSString* const kUserDefaultsWindowTitleKey;
|
||||
|
||||
PUBLIC extern NSString* const kUserDefaultsThemeUUIDKey;
|
||||
PUBLIC extern NSString* const kUserDefaultsFontNameKey;
|
||||
PUBLIC extern NSString* const kUserDefaultsFontSizeKey;
|
||||
PUBLIC extern NSString* const kUserDefaultsAntiAliasKey;
|
||||
PUBLIC extern NSString* const kUserDefaultsShowInvisiblesKey;
|
||||
|
||||
PUBLIC extern NSString* const kUserDefaultsLineNumbersKey;
|
||||
|
||||
PUBLIC extern NSString* const kUserDefaultsSoftWrapKey;
|
||||
PUBLIC extern NSString* const kUserDefaultsWrapMarginKey;
|
||||
|
||||
PUBLIC extern NSString* const kUserDefaultsTabSizeKey;
|
||||
PUBLIC extern NSString* const kUserDefaultsSoftTabsKey;
|
||||
|
||||
// =========
|
||||
// = Other =
|
||||
// =========
|
||||
|
||||
PUBLIC extern NSString* const kUserDefaultsSpellCheckingKey;
|
||||
PUBLIC extern NSString* const kUserDefaultsSpellingLanguageKey;
|
||||
|
||||
PUBLIC extern NSString* const kUserDefaultsFolderSearchFollowLinksKey;
|
||||
PUBLIC extern NSString* const kUserDefaultsScopeAttributesKey;
|
||||
|
||||
@@ -26,8 +26,6 @@ static NSDictionary* default_environment ()
|
||||
|
||||
static NSDictionary* default_settings ()
|
||||
{
|
||||
NSFont* defaultFont = [NSFont userFixedPitchFontOfSize:0];
|
||||
|
||||
NSString* excludeGlob = @"{*.{o,pyc},Icon\\r,CVS,_darcs,_MTN,\\{arch\\},blib,*~.nib}";
|
||||
NSString* includeGlob = @"{.tm_properties,.htaccess}";
|
||||
NSString* binaryGlob = @"*.{icns,ico,jpg,jpeg,m4v,nib,pdf,png,psd,pyc,rtf,tif,tiff,xib}";
|
||||
@@ -50,16 +48,8 @@ static NSDictionary* default_settings ()
|
||||
@52698, kUserDefaultsRMateServerPortKey,
|
||||
NSFullUserName(), kUserDefaultsLicenseOwnerKey,
|
||||
@"$TM_DISPLAYNAME", kUserDefaultsWindowTitleKey,
|
||||
@"71D40D9D-AE48-11D9-920A-000D93589AF6", kUserDefaultsThemeUUIDKey,
|
||||
[defaultFont familyName], kUserDefaultsFontNameKey,
|
||||
@([defaultFont pointSize]), kUserDefaultsFontSizeKey,
|
||||
YES_obj, kUserDefaultsAntiAliasKey,
|
||||
NO_obj, kUserDefaultsShowInvisiblesKey,
|
||||
YES_obj, kUserDefaultsLineNumbersKey,
|
||||
YES_obj, kUserDefaultsSoftWrapKey,
|
||||
@80, kUserDefaultsWrapMarginKey,
|
||||
@4, kUserDefaultsTabSizeKey,
|
||||
NO_obj, kUserDefaultsSoftTabsKey,
|
||||
nil];
|
||||
}
|
||||
|
||||
@@ -140,27 +130,11 @@ NSString* const kUserDefaultsLicenseOwnerKey = @"licenseOwnerName";
|
||||
// ==============
|
||||
|
||||
NSString* const kUserDefaultsWindowTitleKey = @"windowTitle";
|
||||
|
||||
NSString* const kUserDefaultsThemeUUIDKey = @"themeUUID";
|
||||
NSString* const kUserDefaultsFontNameKey = @"fontName";
|
||||
NSString* const kUserDefaultsFontSizeKey = @"fontSize";
|
||||
NSString* const kUserDefaultsAntiAliasKey = @"antiAlias";
|
||||
NSString* const kUserDefaultsShowInvisiblesKey = @"showInvisibles";
|
||||
|
||||
NSString* const kUserDefaultsLineNumbersKey = @"lineNumbers";
|
||||
|
||||
NSString* const kUserDefaultsSoftWrapKey = @"softWrap";
|
||||
NSString* const kUserDefaultsWrapMarginKey = @"wrapMargin";
|
||||
|
||||
NSString* const kUserDefaultsTabSizeKey = @"tabSize";
|
||||
NSString* const kUserDefaultsSoftTabsKey = @"softTabs";
|
||||
|
||||
// =========
|
||||
// = Other =
|
||||
// =========
|
||||
|
||||
NSString* const kUserDefaultsSpellCheckingKey = @"spellChecking";
|
||||
NSString* const kUserDefaultsSpellingLanguageKey = @"spellingLanguage";
|
||||
|
||||
NSString* const kUserDefaultsFolderSearchFollowLinksKey = @"folderSearchFollowLinks";
|
||||
NSString* const kUserDefaultsScopeAttributesKey = @"scopeAttributes";
|
||||
|
||||
Reference in New Issue
Block a user