Dear dialog.py developer,
I'm not a python programmer but I'm just learning ;)
I believe that dialog.py's method "menu" fails if I call it with a
list of strings which is encode in UTF-8 (i.e. the string contains
non-ASCII characters)
What I did:
...
suggestions = list(list(unicode(grepout.read(), "UTF-8"))[2:])
...
suggestions contains a list of Unicode characters. Fine.
suggestions[3] etc. can I insert in TM's document perfectly.
But:
result = dialog.menu(suggestions)
fails.
Did I something wrong or is this an issue of dialog.py?
Many thanks in advance,
--Hans
Greetings -- when looking around to assemble a transcribing system for
Mac, I've found a very cool solution at O'Reilly's Digital Media, by
David Battino:
http://digitalmedia.oreilly.com/2005/03/09/transcriber.html
It consists of AppleScripts for Tex-Edit Plus, a speech-capable editor
also supporting AppleScript. The scripts to rewind and replay are
provided in the article, names ending in function keys like _F10 --
that's how Tex-Edit assigns keys to them.
What does it take to adapt them to TextMate -- where's I put them, etc.?
Cheers,
Alexy
Hi,
maybe I'm doing something wrong, but I have the Support/ directory up-
to-date, and the Textile.rb is missing from the bin/ directory.
But the Preview command in the Textile bundle uses it.
Any ideas?
Thanks,
--
Pedro Melo
Blog: http://www.simplicidade.org/notes/
XMPP ID: melo(a)simplicidade.org
Use XMPP!
Hello,
is there a way in Textmate during editing a file to open a "helper"
window (something like in the subversion bundle when i hit
shift+ctrl+a) where the exact menu entries
of all commands are listed which are available for the current language.
I mean to display the same menu which appears when I go to Bundles >
LaTeX (for example) so that I can browse with the arrow keys through
the commands.
Bye,
Martin
I recall this being discussed before but searching for the phrase
"comments" on Google matches pretty much every blog out there, so no
joy.
I wish to modify the commenting style in the AS3 bundle from this:
/*
* Comment in here, everything left aligned, huge tab in there!
*/
To this:
/*
* Comment in here, one space before, not a tab after
* Final line leaves all *'s nicely lined up
*/
I have tried searching through the AS3 bundle for anything relating to
comments but I must be looking in the wrong places. It'll be some
tiny tweak to a regex, I hope. Can anyone point me in the right
direction?
Many thanks!
Gaby
--
Uganda Maximum - Enemy of the English Thrust
http://www.playr.co.uk/
For editing xml, I'm really missing a clickable outliner of the xml document
that lets me easily jump to different nodes. I know TextMate isn't an IDE
but I would love this functionality (it's in jedit as well as part of the
sidekick plugin.) Here's a screen shot of Eclipse's outline view of an xml
document http://img.skitch.com/20080528-f34dyh22e7sm7j7h218ymaqtxm.jpg
It doesn't look like xmlMate bundle has this kind of functionality. Does it
exist in some other bundle out there?
Thanks
--
Rick
Hi,
I do not know if this request is a general one, but in the past it
often happens to me that I want to get the content of a tooltip in
order to do something with it. A simple example is the output of
"Statistics of Doc/Sel". Sometimes I want to insert that info into my
document.
[The same for the HTML tooltip (?)]
Is there a way to provide such a functionality? Now I do the
following: Change the command's output behaviour to "Create New Doc",
invoke the command again, and reset the command's output behaviour.
But this is a bit annoying.
Of course, to find a proper key/mouse event could be a bit tricky. All
key events are bound to text document except for ESC. Thus my question
is: Does anyone have an idea?
Cheers,
--Hans
I have a page of text edited in Text Mate. I want to know the number of
characters in a specific paragraph (by highlighting that paragraph). Is this
possible in Text Mate and if yes, how?
Thanks in advance.
Hiya, I've started compiling using MTASC from Textmate using the
'Build with MTASC' option. I'm using the XTraceTest.as file (at the
bottom) and it compiles great.
What I can't figure out is how to target the Stage from my class, if
I have movieclips on there that I want to target for example. I can
target the _root but this isn't ideal.
Any suggestions much appreciated
Cheers :)
Ali
import com.mab.util.debug;
class XTraceTest extends MovieClip{
static function main() {
debug.waitForSocketConnection = true;
debug.initSocket("127.0.0.1");
debug.trace("Yo, whaz upppppp:?");
debug.trace("This is a really really really really really really
really really really really really long string");
debug.trace("[DEBUG] This is a debug string");
debug.trace("[WARN] This is a warning");
debug.trace("[NORMAL] This is a normal formatter string");
debug.trace("[CRITICAL] This is a critical warning");
for(var a = 0; a < 10; a++) {//say hi 10 times
debug.trace("Hi server! " + a);
}
var testOb = {question:"Are you cool?", response:"Of course!"};
debug.dumpObject(testOb);
}
}
--------------------------------------------------------------------------
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,
I've been playing around recently with developing a different
technique for sectioning in LaTeX; put simply, instead of writing
\section{}
...
\subsection{}
...
\subsection{}
...
\subsubsection{}
...
you write
\begin{sect}{}
...
\begin{sect}{}
...
\end{sect}
\begin{sect}{}
...
\begin{sect}{}
...
\end{sect}
\end{sect}
\end{sect}
I'm not 100% convinced that this is an easier way to write than
LaTeX's absolute method as opposed to this sort of relative one, but
I'm willing to give it a try for my thesis to see how it works out.
The advantages are that folding is more easily supported :) and that
it's much easier to move sections around without having to search/
replace all of the \\(sub){0,2}section commands.
But here's the thing...I know it would take you guys orders of
magnitude less time than it would take me to adjust the LaTeX bundle
to integrate this structure into it. (Starred sections look like
\begin{sect*}{} and optional ToC section titles are with \begin{sect}
[toctitle]{...}.)
All I'm really missing is the nice outlining features. Is this an easy
change to make to the bundle?
Many thanks,
Will Robertson