Skip to content

Commit 2fde7f0

Browse files
committed
Release 2.1.11.
1 parent 39c5074 commit 2fde7f0

File tree

4 files changed

+48
-38
lines changed

4 files changed

+48
-38
lines changed

Application/Storyboard.storyboard

+17-17
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="19529" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="jPU-kU-bHn">
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="20037" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="jPU-kU-bHn">
33
<dependencies>
44
<deployment identifier="macosx"/>
5-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="19529"/>
6-
<plugIn identifier="com.apple.WebKit2IBPlugin" version="19529"/>
5+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="20037"/>
6+
<plugIn identifier="com.apple.WebKit2IBPlugin" version="20037"/>
77
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
88
</dependencies>
99
<scenes>
@@ -322,7 +322,7 @@
322322
</textFieldCell>
323323
</textField>
324324
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="8ow-kY-H9M">
325-
<rect key="frame" x="501" y="13" width="66" height="32"/>
325+
<rect key="frame" x="503" y="13" width="66" height="32"/>
326326
<buttonCell key="cell" type="push" title="Done" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="bpx-kH-9ug">
327327
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
328328
<font key="font" metaFont="system"/>
@@ -343,13 +343,13 @@ DQ
343343
</textFieldCell>
344344
</textField>
345345
<scrollView horizontalHuggingPriority="249" horizontalCompressionResistancePriority="749" borderType="line" autohidesScrollers="YES" horizontalLineScroll="48" horizontalPageScroll="10" verticalLineScroll="48" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bkq-EH-gTv">
346-
<rect key="frame" x="143" y="60" width="417" height="145"/>
346+
<rect key="frame" x="143" y="60" width="419" height="145"/>
347347
<clipView key="contentView" id="DPE-5h-nkk">
348-
<rect key="frame" x="1" y="1" width="415" height="143"/>
348+
<rect key="frame" x="1" y="1" width="417" height="143"/>
349349
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
350350
<subviews>
351351
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnReordering="NO" columnResizing="NO" multipleSelection="NO" emptySelection="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="48" viewBased="YES" id="dCJ-eK-5XO">
352-
<rect key="frame" x="0.0" y="0.0" width="415" height="143"/>
352+
<rect key="frame" x="0.0" y="0.0" width="417" height="143"/>
353353
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
354354
<size key="intercellSpacing" width="17" height="0.0"/>
355355
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
@@ -432,7 +432,7 @@ DQ
432432
</tableCellView>
433433
</prototypeCellViews>
434434
</tableColumn>
435-
<tableColumn identifier="FormatColumn" width="318" minWidth="40" maxWidth="1000" id="LfT-ex-fcw">
435+
<tableColumn identifier="FormatColumn" width="320" minWidth="40" maxWidth="1000" id="LfT-ex-fcw">
436436
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border">
437437
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
438438
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
@@ -445,11 +445,11 @@ DQ
445445
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
446446
<prototypeCellViews>
447447
<tableCellView identifier="UTICell" id="H3j-oV-Xju" customClass="UTICellView" customModule="Syntax_Highlight" customModuleProvider="target">
448-
<rect key="frame" x="91" y="0.0" width="315" height="48"/>
448+
<rect key="frame" x="91" y="0.0" width="317" height="48"/>
449449
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
450450
<subviews>
451451
<stackView distribution="fill" orientation="vertical" alignment="leading" spacing="4" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Cof-Gl-tC7">
452-
<rect key="frame" x="2" y="7" width="311" height="34"/>
452+
<rect key="frame" x="2" y="7" width="313" height="34"/>
453453
<subviews>
454454
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="9DK-8e-CNa">
455455
<rect key="frame" x="-2" y="18" width="96" height="16"/>
@@ -503,7 +503,7 @@ DQ
503503
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="240" id="ufo-UT-LHS"/>
504504
</constraints>
505505
<scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="KtA-nA-DN4">
506-
<rect key="frame" x="1" y="128" width="412" height="16"/>
506+
<rect key="frame" x="1" y="128" width="415" height="16"/>
507507
<autoresizingMask key="autoresizingMask"/>
508508
</scroller>
509509
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="j0k-XT-dSG">
@@ -512,7 +512,7 @@ DQ
512512
</scroller>
513513
</scrollView>
514514
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tKa-D3-pz1">
515-
<rect key="frame" x="140" y="209" width="424" height="25"/>
515+
<rect key="frame" x="140" y="209" width="426" height="25"/>
516516
<popUpButtonCell key="cell" type="push" title="Item 1" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="ahy-WG-Z72" id="2PV-4O-PBy">
517517
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
518518
<font key="font" metaFont="menu"/>
@@ -526,7 +526,7 @@ DQ
526526
</popUpButtonCell>
527527
</popUpButton>
528528
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="uzl-Mj-Zf8">
529-
<rect key="frame" x="427" y="13" width="76" height="32"/>
529+
<rect key="frame" x="429" y="13" width="76" height="32"/>
530530
<buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="jp0-di-SgA">
531531
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
532532
<font key="font" metaFont="system"/>
@@ -547,7 +547,7 @@ Gw
547547
</textFieldCell>
548548
</textField>
549549
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="0vo-Zm-9B6">
550-
<rect key="frame" x="143" y="318" width="417" height="21"/>
550+
<rect key="frame" x="143" y="318" width="419" height="21"/>
551551
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" drawsBackground="YES" id="6gS-Cf-XfH">
552552
<font key="font" metaFont="system"/>
553553
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -572,7 +572,7 @@ Gw
572572
</buttonCell>
573573
</button>
574574
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="wR7-p4-0hc">
575-
<rect key="frame" x="143" y="287" width="417" height="21"/>
575+
<rect key="frame" x="143" y="287" width="419" height="21"/>
576576
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" drawsBackground="YES" id="4QP-h7-tMR">
577577
<font key="font" metaFont="system"/>
578578
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -2089,10 +2089,10 @@ Gw
20892089
</objects>
20902090
<point key="canvasLocation" x="811.5" y="2438"/>
20912091
</scene>
2092-
<!--Supported files-->
2092+
<!--Supported formats-->
20932093
<scene sceneID="xQd-E7-KlJ">
20942094
<objects>
2095-
<viewController title="Supported files" showSeguePresentationStyle="single" id="U6W-Uu-GNB" customClass="UTISummary" customModule="Syntax_Highlight" customModuleProvider="target" sceneMemberID="viewController">
2095+
<viewController title="Supported formats" showSeguePresentationStyle="single" id="U6W-Uu-GNB" customClass="UTISummary" customModule="Syntax_Highlight" customModuleProvider="target" sceneMemberID="viewController">
20962096
<view key="view" id="LuO-Qm-afT">
20972097
<rect key="frame" x="0.0" y="0.0" width="450" height="300"/>
20982098
<autoresizingMask key="autoresizingMask"/>

