This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I used a plugin called flow-netbeans-markdown (http://plugins.netbeans.org/plugin/50964/markdown-support). This plugin has a preview to show the output, what I'm typing, but I only can change between source, history and preview via Ctrl + Alt + Page Up/Down in the same window. The problem is that I disabled the option "show editor toolbar" so I can't split the window anymore without using the mouse. I would like to have on one side my sourcecode and on the other side my preview, and this is what I would like todo with a shortcut. Type Ctrl + Alt + Whatever, should split the window, then I can navigate to the other view and type Ctrl + Alt + Page Up/Down to take the preview. I created a ticket here: https://github.com/madflow/flow-netbeans-markdown/issues/61#issuecomment-59777381 and you can see, that the dev means that this should be a default functionality, to split a window with a shortcut and to show the preview via navigation or to split the window and show the preview with a shortcut. If there is a preview or similar thing available. And yes I go with this opinion. Regards Chris
I'm working on a plugin to handle this poblem: https://github.com/Chris2011/NbQuickSplit
I think I will implement it as default into the NetBeans source :)
As a patch or so. Makes much more sense.
Deleted my plugin repo to create a plugin for this and changed it directly in the core code of netbeans and made a pull request: https://github.com/emilianbold/netbeans-releases/pull/2
Created attachment 163749 [details] Patch for the logic I added the patch for the Pull Request: https://github.com/emilianbold/netbeans-releases/pull/2
I tried the patch today but it didn't apply correctly. Can you please attach a fresh patch for the recent trunk sources?
Sure, I can. Maybe at the weekend or so. Thx for the try.
Created attachment 164355 [details] NEW patch for splitting doc. A bit late but here is the patch.
Applying the path failed again: applying patch: /Users/stan/Downloads/docSplit.patch --- Successfully Patched --- /Users/stan/hg/main-silver/core.multiview/src/org/netbeans/core/multiview/SplitDocumentAction.java /Users/stan/hg/main-silver/core.multiview/src/org/netbeans/core/multiview/SplitDocumentHorizontallyAction.java /Users/stan/hg/main-silver/core.multiview/src/org/netbeans/core/multiview/SplitDocumentAction.java /Users/stan/hg/main-silver/core.multiview/src/org/netbeans/core/multiview/SplitDocumentHorizontallyAction.java --- Failed --- /Users/stan/hg/main-silver/core.multiview/src/org/netbeans/core/multiview/SplitAction.java (Cannot apply hunk @@ 11 ) /Users/stan/hg/main-silver/core.multiview/src/org/netbeans/core/multiview/SplitDocumentVerticallyAction.java (Index: 0, Size: 0 ) /Users/stan/hg/main-silver/core.multiview/src/org/netbeans/core/multiview/SplitAction.java (Cannot apply hunk @@ 7 ) /Users/stan/hg/main-silver/core.multiview/src/org/netbeans/core/multiview/ClearSplitAction.java (Index: 0, Size: 0 ) /Users/stan/hg/main-silver/core.multiview/src/org/netbeans/core/multiview/SplitAction.java (Cannot apply hunk @@ 24 ) /Users/stan/hg/main-silver/core.multiview/src/org/netbeans/core/multiview/SplitDocumentVerticallyAction.java (Index: 59, Size: 0 )
Created attachment 164496 [details] Clean new patch So now here is a brand new patch. Updated the master branch from the synched repo of emilian bold: https://github.com/emilianbold/netbeans-releases Created a new branch (locally) to copy 1 by 1 the feature again. Created the patch. Hope everything is fine now.
Still problems here?
I will close it, because it will handled now at the JIRA board: https://issues.apache.org/jira/browse/NETBEANS-59. Please feel free to change the state of the ticket.