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

Fix edit smart selection actions panel, which had broken iboutlets

parent 9e804e9a
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="8191" systemVersion="15A284" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="8191" systemVersion="14F27" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<dependencies>
<deployment version="1070" identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="8191"/>
Loading
Loading
@@ -114,10 +114,10 @@
</customObject>
<customObject id="6306" customClass="ContextMenuActionPrefsController">
<connections>
<outlet property="actionColumn_" destination="6286" id="6307"/>
<outlet property="parameterColumn_" destination="6289" id="6308"/>
<outlet property="tableView_" destination="6283" id="6309"/>
<outlet property="titleColumn_" destination="6285" id="6310"/>
<outlet property="_actionColumn" destination="6286" id="8Tc-fi-aOk"/>
<outlet property="_parameterColumn" destination="6289" id="9yP-UB-HxI"/>
<outlet property="_tableView" destination="6283" id="gJq-js-OIX"/>
<outlet property="_titleColumn" destination="6285" id="bNP-6A-8xD"/>
<outlet property="window" destination="6274" id="6311"/>
</connections>
</customObject>
Loading
Loading
@@ -382,7 +382,7 @@ Gw
<animations/>
</view>
</window>
<window title="Preferences" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" releasedWhenClosed="NO" showsToolbarButton="NO" visibleAtLaunch="NO" animationBehavior="default" id="1923" customClass="NSPanel">
<window title="Preferences" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" releasedWhenClosed="NO" showsToolbarButton="NO" visibleAtLaunch="NO" animationBehavior="default" id="1923" userLabel="Main Preferences Window" customClass="NSPanel">
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/>
<windowPositionMask key="initialPositionMask" leftStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="269" y="110" width="924" height="463"/>
Loading
Loading
@@ -786,7 +786,7 @@ Gw
<outlet property="view" destination="rwh-oX-e8l" id="lzF-4C-WYs"/>
</connections>
</customObject>
<window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" hidesOnDeactivate="YES" oneShot="NO" visibleAtLaunch="NO" animationBehavior="default" id="5904" userLabel="Panel (Triggers)" customClass="NSPanel">
<window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" hidesOnDeactivate="YES" oneShot="NO" visibleAtLaunch="NO" animationBehavior="default" id="5904" userLabel="Triggers Panel" customClass="NSPanel">
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES" utility="YES" documentModal="YES"/>
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="162" y="123" width="804" height="356"/>
Loading
Loading
@@ -959,7 +959,7 @@ DQ
<outlet property="delegate" destination="5797" id="6373"/>
</connections>
</window>
<window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" hidesOnDeactivate="YES" oneShot="NO" visibleAtLaunch="NO" animationBehavior="default" id="5910" userLabel="Panel (Smart Selection)" customClass="NSPanel">
<window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" hidesOnDeactivate="YES" oneShot="NO" visibleAtLaunch="NO" animationBehavior="default" id="5910" userLabel="Smart Selection Rules Panel" customClass="NSPanel">
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES" utility="YES" documentModal="YES"/>
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="162" y="156" width="805" height="358"/>
Loading
Loading
@@ -977,7 +977,7 @@ DQ
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" alternatingRowBackgroundColors="YES" columnReordering="NO" multipleSelection="NO" autosaveColumns="NO" headerView="5844" id="5845">
<rect key="frame" x="0.0" y="0.0" width="763" height="247"/>
<rect key="frame" x="0.0" y="0.0" width="763" height="19"/>
<autoresizingMask key="autoresizingMask"/>
<animations/>
<size key="intercellSpacing" width="3" height="2"/>
Loading
Loading
@@ -1163,7 +1163,7 @@ DQ
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<window title="Edit Smart Selection Actions" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" hidesOnDeactivate="YES" oneShot="NO" showsToolbarButton="NO" visibleAtLaunch="NO" animationBehavior="default" id="6274" customClass="NSPanel">
<window title="Edit Smart Selection Actions" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" hidesOnDeactivate="YES" oneShot="NO" showsToolbarButton="NO" visibleAtLaunch="NO" animationBehavior="default" id="6274" userLabel="Edit Smart Selections Actions Panel" customClass="NSPanel">
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES" utility="YES" documentModal="YES"/>
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="162" y="229" width="575" height="295"/>
Loading
Loading
@@ -1211,7 +1211,7 @@ DQ
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" alternatingRowBackgroundColors="YES" columnReordering="NO" multipleSelection="NO" autosaveColumns="NO" headerView="6284" id="6283">
<rect key="frame" x="0.0" y="0.0" width="533" height="136"/>
<rect key="frame" x="0.0" y="0.0" width="533" height="19"/>
<autoresizingMask key="autoresizingMask"/>
<animations/>
<size key="intercellSpacing" width="3" height="2"/>
Loading
Loading
@@ -5619,7 +5619,7 @@ DQ
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnReordering="NO" columnResizing="NO" multipleSelection="NO" autosaveColumns="NO" typeSelect="NO" headerView="5563" id="5562">
<rect key="frame" x="0.0" y="0.0" width="238" height="361"/>
<rect key="frame" x="0.0" y="0.0" width="238" height="19"/>
<autoresizingMask key="autoresizingMask"/>
<animations/>
<size key="intercellSpacing" width="3" height="2"/>
Loading
Loading
@@ -5747,7 +5747,7 @@ DQ
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="none" alternatingRowBackgroundColors="YES" columnReordering="NO" columnResizing="NO" multipleSelection="NO" autosaveColumns="NO" headerView="6206" id="6091">
<rect key="frame" x="0.0" y="0.0" width="849" height="228"/>
<rect key="frame" x="0.0" y="0.0" width="849" height="19"/>
<autoresizingMask key="autoresizingMask"/>
<animations/>
<size key="intercellSpacing" width="3" height="2"/>
Loading
Loading
Loading
Loading
@@ -33,7 +33,7 @@ static const NSInteger kRecycleDirectoryTag = 2;
[super dealloc];
}
 
