[TxMt] Markdown preview scrolling broken?

Fred B fredb7 at gmail.com
Fri Nov 10 12:55:11 UTC 2006


On 11/10/06, Fred B <fredb7 at gmail.com> wrote:
> On 11/10/06, Allan Odgaard <throw-away-1 at macromates.com> wrote:
> > On 10. Nov 2006, at 03:17, Fred B wrote:
> >
> > > The markdown's preview window doesn't scroll to the caret's
> > > position anymore.
> > > Am I missing something?
> >
> > It scrolls to the section which the caret is within. Is there a
> > section in your document?
>
> Sorry Allan, but what do you mean by a section?

Duh, I guess it's delimited by headers. Never post a mail when you're
just waking up. ;)
I usually have sections, that's why I didn't notice.

> The reason for changing it to section instead of caret (though long
> ago) was, that inserting the required anchor where the caret is, can
> screw up the result (e.g. if the caret is in the middle of a list or
> code block).

Why not put the anchor only at a place where scope is
text.html.markdown (or text.html.markdown + text.mail.markdown) ?



More information about the textmate mailing list