BBEdit/TextWrangler markers lost when files moved

97 views
Skip to first unread message

Leif999

unread,
Jan 5, 2019, 3:40:28 PM1/5/19
to BBEdit Talk
Hello all,

 I had to restore all my files onto a new computer, from a backup.  I'm finding that none of the "markers" within my text files are preserved.  This could be either because (1) the marker info is stored in a secret place that I didn't back up, (2) I switched from TextWrangler to BBEdit, and/or some other reason.

Can I get some insight about where BBEdit stores marker info for a text file, so that I can go about backing up this information, and perhaps even retrieve from my backup.

(I suppose I will also find my own way to mark tags as text so I can auto-generate in future.)

Thanks,
Leif

Tibor Páli

unread,
Jan 5, 2019, 4:12:21 PM1/5/19
to 'Holger Bartel' via BBEdit Talk
I would also like to know where the marker information is stored.

I would like to add a related question:
I have two macs that are synched with iCloud. I also created an Application Support/ folder (in the iCloud drive) moved the BBEdit folder (containing Attachment Scripts, Clippings, etc., but there is nothing about markers here).
I noted that sometimes markers disappear or are misplaced.
How can I achieve that the markers are also synched?

Cheers,

Tibor

--
This is the BBEdit Talk public discussion group. If you have a
feature request or need technical support, please email
"sup...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <https://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+un...@googlegroups.com.
To post to this group, send email to bbe...@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.

Christopher Stone

unread,
Jan 6, 2019, 11:14:45 AM1/6/19
to BBEdit-Talk
On 01/05/2019, at 14:31, Leif999 <lei...@gmail.com> wrote:
Can I get some insight about where BBEdit stores marker info for a text file, so that I can go about backing up this information, and perhaps even retrieve from my backup.


Hey Leif,

See the expert prefs:
  • Beginning with version 8.0, BBEdit stores document state (window position and various settings) in a central repository in your BBEdit preferences folder. If you wish, you can ask BBEdit to store document state in the resource fork of the document's file:

    defaults write com.barebones.bbedit UseResourceForkForDocumentState -bool YES


I was very unhappy when this occurred and moving a document immediately lost its state.

Fortunately the guys at Bare Bones gave me the alternative of switching self-contained-state back on for documents.

I don't know if this will include all the elements you're missing though.

--
Best Regards,
Chris

Tibor Páli

unread,
Jan 8, 2019, 9:26:17 AM1/8/19
to 'Holger Bartel' via BBEdit Talk
Dear Christopher (or anybody who can help),

I did this in the Terminal

Tibors-MacBook-Pro:~ tpali$ cd Library/
Tibors-MacBook-Pro:Library tpali$ cd Preferences
Tibors-MacBook-Pro:Preferences tpali$ defaults write com.barebones.bbedit UseResourceForkForDocumentState -bool YES
Tibors-MacBook-Pro:~ tpali$

on two Macs that are synced with iCloud (including the BBEdit documents concerned). The com.barebones.bbedit.plist file has this entry

<key>UseResourceForkForDocumentState</key>
<true/>

However, the markers are different (not syncing) in the same document on the two computers. Adding, changing, deleting markers in one computer is not replicated in the other.
Maybe the markers do not belong anymore to the DocumentState?
I am on Mac OSX 10.13.6 and BBEdit 12.5.2

Best regards,

Tibor

Christopher Stone

unread,
Jan 8, 2019, 1:54:30 PM1/8/19
to BBEdit-Talk
On 01/08/2019, at 02:02, Tibor Páli <palitib...@gmail.com> wrote:
However, the markers are different (not syncing) in the same document on the two computers. Adding, changing, deleting markers in one computer is not replicated in the other.
Maybe the markers do not belong anymore to the DocumentState?
I am on Mac OSX 10.13.6 and BBEdit 12.5.2


Hey Tibor,

Okay, you better contact support.

Bare Bones Software <sup...@barebones.com>

--
Best Regards,
Chris

Reply all
Reply to author
Forward
0 new messages