CHANGELOG.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,19 @@ Changelog
22
=======
33

44

5+
### 2.1.11 (60)
6+
New features:
7+
- Highlight updated to 4.2.
8+
- Added support for reStructured Text files (`.rst`).
9+
- Added support for many UTIs defined by MacVim.
10+
11+
Bugfix:
12+
- Removed the predefined preprocessor for beautify JSON files.
13+
514

615
### 2.1.10 (59)
716
New features:
8-
- Added support for Ada, BibTex (`.bib`), Document Type Definition (`.dtd`), Dylang.
17+
- Added support for Ada, BibTex (`.bib`), Document Type Definition (`.dtd`), Dylang.
918

1019
Bugfix:
1120
- Better support for files managed by TextMate.

README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ The application can also handle some [plain files](#plain-files) without extensi
181181
- Logos source files (`.xm`)
182182
- Lua source files (`.lua`)
183183
- Makefile files (`.mk`, `.mak`)
184-
- Markdown files (`.md`, `.rmd`): _ Please use the [QLMarkdown plugin](https://github.com/sbarex/QLMarkdown)_
184+
- Markdown files (`.md`, `.rmd`): _please use [QLMarkdown](https://github.com/sbarex/QLMarkdow)_ which allows you to choose whether to display formatted output or the highlighted source code.
185185
- MF source files (`.mf`)
186186
- Microsoft Active Server Page files (`.asp`, `.aspx`)
187187
- Microsoft PowerShell files (`.psm1`, `.psd1`, `.ps1`)
@@ -204,6 +204,7 @@ The application can also handle some [plain files](#plain-files) without extensi
204204
- Racket (`.rkt`) _as `Lisp`_
205205
- RDF files (`.rdf`)
206206
- Readme files (`.readme`) _as plain text_
207+
- reStructuredText document (`.rst`)
207208
- Rez files (`.r`)
208209
- Ruby on Rails files (`.rhtml`, `.erb`, `.rjs`)
209210
- Ruby Gems file (`.gemfile`)
@@ -280,7 +281,7 @@ When customizing the settings for a specific format, these options will be avail
280281
|Settings|Description|Advanced|
281282
|:---------|:-------------| :----: |
282283
|Append highlight arguments|Arguments _appended_ to the _Extra highlight arguments_. Arguments that contains a white space must be protected inside quotes. |Yes|
283-
|Preprocessor|Set a program or a shell script to preprocess the source file before the formatting. The program must output to stdout the data to be passed to `highlight`. You **must** pass the name of the source file using the `$targetHL` placeholder. With the preprocessor you can handle file format not directly supported by `highlight`. This option is ignored when using a Language Server. The execution of the preprocessor is made inside the same env of the script that handle `highlight`. For example you can beautify a JSON file with this preprocesso: `python3 -m json.tool $targetHL`. _When you use a preprocessor you will probably want to disable the support for version control._ |Yes|
284+
|Preprocessor|Set a program or a shell script to preprocess the source file before the formatting. The program must output to stdout the data to be passed to `highlight`. You **must** pass the name of the source file using the `$targetHL` placeholder. With the preprocessor you can handle file format not directly supported by `highlight`. This option is ignored when using a Language Server. The execution of the preprocessor is made inside the same env of the script that handle `highlight`. For example you can beautify a JSON file with this preprocessor: `python3 -m json.tool $targetHL`. _When you use a preprocessor you will probably want to disable the support for version control._ |Yes|
284285
|Syntax| Set which language must be used to recognize the source file. If not set will be used the file name extension. |Yes|
285286

286287

@@ -480,8 +481,8 @@ The command line tool require macOS 10.15.4 or later.
480481
> No, Apple does not allow this functionality.
481482
482483
### Markdown files are not supported
483-
> This is a deliberate choice. Most users want to see the formatting and not the source code of their markdown files.
484-
> If you need to view the markdown files (also with the possibility of choosing whether to show the formatting or the source code) I have developed a special plugin: [QLMarkdown plugin](https://github.com/sbarex/QLMarkdown)
484+
> This is a deliberate choice. Most users want to see the formatted output and not the source code of their markdown files.
485+
> If you need to view the markdown files (also with the possibility of choosing whether to show the formatting or the source code) I have developed [QLMarkdown](https://github.com/sbarex/QLMarkdown).
485486
486487
### Is it possible to add support for _xyz_ format?
487488
> It depends… first the format must be handled by `highlight`. Check in the _Inquiry window_ if the file is supported.

0 commit comments

Comments
 (0)