Hi,
Is there a function in BBEdit to allow a user to indent scripts
(Javascript, PHP) in the same way as Format... or Tidy will for HTML?
I often copy scripts from the web and they paste aligned to the left
like this:
---
<script type="text/javascript">
var txt=""
function message()
{
try
{
adddlert("Hey There Pilgrim!")
}
catch(err)
{
txt="An error has occurred!"
alert(txt)
}
}
</script>
---
What I'd like is this or some variant (hope the tabs show in this
email!):
---
<script type="text/javascript">
var txt=""
function message()
{
try
{
adddlert("Hey There Pilgrim!")
}
catch(err)
{
txt="An error has occurred!"
alert(txt)
}
}
</script>
---
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>