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
Sorry I missed your response Allan, I set up my dead keys with a program
called Ukelele:
http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=ukelele
The first keystroke sets up a state that modifies the output of the
following keystroke (essentially each dead key you set up creates an
entirely new keyboard mapping of your choice). If the second keystroke
is not specified in the alternate mapping, the default value is used.
Garrett
textmate-request(a)lists.macromates.com wrote:
> Re: TM2 with dead keys
Hi,
I'm using TextMate Version 2.0 (9090) and found a minor but annoying bug.
Steps to reproduce:
Open up a folder
Open two files (two tabs)
Highlight text in your current tab (should be bright highlighting)
Switch to other tab, switch back (now it will be dull highlighting)
To fix you just have to command-tab to a different app and back. Seems like
changing tabs correctly dulls the tab you are changing from, but does not
brighten the tab you are changing to. Keep up the good work!
Cheers,
Andrew
Hi,
in TM 1.x it was possible to highlight the current line. In TM2 I can see a nice gutter effect which is feasible for almost all cases but I'm sometimes editing plain text tables with rather long lines and here it'd be nice to have a visual indicator for the current line to be able to read long lines better.
Thanks,
--Hans
Hi,
TM2 regularly crashes during redo. I can't consistently reproduce, except that it seems to happen when I redo more than once in quick succession, or redo directly after undoing. I have TM2 configured to send crash reports, but thought it would be a good idea to throw it out here, especially if others are experiencing the same issue.
Adam
Hi,
what is the new syntax to access the ui.rb and exit_codes.rb
files, and in general items from the Bundle Support bundle?
I mean, what should I use (in a ruby script) instead of
require ENV["TM_SUPPORT_PATH"] + "/lib/ui.rb"
which does not seem to work? maybe it's just matter of
setting a shell variable, but can't figure out how.
Thanks
Piero
I'm using TM Version 1.x (build 1631).
Some of the characters (in text mode) are not displayed "normally" (i.e.,
the way they have been). For example, the character - (minus) creates a red
highlight where is appears. Let's say I'm writing -- enable SSL -- in a
middle of a sentence, the -- enable SSL -- part is highlighted in red for
no apparent reasons (I haven't changed my setup). Also, the sign > is
changed to > with an underscore.
Any idea why this is happening? Might have changed something without
knowing it?
Thanks in advance.
I use command + arrow up / down quite a bit to navigate to the top and bottom of my tex files. I noticed that when I switch to an existing file, command + arrow up gets me to the top but command + arrow down gets me down the file but not to the bottom of the file. Or, if I do first the command + arrow down, nothing happens. I need to reiterate command + arrow up, to the top, then command + arrow down, to get to the bottom. This happens with all files except the very short ones. Is this something seen by others, and is there a solution?
-- Gildas Hamel
When I use
ctrl + command + R
to reveal current file in file browser, file browser automatically changes current dir the the subdir which current file exists.
how can disable this feature.
Yuan Jiang
http://blog.vetcafe.nethttp://twitter.com/sleetdrop
Hi,
I've noticed a few times that switching tabs causes the gutter to not
refresh properly. Switching to a file with fewer lines seems not to
refresh the gutter beyond the number of lines in the new file.
Not sure if this is a known issue. The attached picture is from a file
which has 36 lines.
Also, a brief feature request: Would be awesome to be able to set the
background/foreground colour of the gutter to match the highlight theme
:-). I realise that this could cause problems with images for folding
markers and bookmarks, but we could also have options to set images/colours
for those too :-P.
Cheers,
David.
Hi,
Services don't work in TM2.
TexMate > Services just show "No Service Apply".
Same on two different macs running OS X 10.7.2 and TM 2.0 (9090)
I can't find anything about it on the list, wiki and release notes…
I tried a /System/Library/CoreServices/pbs -flush
Is it down for everyone or just me?
Is this a known issue?
You realize how much you use those services when they're gone. :-/
--
FredB
Hi,
is it possible to increase the tabsize beyond 32?
The slider that pops up when you click on 'other' (under the tab menu) has its limit at 32 …
(textmate 1.5.10)
thanks!
TextMate hangs when I attempt to press Control+Command+C to insert a color using the color picker.
Anyone else run into this?
--
Brandon Fryslie
http://www.MateWiki.com - A TextMate 2 Wiki