Hi TextMate Users,
Consider the following codes:
<div>
...
<li>
...
</li>
...
</div>
When I try to fold the codes by clicking on <div>, it only folds to
</li>. To fold to </div>, I have to fold <li> and then fold <div>. Is
there anyway around that?
ip
--
"If you ever find yourself on the side of the majority, it is time to
pause, and reflect.
-- Mark Twain
I can't think of a way to get folding to work for Python code. I
think it's because of the way folding is implemented in TextMate, so I
don't think it's possible, but I'm hoping someone can think of
something.
In Python, all blocks are delineated by indentation. So, here's a
couple of blocks:
if 1:
foo()
bar()
else:
fnord()
You'd want to be able to fold "if 1:" through "bar()" and be able to
fold "else:" through "fnord()". I can't think of any way to do this
with TextMate's folding implementation.
It's easy enough to set a foldingStartMarker -- any line ending with a
":" (simply speaking). But what foldingStopMarker? The "mark" is the
next line with the same indendation as the starting line, but that
line is *not* part of the fold. You want the fold to end before that
line.
I'm tearing my hair out over here. Can anyone think of a clever way
to do this? Am I missing something, or is this just impossible with
the current implementation?
Thanks to anyone for help!
1. For me, hitting `ESC` in a dialog box is not invoking the `Cancel`
button (works that way in most apps)
2. When the `Save` dialog box first comes up, I'd love it if _just_ the
pre-suffix name were selected. So on a new, blank document, it would
select "`untitled`" instead of all of "`untitled.txt`". Makes renaming
a lot faster.
(Is this the kind of thing that's appropriate here, or is there a
Bugzilla type thing where we should be posting bugs, whines, and pony
requests?) ;)
--
Merlin Mann
43Folders.com
It seems that folding isn't working in CSS documents. I'm using 1.01b1,
but didn't try folding in 1.0 so I don't know if this new or not. There
are down arrows next to each selector, but never any up arrows...
On 11. Oct 2004, at 2:02, Aaron Swartz wrote:
> The Behavior menu appears to be entirely undocumented. What do its
> menu items do?
Would be nice if such questions where sent to the mailing list! :)
Freehanded edit: allow cursor to be moved past end-of-line
Overwrite mode: overwrite instead of insert typed characters
Smart typing: insert ), }, ", etc. when typing (, {, ", etc.
Tab emulation: use spaces instead of tabs (and treat multiple
spaces as a tab)
Indented paste: will re-indent pasted text to match current
context
Tab expands snippets: controls if a snippet can be inserted by typing
its trigger and pressing tab.
Kind regards Allan
Update of my previous C/C++/Objective-C bundle update.
* Correct C99 keywords and C++ ISO 646 keywords.
* Correct handling of whitespace around preprocessor keywords.
* The makefile syntax module now lives in a new Unix bundle, which also
contains both a generic shell script syntax and an "old-style" plist
syntax.
<http://www.cjack.com/tm/C-and-Unix%20tmbundles.zip>
Share and Enjoy,
Chris
There is a beta version of the upcoming 1.0.1 release with several bug
fixes and small feature inclusions. Normaly, TextMate doesn't check for
beta versions with the automatic version check system, but if you wish
to have it do so you can type the following in your favorite shell:
defaults write com.macromates.textmate OakCheckForBetaVersions 1
..and 0 to disable beta check again of course. When starting TextMate
the first time after download, a window with release notes will
automatically open to show you the latest changes additions and bug
fixes. Have fun :-).
PS: If you for some reason can't get the beta version from within
TextMate, the URL is:
http://macromates.com/textmate/files/TextMate_1.0.1b1.dmg
--
Sune.
"Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn"
http://cyanite.org -- Content follows ;-).
Hello - new b question:
Is there a way to:
1 - route the preview browser through a local server that server side
capabilities are displayed
2 - turn off display of code such as PHP that the browser currently
interpets as text.
Thanks
_: thanks
from
__: mikeBoutté
mobile
__: 615 969 9654
http
__: mikeBoutté dot Com [ http://www.mikeboutte.com ]
email
__: Mike at mikeBoutté dot Com [ mike(a)mikeboutte.com ]
aim
__: mrbigbooties [ aim://AddBuddy?ScreenName=mrbigbooties ]
Thanks to both Ian and Phillip for kicking us into gear about doing
something to track both bundles and other end-user innovation points.
We've now put up the official wiki at:
http://wiki.macromates.com/textmate/
It's of course free to edit for all, so please do add pointers to more
bundles, improve on those that are, and otherwise take advantage of the
shared space.
Enjoy!
--
David Heinemeier Hansson,
http://www.rubyonrails.org/ -- Web-application framework for Ruby
http://www.instiki.org/ -- A No-Step-Three Wiki in Ruby
http://macromates.com/ -- TextMate: Code and markup editor for OS
X
http://www.basecamphq.com/ -- Web-based Project Management
http://www.loudthinking.com/ -- Broadcasting Brain
http://www.nextangle.com/ -- Development & Consulting Services
I'm experiencing a very annoying (and productivity destroying) delay
everytime I switch to TextMate from another application. This happens
when I have about 2 windows with ~30 files in each drawer. Only 2-3
open files in each window though.
Has anyone else seen this?
/ Carl-Johan