I made a more clever "Transpose Chars" and "Transpose Words" that I
used to use there in Alpha and have passed now to TextMate. The
behaviour is:
Exchange the last (before cursor) chars. But attention: it
exchange the last real chars, ignoring spaces around. This is the
desired behaviour for the typical mistake everybody does. It is for
me annoying to need to go back, put the cursor in the middle of the
swapped chars and press ^T.. How many keystrokes?
"Exchange words" do the same thing, always ignoring the spaces.
If you have several selected words, "Exchange words" interchanges the
first with the last word, leaving the rest untouched. Same thing with
"Exchange chars"
I hope this is what you are looking for.
Binded to ^T and ^-Opt-T and no special scope.

-----
Juan
jfalgueras(a)uma.es
Finally someone on IRC had the password problem so we could
troubleshoot.
It turns out to be a Leopard bug which manifests itself only on Intel
machines <rdar://5352252>.
If you are affected, open KeyChain Access, locate the password stored
for your database, double-click it, and in the “where” field, change
‘qsym’ to ‘mysq’.
I'm not sure if this is a TextMate bug, or something else, but oh is
it very, very irritating. I'm not sure what/why this happened, but
I'm hoping someone here (Allan? or anyone?) might be able to explain it.
I was running TextMate on computer A, editing a file accessed through
an AFP share on computer B. Computer B at some point got put to
sleep (lid of laptop was closed), and when that happened, the file
was in need of saving. A "lost connection with server, disconnect?"
dialog did come up. I woke computer B from sleep, and the dialog
went away by itself. Then I tried to save the buffer. TextMate
conjured a spinning beach ball for a time (1-2 minutes or so), after
which it appeared the file had been saved. No errors were reported,
and the 'needs saving dot' in the red close button, upper left hand
corner, had gone away. Thinking it was in fact saved, I closed the
window, and TextMate did not complain.
Then, when I (immediately after) tried to open the file back up, I
found it to be empty. The file had definitely been saved many times
as it was edited -- the time after the hiccup certainly wasn't the
first.
I lost like 6 hours of work.
Obviously, there seems to have been some IO issue due to the network
connection being interrupted, and/or the remote server going to
sleep. Can someone explain what (the deeper / more specific the
technical detail the better) it is? A likely sequence of events,
consistent with what I described, that would cause this result? Can
it be considered a bug that TextMate doesn't react to this kind of
issue, and a file gets silently truncated on the remote server?
Thanks...
--
Matt Anderson
Stop replying to an existing letter when you actually want to write a
new letter.
It screws up threading and I rely on threading for several things --
in Mail you effectively bury (for the collapsed view) the original
thread when you reply with a changed subject.
One of these days I’ll look into having procmail bounce letters with
an in-reply-to header w/o “Re:” or “(was:” in the subject, cause this
behavior is rather frustrating!
Has anyone been experiencing problems with the new SQL bundle,
specifically using the Database Browser?
This is how it's configured:
Title: test_connection
Server: MYSQL
Username: (hidden)
Hostname: localhost
Port: 3306
Database: test_db
When I click on a table in the DB Browser, I'm prompted for my
password each time. How come Textmate/SQLBundle is not using the
keychain? Am I not configuring my connection correctly?
-James
Just got TextMate build 1405 and I am getting the following error
message when I try and SQL Execute the current line/selection.
/bin/bash: line 1: database_choice: command not found
The new database browser works fine - nice addition indeed!
Anyone got any ideas what I'm missing here?
Thanks
Jez
I have a saved project. Inside my project directory in my HD are numerous
files and folder like so:
Project/image.gif
Project/layout/
Project/index.php
etc etc
There's 1 folder inside Project/ that I do not want to be included in my
text mate project because this folder contains about 600 folders with
thousands images inside. When it's included in my project TextMate takes
ages to open it. So I delete the folder reference from my project within
textmate, it goes away, great.
The problem is, even after a save the next time I open the saved project it
automatically gets added back into my propject, I don't want it to and thus
TextMate takes ages opening again.
What can I do?
--
View this message in context: http://www.nabble.com/Project-keeps-re-adding-a-folder-reference-tf4109589.…
Sent from the textmate users mailing list archive at Nabble.com.
The twiddle command (cntrl-T or Text:Convert:Transpose) is most often
used with no selection or with two letters selected to reverse the
order of two characters either side of an insertion point.
If a bunch of text is selected, twiddle returns the reverse of the
char string.
I wonder if it might not be more functional, if words are selected,
to return the words reversed, but preserving letter order? i.e.,
"validity and" -> "and validity"
rather than the current "dna ytidilav"
Does anybody get value from the current multi-char reverse string
behaviour?
cheers,
tim
I sometimes use Textmate to view readonly files. I'll never want to
change the files, just view, navigate, fold, etc. Is there a way to
tell Textmate that the files are read-only, so that Textmate prevents
me from accidentally modifying the edit buffer? Just remembering to
click "Don't save" when I exit Textmate isn't really what I want.
-- Pete
Is there a "right way" to allow for SVN log templates? Basically I'd
like to be able to easily populate the comments section of the
CommitWindow with a template (or snippet, or...).
The best I've found so far is adding:
@commit_args.gsub!("-m ''", '')
to /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Subversion.tmbundle/Support/svn_commit.rb
Which causes the svn's client behavior to kick in and spawn EDITOR
(mate -w) to write comments. Is this as good as it gets?
Thanks,
Mat
I use to open some links (unix links) with mate in the Terminal. It
seems to me that TM makes a mesh with them or not have a clear
criteria with the name/location since the name that appears on the
window title is the name of the link but the location where it refers
to is the real file.
IMHO it should be better to have the real file location in both cases.
Hi everyone :)
Since some months I have had error messages when trying to update my
installed bundles with GetBundle's "Update Installed Bundles" command.
2 different error messages are returned (randomly one or the other,
os so it seems to me) :
1 -> [Target path does not exist]
2 -> [REPORT request failed on '/svn/Bundles/!svn/vcc/default']
Still, after displaying one or the other message, GetBundle tells me
that my bundles were updated an that I can use them...
If I remember well, it all started when I tried to install a bundle
(but don't remember which) and had some error messages during install.
It seems that some people encountered this kind of problem already,
but I couldn't find appropriate solution in this mailing-list archives.
Any help would be appreciated :)
Thanks,
Luc.
Hi,
I have a tiny question:
How can I invoke an inline menu by using 'tm_dialog -u' from a
tmCommand written in bash?
I'd like to popup an inline menu à la Ruby
require File.join(ENV["TM_SUPPORT_PATH"], "lib/ui.rb")
words = STDIN.read().split("\n")
print words[TextMate::UI.menu(words)]
but using 'tm_dialog -u' command.
OK. I can embed Ruby-code in my Bash script, but it should be
possible to use only
tm_dialog -p "{???}" -u
I have no problems with for instance:
PLIST=$(tm_dialog -mc -p '{title="Hallo";}' RequestString)
I tried to write a old-stylish plist using menuItems, title=, etc.,
but up to now I couldn't find a solution.
Thanks in advance for any hint,
Hans
On Jul 19, 2007, at 6:52:07 PM, Cliff Pruitt wrote:
> Yeah I know what you're saying & of course Emacs & vim are "text
> editors". :-) But honestly how many "editors" of any kind have a
> read-only mode? (This is where someone emails me a list of like
> 3,000 read-only editors & I look like a jerk... happens every time.)
One feature of BBEdit that I've missed since moving to TextMate a
couple years ago is the ability to open a file Read Only, or even to
mark an already-open file as Read Only. It's not something I would
call a key feature that all text editors need to have, but it is a
great way to protect a file from inadvertent changes (aka protect me
from myself).
When working on one source file I very often have another file open
from a completely different project, for reference or for copying
code from. More than once I've modified the wrong file and
accidentally saved my changes, then had to use version control to
revert back. It would be much easier if there was a fast and simple
way to open the reference file Read Only.
Don't know about the other 2,999 editors that off that feature, tho,
so I'll let others chime in about that ;)
- Dave
This ought to be easy! :)
I want to be able to use "Wrap Word in Link" (currently in the
Hyperlink Helper bundle) in a php file.
With no modifications to the bundle, evoking the activation: <Key
Equivalent> has no visible effect at all.
Adding "source.php" to the Scope Selector List of the bundle, then
trying evoke the action results in
(this language is not supported, see … for more info)
being inserted in the document.
Umm?
First, how does anyone suggest I get this to work?
Second, "see <ellipsis> for more info" is hardly helpful !!
Thanks,
eo
Dear friends,
several people on this list have brought up the issue of non-sticking
passwords in the new MySql bundle. There were suggestions to
reinstall, revert bundles to original state etc –– I have done that,
but I am still prompted for password with every query and with every
change of table in the database browser.
What is the solution for this problem?
Secondly, I mentioned before that the mysql bundle is not happily
working with non-latin unicode -- queries containing, for instance,
Cyrilic or Greek are not executed as they should (they return no
values), and tables containing non-latin utf8 text display question
marks instead of text.
I am kindly asking for any tips -- the mysql bundle has become
unusable for me, and I need it very badly.
All best,
Tench
Hi There,
This seems like a FAQ, but I haven't been able to find the answer
after some looking. Textmate doesn't have a "match entire word" check
box in the find dialog, like most text editors. Presumably, we're
supposed to use regular expressions to achieve the same effect. Most
times, the word is a variable name. So for my variable x in C++, I
want to find all uses including:
x[i]
x->foo
x.bar
I've been trying to bracket the variable with the "non word
character", so I search for the regular expression \Wx\W
This excludes xbar, and foox. However, this isn't quite the same as
matching just the word, as the find dialog also selects the previous
and next character, matching the \W. I can't use it in a replace, for
example. Is there some cleaner way of doing this?
Thanks,
Craig Schmidt
I've been using Textmate with Transmit with no problems for months, now today
the bundle doesn't seem to work. The only thing I think of is that i did
update my textmate yesterday.
now when I use the bundle, i get the tooltip that says "(filename) sent to
Transmit" but nothing happens. I tried docksend by dragging the file from
finder to the transmit icon and it did work. Its just the bundle in Textmate
that doesn't seem to be working with Transmit. I've reset my bundles, even
re-installed transmit.
I am using textmate 1.5.6 and transmit 3.5.6 on OSX 10.3.9
thank you
--
View this message in context: http://www.nabble.com/textmate-transmit-bundle-not-working-tf4070702.html#a…
Sent from the textmate users mailing list archive at Nabble.com.
Hi everyone :)
Since some months I have had error messages when trying to update my
installed bundles with GetBundle's "Update Installed Bundles" command.
2 different error messages are returned (randomly one or the other,
os so it seems to me) :
1 -> [Target path does not exist]
2 -> [REPORT request failed on '/svn/Bundles/!svn/vcc/default']
Still, after displaying one or the other message, GetBundle tells me
that my bundles were updated an that I can use them...
If I remember well, it all started when I tried to install a bundle
(but don't remember which) and had some error messages during install.
It seems that some people encountered this kind of problem already,
but I couldn't find appropriate solution in this mailing-list archives.
Any help would be appreciated :)
Thanks,
Luc.
Hi List,
Everytime I click out of textmate - like into firefox say - and then
click back into textmate, it freezes for 30 seconds and I get the
loading spinny thing. I monitor on top and it reports:
PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
377 TextMate 0.0% 1:32.30 3 94 247 128M
16.9M 152M 485M
And then when I click into textmate:
377 TextMate 99.0% 1:46.34 3 97 253 130M+
16.9M 154M+ 487M+
I've defragged and run the OnyX maintence scripts, restarted, trashed
textmate and reinstalled, and rebooted and this still happens. Ideas?
Avi Flombaum
avi(a)designerpages.com
Hi,
The latest Textmate helpfully highlights SQL in comments, this is
great apart from with Joomla/Mambo code which actually uses a hash in
the table name (this gets replaced before it gets as far as mysql) -
this hash is recognised as a comment, so the end of the string is
ignored and the rest of your file is treated as a comment.
The tables names are referred to as #__mytable. I'm sure if this
isn't the best solution but a quick fix is to open
/Applications/Textmate.app/Contents/SharedSupport/Bundles/
SQL.tmbundle/Syntaxes/SQL.plist
in Property Editor and navigate to
/Root/repository/comments/patterns/1/match
and change the regex from
(#)?.*$\n?
to
(#)[^_][^_]?.*$\n?
Any better solutions gratefully accepted.
Thanks
jeb
Hi Joachim,
Love your Objective-C bundle contributions, use them all the time!
To facilitate a more compact folding I actually prefer a different
way of formatting my methods than what "Completion: Partial Method
Signature" produces. May I suggest to replace
out = out.chomp.strip + "\n\{$0\n#{rv}\}"
with something similar to this (sorry, no Ruby coder):
if ENV['TM_C_METHODBODY']
out = out.chomp.strip + eval(ENV['TM_C_METHODBODY'])
else
out = out.chomp.strip + "\n\{$0\n#{rv}\}"
end
so I can adjust it to my preference?
Thanks
Gerd
I'm trying (for the first time ever) to make Textmate do syntax-
highlighting. The files I want to highlight are JUNOS router
configuration files. My beginning grammar is
{ scopeName = 'source.junos';
fileTypes = ( 'junos' );
foldingStartMarker = '\{\s*$';
foldingStopMarker = '^\s*\}';
patterns = (
{ name = 'keyword.other.junos';
match = 'groups|system|chassis|interfaces|forwarding-options|snmp|
routing-options|protocols|policy-options|firewall|routing-instances';
},
{ name = 'comment.block.junos';
match = '/\*[^\*]*\*/';
},
);
}
When I set the language to JUNOS, folding works but the keywords or
comments stay the default color. Do I need to do something else to
see color highlighting? (assume nothing is too dumb - I'm a newbie
to this)
Assuming I get this working, is there a repository of grammars where
I can share it? And maybe find grammars for other odd languages?
-- Pete
Hi,
Recently I've been finding that textmate seems to be indenting/
autoindenting to the wrong number of chars. I've got the indentation
set to 'Soft Tabs: 2' but I'm finding that when I tab along, I'll end
up indenting to a odd number of chars, eg 3 or 5. I'm also finding
that when I'm writing HTML, if I use Ctrl< to writing the opening and
close tag, then press enter, I'll only be indented 1 char in from the
containing tag, not two as expected.
Any ideas?
---
Jeremy
Hi!
I just tried to render with the filename "Problem Set 5.tex" but it
failed because it seems to "think" that Problem, Set and 5 are three
different documents - here's the output:
atexmk: This is latexmk, John Collins, 26 February 2007, version:
3.08n. **** Report bugs etc to John Collins . **** Latexmk: Could not
find file [Problem] ------------ Run number 1 of 'pdflatex
-interaction=nonstopmode -file-line-error-style Problem' ------------
Latexmk: restoring last Problem.aux file Latexmk: Did not finish
processing file: Latex failed to generate a log file Latexmk: Could
not find file [Set] ------------ Run number 1 of 'pdflatex
-interaction=nonstopmode -file-line-error-style Set' ------------
Latexmk: restoring last Set.aux file Latexmk: Did not finish
processing file: Latex failed to generate a log file Latexmk: Could
not find file [5.tex] ------------ Run number 1 of 'pdflatex
-interaction=nonstopmode -file-line-error-style 5.tex' ------------
Latexmk: restoring last 5.aux file Latexmk: Did not finish processing
file: Latex failed to generate a log file
And I have now the files in the directory of tex-file:
5.aux
5.aux.bak
Problem Set 5.tex
Problem.aux
Problem.aux.bak
Set.aux
Set.aux.bak
texput.log
Removing the spaces from the filename helps. Something should be done
about the error output…should be somehow formatted but I think that
already in discussion…
As written in the subject: it's the actual SVN-checkout of the LaTeX-bundle
Niels
Dear list,
It would appear that the 'Execute Line / Selection as Query' command
in the SQL bundle is not working for multi-line selections.
Am I going mad (missing something?), or can someone else confirm this
problem please. Even better if you know how to fix it.
Thanks
Jez
Hello
I would like to extend the sql language definition to support
PostgreSQL's dollar quoting semantics.
http://www.postgresql.org/docs/current/static/sql-syntax-lexical.html#SQL-S…
Ideally, I'd like to be able to fold dollar quoted strings as they're
often used for large chunks of text, particularly function
definitions.
What is the right place to start in order to implement this? Should I
modify the existing sql bundle?
Andrew
Sample:
$sql = "INSERT INTO table (field) VALUES ('".$foo."')";
The bundle in 1.5.6 (1405) doesn't break out of SQL syntax
highlighting properly on the string. To fix sql-string-double-quoted
and sql-string-single-quoted change:
end = '"';
to regex:
end = '.*?"';
Forgive this PHP programmer if Ruby regex differs and there's a
better fix than this!
I think I'm done with HTML anchors after this. The named anchor
commands have evolved into a full indexing bundle due to a positive
response. Apparently I'm not the only one who gets relegated to
creating long listings with anchored indexes at the top, despite my
protests. So the bundle includes the original commands, plus fully
automated index creation, including even/odd row classes, sub-
indexing for multiple sections, and indexing with summaries.
Everything is inserted as snippets for modification.
The bundle includes a help file and can be found at my blog.
http://blog.circlesixdesign.com/2007/07/13/html-indexing-bundle/
Thanks,
Brett
Hey all, this might be SLIGHTLY off topic but I don't think it is.
I'd really like to write a command to execute SQL statements against
SQL server, but I'm not sure of a command line tool that I can use
with the command. Not to mention there are plenty of times I'd
rather use a tool like the mysql cli tool rather than a full GUI
app. Is anyone using anything from the command line that works well
for them with SQL Server?
- Cliff
On 6/25/07, at 8:37 PM, Ryan Wilcox said:
>Hello all,
>
>I use the Pascal bundle quite a bit, and - while the Pascal bundle
>is MUCH better about understanding what a (to use the C term)
>prototype is vs a definition, it still fails when looking at
>functions (pascal methods that return a value).
I have a change for the Pascal Prototype regex. With this regex it passes all the tests in my previous email on this topic (<http://article.gmane.org/gmane.editors.textmate.general/20600>)
(I believe) The solution is simple:
add (: \w+)? to existing meta.function.prototype.pascal regex so it is:
\b(?i:(function|procedure))\b\s+(\w+(\.\w+)?)(\(.*?\))?(: \w+)?;\s*(?=(?i:attribute|forward|external))
If someone could check this out and commit this change (or one like it) to the Pascal bundle I'd be very grateful.
Thanks so much!,
_Ryan Wilcox
--
Wilcox Development Solutions: <http://www.wilcoxd.com>
Toolsmiths for the Internet Age PGP: 0x2F4E9C31
In the previous version of TextMate when I submitted a highlighted set of
queries to MySQL it would execute them all in order and show the results.
In the new version it only seems to execute the first SQL statement out of
the highlighted group. This is a big problem for me because I only use
TextMate to edit and submit stored procedures which require at least three
separate statements to be submitted (delimiter change, my stored procedure,
delimiter change back.) Does anyone know of a way to fix this in the new
version? Or if not can someone point me to link of the previous version so
I can reinstall it?
Thanks
--
Dave
i have 3 mac computers, and i updated textmate to the latest version, one by
one. seems that mtasc is not working anymore, i get a colored blank swf all
the time.
is working for you, macuser?
I've installed, deleted the symbolic link, installed again, but still
not working.
edit in textmate is in the menu, but clicking it just makes a ping
noise.
suggestions?
TIA
Hello,
I'm running build 1405 and when trying to use the "Show Changes"
feature, when doing a svn log on my project I get the following:
svn: invalid option character: c
Type 'svn help' for usage.
Anybody else experiencing this?
Thanks
When trying to configure the SQL Bundle, I get the following error in
my console.log, http://pastie.caboo.se/77638. I'm using a fresh
install of Textmate v1405. No other textmate plugins are installed
besides the ones that are installed by default.
Hi,
in 1.5.5 and 1.5.6 is a bug in the "Find in Project" Dialog. Here is
how you can reproduce it:
- open a project
- open "Find in Project"
- set "Find:" to aaa.bbb
- set "Replace:" to ccc.ddd
- activate an other TM window (e.g. the project window)
- re-activate the "Find in Project" dialog
- doubleclick bbb from the "Find:"
- copy
- doubleclick ddd in the "Replace:"
- paste
bug: a blank is inserted before the pasted bbb in the "Replace:" field
cheers,
Alex.
I had a few days left of my trial period when I received a software
update and I haven't been able to open PHP files anymore with that
version.
I tried to downgrade and the newest version that can handle PHP-files
is Version 1.5.5 (1368).
What happens when newer versions try to open a PHP-file they open
them without any syntax colouring, stay up for a few seconds and crash.
The following attachments are the crash log and an example PHP-file.
Is the PHP-bundle doing something nasty or am I doing something wrong?
Regards,
Stefán Vignir Skarphéðinsson
Attached is a patch file containing the changes between the CVS
version of the Latex bundle and my version. They are as follows:
1a. Improve the parsing of %!TEX lines, so that it conforms to the
behaviour of TeXShop. Previously it was too strict about the format;
in particular it demanded a single space following the = sign, rather
than arbitrary whitespace. (Oddly, a single space before the = sign
*is* required.)
1b. Do not ignore "file not found" errors in options.rb. (Why was this done?)
2a. The second group of changes concerns the error handling in the
'Typeset & View' command. Previously, detection of errors depended on
parsing the output of the TeX command. However, it is difficult or
impossible to do this reliably, because of the variety of forms that
error messages can take. The new code also looks at the exit value of
the tex process.
2b. While working on the latexErrWarn.py script, I noticed that the
code detecting the -v (verbose) option was broken. I have fixed it;
but, to conform to existing behaviour, this option is no longer passed
to the script.
3. Allow per-file setting (in a %!TEX line) to override the global
$TM_LATEX_PROGRAM setting. For backwards compatibility reasons, an
exception is made for latexmk. There is a new option
$TM_LATEX_COMPILER which does over-ride everything; this should be the
recommended way of using frameworks like latexmk in the future.
Eventually the latexmk exception should be removed.
Robin
A new version of Latex Watch is available, which fixes a number of
bugs. It's available here:
http://www.puffinry.demon.co.uk/LaTeX%20Watch%202.5.dmg
Latex Watch takes a lot of the hassle out of using Latex, by quickly
updating the document preview whenever you save a change to your
source file. It saves you having to manually recompile all the time,
and it's also quite a bit faster too. See the included help file for
more details.
Changes since 2.4:
- Delete .watcher_pid file on exit. (I think this was broken by 2.3.)
- Fix bug introduced in 2.4 that broke TeXShop updating.
- Use a sanitised name for the .foo.* files, because format names containing
spaces don't seem to work (so we would fail for filenames with spaces in).
- Change into the working directory, rather than using the full path, to
avoid problems caused by special characters in the name of some ancestor
directory.
- Quote Applescript strings, so that filenames containing special characters
(backslash and double quote) will not cause Applescript errors. (They do
still cause problems with PDFSync in Skim: see
https://sourceforge.net/tracker/?func=detail&atid=941981&aid=1753415&group_…)
- Catch the obscure case where the filename ends in ".tex\n", which
would previously cause mysterious-looking problems.
- Remove the 'hide extension' attribute on the .tex file, if TeXShop is
used as the viewer, otherwise updating will fail for interesting reasons
that I won't go into here.
Robin
Hi,
Since the last update I'm having problems with the ActionScript
bundle and XTrace. All my debugging code now gets printed out in the
flash movie rather than in the XTrace window as it used to before.
I think I've done all the necessary steps:
1. Add my folder in the security settings in Flash
2. Fire up XTrace
3. Add the trace argument to mtasc.yaml
Firstly nothing displayed in the preview window. The .swf file ran
fine in a browser but not under TextMate. I modified the build
script (point c below) to represent the file as a proper URL rather
than a file:// path and this worked, but I still don't get any debug
out, nor do I get a security warning.
I made a few tweaks to the mtasc build script:
a. Add the command it used to build the swf as a comment in
underneath the HTML
b. Allow for the 'app' yaml statement to be an array of files rather
than a single file
c. Allow me to prefix a location to the swf file, such that the
output HTML is:
http://localhost/~gaby/game/blah.swf
rather than
/Users/gaby/Sites/game/blah.swf
Which made the preview work.
I'm really stuck here as I found the XTrace output invaluable,
whereas the in-swf version is next to useless as the important data
always runs off the edge of the movie! Help! I'm going mad!
Gaby
--
Junkets for bunterish lickspittles since 1998!
http://www.playr.co.uk/
Hello,
I'm trying to use the database browser with TextMate 1.5.6 (1405)
with Postgres 8.2.1. I've configured the SQL Bundle and when I try to
activate the browser, I see this error message:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
SQL.tmbundle/Support/bin/db_browser.rb:178:in `abort': cannot convert
Array into String (TypeError) from /Applications/TextMate.app/
Contents/SharedSupport/Bundles/SQL.tmbundle/Support/bin/db_browser.rb:
178 from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
SQL.tmbundle/Support/bin/db_browser.rb:167:in `html' from /
Applications/TextMate.app/Contents/SharedSupport/Bundles/SQL.tmbundle/
Support/bin/db_browser.rb:167
I've already made the password prompt regex change suggested in
another posting, but that did not help.
Thanks for looking into this.
-B
Dear friends!
I am using Textmate for my LaTeX projects (writing arcticles at the
university).
I want the following macro: I want to mark a text that I have written
and then I want to push a special keyboard shortcut to activate it.
Example: "This is a text and it is just an example."
I want to mark the word "text", push a keyboard shortcut and then it
should create automatically:
"This is a \frqq text\flqq\ and it is just an example."
Can this be realized with TextMate?
Kind regards!
Chris (Austria)
For what it's worth, here's a refined version of this morning's
quickie HTML anchor commands. I'm definitely open to input.
They're tied to CTRL-SHIFT-R. That's probably something else's
shortcut, too, but I've lost track. There are two commands so the
shortcut gives you a menu with 2 options. Creating an anchor just
gives you a snippet with a suggested name based on the selected
text. Creating an anchor link gives you a list of all of the current
named anchors in the page and lets you select what to link to.
Thanks,
Brett
I had to whip this up this morning for a site that had a ton of named
anchor tags. There may have been something previously but I missed
it. If you highlight the text to link and hit CTRL-SHIFT-A, it will
give you a dialog with a suggested name for the anchor. Confirming
the dialog after any necessary modifications will create the href
link to the anchor and copy the name of the anchor to the clipboard.
Then you place the cursor or highlight the text to become the anchor
and hit CTRL-SHIFT-A again. It will create the anchor from the
clipboard. This makes for rapid index development.
The only drawback is that my current system of using the same
keyboard shortcut twice means if you hit undo after pasting the
anchor you lose the clipboard and have to start that anchor over from
the beginning. It may be wise to separate the two functions, but I
didn't want to take up more shortcuts than necessary ;).
Brett
Hi,
I'm using Version 1.5.6 (1405) with Postgres 8.2.4. I've configured my setup
in the SQL Bundle,
but when opening the Databrowser nothing shows. I get the display of
"Databases" but there are no databases shown. When I add a wrong one, the
databrowser will complain that the db is unknown.
I can post mor information when necessary.
CU
Christian
--
View this message in context: http://www.nabble.com/SQL-Bundle%3A-Postgres-with-Databrowser-shows-nothing…
Sent from the textmate users mailing list archive at Nabble.com.