Hello all, this is my first post here, feel free to point any mistake.
So… I installed Allan's Theme Builder bundle but it always spit the
same error message :
/tmp/temp_textmate.Z1KGTa:3:in `require': No such file to load -- set
(LoadError)
from /tmp/temp_textmate.Z1KGTa:3
Any idea what's causing this problem? Is it in TM or in Ruby?
My specs:
PM G5 2x1.8GHz
Mac OS X 10.3.9
Textmate 1.5.1 (v948)
ruby 1.8.2 (2004-12-25) [powerpc-darwin7.8.0]
Thanks, Romain.
I am using TextMate Version 1.5.1 (961). Just noticed that a number
of built in keybindings no longer work. None of keybindings for
Text:Convert:to Uppercase, to Lowercase, etc. work (though selecting
the commands from the menu does). Autocompletion doesn't work either. :(
Any ideas about how to diagnose what is going on?
Thanks in advance. All the best, Mark
_________________
Mark Eli Kalderon
Department of Philosophy
University College London
Gower Street
London WC1E 6BT
Dept webpage: http://www.ucl.ac.uk/philosophy
Personal wepage: http://www.kalderon.demon.co.uk
Hey folks,
I just hacked together a quick language grammar for LaTeX log files
to better see where things are odd ;)
Dan
PS: I am not really sure if the naming below makes sense from the
naming convention's viewpoint, but it does the job of generating markup.
{ scopeName = 'source.log.error.latex';
fileTypes = ( 'log' );
foldingStartMarker = '/\*\*|\(\s*$';
foldingStopMarker = '\*\*/|^\s*\)';
patterns = (
{ name = 'invalid.deprecated';
match = '.*Warning:';
},
{ name = 'invalid.illegal';
match = '.*Error';
},
{ name = 'entity.name.function';
match = '.*\.sty';
},
{ name = 'entity.name.class';
match = '.*\.cls';
},
{ name = 'entity.name.tag.configuration';
match = '.*\.cfg';
},
{ name = 'entity.name.tag.definition';
match = '.*\.def';
},
{ name = 'comment.documentation';
match = '.*Info.*';
},
{ name = 'meta.log.latex.fixme';
match = '.*FiXme:';
},
{ name = 'meta.log.latex.hyphenation';
begin = '(Overfull|Underfull)';
end = '(\[\]\n)';
captures = { 1 = { name = 'keyword.control.hyphenation.latex'; }; };
patterns = (
{ name = 'variable.parameter.hyphenation.latex2';
match = '[0-9]+\-\-[0-9]+';
}
);
},
{ name = 'meta.log.latex.filename';
begin = '(<)';
end = '(>)';
captures =
{ 1 = { name = 'string'; };
2 = { name = 'storage'; };
3 = { name = 'string'; };
};
patterns = (
{ name = 'support.function.with-arg.latex';
match = '(.*/.*.pdf)';
captures = { 1 = { name = 'entity.name'; };};
}
);
},
);
}
As far as I'm aware there isn't any way of optionally ignoring the
additional word characters specified in
Preferences when trying to select words.
I'm often wanting to copy, change or set search selection, part of a
variable name which doesn't include a dash, underscore, etc., though
most of the time I do want it to include those elements as part of a
single word.
One solution would be to use a modifier key: So, in my world, Cmd-Opt-
Shift + Right or Left arrow would ignore the additional word
characters and Cmd-Opt double-click and Cmd-Ctrl W would also work
the same way (there may be better modifiers!)
The alternative would be to toggle the additional word characters
option in the Edit menu, which would have the downside of not
allowing you to dynamically change your specification in mid-
selection, but may be simpler to implement.
I've wanted this for a long time and am surprised it hasn't been
suggested before (as far as I can remember) which probably means a)
that the functionality is there and I just haven't figured out how to
open my eyes yet, or b) it's a really crap idea.
Any thoughts?
James
I always download themes with safari, holding down option and
clicking, and it saves it with an appended .txt extension. Sure, I
can go in and rename it, but it's frustrating :)
Any thoughts.
Andreas
Duane,
since most people prolly manage their rails projects with subversion,
do you think you could add an --svn option for the Rails generators?
I guess, this little edit in generator.rb should do the job by simply
applying the --svn flag for all projects under subversion (testing
for .svn folder in the app root):
svn_option = File.exist?("#{rails_root}/.svn") ? "--svn" : ""
command = "\"script/generate\" #{generators[choice].name} #
{svn_option} #{name} #{options}"
Thanks,
Sebastian
Hi all,
Is anyone else seeing this?
$ pwd
/Library/Application Support/TextMate
$ svn update
svn: Can't convert string from 'UTF-8' to native encoding:
svn: Bundles/CAKE.tmbundle/Commands/Paste Line : Selection to IRC?
\226?\128?\166 (CakePHP Paste).plist
$
Any idea what's causing this?
Carpe viam,
Mike
Michael Larocque
Chief Cook and Bottle Washer
Prolumina Communications Inc.
http://prolumina.com/~mlarocque/
Hi,
In html preview mode, how do you force the preview window to update elements
called by the document? (images .css files etc.)
In Safari, I would use cmd-R to refresh the window.
It would be nice if Textmate asked webkit to do a deep flush when you
clicked the refresh icon with a modifier key down.
Tim
Textmate hint of the day: cntrl-S gives you an incremental search (like / in
Firefox, or Safari if you install acid-search)