NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
vsitnikov
Joined: 01 Nov 2011 Posts: 9
|
Posted: Sat Dec 24, 2011 5:12 pm Post subject: Reusing Netbeans editor |
|
|
Hi all
I'm developing an application on top of Netbeans platform and I'd like that my application has such cool text editor as Netbeans has. How could I get this cool editor in my application? All things related to parsing describe how to add new language support to Netbeans editor for exampe this tutorial http://wiki.netbeans.org/How_to_create_support_for_a_new_language. But they don't explain how to reuse that wonderful component which treats all interesting things such as error highlighting, code folding, brace matching etc. in another application built on top of Netbeans platform. I've already grasped that Parsing API is the bridge between my language parser and the rest of IDE, JEditorPane is that component which provides editing feature and syntax coloring feature but how could I supply the rest of parsing stuff? |
|
| Back to top |
|
 |
Segman
Joined: 01 Jun 2012 Posts: 9
|
Posted: Fri Jun 01, 2012 2:40 pm Post subject: |
|
|
Hi,
I am encountering the same situation, I need to use netbean editor into a Swing application, without being completly based on Netbeans Platform. I just want to take some parts of Netbeans.
I've seen a standalone netbeans editor based on Netbeans 5.5 : http://www.antonioshome.net/kitchen/netbeans/nbms-standalone.php
I tried to port it to Netbeans 7.1, but some classes seem to disapppear/change since 5.5 and it can't be launch.
I googled a lot, but I can't find how to reuse netbeans editor in a standalone editor.
Thus, I am wondering if it's possible.
Some ideas ? |
|
| Back to top |
|
 |
emi
Joined: 14 Aug 2009 Posts: 151
|
Posted: Mon Jun 04, 2012 10:57 pm Post subject: [platform-dev] Re: Reusing Netbeans editor |
|
|
| @Segman: |
|
| Back to top |
|
 |
Segman
Joined: 01 Jun 2012 Posts: 9
|
Posted: Thu Jun 07, 2012 9:23 am Post subject: |
|
|
| Quote: | @Segman: This is seen as too low priority for Oracle so it's not supported anymore: see bug #113326 from 5(!) years ago. Anything is possible if you invest enough time/money into it.
@vsitnikov: If you are developing a NetBeans Platform app and you want to use the editor then it shouldn't be that hard. http://enclojure.org/ is an example or a dedicated IDE built on top of NetBeans Platform/IDE. Right now I see they just distribute the nbm but long ago I think they distributed the whole IDE.
--emi |
Ok, thank you for your reply, things are clear ! |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|