-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preview jumps to bottom on load #42
Comments
Hi, thank you for your interest in this plugin. It is a community effort! I can confirm this behavior (Linux, Netbeans 7.4) and I agree it should be changed. |
Great! I found this bug when using netbeans "Clone" window feature, basically I wanted to have 2 windows of my file open, The first would be the file itself (ie all markdown code), and the second window (which is the clone), would be the preview, so whenever I save my document, I want the "Preview" (cloned) window to be updated. So kind of like a "live" preview (on each save of course) feature, I suspect this will work as soon as the above bug (snap to bottom) has been fixed! (and would be such a great little feature!!) I'd love to get my head into a netbeans plugin, perhaps I'll fork and learn whilst I play! Thanks for everyone would contributed to this plugin, it's so useful! |
I noted this behavior early during the development of the preview function. I know it can be changed to jump to the top instead ;) So far I have not investigated this further as the changes will probably not apply to the fancy JavaFX based preview we will hopefully soon have (at least on NetBeans 8). |
Thanks for reporting this! |
2nd Try. Now it is just nailed to top the top (better than to the bottom I guess). |
I just installed the markdown plugin and have the same problem: after any edit the preview window jumps to the bottom. Ideally its top line would match the top line in the editor, but simply not scrolling anywhere would be a good enough second choice! |
I prepared a pre-release containing the recent changes to preserve the scroll position. You are invited to test this pre-release if you do not want to compile the plugin from source code. |
I found a desktop app in chrome store called minimalist markdown editor. You can scroll in the editor view and the preview view scroll too. So if you split the document and see the preview it should be good that you can scroll both at the same time or you create a split view by your own, maybe this plugin can help you to create your own split view with simultanous scrolling: https://github.com/markiewb/nb-codeoutline |
I am using Netbeans 7.4 with this flow markdown plugin. It works great aside from the fact that when I click "preview" (after entering some markdown text), the preview scrolls (jumps) to the bottom.
The markdown text I am using to test is here:
http://daringfireball.net/projects/markdown/syntax.text
Great plugin! thanks so much!, you should make it available through netbeans plugin updater!
The text was updated successfully, but these errors were encountered: