Hey guys,
I am new to TextMate. I love this application, but some things I miss.
1. How do I reformat a text paragraph to be within a set width, like
80? On TextPad, on Windows, you could do that easily by setting the
default text width to 80, and reformatting the paragraph. I can't
find a similar 'text width' setting in TextMate. Where is it hidden?
Does someone have a command to do this? I can write my own, just show
me a similar example.
2. I have a single file of dairy-like entries. Before I start
writing, I want to timestamp each entry. I am looking to insert the
following snippet:
"==========
YYYY-MM-DD HH-MM-SS
"
How do I do that?
I am aware of the timestamp command in the Text bundle but that only
inserts the calendar date, not the time, and I don't know how to add
the horizontal break before it.
3. I must say whereas the manual is very easy to read. I find it hard
to find out how to quickly implement what I need.
Thank you all. I am trying to figure out how to do things the
textmate way. Apologies if I am clogging your mailbox
Ahmed
Hi-
Would someone be willing to upgrade rcodetools to the recent 0.8.0
version in the svn Ruby.tmbundle? It fixes my troubles with Ruby 1.9,
and it would make my svn updates easier:
svn: Directory 'Support/vendor/rcodetools/test/data/.svn' containing
working copy admin area is missing
Best, Charles
I have a project that uses the GNU automake system's Makefile.am files - for
some reason textmate is ignoring the file. I have checked file and folder
patterns and there is nothing that should preclude the file. Has anyone
else seen this? I there some other setting that might tell textmate to
ignore Makefile.am files?
Thanks,
-- dv
--
View this message in context: http://www.nabble.com/Makefile.am-tp19026092p19026092.html
Sent from the textmate users mailing list archive at Nabble.com.
At work, I always connect to network drives. However, when I try to open my
Macbook pro at home, it always hangs.. It opens a default project window and
just sits there. Please note that I am connecting to the same servers via
VPN client. Here is a sample:
Analysis of sampling pid 1355 every 10.000000 milliseconds
Call graph:
100 Thread_0f07
100 start
100 _start
100 NSApplicationMain
100 -[NSApplication run]
100 -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:]
100 _DPSNextEvent
100 AEProcessAppleEvent
100 aeProcessAppleEvent
100 dispatchEventAndSendReply(AEDesc const*, AEDesc*)
100 aeDispatchAppleEvent(AEDesc const*, AEDesc*,
unsigned long, unsigned char*)
100 _NSAppleEventManagerGenericHandler
100 -[NSAppleEventManager
dispatchRawAppleEvent:withRawReply:handlerRefCon:]
100 -[NSApplication(NSAppleEventHandling)
_handleCoreEvent:withReplyEvent:]
100 -[NSApplication(NSAppleEventHandling)
_handleAEOpen:]
100 -[NSApplication
_sendFinishLaunchingNotification]
100 -[NSApplication
_postDidFinishNotification]
100 -[NSNotificationCenter
postNotificationName:object:]
100 -[NSNotificationCenter
postNotificationName:object:userInfo:]
100
_CFXNotificationPostNotification
100 __CFXNotificationPost
100 _nsnote_callback
100 -[AppDelegate
applicationDidFinishLaunching:]
100
+[OakCreateSymbolicLinkWizard sharedInstance]
100
-[OakCreateSymbolicLinkWizard init]
100
-[OakCreateSymbolicLinkWizard setupDestinationPaths]
100 fgets
100 __srefill
100 read
100 read
100 Thread_1003
100 _pthread_body
100 text::view::tokenize_filter::worker(void*)
100 text::view::tokenize_filter::actual_worker()
100 semaphore_wait_signal_trap
100 semaphore_wait_signal_trap
100 Thread_1103
100 _pthread_body
100 CMMConvTask(void*)
100 pthreadSemaphoreWait(t_pthreadSemaphore*)
100 semaphore_wait_signal_trap
100 semaphore_wait_signal_trap
Total number in stack (recursive counted multiple, when >=5):
Sort by top of stack, same collapsed (when >= 5):
semaphore_wait_signal_trap 200
read 100
Sample analysis of process 1355 written to file /dev/stdout
Sampling process 1355 each 10 msecs 100 times
member57006856(a)nybella.com
--
View this message in context: http://www.nabble.com/TextMate-hangs-when-working-from-home-tp19102829p1910…
Sent from the textmate users mailing list archive at Nabble.com.
Greetings, I recently purchased a new computer and am migrating over
to it. I use latex extensively within textmate, and I have never had a
problem with the latex bundle before. With the new machine, I can type
'pdflatex file.tex' at the command line and it prepares the file in
less than 1 sec. If I run "Typeset & View (PDF)", it takes over 30
seconds before the process begins, then it successfully generates the
pdf.
For completeness:
1) Edit latex file
2) Select "Typeset & View (PDF)"
3) Status window appears with spinning wheel
... 30 seconds pass ...
4) latex console output appears in the window: no errors
5) PDF appears in preview
What I cannot figure out is why this initial delay is occurring. The
same delay occurs with bibtex from textmate as well.
Any suggestions? I confirmed the preferences, etc. and nothing is out
of the ordinary. Again, running the command line has no delay in
starting either pdflatex or bibtex.
Thanks for your help,
Brian
It appears that Ruby 1.9 isn't happy with the "Run Script" (command-R)
in the ShellScript.tmbundle included with TextMate Version 1.5.7
(1436). Or, that if you have the recent Ruby.tmbundle checked out from
SVN, you'll need the ShellScript.tmbundle as well.
I got:
(erb):30:in `concat': character encoding differ (ArgumentError)
from (erb):30:in `html_head'
from /usr/local/lib/ruby/1.9.0/erb.rb:743:in `eval'
from /usr/local/lib/ruby/1.9.0/erb.rb:743:in `result'
from /Library/Application
Support/TextMate/Support/lib/web_preview.rb:117:in `html_head'
When I ran shell scripts from TextMate in Ruby 1.9. This stems from the
left and right single quotation marks used in the Textmate 1.5.7
command to frame the window title: ‘Run <filename.sh>’
The issue is already fixed in the SVN, so simply checking out the
newest version of ShellScript.tmbundle seems to fix the problem.
Best, Charles
Hi all-
I'm monkeying with the Ruby and Support bundles to get them to work
with Ruby 1.9, and have found an issue that would profit from some
advice, aside from my general newness to Ruby and TextMate.
I've got Ruby 1.9 installed in /usr/local, so from the command line,
it's pretty easy to invoke the stock Leopard 1.8.6 with
"/usr/bin/ruby". MacRuby, which interests me greatly, is another issue.
I don't know if it plans to stay as "MacRuby" or not. (I'd guess "yes"
for the foreseeable future.)
For a while, I regarded the static TextMate variable TM_RUBY as an easy
way to specify which Ruby I wanted running under TextMate. However,
I've noticed it will affect the "Run" (^R) command, but has no effect
on "Update Markers" (Shift-command-^E). I assume this is because the
rcodetools xmpfilter.rb file begins with "#!/usr/bin/env ruby", which
has the effect of overriding TM_RUBY.
I grep'ed and found 38 (varied) occurences of "#! ruby" in the Ruby
bundle, and another 10 occurences in the Support bundle. Some of these
are under the direct control of TextMate programmers and contributors,
but others, such as rcodetools, represent a library for a wider
user-base than just TextMate.
So what to do? I imagine the smart folks on this list are aware of the
issue, but it's perhaps not a front-and-center item just yet. I'd
appreciate whatever thoughts exist on the subject, as I'm likely to
make changes, but wish to do so in a generally useful fashion.
Thanks, Charles
El 25/08/2008, a las 8:51, textmate-request(a)lists.macromates.com
escribió:
> Message: 3
> Date: Sun, 24 Aug 2008 18:20:22 +0200
> From: Allan Odgaard <mailinglist(a)textmate.org>
> Subject: [TxMt] Re: Opening Ruby Headers
> To: TextMate users <textmate(a)lists.macromates.com>
> Message-ID: <F30AFE9C-7991-42B7-B703-B9955B7335DE(a)textmate.org>
> Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes
>
> On 24 Aug 2008, at 17:16, Juan Falgueras wrote:
>
>> I have extended my old C/C++ headers opener to Ruby. I have
>> associate it to Shift-Cmd-D as in the classic MPW ;)
>
> There already is a header opener on ??D scoped to Ruby.
I finally have found the place you said, Shift-Cmd-D was (I did
mkdir -p /Library/Application\ Support/TextMate/Bundles
cd /Library/Application\ Support/TextMate/Bundles
svn co http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle
and reload bundles in Ruby. It has been the first time I have done
this. Ok.
I've found this for "Open Require"
#!/usr/bin/env ruby
file = STDIN.read.sub(/\A(["'])(.*)(\.rb)?\1\z/, '\2.rb')
dir = $:.find { |d| File.exist?(File.join(d, file)) }
if dir && file then
ENV['FILE'] = File.join(dir, file)
%x{ "$TM_SUPPORT_PATH/bin/mate" "$FILE" }
else
puts "Could not find include: ‘#{file}’"
end
The result of exec it on a simple line as:
require 'test/unit'
is
Could not find include: ‘test/unit
’
shown as tool tip.
Clearly bad. Not only it looks for files badly, it also ignores the
places where ruby use to look for its required.
Although the rest of ruby package contains useful things.
(moreover, the scope in the command was bad, it was:
source.ruby meta.require string.quoted
without commas, and it was necessary for me to insert commas to make
it work)
- juan falgueras
In Ruby.tmbundle/Support/RubyMate, when I run the file "test.rb" using
the command-R key combination in TextMate, the HTML window produces:
Library/Application
Support/TextMate/Bundles/Ruby.tmbundle/Support/RubyMate/run_script.rb:65:in
`block in ': undefined method `map' for "that\xE2\x80\x99s
nice\n":String (NoMethodError) from /Library/Application
...plus the call chain.
When I rename the file to "bigfoo.rb", command-R functions correctly,
although I get some method errors as part of the HTML display; a
different issue.
Line 65 of run_script.rb, and also line 92 ("out.join"), seem to be
expecting an Array, but my printing out the class of the argument "str"
indicates it's a string.
As I said, I'm a newbie to Ruby, so I'm not really confident of my
analysis here. One could change "str.map" to "str.each_line", but then
I'm not sure what to do with "out.join", unless it's simply to return
"out" at that point.
Or maybe I'm completely off-base.
Best, Charles
Situation:
1. I am running Firefox
2. I edit an html file
3. I press cmd-R
Result:
Firefox comes into focus, a new tab has been opened and nothing shows
there.
If I run Safari, everything works as it should.
Any suggestions?
Thanks,
Christopher
*****************************************************
Department of Computer Science, University of Sheffield
Regent Court, 211 Portobello Street
Sheffield S1 4DP UNITED KINGDOM
Web: http://www.dcs.shef.ac.uk/~kiffer/
Tel: +44(0)114-22.21967 Fax: +44 (0)114-22.21810
Skype: christopherbrewster
SkypeIn (UK): +44 (20) 8144 0088
SkypeIn (US): +1 (617) 381-4281
*****************************************************
Corruptissima re publica plurimae leges. Tacitus. Annals 3.27
Hello everyone,
I find myself reformatting long file of datas using the Find/Replace dialog
box in combination with RegExp (very powerful !).
But… I would love to have an undo button to undo whatever replacement I just
made. Right now, if I make a mistake in a replacement, I have to close my
file without saving and do it again from the beginning…
Hope this would be easy to implement…
Thanks in advance.
--
View this message in context: http://www.nabble.com/-FeatReq--Undo-in-Find-Replace-tp19140123p19140123.ht…
Sent from the textmate users mailing list archive at Nabble.com.
> $math stuff
> that spans two lines$ when I put a $ here it thinks I'm closing the
> math mode from the first dollar sign on this line of code rather than
> thinking I'm starting a new math mode.
This works for me. Don't override the default LaTeX bundle?
Best wishes
David
----
David F. Snyder
Department of Mathematics
Texas State University
dsnyder(a)txstate.edu
Hi all,
I recently joined a small Java development team. Everyone here is
using Eclipse, and I'm the only TextMate user. They're all ganging up
on me, trying to make me switch to Eclipse. And I must say they do
have a point: For Java development, Eclipse is simply a more
productive environment than TextMate. It can do some truly amazing
code completion and refactoring acrobatics, and debugging is simply a
matter of setting a breakpoint and hitting the Go button. The complete
feature list is here:
http://help.eclipse.org/ganymede/topic/org.eclipse.jdt.doc.user/tips/jdt_ti…
Now, I realize that TextMate is an agnostic text editor and not a Java
IDE, so I can forgive the lack of debugger integration. And some of
the simpler code completion stuff might be replicated with the right
snippet or macro. But there is one feature in Eclipse of which I am
green with jealousy: navigation across source code files.
For example, you can put the cursor over a variable, class name, or
whatever, then hit F3 to automatically navigate to wherever it is
declared. You can instantly jump from a method invocation to its
implementation, for example. You can also easily navigate across
complex class hierarchies, jumping from a class definition to its
parent, then its grandparent, and so on.
This is so much quicker and easier than anything TextMate provides for
project navigation. The closest thing I could find was TmCodeBrowser,
but it only works on a single file. It's kind of useless for projects
like mine with several hundred classes.
Have there been any attempts at creating a TextMate bundle or plugin
that would allow the kind of source code navigation I'm looking for?
If not, does anyone have some suggestions on how I would go about
writing my own? (It would be nice to have some kind of generic
framework for this feature, since it would apply to almost any
language in TextMate, not just Java.)
Trevor
Hi, all
I plan to use textmate as my primary editor for my personal use, such
as write some open source code and document. I decide to buy a
textmate license, so is non-commercial license ok for this situation?
I am not a rich man, and I really want this 15% discount. Also I have
the question that, are there any limit features of a non-commercial
license?
Regards,
Steve
Hello All
For my work, I have to regularly delete lines in a range. I can do it in VIM
using:
:2,4d
Is there anything similar to this in TextMate?
--
Ritesh
http://www.riteshn.com
I often have to code / edit files in Linux. So, I'm looking for an editor
with the following TextMate features:
1) The ability to *easily* use a dark background. For a definition of easy,
read: not Jedit (at least, it was hard 2-3 years ago when I last did it . .
I had to change every syntax type), and not emacs (same reason)
2) Has the same keys that TextMate uses -- mostly.
3) Syntax Highlighting
4) Fast
Any takers? Or, am I resolved to be typing <esc>:wq into every document I
ever edit with TextMate :)
-Dave
There is a bug - or at least I think it is a bug - in either Textmate
or Spaces. I'll admit that I am a late convert to Spaces, since I
find for most purposes the more traditional model of hiding
applications suits me better. However:
If I have one Textmate document open on one "Space" and another open
on another, the following happens. If I open a search window (either
apple-F or apple-shift-F) in one space and then close it, when I try
to open it again for the other document, the window appears in the
first space.
I assume this is because spaces is re-opening the "old" search window,
and thinks that I want it back where I last had it, but it is very
annoying indeed.
Is there any way textmate could ensure that dialog boxes open in the
"space" of the current document?
Best,
Nicholas
I have a 300MB file, a text file which is the output of a long SQL run. Years
ago I remembered opening such huge files in Visual Studio or Slickedit without
much trouble so I tried it - no way, it gave up after grabbing about 1.2GB of
RAM and exhausting what was free.
OK, silly thing to do anyway - I got what I needed from the terminal using head
and tail. But is this expected behavior? Can't it partially load files and
load/dump as you scroll? Eating 4x file size in memory and still not having
enough seems a bit excessive.
Not complaining, just curious.
--
Adam
On Thu, Aug 14, 2008 at 11:47 AM, Adam Eberbach <aeberbach(a)mac.com> wrote:
> I have a 300MB file, a text file which is the output of a long SQL run. Years
> ago I remembered opening such huge files in Visual Studio or Slickedit without
> much trouble so I tried it - no way, it gave up after grabbing about 1.2GB of
> RAM and exhausting what was free.
>
> OK, silly thing to do anyway - I got what I needed from the terminal using head
> and tail. But is this expected behavior? Can't it partially load files and
> load/dump as you scroll? Eating 4x file size in memory and still not having
> enough seems a bit excessive.
>
> Not complaining, just curious.
In the meantime I have learnt that I may not open huge files (I do not
complain about that - I still have vim), but there was one bigger
problem. I often purely accidentally clicked on such a file while
editing other files in the folder, and TextMate crashed. Well, maybe
it did not really crash (I don't remember exactly), but it was
definitely staled. So I had to force closing it, and lost all the
other work in other windows. Even if I saved the files, I still lost
the "open windows" and had to open and organize everything from
scratch again. Which was pretty annoying. It would be nice if that
could be fixed somehow, but I don't want to camplain too much as other
features have priority.
One reason why I love Firefox is that despite its frequent crashes, it
reopens all the windows that have been open before the crash when I
start it again. That would be a nice feature in TextMate. Low
priority, but welcome.
Mojca
Hi,
Know this has been up before on the lists but wanna check if there are
any new ways of getting the relative file path displayed in the title
bar.
using the mouse, control-click menu, tooltip or custom cmd is not an
option.
TextMate already tells us the top most folder in a directory
structure / project.
for instance
views.py - projectname
would have been nice with
views.py - projectname/subfolder
or
subfolder/views.py - projectname
another sweet option could be that the front most document is hi-lited
and shown in the project drawer
/d
hi all,
I have command+i set (in sys prefs) to indent/indent selection and that
overrides the textmate file info binding (I can't remember where that's
located though, can someone remind me? all I remember is that this works)
for single files but the project info window pops up when I have a project
open and hit command+i and the indent menu item doesn't get triggered.
I looked in the key bindings.dict and the menus and bundles but failed to
find where that command is, could someone point me in the right direction
please?
Thanks!
Nick
synctex is great! and works perfectly here
(back in 2003 I tried to convince Hagen and
other pdftex guys to write something like that
inside pdftex, to no avail. That's how pdfsync started,
as an awkward workaround... happy to see it gone)
Robin, it should be easy to add support for synctec
in LaTeX Watch, (just add that -syctex=1 option at the
right place in your script).
Would you do that in the next future?
Thanks to Jerome and all who are contributing to this
feature, this is really becoming mature now.
Piero
Hi,
For some reason, the gear menu doesn't come up when I hit ctrl-escape.
I have been away from Textmate releases for a while, so I am wondering
if things changed.
Raheel
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