Takaaki Kato <devlist(a)samuraicoder.net> wrote:
> On Jul 30, 2007, at 5:28 AM, Dushan Mitrovich wrote:
>
>> - On opening ordinary text documents the Line counter at lower left
>> shows the line number, but the column counter just shows '-'. How
>> do I get this to work correctly?
>
> Where do you see the `-`? The `-` in the lower right side is a symbol
> list. The column is just next to the `Line: xx` on the lower left. If
> you open a new document, you should see "Line: 1 Column: 1"
> (assuming you open a new document wihtout any templates.
What I see is this: "Line: 1 Column: _", followed by a pale vertical
bar, followed by a pale colored disk with the white letter "L".
>>
>> - How do I adjust the left margin for printing?... in fact, all the
>> essential printing parameters?
>
> TextMate doesn't have many features for printing. See the link below:
>
> http://macromates.com/textmate/manual/printing#printing
Oh, thanks for the info. Amazing that an otherwise competent text
editor should lack such essentials. BTW, the information in the URL
above differs a bit from what my copy of TextMate (1.5.6) shows: the
"View Source as PDF" is in the Latex bundle rather than the Source
bundle. Where's the best place to get pdfsync and pdflatex?
- Dushan
Hi all!
Sorry for asking this - I assume this is a stupid question, but I am
new to Textmate and not very familiar with the terminal.
So thanks in advance for being patient and helping me:
I have installed Latex via fink. The LaTeX-binaries are stored in /sw/
bin/ and I have the latest Version of Textmate and the latest Version
of MacOSX Tiger.
Compiling latex-documents from Textmate worked out of the box without
any configuration.
But there are two things, that don't work:
1.) Bibdesk (also latest Version) auto-Completion doesn't work: when
pressing alt-esc within \cite{u} for example I get the following
error message:
"The tex binaries cannot be located!" (I don't understand this,
because latex-compiling works!!) The bibdesk auto-completion works
fine with Textedit for example.
2.) Same Problem when using the "Citation based on Current Word"-
command from the LaTeX-Bundle. It doesn't work and I get the same
error message: "The tex binaries cannot be located!"
According to the manual it looks like, that I must add the /sw/bin to
the path, but I am not really sure about this, since compiling tex
files works. Also as mentioned above I am not familiar with the
terminal and don't know how to do this. (Sorry)
So whats wrong?
Can anybody help me, please?
Thanks a lot in advance.
Best wishes
Markus
Hi,
I just thought about a color picker in tm_dialog.
But do we need it?
Background:
I simply added to TextMate's MainMenu.nib Menu the following:
Format
Font
Show Fonts
Show Colors
Text
Align Left
Center
Justify
Align Right
without key bindings.
If I invoke 'Show Colors' in TM a color palette will be displayed, I
can choose a color, and finally I can drag&drop the color which is
shown in the rectangle to a document in TM, and I get e.g. #FF33DC.
This should work for HTML, CSS, etc. stuff properly.
The same for Show Fonts. I can drag&drop the name for instance.
All items under Format>Text also work but with the limitation that
all commands interact only with the current size of the document's
window.
[This, of course, is ONLY a side note ;)]
OK.
If someone needs a tm_dialog nib which asks the user, among others,
to choose some colors, one could such a nib by using NSColorWell easily.
I wrote a routine for tm_dialog to parse the result dictionary for
NSColor objects. If there are some the routine will replace the
content of these dictionary's keys with an array containing the
following strings:
{example for red; 'color' is the selection value in the nib}
<key>color</key>
<array>
<string>#FF0000</string>
<string>255 0 0</string>
</array>
Each programming language I know can use at least one of the color's
representation for further calculations. It would be easy to add also
the values for the HSB and CMYK models.
So my question is:
Is there something which I didn't consider?
Regards,
Hans
Hi,
I wonder if it possible 'easily' to enhance tm_dialog in a way that
one can also use it as FileSelect dialog, like CocoaDialog it does,
in conjunction with an user-defined nib-file to append a CustomView
to the predefined NSOpenPanel.
For details have a look at:
http://developer.apple.com/documentation/Cocoa/Conceptual/AppFileMgmt/
Articles/ManagingAccessoryViews.html
E.g.:
tm_dialog -f
invokes a normal cocoa-based file select dialog.
tm_dialog -f myextension.nib
invokes a normal cocoa-based file select dialog and appends
myextension.nib as an Accessory View.
tm_dialog -f -p THEPLIST
to set the current dir, which files are allowed to select, multiple
file select yes/no, dialog title, etc.
The result is a plist containing the filename and, if an Accessory
View is specified, the selections of it.
Hans
Hi!
Since yesterday, TextMate has some strange behaviour on deletes and
on scrolling thru documents using the arrow keys.
When I type a tab and hit backward delete, only one character is
deleted, as if the soft tabs would be enabled, but I don't use soft
tabs.
The other issue is somehow more difficult to describe, but propably
related:
When I scroll thru my document using the arrow keys, my cursor does
not go to the end of the line, but remains where it has been before.
This has been different before.
Just to give you an idea of hat I mean:
if($this->db->dbh->isError($q)) {
$error = new error;
$error->raiseError($q,"DB_ERROR");
}
Before, when my cursor was placed at the end of the 'if($this->db-
>dbh->isError($q)) {'-line (in column 34) and I used arrow-down, the
cursor was placed right after the semi-colon behind 'new
error' (column 24). Now, it remains in column 34.
I have no clue what I might have changed recently, but hopefully
somebody can help, as I couldn't find anything regarding this issues
in the help documents.
I'm currently running TextMate 1.5.6 (1405).
Matt
Hello,
this is my first post on the list so hello to all. I've been using textmate
as a demo for the past couple of days now and I'm very impressed by the
application a massive improvement on bbedit in many ways.
but one small thing I would like to be able to change is the default
document type that appears on startup, just to clarify my issues isn't how
to change it but how do I change it permanently so it appears as say a php
or Java file?
many thanks
Stefan
Hi all,
I am a CSS, HTML, occasional PHP/Javascript developer new to Textmate
and have been hunting around for a good HTML bundle. I may be looking
in the wrong places, but basically, I would love to find something
that gives a few of the old features from Homesite, if that is
actually possible. I would love to find some kind of bundle with the
following:
- Code colouring similar to that of Homesite and Dreamweaver.
- Auto tag completion similar to Homesite and Dreamweaver, so when
you type the ending ">" of a div tag for example, it writes out the
closing tag. This would be instead, or in addition to, the feature of
hitting CTRL + < to close the tag.
- Some kind of HTML, CSS validation, similar to the way Homesite used
to do it. Can you include validation in a bundle?
Tell me if I'm dreaming! Either way, it would be great if someone
could point me in the right direction for finding good HTML bundles.
Googling doesn't seem to get the results I want.
Cheers for any help.
Recently, I needed to unbind a TextMate menu command (Text:Reformat and
Justify) so that I could use ^J for my own uses. Ale Munoz (the n is
suppose to have a tilde above it but I don't know how to type that on a
US keyboard, sorry) was kind enough to show me how to use the Mouse and
Keyboard preferences panel to rebind that menu item to something else,
which solves the immediate problem. However, this still begs the
question; is there a way to _unbind_ that menu item, so that it has _no_
associated key binding? This can't be done using Ale's method.
Thanks,
Ken
I think the title explains it all. Instead of having to do APPLE + TAB, I
would just like to be able to highlight text and use the TAB key on it's own
to indent my text.
I guess this shortcut must be listed somewhere (APPLE + TAB). In future, how
can I find it so I can change it?
Thanks for any help offered.
--
View this message in context: http://www.nabble.com/How-to-make-TAB-and-SHIFT-%2B-TAB-indent%2C-un-indent…
Sent from the textmate users mailing list archive at Nabble.com.