Organize Edit menu

This commit is contained in:
1024jp 2024-05-24 19:50:10 +09:00
parent 85aa2c2bed
commit b292501241
3 changed files with 183 additions and 18 deletions

View File

@ -17,6 +17,7 @@
- Remove Solarized themes from the bundle.
- Update all the bundled themes to have a 70% opacity in the current line highlight.
- Improve the performance of counting values in the editor for the status bar and the document inspector to avoid flicking.
- [trivial] Organize the structure of the Edit menu.
- [trivial] Suppress display of “Extracting” message on the navigation bar in instantaneous parsing.
- [trivial] Make names of code contributors in the About window selectable.
- [dev] Migrate the navigation bar and the Snippets settings view to SwiftUI.

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22689"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22690"/>
</dependencies>
<scenes>
<!--Application-->
@ -183,6 +183,30 @@
<action selector="delete:" target="Ady-hI-5gd" id="Ftk-bU-BQH"/>
</connections>
</menuItem>
<menuItem title="Select" id="6fK-Zl-wdN">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Select" id="Bm6-Jh-1mk">
<items>
<menuItem title="Select All" keyEquivalent="a" id="172">
<connections>
<action selector="selectAll:" target="Ady-hI-5gd" id="Rho-pS-oPz"/>
</connections>
</menuItem>
<menuItem title="Select Line" keyEquivalent="A" id="Cwp-ys-LJc">
<modifierMask key="keyEquivalentModifierMask" shift="YES" command="YES"/>
<connections>
<action selector="selectParagraph:" target="Ady-hI-5gd" id="i5P-vu-hGU"/>
</connections>
</menuItem>
<menuItem title="Select Word" keyEquivalent="d" id="0HX-j9-5jF">
<connections>
<action selector="selectWord:" target="Ady-hI-5gd" id="hYk-Nd-XPC"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem isSeparatorItem="YES" id="630"/>
<menuItem title="Complete" id="Qa9-dA-CF1">
<string key="keyEquivalent" base64-UTF8="YES">
Gw
@ -192,23 +216,7 @@ Gw
<action selector="complete:" target="Ady-hI-5gd" id="xdV-uV-Chm"/>
</connections>
</menuItem>
<menuItem title="Select All" keyEquivalent="a" id="172">
<connections>
<action selector="selectAll:" target="Ady-hI-5gd" id="Rho-pS-oPz"/>
</connections>
</menuItem>
<menuItem title="Select Line" keyEquivalent="A" id="Cwp-ys-LJc">
<modifierMask key="keyEquivalentModifierMask" shift="YES" command="YES"/>
<connections>
<action selector="selectParagraph:" target="Ady-hI-5gd" id="i5P-vu-hGU"/>
</connections>
</menuItem>
<menuItem title="Select Word" keyEquivalent="d" id="0HX-j9-5jF">
<connections>
<action selector="selectWord:" target="Ady-hI-5gd" id="hYk-Nd-XPC"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="630"/>
<menuItem isSeparatorItem="YES" id="ngg-iN-BYh"/>
<menuItem title="Input Backslash" keyEquivalent="¥" id="631">
<connections>
<action selector="inputBackSlash:" target="Ady-hI-5gd" id="PpN-Zj-7Zc"/>

View File

@ -1345,6 +1345,84 @@
}
}
},
"6fK-Zl-wdN.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Select\"; ObjectID = \"6fK-Zl-wdN\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"de" : {
"stringUnit" : {
"state" : "translated",
"value" : "Auswählen"
}
},
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Select"
}
},
"en-GB" : {
"stringUnit" : {
"state" : "translated",
"value" : "Select"
}
},
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Seleccionar"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Sélectionner"
}
},
"it" : {
"stringUnit" : {
"state" : "translated",
"value" : "Seleziona"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "選択"
}
},
"nl" : {
"stringUnit" : {
"state" : "translated",
"value" : "Selecteer"
}
},
"pt" : {
"stringUnit" : {
"state" : "translated",
"value" : "Selecionar"
}
},
"tr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Seç"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "选择"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "選擇"
}
}
}
},
"7NX-1r-Wq7.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Replace Quotes\"; ObjectID = \"7NX-1r-Wq7\";",
"extractionState" : "extracted_with_value",
@ -10417,6 +10495,84 @@
}
}
},
"Bm6-Jh-1mk.title" : {
"comment" : "Class = \"NSMenu\"; title = \"Select\"; ObjectID = \"Bm6-Jh-1mk\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"de" : {
"stringUnit" : {
"state" : "translated",
"value" : "Auswählen"
}
},
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Select"
}
},
"en-GB" : {
"stringUnit" : {
"state" : "translated",
"value" : "Select"
}
},
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Seleccionar"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Sélectionner"
}
},
"it" : {
"stringUnit" : {
"state" : "translated",
"value" : "Seleziona"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "選択"
}
},
"nl" : {
"stringUnit" : {
"state" : "translated",
"value" : "Selecteer"
}
},
"pt" : {
"stringUnit" : {
"state" : "translated",
"value" : "Selecionar"
}
},
"tr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Seç"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "选择"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "選擇"
}
}
}
},
"bnD-BP-sPi.title" : {
"comment" : "Class = \"NSMenuItem\"; title = \"Replace\"; ObjectID = \"bnD-BP-sPi\";",
"extractionState" : "extracted_with_value",