Skip to content

Commit 38fcff4

Browse files
committed
Support for .terminal files and highlight updated to the final 4.1 release.
1 parent 1c918bf commit 38fcff4

File tree

5 files changed

+43
-27
lines changed

5 files changed

+43
-27
lines changed

Application/Storyboard.storyboard

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1540,7 +1540,7 @@ DQ
15401540
</connections>
15411541
</textField>
15421542
<stepper horizontalHuggingPriority="750" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="xXO-Pf-hQw">
1543-
<rect key="frame" x="269" y="1" width="15" height="22"/>
1543+
<rect key="frame" x="269" y="0.0" width="15" height="22"/>
15441544
<stepperCell key="cell" controlSize="small" continuous="YES" alignment="left" maxValue="5000" id="FUJ-rv-Ocw"/>
15451545
<connections>
15461546
<action selector="handleStepper:" target="wgO-sS-ics" id="Z2t-bV-D6O"/>
@@ -1726,18 +1726,18 @@ Gw
17261726
<autoresizingMask key="autoresizingMask"/>
17271727
<subviews>
17281728
<tabView type="noTabsNoBorder" initialItem="XZD-Za-R2F" translatesAutoresizingMaskIntoConstraints="NO" id="yf8-26-da4">
1729-
<rect key="frame" x="20" y="42" width="290" height="108"/>
1729+
<rect key="frame" x="20" y="42" width="230" height="108"/>
17301730
<font key="font" metaFont="system"/>
17311731
<tabViewItems>
17321732
<tabViewItem label="Info" identifier="1" id="BDw-pS-ctH">
17331733
<view key="view" id="1Qe-rv-bvb">
1734-
<rect key="frame" x="0.0" y="0.0" width="290" height="108"/>
1734+
<rect key="frame" x="0.0" y="0.0" width="230" height="108"/>
17351735
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
17361736
<subviews>
17371737
<scrollView verticalHuggingPriority="249" autohidesScrollers="YES" horizontalLineScroll="24" horizontalPageScroll="10" verticalLineScroll="24" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="g6Z-24-Lb1">
1738-
<rect key="frame" x="0.0" y="8" width="290" height="100"/>
1738+
<rect key="frame" x="0.0" y="8" width="230" height="100"/>
17391739
<clipView key="contentView" id="iZK-GA-Mdy">
1740-
<rect key="frame" x="1" y="1" width="288" height="98"/>
1740+
<rect key="frame" x="1" y="1" width="228" height="98"/>
17411741
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
17421742
<subviews>
17431743
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="firstColumnOnly" alternatingRowBackgroundColors="YES" columnReordering="NO" multipleSelection="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="24" rowSizeStyle="systemDefault" headerView="8yk-fc-LyJ" viewBased="YES" floatsGroupRows="NO" id="QJA-Al-xiu">
@@ -1932,7 +1932,7 @@ Gw
19321932
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="100" id="Q50-aN-Fqg"/>
19331933
</constraints>
19341934
<scroller key="horizontalScroller" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="cxD-Ri-4PX">
1935-
<rect key="frame" x="1" y="83" width="288" height="16"/>
1935+
<rect key="frame" x="1" y="83" width="228" height="16"/>
19361936
<autoresizingMask key="autoresizingMask"/>
19371937
</scroller>
19381938
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="YWW-1r-RSi">
@@ -1945,7 +1945,7 @@ Gw
19451945
</tableHeaderView>
19461946
</scrollView>
19471947
<stackView distribution="fill" orientation="vertical" alignment="leading" spacing="2" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" horizontalHuggingPriority="248" verticalCompressionResistancePriority="751" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="LN0-No-4rj">
1948-
<rect key="frame" x="0.0" y="0.0" width="290" height="0.0"/>
1948+
<rect key="frame" x="0.0" y="0.0" width="230" height="0.0"/>
19491949
<subviews>
19501950
<customView hidden="YES" horizontalHuggingPriority="249" translatesAutoresizingMaskIntoConstraints="NO" id="NTW-ED-Wlb">
19511951
<rect key="frame" x="0.0" y="-24" width="441" height="24"/>
@@ -2113,7 +2113,7 @@ Gw
21132113
</connections>
21142114
</button>
21152115
<button hidden="YES" horizontalHuggingPriority="750" verticalHuggingPriority="750" horizontalCompressionResistancePriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="M2G-e2-cz7">
2116-
<rect key="frame" x="209" y="11" width="47" height="19"/>
2116+
<rect key="frame" x="149" y="11" width="47" height="19"/>
21172117
<buttonCell key="cell" type="roundRect" title="Reset" bezelStyle="roundedRect" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="zNC-OM-zKs">
21182118
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
21192119
<font key="font" metaFont="cellTitle"/>
@@ -2126,7 +2126,7 @@ Gw
21262126
</connections>
21272127
</button>
21282128
<button horizontalHuggingPriority="750" verticalHuggingPriority="750" horizontalCompressionResistancePriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="3sr-Ox-rDc">
2129-
<rect key="frame" x="264" y="11" width="46" height="19"/>
2129+
<rect key="frame" x="204" y="11" width="46" height="19"/>
21302130
<buttonCell key="cell" type="roundRect" title="Close" bezelStyle="roundedRect" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="PjX-zl-aBO">
21312131
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
21322132
<font key="font" metaFont="cellTitle"/>
@@ -2139,7 +2139,7 @@ Gw
21392139
</connections>
21402140
</button>
21412141
<customView translatesAutoresizingMaskIntoConstraints="NO" id="8JB-ZI-4t4" customClass="DropSensor" customModule="Syntax_Highlight" customModuleProvider="target">
2142-
<rect key="frame" x="0.0" y="0.0" width="330" height="162"/>
2142+
<rect key="frame" x="0.0" y="0.0" width="270" height="162"/>
21432143
</customView>
21442144
</subviews>
21452145
<constraints>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>preprocessor</key>
6+
<string>/usr/bin/plutil -convert xml1 -o - $targetHL</string>
7+
<key>syntax</key>
8+
<string>xml</string>
9+
</dict>
10+
</plist>

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Changelog
22
=======
33

