Hi all,
My question is how to comment out the whole selected region? In
particular, working with Fortran (if this option is bundle-dependent).
PS: "Command+/" doesn't work.
Thanks.
--
Kaster Might
Hi there,
I've got problem when I am using the bundle short key.
It is Bundles->HTML->Insert open/close tag(with current word)
the short key is " control+< " which is not working.
Can you give me an idea to make it working please?
Regards
Hi all,
I occasionally see this issue on the latest TextMate on Mac OS X 10.6.6:
1. Start TextMate
2. Open Project (the problem does not occur on a single open text file)
3. Open a text file from the project drawer and position the mouse
over the text window (the cursor pointer is activated)
4. Press Command+Shift+W to close the project
5. The mouse pointer remains a cursor and can be quite difficult to
see until I click focus on another app
Can anyone reproduce this?
Thanks!
Hi,
Is it possible to add text before the filename when creating a new file
based on template.
I would like to create a jquery.$TM_NEW_FILE_BASENAME.js
I tried to modify the script below :
if [[ ! -f "$TM_NEW_FILE" ]]; then
TM_YEAR=`date +%Y` \
TM_DATE=`date +%Y-%m-%d` \
perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' \
< template_in.txt > "$TM_NEW_FILE"
fi
to something like this
if [[ ! -f "$TM_NEW_FILE_DIRECTORY/jquery.$TM_NEW_FILE_BASENAME.js" ]]; then
TM_YEAR=`date +%Y` \
TM_DATE=`date +%Y-%m-%d` \
perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' \
< template_in.txt > "$TM_NEW_FILE_DIRECTORY/jquery.
$TM_NEW_FILE_BASENAME.js"
fi
The file is correctly created but not open instantly.
Many thanks for your help.
Regards,
Samuel
I am pretty new in textmate and working with MySQL. Anyone know how I use SQL
query to use a database in MySQL via textmate. I tried USE [database name],
the database browser show 0 affected
--
View this message in context: http://old.nabble.com/SQL-in-textmate-tp31093481p31093481.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi All,
I made some substantial changes to projectplus' git support:
* Works correctly in projects containing multiple git repositories
* Folder icons show modified status if any file inside was modified or deleted
* Folder containing repository root are marked
* Un-versioned Files are hi-lighted
The branch is available at
https://github.com/gknops/projectplus
or
git clone git://github.com/gknops/projectplus.git
Cheers
Gerd
PS: To Allan:
Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet?
I'm considering buying TextMate but ran into
a weird issue with the "watch document" setting for latex. It
seems to use a different engine than when you manually do
typeset and view. My document is rendered all wrong while
manually it does it right. Is there a way to change this?
TextMate does not have an "Entire Word" option in its Find dialog, but of course it has regular expression capability. So--there must be a quickie way of using reg ex to get the effect of Entire Word. Any tips?
Jerry
I've got a new bundle up on github:
https://github.com/jdonaldson/Parsnip.tmbundle
Parsnip is a Textmate bundle for creating snippets. It relies on regular
expression syntax in order to flexibly specify tab stops and default text.
It also has the ability to intelligently space and code, or to easily pass
portions of the document through a script (well I think it's easier than
TextMate's base method anyways).
Instructions are on the readme section of the github repo web page.
-Justin
Hello
What I would like to share with you is sort of project management tool that can be
useful for creation more abstract bundles. Basically I am using it with textmate right now.
The idea is to have universal tool that helps to manage projects, establish dependencies between various projects artifacts.
The tool is written in Ruby and can work under any platform. The information can be found on web site:
http://gravitysoft.org/doku.php?id=home:projects:lithium
I have created special bundle called Lithium that easily allows developers:
-- Run php/java/javascript/ruby/python/html/shell code just by one command run. Bundle script looks as follow:
$ lithium -std TextmateHTMLStd run:$TM_FILEPATH
-- Compile/Validate php/java/xml/ruby/python code by one command:
$ lithium -std TextmateHTMLStd compile:$TM_FILEPATH
-- Compile all found source code for the given project
-- Show (CHM) help for appropriate language (Java/Python/Ruby)
and others
Practically in all cases the output is formatted as HTML (looks identically to terminal lithium output) with links to file where exceptions or errors have
occurred (see attached picture).
It seems to me having common "one shot" solution can simplify bundle developing and make it more simple and usable. Needless
to say lithium is open source project that can be used for free.
Regards
Andrei
How could I hide the vertical and horizontal scroll bars in textmate?
And is there any possible way to let the scroll bar never shows up even though my codes are more than one page?
Tkanks in advence
Hi,
I've create a small interactive python debugger for TextMate that I've
open sourced at https://github.com/boxed/PythonMate
It supports the basics:
- Step/out/continue, etc
- Moves the cursor to the corresponding line in TextMate
- You can set a breakpoint from within TextMate by sending it a simple
AppleScript command (setup is documented in the git repo)
I would have liked a way for bookmarks in TextMate to correspond to
breakpoints or some other visualization of the breakpoints inside
TextMate but I couldn't find any way of doing this. Any tips?
Best Regards,
Anders Hovmöller
I'm not sure how that dialog is called in that situation but I don't think opacity applies there does it? It just inserts a hex value which doesn't support opacity.
------------------------------------------------------------------------------
Craig Edmond
Creative Lead/Senior Web Designer
finalsite | web software and services for schools
email: craig.edmond(a)finalsite.com<mailto:craig.edmond@finalsite.com>
------------------------------------------------------------------------------
finalsite Web Tech Events
coming to your neighborhood
http://www.finalsite.com/webtech
------------------------------------------------------------------------------
finalsite University (6/21-6/23)
web strategies conference in Avon, CT
http://www.finalsiteU.com<http://www.finalsiteU.com/>
------------------------------------------------------------------------------
finalsite University International (4/12-4/13)
international educators’ conference in Istanbul, Turkey
http://www.finalsite.com/fsuinternational
------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy/delete all copies of the original message.
Not really has it been brought up before, but whenever I use the Insert Color... command in CSS bundle, the color picker dialog misses the opacity slider. Is there any fix for it?
Cheers
I have a weird problem in which the caret moved in an unexpected way. Let's say I have
test<caret>\n
and type command-], it becomes
<tab>tes<caret>t\n
where "<caret>" indicates the position of the cursor and "<tab>" indicates a tab. Basically the "shift-right" command moved the caret left a position unexpectedly. This problem only shows if there is at least a blank line beneath the "test" line. On the other hand, if I have
<tab>test<caret>\n
then I type command-[, then it becomes
test\n
<caret>
where the caret jumps to the next line (while removing the tab correctly). Although it can be argued that this might be preferable under some situations, I would prefer it to remain in the same line. This happens in all syntaxes that I have tried. I renamed my ~/Library/Application Support/Textmate to something else but this is still happening. I imagine that a simple explanation is that the caret pointer stays at the same character count (within the document), without accounting for the newly inserted/removed tab. This might explain both command-] and command-[, but of course it is only a wild conjecture.
Any suggestions? Thanks!
Do anyone know the way to make title bar show the path of the file, I have lots of files with same names and need to detect which of them I have opened
I receive the following error:
** ERROR **
(erb):8:in `show': undefined method `e_url' for TextMate::HTMLOutput:Module (NoMethodError) from (erb):7:in `each' from (erb):7:in `show' from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/htmloutput.rb:89:in `show' from /tmp/temp_textmate.JhN5QG:16
** /ERROR **
when I attempt to Preview the following Textile code:
** CODE **
h1. header
* first item
* second item
* third item
h2. header 2
*strongly emphasized*
h3. header 3
_less emphasized_
h4 header 4
# item one
# item two
# item three
bq. this is a blockquote
More commentary.
* a
* l
* j
** /CODE **
It works fine here: http://textile.thresholdstate.com/
I am not sure what the problem is.
Any ideas.
Sometimes I have styled text on the clipboard that I would like to put into
a Markdown or HTML document. When I paste into any document, it appears as
plain text stripped of any style info.
Is it possible for a Textmate bundle to capture the paste and transform the
styled text to the syntax of the current buffer? E.g. styled text "This is
bold and this has a link" would paste into a Markdown doc as "This is
**bold** and this has a [link](http://example.com)" and into an HTML doc as
"This is <b>bold</b> and this has a <a href='http://example.com/'>link</a>".
If this isn't possible, is anyone else interested in having this feature in
Textmate or developing a system service for it?
Turadg Aleahmad
PhD student <http://www.cs.cmu.edu/~taleahma/>, HCII <http://hcii.cmu.edu>
>When I run that command, I get a new document with the HTML and CSS source.
I haven?t changed anything from the defaults. Open the Bundle Editor, locate
that command, and make sure the output is set to ?Create New Document?. I
suspect it got set to ?Show as HTML? somehow.
Lovely! That was it! It works great now.
Brandon
On Wed, Feb 23, 2011 at 7:51 PM, <textmate-request(a)lists.macromates.com>wrote:
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
>
>
> Today's Topics:
>
> 1. How to hide the scrollbar of textmate (Elvis Zhou)
> 2. Re: How to get HTML code of bundle TextMate -> Create HTML
> from Document (Brandon M Fryslie)
> 3. Re: How to get HTML code of bundle TextMate -> Create HTML
> from Document (Rob McBroom)
> 4. Re: c++ library boost (Chris Patti)
> 5. Command-Enter quit working (Pete Lasko)
> 6. Re: Command-Enter quit working (Mark Jackson)
> 7. Re: Command-Enter quit working (Pete Lasko)
> 8. Re: Command-Enter quit working (Will)
> 9. Re: Command-Enter quit working (Mark Jackson)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 23 Feb 2011 21:44:04 +0800
> From: Elvis Zhou <cassyfar(a)gmail.com>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] How to hide the scrollbar of textmate
> Message-ID: <30C9993F-4ADD-4DD3-9500-69AC2F48B95E(a)gmail.com>
> Content-Type: text/plain; charset=us-ascii
>
> How could I hide the vertical and horizontal scroll bars in textmate?
> And is there any possible way to let the scroll bar never shows up even
> though my codes are more than one page?
>
> Tkanks in advence
>
> ------------------------------
>
> Message: 2
> Date: Wed, 23 Feb 2011 09:46:25 -0700
> From: Brandon M Fryslie <bmf(a)email.arizona.edu>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] Re: How to get HTML code of bundle TextMate -> Create
> HTML from Document
> Message-ID:
> <AANLkTink0TVuemCTVHZxBqmzcM04ytH2BBL-N9VXdPgK(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> >
> > I usually go into the menu at the top; File / "New From Template", choose
> > "HTML" scroll around some more, and choose from there.
> >
> > CSS is began from the same menu; File / Plain Text, then at the bottom of
> > the plain text doc one will see the words plain text and some little
> > triangles for clicking on that reveal a menu to choose, CSS is in there.
> >
> > So it seems a drill down procedure.The Preferences allow for doc of
> choice
> > to appear at start up.
>
>
> That is how to create a new HTML or CSS document.
>
> I want to get the results of the command TextMate -> "Create HTML From
> Document". This command is located in the "TextMate" bundle. This command
> takes the contents of the currently opened file and turns it into HTML,
> preserving the syntax highlighting by embedding CSS code into the document.
> On e-TextEditor for Windows, for example, the same bundle generates a page
> of markup. However on TextMate, it opens directly in a Web Preview window
> from which I am unable to extract the markup.
>
> Is there a) some way to prevent it from opening in web preview? Or b) some
> way to directly get the contents as source of a web preview window?
>
> Thanks
> Brandon
>
You can try the terminal command lsof [FILENAME]. lsof with no options
displays all opened files, lsof -t [FILENAME] displays 'terse' output of the
process ID, suitable for piping to kill.
Brandon
Hi all,
I'm new to writing TextMate bundles so I was wondering if someone
could give me some pointers here.
I'm trying to store information from the output a bundle command
against the current file. The idea is that this could then be
retrieved by another bundle command run latter.
This information doesn't need to be persistently stored, it's only
used during editing so if I can I'd prefer not to litter the file
system with these small files.
Ideally, I'd like to do something like:
$MY_VAR = "some value or other"
Any of how to do this or a flat answer of you can't at the current
time would be gratefully received.
Cheers,
Sean.
>
> I usually go into the menu at the top; File / "New From Template", choose
> "HTML" scroll around some more, and choose from there.
>
> CSS is began from the same menu; File / Plain Text, then at the bottom of
> the plain text doc one will see the words plain text and some little
> triangles for clicking on that reveal a menu to choose, CSS is in there.
>
> So it seems a drill down procedure.The Preferences allow for doc of choice
> to appear at start up.
That is how to create a new HTML or CSS document.
I want to get the results of the command TextMate -> "Create HTML From
Document". This command is located in the "TextMate" bundle. This command
takes the contents of the currently opened file and turns it into HTML,
preserving the syntax highlighting by embedding CSS code into the document.
On e-TextEditor for Windows, for example, the same bundle generates a page
of markup. However on TextMate, it opens directly in a Web Preview window
from which I am unable to extract the markup.
Is there a) some way to prevent it from opening in web preview? Or b) some
way to directly get the contents as source of a web preview window?
Thanks
Brandon
How to I get the keyboard shortcuts to work for Rails? I'm trying to
Insert ERb's like <%= %> and <% %> and the commands should be Ctrl + Z
and Ctrl +X -- it doesn't work. I have the document type set to Ruby
on Rails.
Any ideas on what I'm doing wrong?
Hello,
How can I include boost libraries with Textmate?
Thanks for the answer.
André
// simple_example_1.cpp
#include<iostream>
#include<boost/tokenizer.hpp>
#include<string>
int main(){
using namespace std;
using namespace boost;
string s = "This is, a test";
tokenizer<> tok(s);
for(tokenizer<>::iterator beg=tok.begin(); beg!=tok.end();++beg){
cout << *beg << "\n";
}
}
BUG:
When using the Shell Script plugin's tempfile creation expansion (temp[tab]), a dollar sign gets left out:
temp[tab]
becomes
TMPFILE="(mktemp -t Convert_ClassOO_Metrics_To_Tabular)"
trap "rm -f '$TMPFILE'" 0 # EXIT
trap "rm -f '$TMPFILE'; exit 1" 2 # INT
trap "rm -f '$TMPFILE'; exit 1" 1 15 # HUP TERM
Note the missing dollar sign $ in the first line to make the parentheses executable.
FIX:
I added a backslash in the bundle before the dollar sign that's there and is getting dropped (or rather, interpreted as a variable probably):
${1:TMPFILE}="$(mktemp....
becomes
${1:TMPFILE}="\$(mktemp....
${1:TMPFILE}="\$(mktemp -t ${2:`echo "${TM_FILENAME%.*}" | sed -e 's/[^a-zA-Z]/_/g' -e 's/^$/untitled/'`})"
${3:${4/(.+)/trap "/}${4:rm -f '\$${1/.*\s//}'}${4/(.+)/" 0 # EXIT
/}${5/(.+)/trap "/}${5:rm -f '\$${1/.*\s//}'; exit 1}${5/(.+)/" 2 # INT
/}${6/(.+)/trap "/}${6:rm -f '\$${1/.*\s//}'; exit 1}${6/(.+)/" 1 15 # HUP TERM
/}}
Not sure how to work that change into the codebase.
-Rob
Hello,
TextMate is opened with my session when I start my Mac. I would like that
TextMate always automatically opens the same project when it starts. Is that
possible?
Thanks!
Florent
When I use this bundle, it pops up a window with the HTML code rendered, but
I cannot for the life of me figure out how to get the HTML so I can use it.
Can someone help me?
Somewhat related, is there a way I can apply my own custom CSS to the web
preview window?
Thanks
Brandon
Hi,
I've created a new language grammar -- with quite a bit of luck. Line
comments start with a $ sign in this language, and there are no block
comments. I've managed to get the regexp right for syntax highlighting of
the comments, however when I C+/ to toggle a line as comment, it still uses
C-style comments.
How do I convince textmate to use the correct line comment character?
Thanks in advance,
Ozgur
Hi everyone,
I'm trying to create simplest applescript with dialogbox but textmate
shows the error message
Execution Error: No user interaction allowed.
although everything is ok when launching by applescript editor.
How to fix it?
Thanks.
--
Kaster Might
I am using the ${1/foo/bar} syntax to make a snippet. More specifically I
am mirroring/transforming a previous placeholder to replace all spaces with
underscores like this: ${1/ /_/}.
However, is this only replaces the first occurrence. Could anyone enlighten
me to the correct way to do this? Also, is there some documentation to the
'options' parameter in the regex replacement syntax? I couldn't seem to
find any under regex or snippets on the TextMate site.
Thanks
Brandon
I have a question about syntax coloring with list in the MultiMarkdown
bundle. It would be easier to illustrate with an example...
list 1
* item 1a
* item 2a
list 2
* item 2a
* item 2b
Here items in list 1 would get colored correctly but not items in list
2. Any suggestions? Thanks!
ysw
Hi
Looking for some help. I am writing a bundle, and having a hard time with
$DIALOG nib.
Hoping to find some advice how to deal with it. I've outlined my problem
here
http://pastie.org/1560343
with some code example showing what I am going for.
Please let me know what other info I should provide,
Thanks
m
Hi,
I am new to Textmate and am thinking about migrating to Textmate from
Texshop to handle my LaTeX, Sweave, and R needs. One thing that I have
noticed is that if I run Command+R on a LaTeX file and have it set to
use Textmate to view my PDFs it will always say "Stop task before
closing? The job that the task is performing will not be completed." and
a spinning cursor like thing in the upper right corner. However, it
appears that it has finished the task and the PDF looks fine.
Why is this doing this and how can I prevent this message from coming up
again?
Also, it appears that Textmate is using Acrobat embedded in Textmate as
the PDF viewer? Is this true?
Thanks!
Chris
no answers to this??
> hi there - I'm taking a Ruby class and have been using TM to code in and I'm having an issue with TM prompting me every 5-10min or so that there's 'another application' modifying my Ruby file and asking me if I want to revert or keep.
>
> I've had this happen before when I've been simultaneously editing a file with both Coda or DW and TM, but in this case the file isn't open in any other app - except Ruby I suppose...
>
> anyway - it's annoying and I'm wondering if it's some kind of auto-save built into Ruby and whether I can switch if off or whatever.
>
> thanks,
> b
>
> PS - love using TM for Ruby (as with everything else) - but just curious, the default Language for a .rb file seems to be Ruby on Rails rather than just plain Ruby - any reason for that? doesn't seem to matter much since the scope selector works just fine - I'm just curious.
Hello all,
I just threw together a new language for the LaTeX bundle: LaTeX Documented Source (.dtx). It isn't terribly complicated, but some trickery is required to use the existing LaTeX language for both the implementation and the documentation (lines that start with a single %).
It still has a few issues. Most notably, many .dtx files do funny things with the catcode of $, and as such, TextMate will furiously try to match all $s, even when there isn't a matching pair. Since some .dtx files can exceed 30k lines, this can lock up the parser for quite some time. Also, it only sets the scope 'text.tex.latex.dtx' for the entire file and 'text.tex.latex.dtx.implementation' for the implementation code. It may be useful to flag the inverse of the implementation as 'text.tex.latex.dtx.documentation,' but unfortunately that is beyond my language grammar abilities.
I forked directly from the official latex.tmbundle on GitHub, but it could easily be integrated into the other branches.
https://github.com/mbauman/latex.tmbundle/commit/721a7dc6bdd7df4eedcec33e41…
I don't know how many people work with .dtx files, but I figured this may be generally useful to some.
Best regards,
Matt Bauman
hi there - I'm taking a Ruby class and have been using TM to code in and I'm having an issue with TM prompting me every 5-10min or so that there's 'another application' modifying my Ruby file and asking me if I want to revert or keep.
I've had this happen before when I've been simultaneously editing a file with both Coda or DW and TM, but in this case the file isn't open in any other app - except Ruby I suppose...
anyway - it's annoying and I'm wondering if it's some kind of auto-save built into Ruby and whether I can switch if off or whatever.
thanks,
b
PS - love using TM for Ruby (as with everything else) - but just curious, the default Language for a .rb file seems to be Ruby on Rails rather than just plain Ruby - any reason for that? doesn't seem to matter much since the scope selector works just fine - I'm just curious.
I use find in project frequently but I cant find how to set the text in the
search dialog without either typing it or copy and pasting.
In Eclipse for example if you select a word in the editor and then initiate
a find, the selected word will automatically be in the search dialog.
Im sure you must be able to do something like this but I cant figure out
how.
Thanks
Giorgio
--
View this message in context: http://old.nabble.com/find-in-project-help-tp30859083p30859083.html
Sent from the textmate users mailing list archive at Nabble.com.
Hey all;
I get this error message in xcode debug panel when I build and run just a sample xcode project:
2011-02-01 17:03:30.237 TextApp[14096:a0f] NSKeyBindingManager: Bad key binding atom for '^⌘E' = 'editInTextMate:'
Any ideas?
Adam Merrifield
seyDoggy Systems
seydoggy.com
820 Strasburg rd, Kitchener,
Ontario, N2E 2Y3, Canada
Email: info(a)seydoggy.com
Office: 519-489-6033
Cell: 519-574-9788
Hi,
I have a basic command that when files of certain types are dragged to the editor window, the path is shown as a snippet in the form of file:///path/to/file.
I want to make the above snippet to be a "live" hyper link, e.g. by clicking it the file is opened by the corresponding application. Is it possible?
Thank you in advance.
Kostas
Hello,
I have been annoyed by the pod2html command in the Perl bundle. It leaves
unwanted files pod2htmd.tmp pod2htmi.tmp in the file directories.
Fixed it this way:
pod2html 2>/dev/null
rm pod2htmd.tmp pod2htmi.tmp
Could be useful for others (if you see bnasty side effect, please let me know).
--j
Been seeing this problem since the beginning and it's more an annoyance than anything bad but figured I might as well put it out there.
I often have two or more projects opened at the same time with the same folders in each project. This is mainly because I often need to work on multiple issues from the same project simultaneously.
When I check a file for syntax using Ctrl-Shift-V in language bundle HTML with embedded PHP, if an error is found oftentimes the checked file will open in one of the underlying projects (where the file wasn't opened before), the project is brought into focus and the syntax error is displayed in that project.
Since I need to keep track of which files belong to which issue, I would then have to close the file that was just opened in the wrong project.
Any solutions?
Cheers,
Ed Wong
Hello. I would like the cursor to follow me when I hit page up and down. I
don't want to remember to hit the ctrl key. I have followed these
instructions:
http://blog.macromates.com/2005/key-bindings-for-switchers/
But they don't seem to work for Textmate. Other apps (XCode, Textedit ...)
behave as expected with the Keybinding set (the cursor nicely follows as the
page scrolls), but with Textmate the cursor jumps around unpredictably,
sometimes in the wrong direction. Anybody know whats up?
My bindings:
{
/* home */
"\UF729" = "moveToBeginningOfLine:";
"$\UF729" = "moveToBeginningOfLineAndModifySelection:";
/* Cmd-Left */
"@\UF702" = "moveToBeginningOfLine:";
"$@\UF702" = "moveToBeginningOfLineAndModifySelection:";
/* Cmd-Right */
"@\UF703" = "moveToEndOfLine:";
"$@\UF703" = "moveToEndOfLineAndModifySelection:";
/* end */
"\UF72B" = "moveToEndOfLine:";
"$\UF72B" = "moveToEndOfLineAndModifySelection:";
/* page up/down */
"\UF72C" = "pageUp:";
"\UF72D" = "pageDown:";
}
Hi All,
When I use (for example) TextMate to run an Xcode build, the HTML output window always shows the messages as they are added, eg it keeps scrolling down. I can scroll up and look at previous output, then back down and it resumes that behavior.
I am now tracking log output from another program within a TextMate HTML window, but in that case it fails to scroll. What is the trick to achieve that?
Thanks
Gerd
Hi,
I am trying to disable the annoying spinner in some HTML output. However "TextMate.isBusy=false" in some javascript appears to have no effect. "TextMate.system()" works fine, so the TextMate object is available.
Any ideas?
Thanks
Gerd
Hi all-
Stumped over the following regex for a block comment:
> begin = '(?<=0 : 0$)';
This actually works, but I need to generalize it to one or more whitespace characters between the "0" and ":", and then between the colon and final zero.
Tried things like:
> begin = '(?<=0\s+:\s+0$)';
but Oniguruma gets really irked at me.
Grateful for any thoughts or pointers...
Thanks, Charles
For the past few days TextMate has had this odd behavior where it plays the "Funk" sound every time TextMate loses focus. It's not just on a particular project, file, window… it's everything, the app as a whole. I tried looking in console but nothing popped up.
I haven't added any new bundles, plugins, snippets, etc… for a while and I haven't messed about in preferences for eons. Everything wrt TextMate ought to be status quo from a few days ago so I question whether it has anything to do with TextMate at all.
Is this familiar to anyone?
TextMate Version 1.5.10 (1623)
Mac OS X 10.6.6
Mac Pro 2 x 2 GHz Dual-Core Intel Xeon
Ram: 8 GB 667 MHz DDR2 FB-DIMM
Adam Merrifield
seyDoggy Systems
seydoggy.com
820 Strasburg rd, Kitchener,
Ontario, N2E 2Y3, Canada
Email: info(a)seydoggy.com
Office: 519-489-6033
Cell: 519-574-9788
bugs(a)macromates.com returned a permanent failure. So I will report the weird behaviour I notived.
I have a long source file (300-400 lines). I put my caret at line 200 and scrolled (with a mouse) down to the bottom. I then pressed right-arrow to go to the symbol to the right of my caret expecting the window to scroll to show where my caret is. The window does scroll, but it scrolls to the top of the document instead of to the exact position of my caret. I will attach a movie:
http://dl.dropbox.com/u/323865/Textmate%20scroll%20bug.mov
As the window start scrolling automatically, it's because I push right-arrow, the next time I push right-arrow again and finally the window actually shows what I am editing.
Rasmus Abrahamsen