I inadvertently pasted several megabytes of characters into the find
field of the search and replace dialogue box. The performance of TM
dropped significantly whenever the dialogue was displayed as a result.
I tried using the CLI tool defaults to remove the find history from
the preference file and even reverted to an earlier version of the
preference file (courtesy of Time Machine) to reduce the preference
file size from 4.5M to 25K. Unfortunately starting TM again somehow
restored the preference file so I was still left with the problem.
It turned out the fix was simple - just select a few characters and
Command E to make them the new find string. Repeat with a different
set of characters a dozen or so times. This pushes the offending
search string down the history list until it is discarded.
Dave.
Hi,
I have an HTML page running in TM's HTML output window with embedded
JavaScript and my JavaScript is not correct, I can invoke 'Inspect
Element' to see the error. Fine.
But is there a way to access the error message from outside, I mean
by a script?
If not, would it be possible to redirect the JavaScript error
messages to a log file?
Many thanks in advance,
--Hans
Hi,
would it be also useful for other users to have the chance to set the
appearance of the HTML output window as:
- normal window (like the current one)
- HUD window
- frameless window (like HTML tooltip)
- maybe some others
Technically it should be "quite" simple to provide these options.
Or am I wrong?
Regards,
--Hans
Hi,
if I have an HTML page (TM's HTML output window) with embedded
JavaScript and my JavaScript is not correct I can press the right
mouse button and invoke 'Inspect Element' to look at the JavaScript
error(s). Fine.
But is there a way to access the(se) error(s) from outside, I mean by
a script?
If not, would it be possible to redirect the(se) error(s) to a log file?
Many thanks in advance,
--Hans
Writing a ruby command for TextMate to reformat author names
in a list of papers I run into the obvious but sad fact that
/[A-z]/ =~ "ü"
does not match anything. Is there a simple workaround?
I mean, simpler than a very long and unelegant list of Unicode
ranges such as the one here
http://forums.mozillazine.org/viewtopic.php?f=25&t=834075
Thanks,
Piero
Just wanted to let you guys know that I updated my CSS bundle with
even more tab triggers! ;) Some other additions and fixes too... For
more info and screencast, go to my site:
http://minimaldesign.net/articles/read/textmate-css-bundle-11
btw, I don't mind including my stuff in the official bundle and
contributing to official CSS/HTML bundles in general if that's
something you'd be interested in. Just let me know.
Hello,
When using the LaTeX bundle, "Reformat paragraph" isn't very clever
about respecting things like environments that aren't separated by a
blank line and commands like \item and \caption that might take
paragraph text. Is it possible to customise this?
Thinking more about it, it's certainly not an easy problem. But if
there are hooks, then I'd like to start looking at taking advantage of
them...
Cheers,
Will
Dear regexeperts,
I'm trying to write a snippet for wikimedia for applying bold
(wrapping a string in **str**)
I've attached cmd-B to the snippet, and I'd like it to bold the
CURRENT_WORD if there is no selection.
Sounds like a job for:
**${TM_SELECTED_TEXT:$TM_CURRENT_WORD}**
Works fine for the selected text, but not for the current word, where
it returns things like this:
he|re -->cmd-B--> he**here**re
Any pointers, or do I need to be made into a command? (in that case,
what use does $TM_CURRENT_WORD have in snippets?
cheerio,
tim
Hello everyone,
if I insert a snippet with a tabstop, which is immediately followed by
a number (without any white spaces in between), the number gets
interpreted as belonging to the tabstop. Is there a way to aviod this?
I want to put the caret to an arbitrary location of a (script
generated) replaced text, which might be inside a number block. The
solution I have is to put a pair of backticks before the number, but
then the inserted text flashes on insertion, so it does not seem to be
the correct way to solve this.
Best, Christoph
I get the following error when invoking the Git Bundle with
control-shift-G:
/tmp/temp_textmate.datgB4:26:in `open': No such file or directry -
pages (Errno::ENDENT)
/from /tmp/temp_textmate.datgB4:26:in `entries'
/from /tmp/temp_textmate.datgB4:26
One odd thing is that this only happens with documents with a particular
Git repository. With other Git repositories, things work as expected.
The problematic repository *is* a Git repository, and everything works
fine from the command line---I can commit, pull, push, etc. just fine.
Best, Mark