Hi Folks
Let me begin by making clear that I'm not a programmer - I'm trying out TextMate in HTML production, which may or may not be advisable. I have been using TextWrangler for this purpose.
The problem I'm having is too much space is being inserted before and after what is actually being copied and pasted, like at least a couple of words length on each end. And that's making messy code. I'm copying out of Dreamweaver and pasting into TextMate. TextWrangler doesn't make this mistake. What am I not understanding?
I would prefer to use TextMate - text and code are easier to read and the overall design of this app looks quite advanced to me. I might use it for ActionScript in the future but I probably won't be using 90% of the features.
This app is not very accessible to non-programmers. Maybe that's how you prefer it. Some beginning and mid-level tutorials and/or movies would help a lot. The manual is more like a reference book, rather than showing it in application. Just to say you might get better adoption of this beautiful app with better teaching of it.
Kearney Buskirk
On Mar 15, 2006, at 1:01 PM, Kearney Buskirk wrote:
The problem I'm having is too much space is being inserted before and after what is actually being copied and pasted, like at least a couple of words length on each end. And that's making messy code. I'm copying out of Dreamweaver and pasting into TextMate. TextWrangler doesn't make this mistake. What am I not understanding?
Perhaps the behavior you are seeing is re-indented paste, which is a feature of TextMate but may appear to be a "mistake" in some situations. See section 4.3.2 of the manual: http://macromates.com/ textmate/manual/all_pages
You can avoid it by using ⌃⌘V to paste.
Trevor
On 15 Mar 2006, at 22:48, Trevor Harmon wrote:
On Mar 15, 2006, at 1:01 PM, Kearney Buskirk wrote:
The problem I'm having is too much space is being inserted before and after what is actually being copied and pasted, like at least a couple of words length on each end. And that's making messy code. I'm copying out of Dreamweaver and pasting into TextMate. TextWrangler doesn't make this mistake. What am I not understanding?
Perhaps the behavior you are seeing is re-indented paste, which is a feature of TextMate but may appear to be a "mistake" in some situations. See section 4.3.2 of the manual: http://macromates.com/ textmate/manual/all_pages
You can avoid it by using ⌃⌘V to paste.
Or deactivate it in Preferences:Text Editing.
-- Fred
On Mar 15, 2006, at 2:10 PM, Fred B. wrote:
On 15 Mar 2006, at 22:48, Trevor Harmon wrote:
On Mar 15, 2006, at 1:01 PM, Kearney Buskirk wrote:
The problem I'm having is too much space is being inserted before and after what is actually being copied and pasted, like at least a couple of words length on each end. And that's making messy code. I'm copying out of Dreamweaver and pasting into TextMate. TextWrangler doesn't make this mistake. What am I not understanding?
Perhaps the behavior you are seeing is re-indented paste, which is a feature of TextMate but may appear to be a "mistake" in some situations. See section 4.3.2 of the manual: http://macromates.com/ textmate/manual/all_pages
You can avoid it by using ⌃⌘V to paste.
Or deactivate it in Preferences:Text Editing.
Thanks for your help. Both suggestions worked.
-- Fred ______________________________________________________________________ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Hi Again Folks
Next question: No way to get FTP files being served thru Transmit organized into a project with its nifty drawer, right? Only local files can be organized in this way? (I can't save these files onto my hard drive. They have to remain available to other people editing.)
When I choose several files thru Transmit to be edited by TextMate, they all open up as separate windows and it's sort of messy and unwieldy. TextWrangler does open multiple files in this situation into one window, easy to manage with its drawer showing what's open etc.
Also, any efficient and relatively easy ways to clean up messy code, like I just created, with a lot of space before and after text?
Thanks for your attention.
Kearney Buskirk
On 15/3/2006, at 22:01, Kearney Buskirk wrote:
[...] This app is not very accessible to non-programmers. Maybe that's how you prefer it. Some beginning and mid-level tutorials and/or movies would help a lot.
There is a screencast feed [1] that you may want to check out.
It is however a versatile text editor intended mainly for programmers. What tutorials and/or movies are you expecting?
[1] pcast://macromates.com/textmate/screencast.rss
Hello Folks
[...] This app is not very accessible to non-programmers. Maybe that's how you prefer it. Some beginning and mid-level tutorials and/or movies would help a lot.
There is a screencast feed [1] that you may want to check out.
I've gone to the screencast page and tried to play most of the movies. I get no sound from those movies. (QT7.0, 10.4.4 here, fast cable connection on G5 dual 2.3, 2 gigs of RAM.) Looking at them, they seem to be much more about Python or Ruby than about TextMate.
It is however a versatile text editor intended mainly for programmers. What tutorials and/or movies are you expecting?
Tutorials taking the new user step-by-step through accomplishing a typical task and showing how to best use TextMate's features at each stage.
On the order of: Here's an empty page. Now do ____ to best start making your HTML page. Next enter this text. Then manipulate it with this feature in this way in order to accomplish____. etc. etc.
Tutorials for various levels of expertise. Maybe with downloadable example files and files to start tutorials with.
Movies showing TextMate's operations (screens with voice-overs). Looking over the shoulder of an expert user really explaining what's being done. Make learning the app as easy as possible - remove any obstacles.
In learning many apps, I've noticed I learn best and most easily through doing, application, tutorials and examples. Manuals are fine as references but don't work well to learn use of the app. Most significant apps come with tutorials as part of the instruction, and for good reason.
Thanks for your response Allan.
Kearney Buskirk
On Mar 15, 2006, at 7:06 PM, Kearney Buskirk wrote:
Hello Folks
I've gone to the screencast page and tried to play most of the movies. I get no sound from those movies. (QT7.0, 10.4.4 here, fast cable connection on G5 dual 2.3, 2 gigs of RAM.) Looking at them, they seem to be much more about Python or Ruby than about TextMate.
Download them directly: http://macromates.com/screencast/python_part_1.mov and three more here: http://skiadas.dcostanet.net/afterthought/category/mac-os-x/textmate/ They should play just fine, I have a much weaker system than that. The screencasts tend of course to focus on whatever language the person doing them is using, but they often demonstrate things that you can use more generally, for instance columnar typing.
I admit it would be nice if we had some screencasts in how to use TextMate for HTML editing, in particular related to the live preview feature. It's just a question of someone doing them really.
What I would recommend though is simply opening the HTML bundle in the bundle editor and seeing what each command/snippet/macro does. That will teach you a lot more about what TM can do than any screencast. And you can always ask in this list and in the irc channel if you have any questions.
Kearney Buskirk
Haris