- (NSArray *)allKeys {
- (NSArray<NSString *> *)allKeys {
return @[ KEY_AWDS_WIN_OPTION,
KEY_AWDS_WIN_DIRECTORY,
KEY_AWDS_TAB_OPTION,
Loading
Loading
Loading
Loading
@@ -8,16 +8,12 @@
 
@interface AutocompleteView : Popup
 
- (instancetype)init;
- (void)onOpen;
- (void)refresh;
- (void)onClose;
- (void)rowSelected:(id)sender;
- (void)more;
- (void)less;
- (void)_populateMore:(id)sender;
- (void)_doPopulateMore;
 
// Add a bunch of CommandHistoryEntry's. 'context' gives the prefix that
// generated the entries.
Loading
Loading
Loading
Loading
@@ -70,8 +70,7 @@ const int kMaxResultContextWords = 4;
return [iTermAdvancedSettingsModel autocompleteMaxOptions];
}
 
- (instancetype)init
{
- (instancetype)init {
const int kMaxOptions = [AutocompleteView maxOptions];
self = [super initWithWindowNibName:@"Autocomplete"
tablePtr:nil
Loading
Loading
Loading
Loading
@@ -35,8 +35,7 @@ enum {
return YES;
}
 
- (NSInteger)indexOfTag:(NSInteger)theTag
{
- (NSInteger)indexOfTag:(NSInteger)theTag {
int i = 0;
for (NSNumber *n in [self objectsSortedByValueInDict:[self menuItemsForPoupupButton]]) {
if ([n intValue] == theTag) {
Loading
Loading
@@ -47,8 +46,7 @@ enum {
return -1;
}
 
- (NSInteger)tagAtIndex:(NSInteger)index
{
- (NSInteger)tagAtIndex:(NSInteger)index {
int i = 0;
 
for (NSNumber *n in [self objectsSortedByValueInDict:[self menuItemsForPoupupButton]]) {
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