There's a bug in the Java bundle (current repository version). The
following comment is not displayed as a comment:
class FooBar {
// class in
}
Trevor
Ahoy.
Seems the default tool_tip with implied :format => :text is using a
font that is way huge and sizes wider than the screen with long
content.
For my needs I'm likely just going to use :format => :html with a
custom style tag. But ideally I could just use the default format.
What rules do normal system tooltips use to decide when to force wrap
to a new line?
hello,
what happened with my command+/ ? i get a system error, a sound and a flash
on the screen.and i also noticed something else, the dropdown from the
bottom right does not show me any function from the current class, it's
blank.
--
Cristi
www.ralcr.com
Ahoy.
I'm building some stuff for the new D2 completions and I was wondering
if someone could change the font to monospaced. Ideally the same font
& size used in the document.
Infininight did a design a while back that we all agreed to. I'm not
sure whose job this stuff is. All I know is, I have no clue how to do
it or else I'd be doing that right now instead of complaining ;)
Thanks.
I've tested the new MacTex beta with TextMate+Skim+synctex (with pdflatex,
xelatex, and latex (with and without the latexmk.pl script)) and it all
works well on my research articles and exam files. Synctex seems to do a
slightly better job than pdfsync, in my setup.
Regards,
David
Hi,
Jacob Lukas pointed out to me that there's a major bug in the Ruby
script for installing bundles with a complex folder structure (e.g.
Objective-C, F-Script). I've already fixed that. Thus please update
the GetBundles bundle if you want to use it.
Many thanks to Jacob Lukas!
Cheers,
--Hans
Hello,
I'm getting my mailing lists all mixed up.
In case this hasn't been announced here, yet:
Begin forwarded message:
> From: "Snyder, David F" <dsnyder(a)txstate.edu>
> To: "mactex(a)tug.org" <mactex(a)tug.org>
>
> The Skim wiki has a recently updated (today) page on how to
> integrate Skim
> with synctex and some popular editors. Begin here:
> http://skim-app.sourceforge.net/wiki/index.php/TeX_and_PDF_Synchronization#T
> eX-PDF_Synchronization
>
> Also: I've tested the new MacTex beta with TextMate+Skim+synctex (with
> pdflatex, xelatex, and latex (with and without the latexmk.pl
> script)) and
> it all works well on my research articles and exam files. Synctex
> seems to
> do a slightly better job than pdfsync, in this setup.
Hope this helps,
Will
Hi,
if I'm using tm_dialog showing a NIB with enabled close button (red
button), how can a script controlling the NIB be notified about that
event?
E.g. the GetBundles script: It makes usages of some threads. If the
user closes that window these threads should be killed safely. I only
can do this by defining a separate button sending this event to the
script and disabling the red close button.
Any suggestions?
I do not know whether this would be a way but maybe one can overwrite
the 'close' method within tm_dialog which sends a message to stdout
before calling super::close.
--Hans
hi
I've got two pretty arcane bundles I work on extending most days and
use at home and work. As they are into useful shape, I 'm beginning to
share with others.
My question: What is the simplest source control system that plays
well with textmate (and preferably with get bundle) and is public but
free (i.e., not setting this running on my own server)?
What public servers do people use/recommend?
What's the story with using the tm bundle repo?
I looked at http://bundleforge.com/ but couldn't see how to use
that to host a bundle...
I like most things google: does google code integrate with
textmate and allow synching of code changes?
Is there a workflow that people have for keeping more than one machine
synced and for sharing the bundle with others? (export a clickable
link so other users can download and stay updated to the newest version)
tim
Hi,
I've been using wikidot (free wiki service with a lovely syntax, lots
of nice auto-generate features, and googles ads etc)
Before I reinvent the wheel, Anyone made up a grammar for their
version of wiki markdown?
Timster
Regarding TM's adherence to unix philosophy, it seems weird to
me one cannot execute a command in background. Setting output to
"Discard" is supposed to do just that, while it actually freezes TM
until command exits. This virtually rules out any long running command
in TM.
I know "Show as html" will behave that way, but it's more a (ugly)
workaround. I'd like to see it fixed or at least a "Discard and close"
option added.
Thank you,
Federico Galassi
I have set up the Blogging Bundle to work with my Movable Type
installation, and it mostly works, but I don't appear to be able to
assign tags to a post (whether the tags already exist or not).
When I fetch a post, it includes the tags. But even if I then edit
this list (add or remove), the changes are ignored.
Is this a known issue? Is there a fix? I would love to be able to
post from TextMate, but it's a pain to then have to log in and edit
the tag information...
Thanks!!
Fletcher Penney
--
Fletcher T. Penney
fletcher(a)fletcherpenney.net
My theory of evolution is that Darwin was adopted.
- Steven Wright
Thanks for your help with my last query Hans.
I am now having problems getting my Flash classes to compile. They are
in the regular directory, when I compile my SWF using Flash everything
compiles fine. However, when I compile using MTASC classes from my
class library don't import (I get unknown variable error messages).
I've set my classpaths in the mtasc.yaml like this:
classpaths:
- /Users/alicolling/Library/Application\ Support/Adobe/Flash\
CS3/en/Configuration/Classes
- $(UserConfig)/Classes
But it still won't work.
If anyone has any suggestions I would be really glad to get on the
road compiling from textmate :)
Thanks,
Alistair
my full mtasc.yaml is:
///////////////////
# Name of your output file:
swf: prelaunch.swf
# Name of your main class:
app: OceanaPreLaunch.as
# Folder/URL/file to open when compilation succeeds. Use 'textmate' to
preview in TextMate:
# preview: textmate
#preview: reference to automator app that clears log file and
launches swf
preview: /Users/alicolling/Library/Scripts/dbgOceana.app
# SWF Header:
player: 8
width: 800
height: 600
fps: 31
bgcolor: FFFFFF
# Optional, use it if you have a custom version of MTASC (i.e: HAMTASC):
# mtasc_path: /Users/your_name/bin/mtasc
# Optional, use it to send additional MTASC parameters (i.e: -strict)
params: -main -mx
# If you want to use XTrace (included with the bundle)
# trace: xtrace
#
# If you want to use Console.app (see <http://bomberstudios.com/2007/03/14/how-to-use-consoleapp-for-flash-debuggi…
>)
trace: console
#
# If you want to use 'tail -f'
# trace: terminal
#
# If you want to use a custom function for tracing:
# trace: com.namespace.to.your.trace.function
# Optional, include as many classpaths as you need:
classpaths:
- /Users/alicolling/Library/Application\ Support/Adobe/Flash\
CS3/en/Configuration/Classes
- $(UserConfig)/Classes
# - /Users/your_name/Documents/mtasc-1.12-osx/std8/
# - /Users/your_name/Documents/mtasc-1.12-osx/std/
--------------------------------------------------------------------------
Alistair Colling
Interactive Developer
FPP Brand Communications (Newcastle upon Tyne)
The Courtyard
Dinsdale Place
Sandyford
Newcastle upon Tyne NE2 1BD
Telephone: +44 (0)191 261 6662
Fax: +44 (0)191 233 2511
This transmission is confidential and intended solely for the person or organisation to whom it is addressed.
It may contain privileged and confidential information. If you are not the intended recipient, you should not
copy, distribute or take any action in reliance on it. If you have received this transmission in error, please
notify the sender at the e-mail address above.
FPP Design Limited. Reg. Office: The Courtyard, Dinsdale Place, Sandyford, Newcastle upon Tyne NE2 1BD.
Registered Number 3775564. Registered in England and Wales. Visit our website at http://www.fpp.net/
The new action command is giving me the following error:
deadlock 0x38cde0: sleep:S - /Library/Application
Support/TextMate/Support/lib/ui.rb:84
deadlock 0x346fc: sleep:F(1049) (main) - /Library/Application
Support/TextMate/Support/lib/ui.rb:86
tm_dialog: no property list given
/Library/Application Support/TextMate/Support/lib/ui.rb:86:in `read':
Thread(0x346fc): deadlock (fatal)
from /Library/Application Support/TextMate/Support/lib/ui.rb:86:in
`load'
from /Library/Application Support/TextMate/Support/lib/ui.rb:86:in
`menu'
from /Library/Application Support/TextMate/Support/lib/ui.rb:81:in
`popen'
from /Library/Application Support/TextMate/Support/lib/ui.rb:81:in
`menu'
from /tmp/temp_textmate.lvQNXx:5
Any ideas? TIA, Mark
hi,
just wondering if anyone has written a command to renumber the
${1:var} items in a snippet? I find myself doing this quite often when
developing a new snippet and it is a bit tedious.
Ideally, the command would allow you write a snippet like this
${n:not sure${n:about} the ${n:order) ${n:yet ${n:but that no longer
matters}}
and have the command turn it into
${1:not sure${2:about} the ${3:order) ${4:yet ${5:but that no longer
matters}}
as well as coping with
${1:not sure${2:about} the ${3:order) ${n:oops, added this!} ${4:yet
${5:but that no longer matters}}
-->
${1:not sure${2:about} the ${3:order) ${4:oops, added this!} ${5:yet
${6:but that no longer matters}}
Hey.
Where does the extra information come from for the Macromates bundles?
Also, any chance of adding a link to the GitHub project for all those?
I'd also really like to inclue some really basic html into the
descriptions of my bundles.
I'd especially like to get a few images into my more visual bundles.
So, how hard would it be to convert the more-info thing into a webview?
And where do I actually add those descriptions?
For GitHub bundles you could parse the README files for the bundles
like GitHub does.
— thomas Aylott @ subtleGradient
Hi,
I tried to figure out whether it is possible to create a NIB
containing a NSOutlineView and to feed it using a plist.
But I didn't find a way.
Has anyone an idea?
Or is this impossible with tm_dialog?
Thanks in advance!
--Hans
Hi,
I just fiddling with the GetBundle GUI. While doing this I thought
that it would be nice to have a asynchronous window created via
"$DIALOG" window create ...
which I can modify while runtime.
A simple example:
Supposing you have a NIB which shows names and last names of persons
in a table, and you want to select one person in order to display more
information. But I want to be able to display either all male persons
or all female persons, and if I selected an item the window shouldn't
be closed.
What I did is to set up such a NIB with a pop-down menu 'Choose
Gender'. Fine.
But how can I notify the running script in the background that I
changed that pop-down menu?
I didn't find a way to do this. That's why I introduced a new method
to '"$DIALOG" window' named 'getparams'.
This method is very simple. It write the current NSDictionary
'parameters' of the current nibController to the standard output.
Nothing else.
But then I was able to ask the async window: Are there any changes? If
so, then I changed the content of the parameters accordingly and
updated the window's parameters.
Here is a screencast to illustrate this example:
http://www.bibiko.de/TM_intact_async_window.mov (1.7MB)
By using the new method 'getparams' it opens ways to do more useful
things, I believe.
You can hide/show items easier, change the content of data cells,
change the title of buttons according to the status of radio buttons
or checkboxes, etc.....
Here is the code for "$DIALOG2" > window.mm
...
else if([command isEqualToString:@"getparams"])
{
if([proxy numberOfArguments] < 4)
ErrorAndReturn(@"no window token given");
NSString* token = [proxy argumentAtIndex:3];
TMDNibController* nibController = [TMDNibController
controllerForToken:token];
if(nibController)
{
id params = [[nibController parameters] mutableCopy];
[params removeObjectForKey:@"controller"];
NSString* error = nil;
if(NSData* data = [NSPropertyListSerialization
dataFromPropertyList:params format:NSPropertyListXMLFormat_v1_0
errorDescription:&error])
{
NSString* outpl = [[[NSString alloc] initWithData:data
encoding:NSUTF8StringEncoding] autorelease];
[proxy writeStringToOutput:outpl];
}
else
{
fprintf(stderr, "%s\n", [error UTF8String] ?: "unknown error
serializing returned property list");
fprintf(stderr, "%s\n", [[[nibController parameters] description]
UTF8String]);
}
}
else
{
[proxy writeStringToError:@"There is no window with that token"];
}
}
I guess one could improve and simplify the code.
Is this worth to implement this?
Thanks,
--Hans
Hi,
I played with 'Show Bundles on Repository' a bit.
The only thing is that it is a bit slow.
Is there a reason for using svn list/cat?
My suggestion would it be is to use a direct way by using
Net::HTTP.get(URI.parse(url)).
It is much mor faster. Furthermore I implemented the entire download
stuff in many threads. By using these threads the descriptions are
downloaded in roughly 10sec (depending on the band-width of course).
Then I wrote a routine to install one or more bundles (also while
fetching the descriptions).
To be fast as possible I cache the already downloaded descriptions.
Thus if one invokes that command it looks for a description in the
cache. If something was found one sees it at once, but the
descriptions are still updated in the background.
I also modified the NIB a bit. If the fetching was finished the
progress bar also disappears. Furthermore I include a further
progress bar to indicate the install status.
Of course, there are some tiny unsolved issues, e.g. while fetching I
select one or more bundle; if the a result of a thread is written to
the dialog my selection could disappear.
Anyway, if you want to look at it here is a 10MB movie
http://www.bibiko.de/TM_GetBundle.mov
Is someone interested?
Will the getBundle issue be integrated in TM2?
Cheers,
--Hans
Hiya, does anyone know what this means?
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:
227: warning: Insecure world writable dir /Applications/TextMate.app/
Contents/SharedSupport/Bundles/ActionScript.tmbundle in PATH, mode 04077
My swf will compile and play but I get this error message. Also, the
swf won't trace in console even though this is set in the yaml file
and fp 9,0,124 is my default player.
Any suggestions appreciated,
Thanks,
Alistair
--------------------------------------------------------------------------
Alistair Colling
Interactive Developer
FPP Brand Communications (Newcastle upon Tyne)
The Courtyard
Dinsdale Place
Sandyford
Newcastle upon Tyne NE2 1BD
Telephone: +44 (0)191 261 6662
Fax: +44 (0)191 233 2511
This transmission is confidential and intended solely for the person or organisation to whom it is addressed.
It may contain privileged and confidential information. If you are not the intended recipient, you should not
copy, distribute or take any action in reliance on it. If you have received this transmission in error, please
notify the sender at the e-mail address above.
FPP Design Limited. Reg. Office: The Courtyard, Dinsdale Place, Sandyford, Newcastle upon Tyne NE2 1BD.
Registered Number 3775564. Registered in England and Wales. Visit our website at http://www.fpp.net/
Hi,
does anybody has a tenjin template bundle?
Best regards,
--
Pedro Melo
Blog: http://www.simplicidade.org/notes/
XMPP ID: melo(a)simplicidade.org
Use XMPP!
> On 8 Aug 2008, at 18:44, Mikael H?ilund wrote:
>
>> Personally, I use the convention of "#" to start a code comment, and
>> "# " to start a text comment. I'm not sure if it's possible to modify
>> the Ruby grammar to allow only spell checking for only lines with "#
>> ", nor how difficult that would be.
>
> It?s fairly simple. There is a rule to match comments, just duplicate
> it to match your commetns+space (place it above, so it gets to match
> first, since it is a subset of the existing).
>
> Give that a special scope, like comment.line.prose and make a spell
> checking preference target that scope.
Sorry to be such a n00b at this, but I am at my wit's end trying to do
this for C++ and I appreciate use any help anyone has to offer.
Say, for example, I want to enable spell-check in comments that start
with "//"
There is a pattern for that style of comment in the Bundle for C->C
{ scopeName = 'source.c';
...
{ name = 'comment.line.double-slash.c++';
...
So I thought perhaps I could add a preference containing
"{ spellChecking = 1; }" with Scope Selector "source.c", and that
would enable spell checking on all C source. Then I was thinking scope
naming might extend into the "name", so that I could set the Scope
Selector to "source.c.comment.line.double-slash.c++".
None of that worked, no matter if I added the preference in the C
section or the Source section or above or below any other preferences.
Basically, the only thing I was successful in doing was setting
"spellChecking = 1;" in Source-> Spell Checking: Disable for Source
bundle, but that enables spell checking for all source, and not just
for the comments (i.e. all code in all languages).
Can someone point me to a relevant example or some resources that
might help? I feel like I am missing some simple, obvious, but clearly
essential step.
Thanks,
Doc
I want one function to specify some amount of white space. Here's
what I've come up with for my .sty file:
\newcommand{\indentLength}{3}
\newcommand{\indentUnit}{em}
\newcommand{\indentFull}{\indentLength\indentUnit}
\newcommand{\indents}[1]{
\ifthenelse{\greaterthan{#1}{0}}{\hspace{\indentFull}\indents{#1-1}}{}
}
Then, I attempt to use \indent{1} on line 77 of my file. I get lots
of repeats of the following output:
Latex Error: ./pks.tex:77 Undefined control sequence.
Latex Error: ./pks.tex:77 Missing number, treated as zero.
Latex Error: ./pks.tex:77 Missing = inserted for \ifnum.
Latex Error: ./pks.tex:77 Missing number, treated as zero.
This repeats over and over again, until I get
Latex Error: ./pks.tex:77 ==> Fatal error occurred, no output PDF
file produced!
Is doing this possible? I really don't feel like typing things out
over and over again...
Thanks a lot for the help.
Evan
--------------------------------------------------
The dinosaurs became extinct because they didn't have a space program.
Larry Niven
Hi all,
There is a recently posted talk from TUG 2008 (at the link below) that
answers a lot of questions about synctex (at that page "find synctex", cuz
it's near the bottom of a long page). Basically, watching this, it is clear
that synctex is superior to pdfsync, but it's still under development.
http://www.river-valley.tv/conferences/tug2008/
Best wishes
----
David F. Snyder, Ph. D.
Associate Professor of Mathematics
Department of Mathematics
Texas State University
601 University Drive
San Marcos, TX 78666
(512)245-3419 My office
(512)245-2551 Department Office
(512)245-3425 fax
³It will be well for us not to assume an attitude of condescension
towards the crowd. Because in the matter of looking without seeing we
are all about equal. We all go to and fro in a state of the observing
faculties which somewhat resembles coma. We are all content to look and
not see.² -- Arnold Bennett in ³The Author¹s Craft² (1914)
dsnyder(a)txstate.edu