Marked not auto-refreshing text with Byword

's Avatar

newstylesound

12 Nov, 2011 07:48 AM

Hi, Brett,

Super, super awesome stuff (nvALT is so wicked, too)! However, I'm running into an issue. I'm using Byword with Marked, and Marked is not updating when I save in Byword. I generally have to click Refresh in Marked to see the update, although it seems to happen automatically sometimes, after some time passes since the latest change.

The only wildcard I can think of is that all my files are sitting in a Dropbox folder (for grabbing with Notesy on the iPad). Could that be causing this issue?

Mac OS 10.6.8, with revs of both Byword and Marked

  1. Support Staff 1 Posted by Brett on 12 Nov, 2011 02:37 PM

    Brett's Avatar

    Marked no longer has any known issues with Dropbox. The problem usually comes down to a Spotlight issue. I would recommend rebuilding the Spotlight index for that drive (although there has been once instance where that didn't work, there have been many where it has).

    Byword won't be the issue, Marked doesn't (for the most part) care where the files come from.

    If you're ok with a Spotlight rebuild, the easiest way to do it is to open Spotlight Preferences in System Preferences, go to Privacy, add the whole drive to the list and then remove it. Please let me know if you do this and if it helps!

    Thanks,
    Brett

  2. 2 Posted by George Cochrane on 12 Nov, 2011 06:02 PM

    George Cochrane's Avatar

    That fixed it! Rad, thanks much for the quick solution, Brett! While I'm here, I may as well lob an nvALT question your way (no rush to answer this one!) 

    ---

    I'm a technical writer, and I tend to funnel data from PRDs and notes into long text docs in Textedit, and put them into a unified structure. This evolves into a to-do list for doc tasks.

    As I write or update the given doc, I color-code things in the Textedit file- whole features, sections of features, fixes, and such, to show how done I feel they are. This color-coding makes parsing multiple pages for undone tasks fast.

    Now, nvALT adds considerable power and portability to this workflow, but I really miss the command-shift-C color wheel from Textedit. Are there any plans to allow such fiddling, or is that sort of counter to the plain-text idea? 

    In the meantime, Scrivener's status-based notes features are perhaps a good stopgap, but most of my writing is going to be in MMD for the foreseeable future, and nvALT is soooo slick and small...

    Thanks much, 
    -George

    ________________________________
    From: Brett <[email blocked]>
    To: [email blocked]
    Sent: Saturday, November 12, 2011 6:37 AM
    Subject: Marked not auto-refreshing text with Byword [Problems]

  3. 3 Posted by George Cochrane on 12 Nov, 2011 08:11 PM

    George Cochrane's Avatar

    Crap, I spoke too soon. The Marked updating issue seems to persist, after rebuilding the Spotlight stuff. 

    I'll keep fiddling, sorry for the bother!
    -George

  4. 4 Posted by George Cochrane on 12 Nov, 2011 08:26 PM

    George Cochrane's Avatar

    Sorry for the 8238235th email of the day- just wanted to let you know that this issue has mostly sussed itself out. A few .md docs that I authored in MMD Composer still show this behavior when opened in Byword/Marked, but that's no great loss.

    Thanks, 
    -George

  5. Support Staff 5 Posted by Brett on 12 Nov, 2011 09:37 PM

    Brett's Avatar

    I hope the luck continues. Please keep me posted, especially if the behavior manifests with new documents created in either MMDC or Byword. With the currently affected documents, does it happen only when editing in Byword? Does the same problem exist if opened in MultiMarkdown Composer?

    Regarding nvALT, color coding within the editor requires information to be stored as attributed strings (rich text), which does stray from nvALT's intended purpose. It's possible, though, that if you had a plain-text notation for the various color codes (a line prefix of some sort?) that I could work it into the preview or possibly the editor to scan for those markers and denote lines as such…

  6. 6 Posted by Phillip Wright on 21 Jun, 2012 01:54 PM

    Phillip Wright's Avatar

    I must admit I get the same Byword/Marked non-update issue unless I hit cmd R. It also autoupdates if I open preferences on Marked (and do nothing else).

  7. Support Staff 7 Posted by Brett on 21 Jun, 2012 02:05 PM

    Brett's Avatar

    Have you tested with other editors?

  8. 8 Posted by Phillip Wright on 21 Jun, 2012 03:10 PM

    Phillip Wright's Avatar

    thanks for being so fast!

    OSX text-edit is the same. I dragged the icon from the top of text edit onto Marked. It opens fine with whatever had been saved previously. It doesn't autoupdate in Marked upon cmd S in text-edit or byword. It does upon cmd-R in Marked.

    Maybe I have set-soemthing up weird. I'm on 10.7.4

    Phil

  9. Support Staff 9 Posted by Brett on 21 Jun, 2012 03:52 PM

    Brett's Avatar

    Can you check in Console.app for any errors from Marked when saving in the editor?

  10. 10 Posted by Phillip Wright on 21 Jun, 2012 04:54 PM

    Phillip Wright's Avatar

    nothing obvious. Byword hung about a week ago, but nothing since. text edit has the same behaviour and has been stable.

    checked again. waited 5 minutes flicking back and forth to Marked. cmd S each time in Byword. No change. Opened the File menu and browsed in Marked. Nothing. Opened preferences - boom, it updates in Marked. cmd R is also instant.

    best,

    Phil

  11. Support Staff 11 Posted by Brett on 21 Jun, 2012 05:02 PM

    Brett's Avatar

    Opening/Closing preferences forces a refresh just like Cmd-R, so that's not a surprise. Sounds like there might be something going on with your filesystem. Can you run a permissions repair on your disk with Disk Utility, and possibly rebuild the Spotlight index? Rebuilding Spotlight shouldn't be necessary in most cases anymore, but it may clean up some indexing issues.

  12. 12 Posted by michael.raess on 25 Jun, 2012 02:25 PM

    michael.raess's Avatar

    I have a similar setup as described by Phil (all files in dropbox, Byword as text editor) and also I experience this non-update issue of Marked with most of my files.

    I so far blamed the fact that some of the files contain rather large tables, which slow down the whole rendering process considerably. So I got used to pushing cmd+R.

    Reading this discussion I realise that the issue may not be related to the size of the included tables and that most of my files do not auto-update.

  13. 13 Posted by Phillip Wright on 25 Jun, 2012 02:29 PM

    Phillip Wright's Avatar

    I tried with and without tables. Doesn't seem to matter for me

    Phil

  14. Support Staff 14 Posted by Brett on 25 Jun, 2012 02:30 PM

    Brett's Avatar

    It should have nothing to do with the size of the file. If it were choking on rendering Marked would freeze and Cmd-R wouldn't work. There's something going on with the filesystem. Are these folders Spotlight indexed? If you move the file to your desktop and open it in Marked does it referesh?

  15. Support Staff 15 Posted by Brett on 25 Jun, 2012 02:36 PM

    Brett's Avatar

    Also, has anybody tried the suggested remedy yet?

    Can you run a permissions repair on your disk with Disk Utility, and possibly rebuild the Spotlight index? Rebuilding Spotlight shouldn't be necessary in most cases anymore, but it may clean up some indexing issues.

  16. 16 Posted by Phillip Wright on 25 Jun, 2012 02:44 PM

    Phillip Wright's Avatar

    not yet. Crazy deadline by tomorrow and been running the hard drive hard on that, so didn't want to complicate matters. Will try after that. Disk utility done, just not spotlight reindex. Disk utility alone didn't solve it.

    thanks a lot,

    Phil

  17. 17 Posted by Martin Sketchle... on 26 Jun, 2012 10:01 AM

    Martin Sketchley's Avatar

    Hi. I'm having the same problem. I've tried iA Writer, Byword and TextEdit, but none of these will auto-refresh on save in Marked.

    I did notice the Marked seemed to auto-refresh once, when I clicked on the cog icon at the bottom-right of the window. No other time has auto-refresh worked for me.

  18. 18 Posted by michael.raess on 26 Jun, 2012 10:28 AM

    michael.raess's Avatar

    Just an observation, I currently do not have the time to test this systematically:

    I access a lot of my files through hyperlinks in the Marked Preview:

    Open file_1.txt, click the hyperlink to open file_2.txt, press cmd+E to edit file_2 in Byword ...

    In this case, the file header in the Marked preview still states file_1 while file_2 is actually displayed. And only file_1 will auto-refresh after editing, but not file_2.

  19. Support Staff 19 Posted by Brett on 26 Jun, 2012 01:10 PM

    Brett's Avatar

    Just to be sure, are you guys all on Lion?

    And that clicking Hyperlinks does not open a new file for watching, it just opens it in Marked. Marked is set to watch the file that is initially opened or dragged to it right now.

  20. 20 Posted by Martin Sketchle... on 26 Jun, 2012 01:56 PM

    Martin Sketchley's Avatar

    Yes, I'm on Lion. I open the file I want to work on, then click on the icon at the top and drag it on to the Marked icon on the Dock.

  21. 21 Posted by Phillip Wright on 26 Jun, 2012 02:37 PM

    Phillip Wright's Avatar

    yes, I'm on Lion.

    Phil

    Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

  22. 22 Posted by Phillip Wright on 02 Jul, 2012 04:14 PM

    Phillip Wright's Avatar

    I just got around to reindexing my mac. That sorted it. It now updates from Byword into Marked when I hit cmd-S

    thanks a lot,

    Phil

  23. Support Staff 23 Posted by Brett on 02 Jul, 2012 04:18 PM

    Brett's Avatar

    Great! Have fun :).

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac