I'd like to be able to set an explicit "selection mark", as can be done
in EMACS, and then to cut or replace text in the selection range. (For
non-EMACSers; the selection mark is similar to a bookmark, but indicates
the 'other end' of the selection range, 'this end' being the location of
the cursor. Under most GUI editors, moving the cursor deselects
currently selected text, while under the mark selection style, the mark
stays in place even when the cursor moves, which is great the text you
need to select spans more than one page.) Looking at the relevant
section of the TextMate manual didn't indicate anything obvious, does TM
have any sort of support for this style of copying/cutting/pasting?
Thanks,
Ken
Now let's see if anyone else agrees with this... :-)
Currently in the bundle editor, there's an "Activation" popup menu that
has just two items, "Tab Trigger" and "Key Equivalent". Depending on
which is selected, a tab trigger or shortcut key is displayed and can be
edited in the adjacent text field.
I think it would be clearer, faster, and probably take less space in the
UI, to simply show two text fields, one with the tab trigger, and the
other with the shortcut key. And I think a significant benefit to
someone using a bundle is that it then becomes possible to just move
through the bundle items and see the shortcuts in the process. Makes
learning a bundle much faster.
Many thanks,
Ken
Hi
May be this has being asked before!
Here goes nothing.
I will like to be able to split the screen like in emacs. or at least
left/right - up/down.
is that possible in textmate?
Thanks
Luis
--
View this message in context: http://www.nabble.com/Split-screen-tf4127380.html#a11737503
Sent from the textmate users mailing list archive at Nabble.com.
hi there,
i started using the todo bundle more extensive recently and
eventually took a look at the configuration possibilities.
i looked around the settings.rb and found
the announced preference dialog and
started using it.
first i ignored the RADAR tag,
but later on i found myself thinking about
"having something on the radar" as a future-task
or something similar. so i edited the RADAR
tag to match like FIXME or CHANGED.
after that nothing worked, because the
todo.rb expects the RADAR tag to be associated
with some spooky html-stuff which is not the
case for me.
error as follows:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:76:in
`+': cannot convert nil into String
maybe one should fix that for future use.
the most sophisticated way would be to provide a
"MatchedTagFormatter" callback where one could provide
a snippet to format matched content.
in either way, thanks for a great bundle and keep up the
good work.
~fw
--
\|/ ____ \|/
@~/ ,. \~@ "When you are going to die,
/_( \__/ )_\ a wombat is better than no company at all."
\____/ [waste of money, brains and time - wombat(A2DA482A)]
I am trying to experiment with grammars (they have many dark points
for me), and I have make this simple grammar that does perfectly well
all but the "foldingStopMarker"
{ scopeName = 'source.vaughan';
firstLineMatch = '^Vaughan)';
foldingStartMarker = '^\s*Libro';
foldingStopMarker = '^#$';
patterns = (
{ name = 'keyword.other.english';
match = '^.+#';
},
{ name = 'keyword.other.spanish';
match = '[^#]*$';
},
);
}
I have tried many forms of closing the folding, yet the C {} pairs
but it never works for closing in my grammar. Observe that the # is
not considered any other pattern, but it does not work as stop marker
in any way.
-- Thanks for your help
- Juan F.
Thanks, that worked a charm
I've modified it to /\\ref\{\s*\}+(\s.*)$/i in order to get a comment as well, although it gives me the whole paragraph. Is there any way to limit the number of following words to, say, 10?
Thanks,
baptiste
Something like
/\\ref\{\s*\}/
in the Pattern section of the preferences ought to be enough. The
double backslash gives a "real" backslash (it's usually used to
escape other characters, such as the "\s*" to denote any amount of
space between the braces above, or conversely, again as above, to
indicate a *literal* brace). Having the "\s*" inside the braces means
that if you accidentally leave blank space inside it'll still be
flagged.
Cheers,
Paul
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
Hi,
Working on a big latex project, I find the TODO bundle very useful for custom notes. Now I would like to add a TODO item which scans the project for the regular expression /\ref{}/ , that is an empty reference, and list them together with a few words of the paragraph they belong to. I just don't understand regular expressions well enough to do that!
best regards,
baptiste
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
Hi!
I wrote this little Applescript to use the "mateup"-shellscript w/out
opening the terminal each time.
Save the script as an application bundle and just call it from QS or
whatever you're using for the most easiest way to open it.
It will show you what it updated as soon as it is finished and can
then be "entered away"
do shell script "mateup 2>&1" user name "your_user_name" password
"password_of_your_user" with administrator privileges
set the_output to the result
get paragraphs of result
choose from list (result) with empty selection allowed
Niels
Hi,
I'm using tm_dialog r7586.
I tried to invoke a warning alert but the following error message
appeared:
tm_dialog: [NOTE: this exception originated in the server.]
Invalid parameter not satisfying: aString != nil
Can someone verify this or is it my fault ( "$DIALOG" -e -p
'{message="HALLO";}' )?
Thanks,
Hans