Files
textmate/Applications/TextMate/resources/TextMate Help/format_string_syntax.md
Allan Odgaard f743c1954f Move help book out of English.lproj
This way localizations without a help book will fall back on the english one.
2012-08-14 21:17:09 +02:00

589 B

Format String Syntax

In Snippets

Placeholders

$«int»
${«int»}
${«int»:«snippet»}
${«int»/«regexp»/«format»/«options»}
${«int»|«choice 1»,…,«choice n»|}     # parsed but not handled

Code

`«code»`

In Format Strings

$0-n

\U, \L, \E, \u, \l
\n, \t

«variables»

(?«var»:«if»:«else»}
(?«var»:«if»}

In Both

Variables

${«var»:?«if»:«else»}
${«var»:+«if»}
${«var»:-«else»}
${«var»:«else»}
${«var»/«regexp»/«format»/«options»}
${«var»:[/upcase][/downcase][/capitalize][/asciify]}