Hi guys. I'd like to get rid of the terminal [for monitoring trace
output] while developing AS3 projects. I'd like to use a command like:
(code)
:>/Users/{me}/Library/Preferences/Macromedia/Flash\
Player/Logs/flashlog.txt #truncate the flashlog
echo "<pre>"
tail -f /Users/schell/Library/Preferences/Macromedia/Flash\
Player/Logs/flashlog.txt &
(/code)
in order to have the contents of my flashlog.txt spill into the html
output window. This would be great because I'd like to format my trace
statements with HTML.
That won't update in real time, so I've written this code instead for testing:
(code)
cat<<-HTML
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>untitled</title>
<script type="text/javascript" charset="utf-8">
function update() {
var updateCommand = TextMate.system("tail -f
/Users/schell/Library/Preferences/Macromedia/Flash
Player/Logs/flashlog.txt", endHandler);
updateCommand.onreadoutput = outputHandler;
function endHandler(s) {
}
function outputHandler(currentStringOnStdout) { // Code that
does something with the command’s current output like...
document.getElementById("flashlog").innerText = currentStringOnStdout;
}
}
</script>
</head>
<body>
<button onclick="update()">UPDATE</button><br>
<pre id="flashlog">
</pre>
</body>
</html>
HTML
(/code)
But with this code I never get any output. If I replace my 'tail -f'
with something like 'ping efnx.com', I get some output. Is this
because we're not allowed to access any files through this interface?
Anyone have any ideas?
--
Schell Scivally
efsubenovex(a)gmail.com
http://blog.efnx.com
In my opinion, one of the most useful things about the Textmate bundle
is the snippets feature. I use snippets all the time, many of them
customized. Thus, I type eq-tab and a nice equation environment
appears, enum-tab and a nice enumerate environment appears, etc etc.
If this were made less simple in any way, so that for example I had to
navigate a tree to get to the most-used snippets, or if I couldn't
design my own tab triggers, I would regard that as a retrograde step.
I may be misunderstanding something here and I am sure that is not the
intent, but I just wanted to make my point clear.
Relatedly, I mainly use pdflatex but sometimes latex (also bibtex,
makeindex). I use skim.app as a viewer, although the current version
of skim will sometimes freeze in snow leopard. I also sometimes use
xdvi.
I'm absolutely delighted that someone is looking at the latex bundle.
Geoff Vallis
>> On Oct 9, 2009, at 7:30 PM, Alex Ross wrote:
>>
>>> LaTeX users:
>>>
>>> My plan is to remove most of the completion commands and latex
>>> snippets from the LaTeX bundle. They will be replaced by a single
>>> command. I have a prototype under construction, you can see how it
>>> works here:
>>>
>>> http://lasersox.net/LaTeXCompletion.m4v
>>>
>>> Basically there is a tree of completions, and you can navigate them
>>> just by typing. We can work citation completion, and all existing
>>> snippets into this system.
>>>
>>> Thoughts?
>>>
>>> _______________________________________________
>>> textmate mailing list
>>> textmate(a)lists.macromates.com
>>> http://lists.macromates.com/listinfo/textmate
Hi,
Recently I wrote a bundle command to paste the selected TM text to a
terminal window.
Was working fine for few weeks, but then suddenly there was a lag of 2-3
seconds between when i launched the command (via bundles menu or keyboard
shortcut) and when it got around to pasting the text. Kind of irritating.
THoughts?
---------------
rawText="$(cat | sed 's/ / /g;')"
# send the code to the Terminal
osascript -e 'on run(theCode)' \
-e ' tell application "Terminal"' \
-e ' do script theCode in window 1' \
-e ' end tell' \
-e 'end run' -- "$rawText"
--
View this message in context: http://www.nabble.com/Textmate-bundle-command-delay-tp25769214p25769214.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi
I use TM 1.5.9 (1511) and I have again the problem with
tm_interactive_input.dylib.
I removed this file because I can't use LaTeX if this file
is here !
Best Regards
Alain Matthes
Consider the following code:
<gaga>
<bar at1="" at2="" at3="" at4="" at5=""
at6="" at7="" at8="" at9="" at10=""/>
gaga
</gaga>
Re-indenting this gives you the following, which incorrectly doesn't
decrease the indent level after the "/>":
<gaga>
<bar at1="" at2="" at3="" at4="" at5=""
at6="" at7="" at8="" at9="" at10=""/>
gaga
</gaga>
Moving all the attributes (at1 to at10) on a single line is a way around the
problem, but when there are a lot of arguments, it sometimes just makes
sense to have the attributes over multiple lines. I imagine that this could
be fixed by tuning the decreaseIndentPattern and increaseIndentPattern for
XML. Has anyone already done that?
Alex
-----
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet
--
View this message in context: http://www.nabble.com/Re-indenting-XML-with-tag-on-multiple-lines-tp2567268…
Sent from the textmate users mailing list archive at Nabble.com.
Hello everyone,
Has anyone out there tweaked the markdown2book bundle to work with
multimarkdown? The bundle looks great, but I need multimarkdown's
ability to work with tables and bibliogrpahies.
thanks.
jeff.
Hi,
I am a click happy person for some reason. I am trying to fix this. I see my
bartender 3 times a week trying to fix my double click propensities. It
hasn't worked yet, but I have hope.
If I double click in column view on the file open dialog it opens the folder
in textMate. I know better, I do, but in detail view or icon view, I have to
double click in order to go to the next level. When you doubleclick on the
root directory of the 100 Gb partition (how in the hell it is that I can
fill up 100Gb of disk is something I don't want to reveal to my bartender /
shrink).
It occurs to me that one could stick a check on the front of the open
routine. Run du on the folder and alert the user to his impending doom if he
proceeds.
This feature is strictly for boneheads like me who can't seem to get their
double clicks under control.
Part of me doesn't want it to be implemented, because the best way to train
me to not do this is to have the negative feedback of my textMate locking
up, but I also feel obliged to at least suggest it.
--
Brad Tittle
Tech Support