Commit Graph

110 Commits

Author SHA1 Message Date
Allan Odgaard
f5ba564c41 Update copyright to 2014 2014-03-04 08:57:56 +07:00
Ronald Wampler
f99cf4bbdd Fix typo in contacts usage description 2014-02-13 13:38:35 +07:00
Allan Odgaard
8165d6f5f2 Update 127.0.0.1 → localhost in documentation
TextMate listens on IPv6 so we must use ‘localhost’ with SSH so that it correctly resolves to ::1 (instead of an IPv4 address).
2014-02-08 16:28:16 +07:00
Allan Odgaard
9f07942e09 Use dynamic menu titles for most toggle items
Closes #935
2013-12-12 13:36:16 +07:00
Allan Odgaard
fdfacbdc5d Save with Xcode 5.0.2 2013-12-12 13:22:28 +07:00
Allan Odgaard
a2b44714a6 Treat various archive types as binary 2013-11-09 19:27:24 +07:00
Allan Odgaard
a64c590a60 Use standard icon for .log files 2013-10-10 16:45:26 +02:00
Allan Odgaard
3e2567d2d0 Add Sticky and Close Tabs to the Right to File menu
The title of the Sticky item is nonsensical, but I couldn’t come up with anything good.

Closes #1110.
2013-09-12 23:46:05 +02:00
Michael Sheets
683ccd3ab2 Add icon definitions to CFBundleDocumentTypes
Works around a bug where icons are not inherited from the UTI definitions.
2013-09-12 23:46:04 +02:00
Allan Odgaard
ae708eaa41 Remove Text → Transpose Words
This is unimplemented and I probably won’t implement it unless there is a very compelling use-case.

The Text → Transpose action can already transpose words, either when separated by whitespace, comma, etc., or when the words are selected as two (or more) discontinuous selections.

Closes #1109
2013-09-03 16:48:00 +02:00
Michael Sheets
c1bdbfa975 Use UTIs for both application and Quicklook generator
UTIs are taken from both the Apple supplied list and newly created for those that didn't exist. For those languages where no clear 'owner' existed to provide the reverse-DNS notation we use a com.macromates.* stand-in.
2013-09-03 12:10:18 +02:00
Allan Odgaard
a109347305 Toggling “Ignore Case” can now be done with ⌥⌘C 2013-07-23 15:51:59 +02:00
Allan Odgaard
87a04549ec Add “related file” settings for *.go (test) files
With this setting ⌥⌘↑ will switch between test and non-test *.go files.
2013-07-21 13:25:27 +02:00
Allan Odgaard
ba85697ac4 Change “counterpart” to “related file”
This applies both to the action method and the settings key, the latter is now relatedFilePath to indicate that it’s a full absolute path (neither relative or a glob pattern).
2013-07-21 13:25:27 +02:00
Allan Odgaard
e9acd16879 Move some Go menu items to Navigate menu
The Go to Symbol and Line are now in the Navigate menu, which means everything in the Go menu is about selecting a file or folder (for the file browser location).

The Navigate menu is about navigating around in the current file.

Also change menu item title “Go to Counterpart…” → “Go to Related File”
2013-07-21 13:25:27 +02:00
Allan Odgaard
0afa234ee6 Add new file types
This includes a new “braces” icon for use in the file browser, presently only used by ‘.go’ files.
2013-07-21 13:25:27 +02:00
Allan Odgaard
e28b346d70 Bind Page Setup… to our application controller
For unknown reasons, the NSApplication object will not respond to this method, even though it should implement it.
2013-06-27 23:24:23 +02:00
Allan Odgaard
d1d63308b6 Limit printing to web views and use sheet for dialog
File → Print… (⌘P) now sends the “printDocument:” action method (instead of “print:”).