4+
### 2.0.6
5+
New features:
6+
- Added support for `.terminal` files (Apple Teminal Setting file, rendered as `XML`).
7+
- Updated `highlight` to the final 4.1 release.
8+
49
### 2.0.5
510
New features:
611
- Added support for `.properties` files (rendered as `INI`).
@@ -27,7 +32,7 @@ New features:
2732
### 2.0.0
2833
New features:
2934
- Completely redesigned interface.
30-
- `highlight` upgraded to version 4.1, compiled inside the Xcode project, with support for external program parser compatible with the _Language Server Protocol_.
35+
- `highlight` upgraded to version 4.1 (prerelease), compiled inside the Xcode project, with support for external program parser compatible with the _Language Server Protocol_.
3136
- Option to convert Windows and old Mac Classic line ending to Unix style.
3237
- Color schema import (from `highlight` `.theme` files) and export (as `.css` or `.theme` file).
3338
- Allow to define a custom CSS style attribute for each color schema tokens.

QLExtension/Info.plist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
<string>com.apple.interfacebuilder.document.cocoa</string>
4242
<string>com.apple.property-list</string>
4343
<string>com.apple.rez-source</string>
44+
<string>com.apple.terminal.settings</string>
4445
<string>com.apple.xcode.strings-dictionary</string>
4546
<string>com.apple.xcode.strings-text</string>
4647
<string>com.barebones.bbedit.ini-configuration</string>

