From 537d7fa9b661eba88dca50cf19b520d25a9f762a Mon Sep 17 00:00:00 2001 From: Allan Odgaard Date: Mon, 26 Aug 2013 12:35:25 +0200 Subject: [PATCH] Checkin release notes --- Applications/TextMate/about/Changes.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Applications/TextMate/about/Changes.md b/Applications/TextMate/about/Changes.md index ce3a1338..6fee229b 100644 --- a/Applications/TextMate/about/Changes.md +++ b/Applications/TextMate/about/Changes.md @@ -1,8 +1,14 @@ # Changes -## 2013-08-24 ([v2.0-alpha.9471](https://github.com/textmate/textmate/compare/v2.0-alpha.9459...v2.0-alpha.9471)) +## 2013-08-26 ([v2.0-alpha.9473](https://github.com/textmate/textmate/compare/v2.0-alpha.9459...v2.0-alpha.9473)) -* If you select two words separated by non-word characters, ⌃T will now swap the words, rather than reverse the characters of the selection. This also works if the words are surrounded by parentheses. +* Support `${var}` in regexp part of format string transformations. For example if you wish the file name in the window title to be relative to `$CWD` (current directory of the `.tm_properties` file) then you can now add: + + windowTitle = '${TM_FILEPATH:?${TM_FILEPATH/${CWD}.//}:$TM_DISPLAYNAME}$windowTitleProject$windowTitleSCM' + + The example makes use of two constructs, the outer being `${var:?«if set»:«if not set»}` and the inner being the regexp substitution. I used `.` to match the trailing slash that we also want to remove, mainly to avoid having to use escapes (if we wanted to use a literal slash). + +* Using ⌃T has been improved for the case where two “things” are selected delimited by some operator. It will now swap the two “things” rather than reverse the characters. You can see [examples in the test file](https://github.com/textmate/textmate/blob/master/Frameworks/editor/tests/t_transform.cc). * Miscellaneous fixes and improvements — as usual, click the link above for full commit history. ## 2013-08-02 ([v2.0-alpha.9459](https://github.com/textmate/textmate/compare/a9455...v2.0-alpha.9459))