Hi,
I run TM 1.5.7 (1464) on 10.5.2 ppc.
I'm a keyboard person. If I open the standard Find Dialog and I would
like to choose a previous used Find pattern, I press ARROW-DOWN to
open the history list; then I go to my desired pattern; and finally to
select it I press ENTER or RETURN. But pressing ENTER/RETURN not only
selects my pattern but also starts the Find/Replace process, which can
be a bit annoying caused by the issue that I didn't choose my replace
pattern yet.
Is there a way in TM 1 or TM 2 to get rid of the "tiny problem"?
Meaning, if the history list is open ENTER/RETURN _only_ selects the
list item?
Many thanks,
Hans
Hi!
I have a strange problem lately when I compile tex-files (actually I
can't say how "new" the problem is because I didn't compile a tex-file
for a longer time now):
When I compile a file with a bibliograpy the cite-fields won't get
filled out. Let's say I have a bib-item with the bibkey test:2007sf
(authors last name test, year 2007) and I write for example \cite[p.
45]{test:2007sf} it will compile to (?, p. 45). In the log-file stands
that the item cannot be found in the bbl-file. Looking into the
bbl-file the item is there. Even several recompiles won't work.
But if I compile the file with TeXShop everything works as expected. A
re-compile with TextMate will then also compile as expected. If I
introduce new items via \cite the same problem as before occurs.
I use TM 1.5.7 (1464) and update my bundles regularly via svn. The
TeX-distributions I am using are gwTeX and TeXLive 2007 and I use
Latexmk.pl for compiling my files with TM which uses pdflatex (but
with latex the same problem occurs).
Any ideas what's happening here?
Niels
The "Change Current" command in the LaTeX Bundle seems to always select the
outermost environment rather than the innermost. For example, if the caret is
on the line with the equation in the following:
\begin{enumerate}
\item
\begin{equation}
f(x) = x
\end{equation}
\end{enumerate}
I would expect that hitting Control-Option-E would let me change the equation
environment to something else, but instead it selects the enumerate
environment. Is there a way to change this? Thanks for any help!
-Daniel
I am new to TextMate, and am using it for LaTeX, and finding it loads of fun. I
can't seem to get cite completion to work, however. If I put the caret inside a
\cite{} command, along with some text, and press escape, it does complete the
citation and cycle through my bibtex database. But if I press option-esc, it
gives me an error message in a tooltip. (The error declares that it cannot find
my bibtex database.) I'm expecting it to give me a menu of citation choices.
I have a standard MacTeX setup, running on a MacBook under OS 10.5.2. My bibtex
database is found in ~/Library/texmf/bibtex/bib.
Any suggestions? Thanks in advance.
Kyle
I have to develop with someone else's styleguide and it requires to
break every line at 80 characters.
Is it possible to get any visual clue where r.g. 80 columns are?(I
mean a vertical line like most texteditors have... not the column
number on the bottom)
Would be nice to have that feature, since the "right margin indicator"
as is present in textmate is pretty useless I think.
It only shows where the window is larger than the rightmost column
fully visible?(What is it for anyway?)
Maybe I am just missing something...
Thomas
How can I comment out a region (selection) of code? In other words, select
several lines of code, right click (or key combo) and comment out that
section (adding the correct lang comment tag).
Thanks
Stephen cox
--
View this message in context: http://www.nabble.com/Add-a-comment-region-tp17397875p17397875.html
Sent from the textmate users mailing list archive at Nabble.com.
As I set up Reformat Comment commands for the languages I use most
frequently (LaTeX and R), it occurred to me that maybe there's a way
to make a single call to rubywrap more generic, so that we don't need
a command per bundle. This is the result:
#!/usr/bin/env ruby
$LOAD_PATH << "#{ENV["TM_SUPPORT_PATH"]}/lib"
require "escape"
scope = ENV["TM_SCOPE"]
case scope
when /comment\.(block|line)\.number-sign\./
cstring = "# "
when /comment\.(block|line)\.percentage\./
cstring = "% "
end
flags = ""
flags += " -p \"#{cstring}\" "
flags += " --retabify" if ENV["TM_SOFT_TABS"] == "NO"
text =`echo -n "#{e_as(STDIN.read).gsub(/[$`]/, '\\\\\0')}" | ruby "#
{ENV["TM_SUPPORT_PATH"]}/bin/rubywrap.rb" #{flags}`
print e_sn(text)
The parameters are the same as the current command, with the
exception of scope, which I set to "comment.line, comment.block".
I also added a gsub to the command because it was eating latex math
and R symbols ($). There's probably a better solution to that. This
seems to work for me, and should be extended easily by adding lines
to the case statement for other languages. One advantage is that by
specifying the comment character based on the scope, it ought to work
for anything; it catches comments for both bash and perl, for
instance, without any extra effort. I think it's kind of cool.
-Alan
Hi all,
I have made some changes to the way that scripts are run. To
accommodate this I had to update the Ruby and Python bundles to be
compatible (it's a change for the better).
If you update either of these bundles, you are going to have to update
Support as well if you want the Run (⌘R) commands to work.
I do apologise for any inconvenience, but it is for the best.
LD.
Hello,
I'm relatively new to TextMate.
When I try and launch textmate from the terminal (via 'mate'), textmate
hangs.
Interestingly, if textmate is already open, this doesn't occur.
Eventually I have to force quite textmate. I am running Leopard (10.5.2) on
an Intel Core 2 Due iMac.
Anyone else have this problem?
Thanks.
Steve