I have a .h file written by a programmer of the school that believes
Whitespace Causes Cancer:
==============
- (void)applicationDidFinishLaunching:(NSNotification *)notification;
- (void)applicationWillTerminate:(NSNotification *)notification;
==============
I am trying to automate putting spaces after the )s with the search
RE /\)(?=\S)/, to be replaced with ') ' -- that's close-parenthesis,
space.
Doing this as a Replace All works as expected. But try pressing the
Next button, then Replace. The substitution does not take place.
Am I missing something?
-- F
I've been working on man pages for a bash script. It's been kind of a pain,
mostly because I don't know the formatting commands well enough. TM has made
so many other tasks easier, so I've wondered about using it for man page
writing.
Or ... what are other people doing so write these pages. I know there are
dedicated editors, but learning another editor isn't where I want to spend
my time. Maybe that's the best answer. That's why I'm asking this obviously
knowledgeable group. A man writing bundle? A different editor? Suffer? Give
it up and switch to ... no, I can't go on. ;)
Lewy
On Sep 19, 2006, at 10:50 AM, Allan Odgaard wrote:
> So the key bindings were not “messed up”, they were deliberately
> changed. And while it generally would appear as they do the same
> as ⌥(⇧)→ and ⌥(⇧)←, they also visit “sub word
> boundaries”.
Sorry, Allan, the new functionality doesn't buy me anything and it
took away something I've being using since I switched to TextMate a
year ago. There are probably people that benefit from the sub-word
jumps, but I select to EOL/BOL way too often to want to give up the
shortcut.
On Sep 19, 2006, at 10:50 AM, Steve Lianoglou wrote:
> [cmd] + [left/right arrow] jumps you around beginning/end of line ...
>
> For the record, that all works for me as intended: Version 1.5.3
> (1258)
It does for me too, but if you add the shift key to the mix (select
to BOL/EOL) the shortcut breaks :(
I'm generally open to change, love TextMate dearly, and rely on it
heavily. Consistency between apps is really important to me, and
TextMate does different things with shift-ctl-arrows than the other
apps I live in (like Mail, textarea boxes in Safari, and TextEdit).
So I either have to live with TextMate's inconsistency or keep
modifying TextMate's KeyBindings file or messing with iKey to map my
keypresses into something that works with TextMate.
BTW, what is TextMate's official "select to EOL" shortcut anyway?
- Dave
Even with the pervasiveness of XHTML, some web developers forget that the
XML specification only defines five built-in character entities and most
of the converted named entities that TextMate produces actually break some
apps that rely on this strict interpretation.
It would be convenient if there was another conversion command that would
use the numeric ISO character in place of the named entity. For example,
instead of of converting a ' character to ' the proposed command
would output ’ ...and – would instead be –
I would assume that TextMate would need to store an updated HTML -> XML
lookup table to do this, similar to the old command.
Has anyone else had problems with "Active GTD List View" and "Export
to Geektool" in the GTD bundle following the last couple of Textmate
updates?
When I run Active GTD List view I get the following error:
/tmp/temp_textmate.H0K13x:78: undefined method `pre_match' for
nil:NilClass (NoMethodError) from /tmp/temp_textmate.H0K13x:74:in
`each' from /tmp/temp_textmate.H0K13x:74 from /tmp/
temp_textmate.H0K13x:70:in `each' from /tmp/temp_textmate.H0K13x:70
from /tmp/temp_textmate.H0K13x:67:in `each' from /tmp/
temp_textmate.H0K13x:67
Export to Geektool throws up a different error that I can't copy and
paste, but it appears to be missing the 'pre_match' method as well.
Regular GTD List view still seems to work fine.
Thanks,
Adam
Over on the Markdown discussion list Jacob Rus writes:
> Incidentally, I recommend every Mac user on this list take a look
> at recent TextMate markdown support. The Markdown preview is now
> styled to look quite handsome IMO, and when using a theme which
> colors scopes such as lists, raw text, separators, etc. it is now
> quite easy to see syntax errors, etc. Michael Sheets and Allan
> Odgaard have worked together to make highlighting work for complex
> nested markup. If the official markdown spec were a bit more
> formalized and explicit, with coverage of edge cases, we make it
> just about perfect, I think.
I hadn't even noticed since I mostly work with MultiMarkdown
documents. Would it be possible to apply the CSS to the MultiMarkdwon
preview?
Thanks.
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
I just updated the Latex bundle according to the instruction for
bundle updating in the help file.
Now the cmd-{ function does not work.
Also it cannot find TeXniscope:
/bin/bash: line 60: find_app: command not found Error locating
external viewer: TeXniscope
The shell variable TM_LATEX_VIEWER is correctly set.
All this worked fine until a moment ago.
What has happened?
I issued the commands:
christopher-brewsters-computer:/Library/Application Support/TextMate/
Bundles kiffer$ svn --username anon --password anon co http://
macromates.com/svn/Bundles/trunk/Bundles/Latex.tmbundle
Christopher
*****************************************************
Natural Language Processing Group,
Department of Computer Science, University of Sheffield
When committing with the SVN bundle, you have to manually deselect
any file that you don't want to commit. This is fine if the list of
files that has been updated is small, but when dealing with a list of
over 30 updated files, deselecting 29 files is a bit tedious when you
only want to commit one file. I'm asking the SVN Bundle maintainer
to add a button (or two) at the top of the commit dialog to allow
the ability for "Select All/Deselect All"
thanks.
Hello all,
I am using the ruby bundle a lot, and I like it so much! But there are
some annoyances where I have to decide between using TM/folding
or rewriting my code. IMO the editor/grammar should not be confused by
correct ruby syntax. I am using the latest textmate (downloaded today,
1258) and don't have any changes to the ruby bundle. I know, I could
fix these in my copy of the ruby bundle, but I'd like to see the fixes
in the distribution. Thanks in advance,
Patrick
--------------------------------------------------
lines=%{a
b # <--- I'd like to have no indentation here on 'reindent'
c} # missing folding marker
lines.collect do |line|
line
end.class # missing folding marker
tmp = lines.somemeth { |l|
l.upcase
}.foo # missing folding marker, wrong indentation
a = myvar.each do |x| x.foo end
def baz
a=case foo # missing folding marker (or the one at the end is one too many)
when :b # and incorrect indentation
c
when :d
e
end
end
--------------------------------------------------