Hi,
I am writing a Cocoa application where I would like to copy tabular data
from my application and paste it into textmate. However, I would like the
pasting to occur just as if I had copied a columnar selection within
textmate. Is there a way I can format this string data so that textmate
recognizes it is a columnar selection?
Thanks,
Josh Shapiro
Hi,
I've noticed a number of problems with the LaTeX bundle
(and the new one) along with GetBundles.
First, with the LaTeX bundle, if I try to select the preferences
selection, I'll get a tooltip pop up complaining about line 8
in configure.py warning that os.popen4 is deprecated. The
preferences aren't opened. Next, if I choose File Preferences
- Set Engine, I'll get my file replaced with,
sh: : command not found
/Users/tjlahey/Library/Application Support/TextMate/Pristine
Copy/Support/lib/ui.rb:356:in `load': Cannot parse a NULL or
zero-length data (OSX::PropertyListError)
from /Users/tjlahey/Library/Application Support/TextMate/Pristine
Copy/Support/lib/ui.rb:356:in `request_string_core'
from /Users/tjlahey/Library/Application Support/TextMate/Pristine
Copy/Support/lib/ui.rb:193:in `request_string'
from /tmp/temp_textmate.6pytw1:6
Trying to configure things opens the plist in TextMate not
the plist editor (which if I double click it in Finder opens in
the correct editor).
With GetBundles, trying to open it pops up a tooltip complaining
about line 3 and line 6 of a temp file.
With the new LaTeX bundle (LaTeX 2), just typing a \ brings up an
error of sh: : command not found. Needless to say, this makes the bundle
useless for me.
Suggestions?
Thanks,
Tim Lahey
---
Tim Lahey
PhD Candidate, Systems Design Engineering
University of Waterloo
http://www.linkedin.com/in/timlahey
Hi. Thanks for answering anyone who does,
I don't know if it's allowed to post pics so I will describe it as well.
For some reason the tab shortcuts disappeared from the gear menu > javascript < core groups control, language and function. Only there and no where else. I'm sure i remember seeing proto for prototype. this wouldn't bug me so much if object oriented javascript wasn't exactly what i was focusing on learning right now. I aleady tried uninstalling and re-installing. The shortcuts are there under the bundles menu, just not the gear menu and again, all the other tab shortcuts are there for every other language.
thanks
Jon
> By the way, I checked the code in texMate.py, the related part is:
> if viewer == 'Skim' and vp:
> syncPath = vp + '/Contents/SharedSupport/displayline ' +
> os.getenv('TM_LINE_NUMBER') + ' ' + pdfFile + ' ' +
> shell_quote(os.getenv('TM_FILEPATH'))
>
> I think there are some problem with the last item:
> shell_quote(os.getenv('TM_FILEPATH'))
>
> This one should be the one I select the text or currently view, not
> the master file. I guess textmate always past master file name to
> this part. I hope anyone can tell me a fix.
>
> I tested the "displayline" in skim manually, and it works just fine.
>
> I used:
> /Applications/Skim.app/Contents/SharedSupport/displayline 50
> "co.pdf" "prim.tex"
>
> And I can see the correct line in co.pdf, although the tex file is
> not of the same name (but it is one of the included files in co.tex).
>
> Xuehai
>
> On May 20, 2010, at 9:55 PM, Xuehai Qian wrote:
>
>> Hi Everyone,
>> I am pretty new in textmate, but I found it is great software and
>> I use it everyday now. One problem with me is the pdfsync, I
>> currently use skim as the pdf viewer, and from skim, I can find the
>> point in tex file by shift+cmd+click, but from tex file I have some
>> problem: my paper includes multiple files, I think I can only find
>> the place in skim by (control+option+cmd+o) in the master file
>> (which includes the titles of different sections), for example, I
>> put the mouse in one of the title, and I can be directed to the
>> right place in pdf viewer(skim), but if I go to one of the input
>> files, and select a place, nothing happens, or it produces the
>> wrong pdf file by the input file, and it doesn't make sense.
>> Anyone can tell me how to point to a place in tex file (not master
>> file but one of the input files) and find the place in pdf file?
>> Thanks!
>>
>> Xuehai
>
Hi Everyone,
I am pretty new in textmate, but I found it is great software and
I use it everyday now. One problem with me is the pdfsync, I currently
use skim as the pdf viewer, and from skim, I can find the point in tex
file by shift+cmd+click, but from tex file I have some problem: my
paper includes multiple files, I think I can only find the place in
skim by (control+option+cmd+o) in the master file (which includes the
titles of different sections), for example, I put the mouse in one of
the title, and I can be directed to the right place in pdf
viewer(skim), but if I go to one of the input files, and select a
place, nothing happens, or it produces the wrong pdf file by the input
file, and it doesn't make sense.
Anyone can tell me how to point to a place in tex file (not master
file but one of the input files) and find the place in pdf file? Thanks!
Xuehai
Hi,
To scratch my own itch, I extended the Align Source command to take a
pattern from input box and align text in any way I like. For example
options["split_test"] = split_test if split_test
options["eligible_test_candidate"] = "true" if
eligible_test_candidate?
options["default_device"] = "true" if default_device?
options["refer_id"] = refer_id if refer_id
options["plan_package_code"] = plan_package.code if plan_package
With input "\] if", above code will be formatted to below
options["split_test" ] = split_test if
split_test
options["eligible_test_candidate"] = "true" if
eligible_test_candidate?
options["default_device" ] = "true" if
default_device?
options["refer_id" ] = refer_id if refer_id
options["plan_package_code" ] = plan_package.code if
plan_package
The bundle is located at
http://github.com/gcao/AlignText
The shortcut for align by pattern is Command+Alt+Ctrl+]. It only works
for text selection.
Multiple patterns are separated by three spaces. If the first pattern
starts with a space, it will not align by first pattern.
Hope you find it useful. Feel free to clone and modify for your needs.
Regards,
Guoliang Cao
Hi
Does anyone know a bundle to get shortcuts for special charecters like  
in textmate ?
--
===================
Rodrigo L. M. Flores
Computer Science Msc. Student - IME - USP
Computer Science Degree - IME - USP
Homepage (en): http://www.rodrigoflores.org
Blog (pt-BR): http://blog.rodrigoflores.org
Linux User # : 351304
Jabber: im(a)rodrigoflores.org
I notice that when I generate a template for Python and have soft tabs enable, the resulting file still has tabs in it.
I went through and did some testing and it appears that TM_SOFT_TABS does not get set in the environment for those script that do pre-processing on templates.
To test this, simply put ${TM_SOFT_TABS} in a template.
Using 1.5.9 (1510)
--
Donald Ephraim Curtis
dcurtis(a)gmail.com
Hi,
I just discovered the coolness of Running a Ruby script from within
Textmate. The unreadable Stack trace suddenly is readable and has
amazingly cool hyperlinks to the exact line. I once saw in a
Railscasts episode a Rails Bundle allowing to have such hyperlinks in
the browser, but I could never keep up with which version and it broke
all my other environment.
Any recommendation / direction for something as cool as the stack
trace of a simple ruby file.
At the same time let me ask you how I could have a "debugger" in ruby
(on or sans rails) or javascript could break into textmate.
Cheers, and hello, since this is is my first post here.
Greetings,
I'm a TextMate newbie, so this may be a duhhh, but...
I wrote a little a Perl script as a command. The first line of the script is, as you might expect, #! usr/bin/perl.
The command works perfectly as long as my TM doc has not been saved. As soon as I save the doc, running the command prints "interpreter failed: No such file or directory."
This sure looks like a path issue, but what changes when I save the file?
Any help is much appreciated.
- Alan Goodwin