SourceCodeSyntaxHighlight.xcodeproj/project.pbxproj

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1693,7 +1693,7 @@
16931693
CODE_SIGN_IDENTITY = "-";
16941694
CODE_SIGN_STYLE = Manual;
16951695
COMBINE_HIDPI_IMAGES = YES;
1696-
CURRENT_PROJECT_VERSION = 37;
1696+
CURRENT_PROJECT_VERSION = 38;
16971697
DEVELOPMENT_TEAM = "";
16981698
ENABLE_HARDENED_RUNTIME = YES;
16991699
FRAMEWORK_SEARCH_PATHS = (
@@ -1711,7 +1711,7 @@
17111711
"$(inherited)",
17121712
"\"$(BUILT_PRODUCTS_DIR)/highlight\"",
17131713
);
1714-
MARKETING_VERSION = 2.0.5;
1714+
MARKETING_VERSION = 2.0.6;
17151715
PRODUCT_BUNDLE_IDENTIFIER = org.sbarex.SourceCodeSyntaxHighlight;
17161716
PRODUCT_NAME = "$(TARGET_NAME)";
17171717
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1729,7 +1729,7 @@
17291729
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO;
17301730
CODE_SIGN_STYLE = Manual;
17311731
COMBINE_HIDPI_IMAGES = YES;
1732-
CURRENT_PROJECT_VERSION = 37;
1732+
CURRENT_PROJECT_VERSION = 38;
17331733
DEVELOPMENT_TEAM = "";
17341734
ENABLE_HARDENED_RUNTIME = YES;
17351735
FRAMEWORK_SEARCH_PATHS = (
@@ -1747,7 +1747,7 @@
17471747
"$(inherited)",
17481748
"\"$(BUILT_PRODUCTS_DIR)/highlight\"",
17491749
);
1750-
MARKETING_VERSION = 2.0.5;
1750+
MARKETING_VERSION = 2.0.6;
17511751
OTHER_CODE_SIGN_FLAGS = "--timestamp";
17521752
PRODUCT_BUNDLE_IDENTIFIER = org.sbarex.SourceCodeSyntaxHighlight;
17531753
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -1763,7 +1763,7 @@
17631763
CODE_SIGN_ENTITLEMENTS = QLExtension/QLExtension.entitlements;
17641764
CODE_SIGN_IDENTITY = "-";
17651765
CODE_SIGN_STYLE = Manual;
1766-
CURRENT_PROJECT_VERSION = 37;
1766+
CURRENT_PROJECT_VERSION = 38;
17671767
DEVELOPMENT_TEAM = "";
17681768
ENABLE_HARDENED_RUNTIME = YES;
17691769
FRAMEWORK_SEARCH_PATHS = (
@@ -1776,7 +1776,7 @@
17761776
"@executable_path/../Frameworks",
17771777
"@executable_path/../../../../Frameworks",
17781778
);
1779-
MARKETING_VERSION = 2.0.5;
1779+
MARKETING_VERSION = 2.0.6;
17801780
PRODUCT_BUNDLE_IDENTIFIER = org.sbarex.SourceCodeSyntaxHighlight.QuicklookExtension;
17811781
PRODUCT_NAME = "$(TARGET_NAME)";
17821782
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1792,7 +1792,7 @@
17921792
CODE_SIGN_IDENTITY = "-";
17931793
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO;
17941794
CODE_SIGN_STYLE = Manual;
1795-
CURRENT_PROJECT_VERSION = 37;
1795+
CURRENT_PROJECT_VERSION = 38;
17961796
DEVELOPMENT_TEAM = "";
17971797
ENABLE_HARDENED_RUNTIME = YES;
17981798
FRAMEWORK_SEARCH_PATHS = (
@@ -1805,7 +1805,7 @@
18051805
"@executable_path/../Frameworks",
18061806
"@executable_path/../../../../Frameworks",
18071807
);
1808-
MARKETING_VERSION = 2.0.5;
1808+
MARKETING_VERSION = 2.0.6;
18091809
OTHER_CODE_SIGN_FLAGS = "--timestamp";
18101810
PRODUCT_BUNDLE_IDENTIFIER = org.sbarex.SourceCodeSyntaxHighlight.QuicklookExtension;
18111811
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -1822,12 +1822,12 @@
18221822
CODE_SIGN_IDENTITY = "-";
18231823
CODE_SIGN_STYLE = Manual;
18241824
COMBINE_HIDPI_IMAGES = YES;
1825-
CURRENT_PROJECT_VERSION = 37;
1825+
CURRENT_PROJECT_VERSION = 38;
18261826
DEVELOPMENT_TEAM = "";
18271827
ENABLE_HARDENED_RUNTIME = YES;
18281828
INFOPLIST_FILE = XPCService/Info.plist;
18291829
LD_RUNPATH_SEARCH_PATHS = "@loader_path/../../../../Frameworks";
1830-
MARKETING_VERSION = 2.0.5;
1830+
MARKETING_VERSION = 2.0.6;
18311831
PRODUCT_BUNDLE_IDENTIFIER = org.sbarex.SourceCodeSyntaxHighlight.XPCService;
18321832
PRODUCT_NAME = "$(TARGET_NAME)";
18331833
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1846,12 +1846,12 @@
18461846
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO;
18471847
CODE_SIGN_STYLE = Manual;
18481848
COMBINE_HIDPI_IMAGES = YES;
1849-
CURRENT_PROJECT_VERSION = 37;
1849+
CURRENT_PROJECT_VERSION = 38;
18501850
DEVELOPMENT_TEAM = "";
18511851
ENABLE_HARDENED_RUNTIME = YES;
18521852
INFOPLIST_FILE = XPCService/Info.plist;
18531853
LD_RUNPATH_SEARCH_PATHS = "@loader_path/../../../../Frameworks";
1854-
MARKETING_VERSION = 2.0.5;
1854+
MARKETING_VERSION = 2.0.6;
18551855
OTHER_CODE_SIGN_FLAGS = "--timestamp";
18561856
PRODUCT_BUNDLE_IDENTIFIER = org.sbarex.SourceCodeSyntaxHighlight.XPCService;
18571857
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -1870,15 +1870,15 @@
18701870
CODE_SIGN_IDENTITY = "-";
18711871
CODE_SIGN_STYLE = Manual;
18721872
COMBINE_HIDPI_IMAGES = YES;
1873-
CURRENT_PROJECT_VERSION = 37;
1873+
CURRENT_PROJECT_VERSION = 38;
18741874
DEVELOPMENT_TEAM = "";
18751875
ENABLE_HARDENED_RUNTIME = YES;
18761876
INFOPLIST_FILE = SyntaxHighlightRenderXPC/Info.plist;
18771877
LD_RUNPATH_SEARCH_PATHS = (
18781878
"@loader_path/../../../../Frameworks",
18791879
"$(LD_RUNPATH_SEARCH_PATHS_$(IS_MACCATALYST)_$(_BOOL_$(SKIP_INSTALL)))",
18801880
);
1881-
MARKETING_VERSION = 2.0.;
1881+
MARKETING_VERSION = 2.0.6;
18821882
PRODUCT_BUNDLE_IDENTIFIER = org.sbarex.SourceCodeSyntaxHighlight.XPCRender;
18831883
PRODUCT_NAME = "$(TARGET_NAME)";
18841884
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1894,15 +1894,15 @@
18941894
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO;
18951895
CODE_SIGN_STYLE = Manual;
18961896
COMBINE_HIDPI_IMAGES = YES;
1897-
CURRENT_PROJECT_VERSION = 37;
1897+
CURRENT_PROJECT_VERSION = 38;
18981898
DEVELOPMENT_TEAM = "";
18991899
ENABLE_HARDENED_RUNTIME = YES;
19001900
INFOPLIST_FILE = SyntaxHighlightRenderXPC/Info.plist;
19011901
LD_RUNPATH_SEARCH_PATHS = (
19021902
"@loader_path/../../../../Frameworks",
19031903
"$(LD_RUNPATH_SEARCH_PATHS_$(IS_MACCATALYST)_$(_BOOL_$(SKIP_INSTALL)))",
19041904
);
1905-
MARKETING_VERSION = 2.0.;
1905+
MARKETING_VERSION = 2.0.6;
19061906
OTHER_CODE_SIGN_FLAGS = "--timestamp";
19071907
PRODUCT_BUNDLE_IDENTIFIER = org.sbarex.SourceCodeSyntaxHighlight.XPCRender;
19081908
PRODUCT_NAME = "$(TARGET_NAME)";

0 commit comments

Comments
 (0)