[TxMt] Re: How to use CSS bundle in source.css.embedded.html scope?

Hans-Jörg Bibiko bibiko at eva.mpg.de
Thu Aug 5 08:58:47 UTC 2010


On Aug 5, 2010, at 10:45 AM, Fabio wrote:

> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> 	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> 
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it-IT" lang="it-IT">
> <head profile="http://www.w3.org/2005/10/profile">
> 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
> 	<title>Page Title</title>
> 	<meta name="description" content="" />
> 	<meta name="keywords" content="" />
> 	<meta http-equiv="Content-Language" content="it-IT" />
> 	<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
> 	<style type="text/css" media="screen">
> 		/* Textmate does not see this as CSS code */
> 		p { margin-bottom: 1em; }
> 	</style>
> </head>
> <body>

Hi, hmm for me it works. If I locate the cursor after "1em; ", type b and press ESC I can see the autocompletion stuff. 

What happens if your cursor is inside the css stuff and you press CTRL+ESC? Does the CSS bundle pop up? If not, is the CSS bundle available? Is the document set to HTML?

Cheers,
--Hans


More information about the textmate mailing list