Skip to content
Snippets Groups Projects
Commit b19bd802 authored by George Nachman's avatar George Nachman
Browse files

Disable automatic spelling correction, dash substitution, quote substitution,...

Disable automatic spelling correction, dash substitution, quote substitution, data detection, and link detection for advanced paste. Also disable smart insert/delete for advanced paste and notes tool
parent 401fdfbd
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="7531" systemVersion="14C109" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="8191" systemVersion="14F27" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="7531"/>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="8191"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="iTermPasteSpecialViewController">
Loading
Loading
@@ -27,7 +28,7 @@
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<customView id="Hz6-mo-xeY">
<rect key="frame" x="0.0" y="-6" width="444" height="324"/>
<rect key="frame" x="0.0" y="0.0" width="444" height="324"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
<button fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="jfQ-7z-viz">
Loading
Loading
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="7531" systemVersion="14D131" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" customObjectInstantitationMethod="direct">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="8191" systemVersion="14F27" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" customObjectInstantitationMethod="direct">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="7531"/>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="8191"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="iTermPasteSpecialWindowController">
Loading
Loading
@@ -22,7 +23,7 @@
<rect key="contentRect" x="401" y="97" width="501" height="542"/>
<rect key="screenRect" x="0.0" y="0.0" width="1280" height="777"/>
<view key="contentView" id="EiT-Mj-1SZ">
<rect key="frame" x="0.0" y="5" width="501" height="542"/>
<rect key="frame" x="0.0" y="0.0" width="501" height="542"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<button verticalHuggingPriority="750" id="S2m-j3-AMJ">
Loading
Loading
@@ -69,7 +70,7 @@ Gw
<rect key="frame" x="1" y="1" width="459" height="133"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textView importsGraphics="NO" findStyle="panel" continuousSpellChecking="YES" allowsUndo="YES" usesRuler="YES" usesFontPanel="YES" verticallyResizable="YES" allowsNonContiguousLayout="YES" quoteSubstitution="YES" dashSubstitution="YES" spellingCorrection="YES" smartInsertDelete="YES" id="ddg-3D-gh1">
<textView importsGraphics="NO" findStyle="panel" allowsUndo="YES" usesRuler="YES" usesFontPanel="YES" verticallyResizable="YES" allowsNonContiguousLayout="YES" id="ddg-3D-gh1">
<rect key="frame" x="0.0" y="0.0" width="459" height="133"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
Loading
Loading
@@ -87,7 +88,7 @@ Gw
<autoresizingMask key="autoresizingMask"/>
</scroller>
<scroller key="verticalScroller" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="6a9-W4-UQS">
<rect key="frame" x="223" y="1" width="16" height="133"/>
<rect key="frame" x="444" y="1" width="16" height="108"/>
<autoresizingMask key="autoresizingMask"/>
</scroller>
</scrollView>
Loading
Loading
Loading
Loading
@@ -47,6 +47,7 @@ static NSString *kToolNotesSetTextNotification = @"kToolNotesSetTextNotification
textView_.automaticQuoteSubstitutionEnabled = NO;
textView_.automaticDataDetectionEnabled = NO;
textView_.automaticLinkDetectionEnabled = NO;
textView_.smartInsertDeleteEnabled = NO;
 
[scrollview setDocumentView:textView_];
Loading
Loading
Loading
Loading
@@ -126,6 +126,13 @@
}
 
- (void)awakeFromNib {
_preview.automaticSpellingCorrectionEnabled = NO;
_preview.automaticDashSubstitutionEnabled = NO;
_preview.automaticQuoteSubstitutionEnabled = NO;
_preview.automaticDataDetectionEnabled = NO;
_preview.automaticLinkDetectionEnabled = NO;
_preview.smartInsertDeleteEnabled = NO;
for (NSString *label in _labels) {
[_itemList addItemWithTitle:label];
}
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment