I am looking for a way to highlight all the occurrences of the text I have
currently selected, or which is in the search buffer (trough command-e). Is
this possible with TextMate, or with a bundle?
(I could do a search and go through the occurrences with command-g, but when
you have a number of occurrences just visible on the screen, it is often
often more convenient to just have all of them highlighted, rather than
having to repeatedly hit command-g.)
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/Highlight-all-occurrences-of-selection-tp25140566p251…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I am having the same problem as Hooman...i'm no longer able to fetch posts
with the Blogging Bundle and I get the exact same error as him saying
something about times.
As Allan suggested, I enabled server logging. I did another Fetch Post, got
the same error, and now this is in the log (I **,d out my pswd and modified
my username). This means nothing to me...any help?
2009-08-25 23:50:02 Input: <?xml version="1.0"
?><methodCall><methodName>metaWeblog.getRecentPosts</methodName><params><param><value><string>0</string></value></param><param><value><string>kelle</string></value></param><param><value><string>**pswd**</string></value></param><param><value><i4>20</i4></value></param></params></methodCall>
thanks!
kelle
Hi all,
The latest minor update seems to have introduced a strange behavior.
When moving the cursor pass the end of a line, TextMate now pretends
that the line is full of an infinite number of spaces, instead of
moving to the next line. Same happens when clicking with the mouse.
Let's just say that after spending 20 years editing texts in editors
with the "good old" behavior, I'm quite annoyed that the new behavior
is imposed on me and that there's no option to turn it off.
Could anybody confirm that this is an intended feature of TextMate and
that there's no way to disable it?
Jasmin
Whenever I try to Typesetting the LateX file, which compiled properly
using command line or using TextMate on 10.5, I got the error message
"Could not open to check for packages
This is most likely a problem with
TM_LATEX_MASTER"
I am sure this is not a problem with the TM_LATEX_MASTER". First I am
trying to typeset a single file rather than a project. Second with
nothing changed, this file typeset perfectly on 10.5 with TextMate.
Does anyone have the same problem or can provide some clue for solution?
Hi all-
I'm working on a bundle for the J language, which has some unusual
features.
I wanted to know whether there's a way of altering what
TM_CURRENT_WORD's idea of "current word" is? I didn't have much luck
finding something in the manual or list concerning this. Particularly
if it can be redefined on a per scope basis. (I wouldn't want to make
global changes!)
I certainly can use TM_CURRENT_LINE and TM_LINE_INDEX, and examine
what's around the caret, but if there's a more elegant way, I'd love
to know about it.
Thanks!
Charles Turner
I am using Textmate with some macro functions to create a CSV file. Sadly I
have to do it manually cos the original file had no kind of persistent
pattern to define a structure.
Each like has 2 values separated by commas.
Each record is separated by a series of dots "."
So for example
.......................................................................
This is value 1,"This is value 2
More of value2
More of value2"
........................................................................
I would like to see "This is value 1" in one color and the rest of the
string including the quotes in the following lines in another color.
I am trying to make sense of the rules/language grammar in textmate. What
language is it?
Any help would be greatly appreciated.
--
View this message in context: http://www.nabble.com/Trying-to-figure-how-to-color-code-a-text-file-tp2508…
Sent from the textmate users mailing list archive at Nabble.com.
Here's a suggestion I'm sure will never see the light of day, but one
I would love to see -- rendered source code comments.
Basically, I would like to have the option of adding commentary to my
code in whatever text-based format works best for the type of comment
I'm making (latex, markdown, rdoc, dot, etc.), and have those comments
rendered in-line, hiding the original text behind the rendered view.
The editor could have a hotkey to toggle between rendered comments and
regular text comments. Some kind of 'meta'-markup could be used in
the comment to indicate to the editor how a particular block should be
rendered.
This is a lot like Knuth's literate programming concept, only less
invasive to your coding process and without requiring you to compile
your file to see the formatted commentary.
Imagine, you could have beautifully rendered diagrams, equations, and
discourse right in your source file.
Comments?
Hello everyone,
When working with the latex bundle on textmate, (specifically the New Item command which I bound to enter), it works fine when working on itemize and description environments (adding \item and \item[] respectively), but it also adds \item when working on other environments such as eqnarray.. Any reason for it to behave this way? And anyone knows how I can fix that?
Thank you.
Hiding in Plain site is the textMate Bundle.
Create HTML From Document......
for those of you who like to see a print out of your code. More important
for those of us trying to figure out what the last guy did.
--
Brad Tittle
Tech Support
I'm trying to set up a code folding rule that will let me fold sections
of CSS files I work on. I usually define sections in my code like this:
/* Section_Start <section name> */
...
/* Section_End <section name */
I've got the Pragmatic book, and I've looked at the included bundles,
but I can't figure out a working solution...anybody got some pointers on
how to accomplish this?
Keith
--
Keith Solomon - ksolomon(a)gmail.com
My Blog - http://reciprocity.be/
My Flickr - http://www.flickr.com/photos/zarath0s/
El 21/08/2009, a las 3:14, textmate-request(a)lists.macromates.com
escribió:
> On Aug 20, 2009, at 6:37 PM, Juan Falgueras wrote:
>
>> desperate looking for a way of a more relaxed way of searching a
>> string inside another, we need not to take into the account not only
>> the case
>>
>> s = "Abc"
>> if s =~ /abc/i then
>> ?
>>
>> but also if you have forgotten an accent, etc:
>>
>> s = "?Bc"
>> if s =~ /abc/i then
>> ?also should match!
>>
>> Changing the encoding to the simplest one: ASCII, does not work
>> since
>> iconv, nor ruby force_encoding() work and gives you errors in case
>> you
>> try to convert "?" to "a"
>
> This might be one option for you:
>
> $ irb -KU -r iconv
>>> s = "?Bc"
> => "?Bc"
>>> Iconv.conv("ASCII//TRANSLIT//IGNORE", "UTF-8",
> s).downcase.delete("^a-z") =~ /abc/
> => 0
>
> I hope that helps.
>
> James Edward Gray II
Thanks James!
I have narrowed the chars you should delete after transliteration. If
you try with the ~full range of accented latin chars
require "iconv"
ss=
"ÀÁÂÃÄÅĀĄĂÆÇĆČĊĎĐÈÉÊËĒĘĚĔĖĜĞĠĢĤĦÌÍÎÏĪĨĬĮİIJĴĶŁĽĹĻĿÑŃŇŅŊÒÓÔÕÖØŌŐŎŒŔŘŖŚŠŞŜȘŤŢŦȚÙÚÛÜŪŮŰŬŨŲŴÝŶŸŹŽŻàáâãäåāąăæçćĉċďđèéêëēęěĕėƒĝğġģĥħìíîïīĩĭįıijĵķĸłľĺļŀñńňņʼnòóôõöøōőŏœŕřŗśšşŝșťţŧțùúûüūůűŭũųŵÿŷžżźþßſÐð
"
# you can see a small set of chars that are used to transliterate: "'~^`
puts Iconv.conv("ASCII//TRANSLIT//IGNORE", "UTF-8",
ss).delete(%q{"'~^`})
This is a less aggressive way of patching this annoying behaviour of
transliterate. I would like to see new //CLEANDROP or so, to simply
drop out those accents to work with the chars. Or simply a regexp
search with a modifier that could make it just to ignore accents…
- juan
I'm trying out Subversion, and the associated TextMate bundle, for the
first time. Choosing "Checkout..." from the bundle menu gives me a
dialog box with the prefix "svn+ssh://" AFAIK my Subversion
implementation doesn't support that protocol, so I've replaced that
with "http://" and the appropriate url.
In response, TextMate gives me a status report with correct
authentication realm but that lists my Mac account name
("jonippolito") rather than my Subversion login on the remote server
("jon"). The report ends with these errors:
Username: svn: PROPFIND request failed on [my subdirectory]
svn: PROPFIND of [my subdirectory]: authorization failed [my remote
url].
The file [my local url] does not exist.
I don't see where I can change my username or password as recognized
by the Subversion bundle. Any advice appreciated!
jon
/RR (http://responserequested.com)
______________________________
Still Water--what networks need to thrive.
http://still-water.net/
Dear Textmate users,
The auto-completion of bibtex entries (alt-escape) works very nicely,
but often when I am editing it would be useful to display what a given
label points to.
I would like to be able to put the cursor on a bibtex entry, hit a key
and have the bibliographic entry pop up in a tool-tip.
Is that possible? And if so, how?
Best wishes,
Nicholas
TextMate has a "Find in Project", but as my project contains a lot of files,
I often want to search in a subset of those files: specifically the files
contained in a given directory, and this recursively. What is the best and
simplest way to do this with TextMate?
(The best solution I found so far consists in creating a new project, adding
the directory from which I want to do the search, and running a "Find in
Project" in that new project. But I have to say that this is quite clunky.)
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/Find-in-path-%28subset-of-Find-in-Project%29-tp250501…
Sent from the textmate users mailing list archive at Nabble.com.
Hi
desperate looking for a way of a more relaxed way of searching a
string inside another, we need not to take into the account not only
the case
s = "Abc"
if s =~ /abc/i then
…
but also if you have forgotten an accent, etc:
s = "áBc"
if s =~ /abc/i then
…also should match!
Changing the encoding to the simplest one: ASCII, does not work since
iconv, nor ruby force_encoding() work and gives you errors in case you
try to convert "á" to "a"
MacOS does the work but it is not the appropriate way here…
Any help will be welcome.
- juanfc
Hello List,
I have a problem with the "Typesetiing & View" Feature on SL. Typeset
& View generates following output:
>Typesetting “test.tex”…
>
>Theme:
>/tmp/temp_textmate.NwPD9X:26:in `exit': no implicit conversion from nil to integer (TypeError) from /tmp/temp_textmate.NwPD9X:26
System:
MacBook
Clean SL Install
TextMate 1505
MacTex2008
Somebody else with this problem?
Kind Regards
S. Arns
Hello.
I'm making a small bundle for my own flyweight markup language and i
run in to a little problem.
Commands that takes the entire document as input acts strange. To be
more precice it's when I make a column selection, write something, and
then run the command. The command seems to run as many times as the
number of rows selected.
Is there a simple way to avoid this, for example make the command to
deselect all before it runs? The command is written in php.
Björn Jadelius
Hello everyone. I want to be able to highlight a word in TextMate and do a
Google search for it (primarily for looking up Rails API docs).
It seems to me that this feature is already implemented, but is not working
for me. In Hyperlink Helper, I see the Yahoo searches and the one for
"Lookup Selection on Google and Link". However, when I try this, I get:
"(this language is not supported, see … for more info)"
...replacing the highlighted text. (This is in a Ruby file if it makes a
difference).
Is there some way I can fix this?
Thanks,
Craig
Some of you may remember back in the mainframe days XEdit. One cool
feature of XEdit was you could type all <pattern> and only those lines
matching the pattern would be displayed. You could edit within this
view.
It seems like something similar could be done in TextMate by using
folds. I've tried to do it with a macro using find and bookmarks, but
I don' seem to have enough control to select text between matches so I
can send the Fold Selection.
I'm aware of Text->Filtering->Copy Matching Lines, but this creates a
new window and any edits in that window aren't felt back in the
original.
Anybody have an idea on how to do something like this?
Eric
My coworkers have finally dragged me, kicking and screaming, out of
vim and into TextMate.
And honestly, TextMate is great.
But one missing feature is driving me up the wall:
"slot-$name-$permid"
Shows up as a single color. There is no highlighting to call out the
interpolated variables.
Some people bash this approach, but I think this is a very useful
technique for composing things like HTML IDs and class names on the
fly as long as you make responsible use of it, and with a bytecode
cache there is no performance price for using it on the PHP side (if
there ever was... it's really not that hard for PHP to parse a string
literal).
Is there a way to enable this? Do I need a third-party bundle to do
it? I've begun to poke around in the PHP bundle, and I see references
to interpolation here and there, but it doesn't seem to do anything.
Thanks!
--
Tom Boutell
P'unk Avenue
215 755 1330
punkave.comwindow.punkave.com
Hey there,
I'm having trouble getting the line end/line begin keyboard shortcuts to
work with Textmate in Snow Leopard (works in other apps like Word).
That's command + leftarrow and command + rightarrow.
Anyone else have this issue?
- Andrew
--
View this message in context: http://www.nabble.com/Snow-Leopard%3A-command-%2B-leftarrow-rightarrow-bust…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I'm using TextMate on Leopart to use Latex. I've installed the full Latex
package for Mac.
When I try to typeset & view a document I get the error: "env: ruby: Not a
directory".
In the preferences, the Shell Variables are:
TM_LATEX_VIEWER -> TeXinscope
PATH -> /usr/texbin/kpsewhi (I've checked it exist on this path)
Do you know what could I do?
Thanks!
xxx
xxxx
Warning: This e-mail is privileged, confidential and contains private
information. Any reading, retention, distribution or copying of this
communication by any person other than its intended recipient is prohibited.
I just installed Python3.1 using the .dmg from http://www.python.org/download/mac/
.
When TextMatre runs a program from the python bundle I get no output
or error messages except "Program exited with code #1 after 0.01
seconds." There are no syntax errors and I can use the Run Script
(terminal) option to get expected output.
How use the Run Script option in the Python Bundle? Why has output
gone away? TextMate is so much better than IDLE
Much thanks in advance!
Don Fox
For personal use, I use PrinceXML to generate PDFs from MMD files that
have a CSS file in their header. I'd really like to learn to use LaTeX
one day, when I have the time, but until then I get reasonable output
for my needs. (Any of my texts that get published go through some
publishing workflow in the first place, which obviates any necessity
on my part to "type set" them.)
john
--
John Laudun
Department of English
University of Louisiana – Lafayette
Lafayette, LA 70504-4691
337-482-5493
laudun(a)louisiana.edu
http://johnlaudun.org/
ResearcherID: A-5742-2009
Twitter/Facebook/Flickr: johnlaudun