This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script will use the `xsv` command line tool: | |
# <https://github.com/BurntSushi/xsv> | |
# to compute the max length of all cells of columns from 1 to n - 1 of | |
# the front document of BBEdit if it is a CSV of TSV file with | |
# respective extensions of '.csv' and '.tsv'. | |
# It will then set the tab width of the document to this max length, | |
# allowing the user to view the data in aligned columns. | |
# For that purpose, in CSV files a tab will be inserted | |
# after each comma separator when required. | |
tell application "BBEdit" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Author: Jean Jourdain | |
# © 2021, mixio.com | |
# License: MIT | |
-- | |
use AppleScript version "2.7" | |
use scripting additions | |
use framework "Foundation" | |
-- | |
property NSString : class "NSString" | |
property NSCharacterSet : class "NSCharacterSet" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- x-bbedit-canon-case-sensitive: 1; x-bbedit-canon-match-words: 0; x-bbedit-canon-grep: 1; -*- | |
À \À | |
Á \Á | |
 \ | |
à \à | |
Ä \Ä | |
Å \Å | |
Æ \Æ | |
Ç \Ç | |
È \È |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | |
on escape_new_lines(aText) | |
set vDelims to AppleScript's text item delimiters | |
set AppleScript's text item delimiters to {"\\n", "\\r"} | |
set vParts to (text items of aText) | |
set AppleScript's text item delimiters to {"\\\\n"} | |
set vResult to (items of vParts) as string | |
set AppleScript's text item delimiters to vDelims | |
return vResult | |
end escape_new_lines |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>BBEditDocumentType</key> | |
<string>CodelessLanguageModule</string> | |
<key>BBLMColorsSyntax</key> <true/> | |
<key>BBLMIsCaseSensitive</key> <false/> | |
<key>BBLMLanguageCode</key> | |
<string>Ldgr</string> |
NewerOlder