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