Hi,
can we get the same end-of-text-click behavior as in Xcode, TextEdit
and BBedit?
I am talking about this:
(1) If you click in the empty area at the end of a text document, the
text cursor
jumps either into the last line exactly vertical to the clicked
position
OR
(2) The cursor jumps at the very end of the text.
Most apps in MacOS X do it the (2) way. TextMate does it the (1) way.
It is simply
annoying.
Just a comment for an otherwise great app,
Andreas Pardeike
I've been playing around with running python scripts from TextMate
(PyMate) which is great. Is there a way to pass arguments or input to the
script. I realize I could just as easily run this from the command line,
but I figured I'd check anyway.
Hi,
I'm running build 1215 on a MacBook and whenever I switch application
into TextMate it takes a few seconds before the application becomes
active. For those few seconds the application is just frozen
(although it buffers keypresses and executes them when it becomes
active).
This is very annoying :) Anyone able to help?
Thanks,
Colm
> On Sep 12, 2006, at 4:25 AM, Max Lein wrote:
> > Ok, I'm no expert, but I figure this is what many, many people want
> > to do. Perhaps you could just list these commands in a separate
> > file and include that file appropriately?
>
> Not with the tools at our disposal, no. But see below for what you
> can do now.
The approach you have suggested seems to work fine.
However, I think it would be much better if the user has a chance to
review his deltas to a bundle. (This is not something you can do, I
guess, but rather the developer of TextMate.)
> Very well, but use at your own risk. For this, open the Bundle Editor
> (⌃⌥⌘B) and create a new language. Give it any name you like and
> put it in any bundle you want. Then, in the big text area on the
> left, place the following text:
That seems to work fine, thanks a lot!
In this way, my own additions are isolated from your updates to the
bundle :-)
> > Well, we do what we are used to in the end ;-)
> > I use align, because I got used to the way it, ahem, aligns
formulas.
>
> One of the things I hope to add to the bundle soon is the ability to
> quickly change between equation styles. I.e. you are in an align
> environment, and you press a button and it becomes a split
> environment. And so forth.
True.
> Well, the closing tag will just close the one above it. You also want
> to open one. One could probably duplicate and modify the closing tag
> command, so that it instead adds a \begin{env} too. So it would be a
> "split environment" command. Might do that actually.
Agreed, nice idea.
> Sorry, I should have said: The size of the LaTeX Help file. I'm all
> for creating other sources of assistance, like howtos and cheatsheets
> and stuff. The help is supposed to be for reading by someone new to
> the bundle, possibly even relatively new to LaTeX, who needs to get
> started getting things set up and learning the basic commands.
Ok, a difference in philosophy. However, then there should be more a
more extensive version of the help someplace else.
> > Instead, you could design one section to be read thoroughly and
> > then let the rest be what it is: a manual.
> >
> > > How about a cheatsheet instead? A single page containing all the
> > > necessary information, in the form of a pdf?
> > Sounds like a good start. Refer to the appropriate sections in the
> > Help as well, then people can go on reading.
>
> I was thinking of two different kinds of cheatsheets, one pdf that
> would fit in a page and could be printed, and one html/markdown,
> longer and with more explanation.
Sounds good to me.
> I would say let's try to create some more specific "HowTo" questions,
> and then we'll see about answering them. I'll get started on the
> cheatsheet for now.
I think I have posted a short, incomplete list earlier, but ok, here
we go:
(1) Getting Started
(2) Big LaTeX Projects
(3) Managing bibliographies and references
(4) Customizing The LaTeX Bundle
Max
I'm fairly new to TextMate, and completely new to Snippets, so I may be
asking something overly ambitious for a newbie. If so, I beg your
indulgence ;)
I'm working on a snippet which will automate the creation of versioned
tables, a la the acts_as_versioned plugin[1]. I've started with a tab
trigger which will paste in the outer self.up and self.down definitions.
Following the example in the "for ... in ... end" snippet, I've figured
out how to have my specified table name repeated throughout all the
appropriate places in the snippet. So all ready, what I've got is a huge
key-stroke saver :) But obviously, an ideal snippet would go further yet.
Here's what I've got:
def self.up
create_table :${1:table}s do |t|
t.column :version, :int
$0
end
${1/./\u$0/}.create_versioned_table do |t|
t.column :${1:table}_id, :int
t.column :version, :int
end
end
def self.down
drop_table :${1:table}s
drop_table :${1:table}_versions
end
EOS
As you can see, the snippet currently fills in a couple of default
columns for both my main table and its versioned partner. Is it possible
to then begin typing in column definitions for the primary table (where
the cursor currently ends at $0), and have those columns mirrored in the
versioned table below?
Thanks in advance for any pointers someone can offer!
Gwendy
[1] http://ar-versioned.rubyforge.org/
When inserting TODO comments in a latex file, they are repeated in
the html page.
Is this a problem with respect to Latex files or am I doing something
wrong?
Sample output:
______________________________________
FIXME
No matches.
TODO
chap10.tex (437): I should add perhaps another iteration here
chap6.tex (1347): Ontolearn Section - bring up to date
chap6.tex (1443): Knowitall section
11 (437): I should add perhaps another iteration here
7 (1347): Ontolearn Section - bring up to date
7 (1443): Knowitall section
CHANGED
No matches.
___________________________________
Thanks,
Christopher Brewster
*****************************************************
Natural Language Processing Group,
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
*****************************************************
A definition is the enclosing a wilderness of idea within a wall of
words.--- Samuel Butler
Hi,
I just started creating my own snippets, and was wondering if it's
possible to write 'recursive' snippets. Let me give an example: say I
use the banner snippet from the source bundle:
// ==========
// = Banner =
// ==========
I'm currently in the $1 tab, and instead of 'Banner', I want to use
another snippet, triggered by base<TAB> and which will extend into, say,
"All your base are belong to us".
// ========
// = base =
// ========
<TAB>
// ==================================
// = All your base are belong to us =
// ==================================
Once this second snippet is completed, I then go back to the first one,
where I left it. This far, I haven't found such a nested scopes option
in the snippet syntax, but since I'm a newb I may have missed it. If
this feature really isn't available, I think it'd be a valuable addition
(even though the example I gave is completely phony). We could imagine a
special syntax indicating wether the current tab is in protected mode -
as it is now - or if it can be subject to other triggers. For example,
$1 and $$1 resp. What do you think of it?
Regards,
Emmanuel
Begin forwarded message:
> From: "Fletcher T. Penney" <fletcher(a)alumni.duke.edu>
> Date: 12 September 2006 23:09:36 BDT
> To: "Discussion related to Markdown." <markdown-
> discuss(a)six.pairlist.net>
> Subject: MultiMarkdown 2.0.a Released
> Reply-To: "Discussion related to Markdown." <markdown-
> discuss(a)six.pairlist.net>
>
> I have released version 2.0.a of MultiMarkdown!
>
> This is an alpha/beta release to get some further feedback, but I
> have been using it for a while now with good results.
>
> There are a **bunch** of new features:
>
> * TextMate bundle
> * New versions of the Drag and Drop tools
> * support for math
> * improved XSLT style sheets - easier to customize and more output
> choices
>
> Check out the MultiMarkdown page for more information. And if you
> use TextMate, I **highly** recommend you try out the new bundle and
> theme. I believe it will make it much easier to create
> MultiMarkdown documents, as well as to process them into other
> formats with minimal effort.
>
>
> Please let me know if you find anything that seems to be broken.
>
>
> Find more at:
>
> http://fletcher.freeshell.org/wiki/MultiMarkdown
>
> http://fletcher.freeshell.org/wiki/MarkdownStuff
>
>
> Fletcher
>
>
> --
> Fletcher T. Penney
> fletcher(a)alumni.duke.edu
>
> We are born naked, wet, and hungry. Then things get worse.
>
>
> _______________________________________________
> Markdown-Discuss mailing list
> Markdown-Discuss(a)six.pairlist.net
> http://six.pairlist.net/mailman/listinfo/markdown-discuss
The bundle can be downloaded at:
http://fletcher.freeshell.org/wiki/MultiMarkdownTextMateBundle
Best, Mark
Hey there,
Can we update the Python Language definition in order to add folding
markers for python docstrings (particularly for long function
docstrings)?
Since there is an explicit beginning and end marker for these, I
reckon this should be pretty easy, but I'm not sure how to add it in
the face of that foldingStartMarker regex I see in the Python bundle
(I have the latest one from SVN).
So, the convention (from what I understand) is this:
A long doc strings for a function looks like so:
----- python code -------
def my_function(param1, param2):
"""This function does xyz
There is some long documentation here
...
...
... blah blah ...
....
""""
# real python code here
-----------------------------
So, something like adding a fold start and stop marker for """ could
do the trick (the indentation levels should be the same for start and
stop """ when folding is necessary).
Of course you can have this:
-----------
def my_function(param1, param2):
"""Short docstring""""
# real python code here
----------
So I don't know if that will hose it any, but I'm guessing it would
be ok since you can one-line { .. } code in languages that have brace
begin/end block markers.
Thanks,
-steve
Hi,
I have the following meta language which uses the tags
<php>...</php> and <htm>...</htm> to embed php and html.
Now, I would like to write a custom language module that
builds on the existing descriptions of php + html but I
cannot get it to work due to the 2 level recursion that
can occur.
Here's an example that I would like to format:
--------------------------------------
<span value="prefix"/>
<php>
print($foo);
<htm><span value="cool"/></htm>
</php>
<span value="foo"/>
<php>
print($bar);
<htm>
<span value="test1"/>
<php> print($test); </php>
<span value="test2"/>
</htm>
print($extra);
</php>
<span value="suffix"/>
--------------------------------------
The outmost context is html and everything can be
embedded in each other in many levels.
Is this possible? I got close but i.e. I have problems
using include "source.php" because it expects <?php as
a start tag.
Is this *very* complicated?
Andreas Pardeike