Rather than implement “printDocument:” for the various HTML windows (command output, about window) we provide a general implementation in the application delegate that checks if there is a WebDocumentView conforming view in the responder chain.
2013-06-26 12:13:19 +02:00
Allan Odgaard
5c4a2025a3 Add menu item to toggle column selection
The motivation for this is mainly to make the ⌥ shortcut visible in the UI, which presently, it is not, as we need to “hack” the menu item to show it.
2013-06-23 11:23:42 +07:00
AJ Acevedo
1df2eb42c8 Corrected some Help typos 2013-04-28 00:34:12 -04:00
Allan Odgaard
6f8d82f507 Change Replace All and Full Screen key bindings
Apple uses ⌃⌘F for toggling full screen mode and explicitly mentions this key in the 10.7 release notes. It therefore makes sense to switch to this key, also see issue #860.

Previously ⌃⌘F was Replace All. This has been moved to ⌃⌘G and Replace All in Selection is ⌃⇧⌘G. This binds all the (3) replace actions to modifier + ⌘G.
2013-04-26 21:12:07 +07:00
Allan Odgaard
a9d492ab58 Add Edit → Macros → Save Macro… (⌃⌘M) 2013-03-27 14:32:26 +01:00
Allan Odgaard
d021d97b43 WIP: Filter through command 2013-03-21 14:39:48 +01:00
Allan Odgaard
77a07aedc7 Let TM_MATE point to ‘mate’
This command is used by a lot of commands, so it makes sense to have a dedicated variable for its location.
2013-03-13 12:38:12 +01:00
Allan Odgaard
4b5db02a44 Remove Find in Selection menu item
This item had no key equivalent and the find dialog automatically uses “selection” if the current document has a multi-line selection, so I don’t see any need for this menu item.

Also removed the key equivalent for “Find in Folder…” — the key equivalent wasn’t memorable and I don’t see a big need for this item, since one can initiate searches from the file browser.
2013-03-13 12:37:22 +01:00
Allan Odgaard
f0efe600e4 Remove Edit → Select → None
This can now instead be found in the file browser’s action menu, as it (by design) only works on the file browser, not the text view.

Closes #883.
2013-03-12 10:25:04 +01:00
Allan Odgaard
fcbaacdfe9 Set default encoding to UTF-8
Although everything would still default to UTF-8, the initial title of the pop-up in Preferences would show a wrong value.

Fixes #889.
2013-03-11 22:18:18 +01:00
Michael Sheets
1cd3f313d7 Remove lesser used icons to save space in download 2013-03-08 13:27:54 +01:00
Allan Odgaard
ff0cd7013e Remove outdated comment 2013-03-07 23:13:48 +01:00
Allan Odgaard
baade85a7c Remove Edit → Find → Full Words menu item
This option isn’t implemented so better not confuse users by having it in the menu.
2013-03-07 20:23:22 +01:00
Allan Odgaard
14cfedb287 Implement Replace [and Find] bound to ⌥⌘G
Currently this is implemented in OakTextView which means that it doesn’t work for macros. Some refactoring is in order so that the implementation can be shared (lack of sharing has to do with how OakTextView reports status to Find dialog or via tool tips, and macros want none of that).

There is also no check to see if the current state of the editor is the result of a find operation, i.e. you can invoke “replace” regardless of wether or not “find” was the last action.

Finally, doing a multi-file search and using “find next” at the end of one document, which brings you to the first match of next document (part of the results), will not update “captures” from a potential regular expression search, meaning that if you then do “replace”, and your replacement string is a format string that references the match (via $1-n) then it will not be correctly expanded.

Closes #104.
2013-03-07 16:21:57 +01:00
Allan Odgaard
840f0922c7 Assign ⌃⌘↩ to View → Enter / Exit Full Screen
Closes issue #860.
2013-03-05 16:13:45 +01:00
Steven Clukey
7892eac2d4 Add “scroll past end” option to the View menu
When enabled the height of the document is increased by the height of the view port, which means the last lines of the document are not anchored to the bottom of the view port but can e.g. be centered.

