In the "Go To File" dialog if you tab to the file types drop down control
and change the selection with with either the keyboard or mouse, the list
of files immediately changes to reflect the new glob pattern.
Also, if you type in a new glob pattern *that is already in the list* and
hit the enter key, the list of files is updated.
However, if you type in a glob pattern *that is not already in the list* and
hit the enter key, the list of files is not updated. You must must use the
arrow key to select a different pattern, then use the arrow key to
re-select the desired pattern.
Hi,
I have a a kind of a weird crash with TM2 (I encountered it several weeks ago but now I do need the procedure quite often). I'm on MacOSX 10.7.3 (9110).
I have created a new bundle with several commands. All these command have the same structure:
Save: Nothing
Input: Nothing
Output: Show in New Window
Caret: After Output
and the actual command:
#!/usr/bin/env bash
[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] && . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
pbpaste | perl -e '
$word = <>;
chomp($word);
...
print $result;
'
In other words each of these commands takes the content of the clipboard and send it to a Perl script. The script and the clipboard's content have to handle real UTF-8 stuff and the PErl script contains lots of non-ASCII characters.
Now the weird thing: The crash doesn't always occur. I tried to find a more or less 'reproducible' workflow.
- TM2 is not running
- I copied a word from another program into the clipboard
- I open TM2
- an 'untitled' window appears
- I invoke one of these commands in question
- TM2 crashes with:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libundo.dylib 0x004e3f79 ng::undo_manager_t::end_undo_group(ng::ranges_t const&) + 11
1 com.macromates.TextMate.OakTextView 0x005d9356 0x5a9000 + 197462
2 com.macromates.TextMate.OakTextView 0x005c1242 0x5a9000 + 98882
3 com.apple.AppKit 0x93315727 -[NSView _performKeyEquivalent:conditionally:] + 49
4 com.apple.AppKit 0x93315914 -[NSView performKeyEquivalent:] + 340
BUT THEN I reopen TM2 and do _exactly_ the same and IT WORKS!
Step two of WEIRDNESS: If I quit TM2 after that and reopen it and run the command with the same clipboard content again TM2 crashes once again.
It doens't matter whether I invoke the command via key equivalent or via mouse Bundles > ...
I didn't encounter that problem if TM2 was running before I copied the text, switched to TM2, and invoked the command.
Any help, fix would be really appreciated :)
For more details, don't hesitate to contact me.
Cheers,
--Hans
Hi,
I'm on Mac OSX 10.7.3 TM 2.0 (9100).
If the text buffer begins with a combining character (diacritica) you cannot delete that character, select all also doesn't work. To reproduce it, simply open a new document, open the Character Viewer, and insert let's say a combining acute accent U+0301 or in UTF-8 CC 81, then type something, and press CMD+A to try to select all, this fails. You can delete the typed characters up to the first character.
Cheers,
--Hans
Dear all,
did any of you ever come along a PVL bundle for TextMate?
PVL stands for Parameter Value Language and is used for astronomical
and planetary data headers, looking similar to this:
/* The source image data definition. */
OBJECT = UNCOMPRESSED_FILE
FILE_NAME = "PSP_002622_0945_RED_cnode26:25702.IMG"
RECORD_TYPE = FIXED_LENGTH
RECORD_BYTES = 56522 <BYTES>
FILE_RECORDS = 39152
^IMAGE = "PSP_002622_0945_RED_cnode26:25702.IMG"
OBJECT = IMAGE
DESCRIPTION = "HiRISE projected and mosaicked product"
LINES = 39152
LINE_SAMPLES = 28261
BANDS = 1
SAMPLE_TYPE = MSB_UNSIGNED_INTEGER
SAMPLE_BITS = 16
SAMPLE_BIT_MASK = 2#0000001111111111#
/* NOTE: The conversion from DN to I/F (intensity/flux) is: */
/* I/F = (DN * SCALING_FACTOR) + OFFSET */
/* I/F is defined as the ratio of the observed radiance and */
/* the radiance of a 100% lambertian reflector with the sun */
/* and camera orthogonal to the observing surface. */
SCALING_FACTOR = 9.08568311937917e-06
OFFSET = 0.0097943214240579
BAND_STORAGE_TYPE = BAND_SEQUENTIAL
I would like the bundle be able to
* color-code group starts (OBJECT = …)
* values according to their type strings and numbers
* comments
Actually, the SQL bundle does a good job of color-coding these files,
just the OBJECT emphasis and some big floating point numbers
(interestingly) are color-coded weirdly (look at SCALING FACTOR value
with the SQL bundle switched on, it's weird that the 9 is colored, but
the fractional digits are not. (Using TM2)
If there is no PVL bundle, I guess I can 'derive' from the SQL bundle
how this is done? I never created a bundle, is there any 'must-read'
tutorial on that?
Best regards,
Michael
I'm climbing the walls with this one:
I get this error message
___
Couldn't find gfortran
You must set the TM_FORTRAN variable to the full path of your Fortran compiler (e.g./usr/local/bin/gfortran). You may also set TM_FFLAGS for any Fortran compiler options.
___
but cannot find out anywhere how to edit the TM_FORTRAN variable. Can anyone help please ?
[ gfortran is working fine from Terminal. ]
Thanks
Peter
I have some self-written Python modules that work fine in TM1, but in
TM2 the Mac System ENV PYTHONPATH does not seem to be read?
I was able to steer to my Python binary of choice using TM_PYTHON but
neither the system/GUI variable PYTHONPATH not setting of a
TM_PYTHONPATH was helping TM2 to find my own Python modules that I
added before via the PYTHON PATH.
What do I need to do to let TM2 find / read the PYTHONPATH?
Best regards,
Michael
In #9064 (Mac OS X 10.6.8) the selection highlight color gets more transparent (?) sometimes. After focussing TextMate 2 the color is correct, when changing to another Tab, the color changes. If you go back to your original tab it shows the same lighter color there to.
When you focus another application and go back to TextMate it shows the original (more opaque) color again.
Regards
Jannes