jkost / MarkdownViewerForNetBeans

A NetBeans plugin that visualizes markdown files
Apache License 2.0
1 stars 0 forks source link

Implement Splitview via SideBar #1

Open Chris2011 opened 4 years ago

Chris2011 commented 4 years ago

Hey,

I'm trying to work on this plugin to add a new feature called split view. It is nice to have source and visual separated, but often or in a lot ot editors/IDEs you can have it splitted. On the one side Source, on the other side the result. So I'm trying to achieve this with SideBarFactory:

image

It is not working correctly yet, but the befints are, it will scroll with the original content and you have it side by side in the same document. If you want to help here, I appreciate it :). See my fork for the stuff: https://github.com/Chris2011/MarkdownViewerForNetBeans/tree/feature/use-split-pane

jkost commented 4 years ago

Hallo,

and thanks for the interest. My intention is just to replace the Source view with a JSplitPane and display the source on the left and the result on the right. When the user clicks the visual button then s/he sees only the result.

I didn't continue as I was told that there is another plugin https://github.com/madflow/flow-netbeans-markdown, however, that plugin uses the old pegdown and not the flexmark library. I investigated a bit how to port the markdown plugin to flexmark but it seems to be a lot of work.

Both flexmark and peddown do not render tables.

In any case I 'll review your changes and let you know.

Kind regards,

John.

On Sun, 14 Jun 2020 at 15:54, Chrizzly notifications@github.com wrote:

Hey,

I'm trying to work on this plugin to add a new feature called split view. It is nice to have source and visual separated, but often or in a lot ot editors/IDEs you can have it splitted. On the one side Source, on the other side the result. So I'm trying to achieve this with SideBarFactory:

[image: image] https://user-images.githubusercontent.com/795658/84595265-2e46c880-ae57-11ea-8591-1a3ed11e0bff.png

It is not working correctly yet, but the befints are, it will scroll with the original content and you have it side by side in the same document. If you want to help here, I appreciate it :). See my fork for the stuff: https://github.com/Chris2011/MarkdownViewerForNetBeans/tree/feature/use-split-pane

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jkost/MarkdownViewerForNetBeans/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADJUYFUKDFRJTHDSWTRZ6DRWTJCZANCNFSM4N5OWYWQ .

jkost commented 4 years ago

I can't view your changes.

Kind regards, John.

On Sun, 14 Jun 2020 at 15:54, Chrizzly notifications@github.com wrote:

Hey,

I'm trying to work on this plugin to add a new feature called split view. It is nice to have source and visual separated, but often or in a lot ot editors/IDEs you can have it splitted. On the one side Source, on the other side the result. So I'm trying to achieve this with SideBarFactory:

[image: image] https://user-images.githubusercontent.com/795658/84595265-2e46c880-ae57-11ea-8591-1a3ed11e0bff.png

It is not working correctly yet, but the befints are, it will scroll with the original content and you have it side by side in the same document. If you want to help here, I appreciate it :). See my fork for the stuff: https://github.com/Chris2011/MarkdownViewerForNetBeans/tree/feature/use-split-pane

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jkost/MarkdownViewerForNetBeans/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADJUYFUKDFRJTHDSWTRZ6DRWTJCZANCNFSM4N5OWYWQ .

Chris2011 commented 4 years ago

Will talk to you and add the changes later. :) We also can chat later in slack, if you want.