Hi Everyone,
I just merged the typeset and view branch back to the mainline. Thanks to
everyone who made the effort to switch over to the branch! I think there
are still some good ideas that can be implemented but this is good progress
for now.
Please go back to using the the mainline now. I think the easy way is just
to remove Latex.tmbundle and then do an svn update in your Bundles
directory. If you are being selective about which bundles you check out
then just checkout the Latex bundle from the mainline.
Please let me know asap if you find anything wrong with this version.
Thanks,
Brad
--
Brad Miller
Assistant Professor, Computer Science
Luther College
I don't know if feature requests go on the email list or not.
I wanted to suggest a new "Output" option for the "Filter Through
Command" action. I think adding the option "Insert to Clipboard"
would be useful. I notice I run a number of *nix commands on text
(awk, tr, uniq, etc) but then it would be nice to have the option
where to paste it.
----
Brian H
binarynomad(a)gmail.com
http://www.binarynomad.com
I missed a few days of lists a week or so ago, and I was wondering if
there was an archive I could go to to read the missed messages. I
didn't notice one on the website.
If there is one, what's the URL? Thanks.
- Dushan
Hi all,
What is the procedure for making a new (small) new language bundle
available?
Add to the SVN? (need privileges, of course)
Host it oneself?
I'd mostly in the first place just like an SVN I can access from home and
work as it incrementally builds to something more useful.
I googled bundleforge (distant memory that that was an open place for
bundles, but it says come back soon?
t
Hi,
I have a few questions regarding my TM & Latex-Combination - I'm
switching from TexShop, but I just like TM better.
So, for using the package "glossaries" with TexShop I had to create
an extra engine... containing th following commands:
#!/bin/bash
bfname="`basename "$1" .tex`"
pdflatex "$1"
bibtex "$bfname"
makeindex -s "$bfname".ist -t "$bfname".glg -o "$bfname".gls
"$bfname".glo
makeindex -s "$bfname".ist -t "$bfname".alg -o "$bfname".acn
"$bfname".acr
pdflatex "$1"
pdflatex "$1"
Could be that this is a little often, but afterwards everything was
compiled, index, acronyms, bibtex etc...
How can I port this to TM? When I just select "Typeset and Preview"
i.e. glossaries don't show up or don't get updated.
??
Thanks a lot
flo
I'm new to TextMate and thinking of using it for teaching purposes. I would
like to fill out a form and have TextMate to automatically create the needed
file. For instance I have a snippet called csc (short for
CreateStandardClass) that looks like this
Class: ${1:ClassName}
SubClassOf: ${2:Object}
InstanceVariables: ${3:varName1},${4:varName2}
After I've entered the needed info (Rectangle, width and height) it looks
like this
ClassName: Rectangle
SubClassOf: Object
InstanceVariables: width,height
After entering height and pressing tab I would like TextMate to generate the
Objective-C code below. (It should be possible since all needed data is in
the variables $1, $2, $3 and $4)
// Rectangle.h
#import <objc/Object.h>
@interface Rectangle: Object
{
int width;
int height;
}
-(void) setWidth:(int) w;
-(void) setHeight:(int) h;
-(int) width;
-(int) height;
@end
// Rectangle.m
#import "Rectangle.h"
@implementation Rectangle;
-(void) setWidth:(int) w
{
width=w;
}
-(void) setHeight:(int) h
{
height=h;
}
-(int) width
{
return width;
}
-(int) height
{
return height;
}
@end
Is there a way to do this?
Thanks Bob
I want to produce
[origin [pt x]];
using a snippet called msg (short for message) that looks like this
[${1:Receiver} ${2:message}]
When I write msg and hit tab I am presented with
[Receiver message]
where Receiver is highlighted. I write origin and hit tab. Now I get
[origin message]
and message is highlighted.
I write msg again and hit tab.
To my surprise I get
[origin msg]
with tha caret after the last bracket .
So it seems that TM is giving priority to the outer snippet??? But I think
that two other alternatives might be better
Alternative 1: Forget all tab stops for the first snippet when an inner
snippet is activated.
Another alternative is
Alternative 2: When hitting tab give priority to the inner snippet first and
when it is finished then give focus to the outer snippet and let it do its
thing.
If I am wrong in my thinking tell me why. If I am right maybe it is some
programming difficulty with nested snippets that prevents the desired
behavior.
Thanks Bob
--
View this message in context: http://www.nabble.com/Tab-stops-work-strangely-with-nested-snippets--tf4250…
Sent from the textmate users mailing list archive at Nabble.com.
In a screencast, control -> less-than was used to change hr and img to <hr />
and , respectfully (the -> is not part of the key combination). What
happened to this feature? It no longer closes it like this: <hr />. It
only shows <hr></hr>.
--
View this message in context: http://www.nabble.com/signleton-tags-not-supported-with-control-less-than--…
Sent from the textmate users mailing list archive at Nabble.com.
A.K.A. Objective-c Annotation project,
I have started to think how I can improve the objective-c code completion,
adding additional context sensitive suggestions. Currently there are only
context sensitive suggestions for a limited set of operations inside an
Objective-C method call context.
What I would like is for constructs such as:
returnCode == NSOKButt[caret]
to be context sensitive as well, the problem is that just looking at the
type of returnCode is not going to work since it is most probably an int,
of which there are hundreds in Cocoa (counting functions that return int
and constants).
So my thinking is that using a regexp I can gather statistics from various
open-source project and make educated guesses as to what a more "detailed"
type would be, thereby being able to provide better suggestions.
for example:
-(void)openPanelDidEnd:(NSOpenPanel*)panel returnCode:(int)returnCode
contextInfo:(void*)contextInfo
{
if (returnCode == NSOKButton)
}
I would parse out the method header, the argument names + the method part
they were connected to, and then do a regexp search in the body of that
method that would check if any of the arguments are compared/assigned
against a constant/function declared in the cocoa headers. Check if this
constant/function is of a more specific type (in reality a cocoa typedef
enum).
if so add this method to a file of special cased code completions (and
ofcourse enough information to deduce what special treatment that would
be).
So now to my question to you fellow TextMate using Objective-C users:
Do you think this will help you in your coding or will it get in your way?
Have I overlooked something that makes this not viable?
Should I instead provide a special nib with a giant talking paper clip?
Thanks in Advance
Joachim Mårtensson