Closes #513.
2013-03-03 15:14:29 +01:00
Allan Odgaard
f58a92885d Add titles to all help pages
Note that the documentation is a bit outdated as it hasn’t been touched since the first public alpha — updated documentation will appear when closer to final release, in the meantime interested parties should watch the release notes, wiki, and mailing list.

Closes #822.
2013-02-25 21:07:53 +01:00
Michael Sheets
a05b1dca2e Use integrated graphics on laptops
Before using the 'Open…' dialog caused the discreet graphics chip to be enabled until TextMate exited. Setting this flag tells the OS that we want and are able to use the integrated graphics to conserve the battery. Detailed in Apple Technical Q&A QA1734:

http://developer.apple.com/library/mac/#qa/qa1734/
2013-02-22 18:14:00 -06:00
Allan Odgaard
39d568e146 Rework items and key equivalents in File menu
Adding New File / Folder and Close All Tabs to the menu.
2013-02-21 22:38:06 +01:00
Allan Odgaard
26fe4a95e9 Add Edit → Select → None (⇧⌘A)
This can be used to deselect all in the file browser.

Closes #779.
2013-02-11 22:05:44 +01:00
Allan Odgaard
2bfe82fae4 Remove the AppStartup delegate
This temporary delegate was primarily used to ensure no message “slipped through” back when a license key was mandatory to run the alpha.
2013-02-03 10:48:40 +01:00
Allan Odgaard
3cd2dd0d2d Add Navigate → Move Focus menu item
This has ⌥⌘⇥ as shortcut so should make it easier moving to file browser and back.
2013-01-28 12:42:27 +01:00
Allan Odgaard
b78cf9035a Add xib and xsd as XML document types
The former is mainly to allow using Open With from inside TextMate (to force open the document with TextMate), as you likely have Xcode setup as the default app to handle xib files.
2013-01-25 13:15:36 +01:00
Allan Odgaard
f0f64ccde4 Change some default settings
- File browser placed on right.
- HTML output placed in new window.
- Theme set to Twilight.
2013-01-23 18:56:32 +01:00
Allan Odgaard
58fed7a8c4 Let window title include project folder name
This is only if the project directory is actually set at the time the default properties are expanded, so presently this has no effect (but will when TextMate sets a default value for the projectDirectory variable).
2013-01-08 22:48:09 +01:00
Allan Odgaard
37c2412e25 Remove Edit → Mode submenu
The menu item within is not hooked up to anything (as mentioned in issue #650) and as my idea for finishing the indent settings UI does not involve this menu item, I am removing it to avoid further confusion.
2013-01-03 01:16:54 +01:00
Allan Odgaard
1aaab0c192 Happy new year 2013! 2013-01-02 01:46:48 +01:00
Allan Odgaard
9c35f445de Convert strings files to UTF-8 2013-01-02 01:46:48 +01:00
Allan Odgaard
012db690f5 Assign ⇧⌘P to Go → Project Folder
This key was previously assigned to File → Page Setup but as we currently don’t support that, and it is likely not going to see that big a use (when implemented) I think we can live without a key equivalent for that menu action.

Closes issue #525.
2013-01-02 01:46:47 +01:00
Allan Odgaard
c273b3d4fe Set Find and Go to Line dialogs to “join active space”
If user opens the dialog on one space, moves to another space (with a TextMate window) and then re-activate the (already open) dialog, it would previously switch back to the space containing the dialog, whereas with the changed setting, it now moves the dialog to the active space.

This should address issue #599.
2012-12-30 04:35:47 +01:00
Allan Odgaard
fcfec66214 Hookup About TextMate to about window 2012-09-29 00:39:14 +02:00
Rasmus Abrahamsen
eb248eb579 Combine about, changes, and credits window
This includes bundle changes.
2012-09-29 00:39:14 +02:00
Allan Odgaard
a29479bca7 Remove Credits / License menu item 2012-09-29 00:21:53 +02:00