John M. Dlugosz | 3 Mar 2011 15:37
Favicon

Just trying it out - code language and other issues

I came across this while looking for a better editor for doing web development.  I'm using Perl Template
Toolkit with XHTML.  I really want something that will do XML syntax highlighting and folding, and can deal
with the embedded TT tags as well.

I fired up Bluefish, and found that I could not "drop" files onto it.  Is that a bug?

Viewing a small file, I changed the Document > Language Mode to "XML" and got some highlighting.  But "XHTML"
did nothing!  What's going on?  But, my real burning issue is how to get it to handle the embedded language of
"TT".  

I've appended a small file's contents so you know what I'm talking about.  Just getting [% ... %]  tags to work
(and not confuse the larger XML parser) would be a major positive step.

=====
<div id="galleries">
<h2>Galleries of LED Usage</h2>
[% gal_buttons = [ 'neon.jpeg', 'neon.jpeg', 'neon.jpeg', 'neon.jpeg', 'neon.jpeg', 'neon.jpeg',
'neon.jpeg', 'neon.jpeg' ] %]
<table>
[% USE table(gal_buttons, rows=4) # flip row/col meaning to lay out left-to-right,top-to-bottom (yuck) %]
	[% FOREACH row IN table.cols %]
	<tr>
		[% FOREACH item IN row %]
		<td>
			<img src="[% c.uri_for("/static/gallery/${item}") %]" alt="photo" />
		</td>
		[% END # item %]
	</tr>
	[% END # row %]
</table>
</div>
--

-- 
To unsubscribe from this list: send the line "unsubscribe bluefish-users" in
the body of a message to listar@...
List Web Page: http://www.ems.ru/cgi-bin/listargate.cgi
Main Web Page: http://bluefish.openoffice.nl/


Gmane