> * if (!Util.preferenceIsTrue("writeHead","true"))
> * newText = newText.replaceAll("(?ims)<head>.*?(<body)","$1");
I was thinking about a completely snippet-style display that even removes
the <HTML> and <BODY> tags, because they too can contain similar
wide-scale attributes inside the tags. So maybe I'd prefer something
similar to this:
newText =
newText.replaceAll("(?ims).*?<body.*?>\\s*(.*)</body.*","$1")
.replaceAll("(?m)^ {0,4}","");
I know some pathetic formatting (inserting spaces between '<' and 'body')
can bypass this regexp, and I can adjust for that if we agree on just the
idea.
However, despite it is a rather appealing feature, I do feel that direct
editing of HTML source could be disabled for the 0.9.0 release. It does
not provide us with anything extra to the basic formatting already
available in the Layout View. All the other features that it does/may
provide are currently not well supported or supporting them would require
us to delay the release far further.
Reasamp
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Freemind-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemind-developer