On Sat, Dec 19, 2015 at 6:38 PM, Jean-Christophe Helary <
jean.christophe.hel...@gmail.com> wrote:

>
> On Dec 20, 2015, at 02:08, Kerri Hicks <kerri.hi...@gmail.com> wrote:
>
> On Sat, Dec 19, 2015 at 7:55 AM, Jean-Christophe Helary <
> jean.christophe.hel...@gmail.com> wrote:
>
>> I was editing a tmx file and tried to "balance" tags, just to see if that
>> would work and it failed.
>>
>
> Did you change the file type in BBEdit to XML? Balance tags should work if
> your XML is well-formed.
>
>
> I did not change anything. The file is identified as being XML already.
> It's got a proper declaration on the first line:
> <?xml version="1.0" encoding="UTF-8"?
>

Yes, but it's not saved with an .xml extension, so BBEdit doesn't know that
it's supposed to be an XML file -- it doesn't know what .tmx files are. You
can choose XML from the pick list at the bottom of the editor window, and
then, no matter what the extension, BBEdit will treat the document as XML.

https://www.dropbox.com/s/4fhxs23mfk1wvyf/xml_bbedit.mov?dl=0

The .tmx file extension isn't mapped to XML by default in BBEdit, but you
can change that in Prefs so that all .tmx files open up as XML documents.
Preferences -> Languages -> Custom Extension Mappings.

--Kerri

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.

Reply via email to