Text Selection Linking Between Marked and Text Editor

's Avatar

rwbenz

21 Sep, 2012 06:18 PM

Brett -- awesome app. I hesitate to put forth any suggestions since you do such good work, but here I go:

While writing my dissertation, I heavily used an app called TeXShop (http://pages.uoregon.edu/koch/texshop/), which is not completely unlike Marked in some ways. It was meant for writing in LaTeX, and provided an auto updating preview window of the rendered text. The difference with Marked though is that you also had to use the provided text editor for writing the LaTex, but this allowed for a nifty feature.

This feature was the ability to click on a word in the preview window and have it highlight/selected back in the text editor. This was KEY since LaTeX is a pain to read through for editing. With this feature, you could copy edit the text in the preview window (the rendered text), and quickly get back to the LaTeX markup for editing when needed.

Since the editor and the preview window were from the same app, this feature was probably easy to implement. Any way this might be done with Marked?

Thanks for the good work.

  1. Support Staff 1 Posted by Brett on 21 Sep, 2012 06:33 PM

    Brett's Avatar

    No chance, I'm afraid. Marked renders to an HTML preview that has zero connection back to the editor's caret, selection or text locations. That's definitely one thing that's entirely impossible :).

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