NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
mkanada
Joined: 19 Mar 2012 Posts: 4
|
Posted: Tue Mar 20, 2012 1:24 pm Post subject: Standalone App with Indent API |
|
|
Hi all.
I want one standalone indent tool based in Netbeans awesome indentation engine. I'm trying to create it, but it works only with small files. For some reason, after some size, some blanks are inserted incorrectly in the output.
Could someone help me?
My experimental project can be donwload from here:
http://ubuntuone.com/40qS9skPU3Rjtjij8C0dTh
Thanks. |
|
| Back to top |
|
 |
emi
Joined: 14 Aug 2009 Posts: 154
|
Posted: Wed Mar 21, 2012 8:33 am Post subject: [platform-dev] Re: Standalone App with Indent API |
|
|
It would be nicer if you would present your project in an easier to use way.
The way I see it (after removing the wrong hardcoded working directory) it seems to run and produce an output. What exactly is wrong? I'm not going to hunt down the output and see if the blanks are perfect or not.
Make a testcase and show it failing.
Anyhow, what you are trying to do is quite non-standard so you are going to have a hard time getting help because nobody is using the code this way.
You are not using the Platform, you are just using modules as JAR dependencies and a simple MimeDataProvider to bootstrap the indenter somehow. There are a lot of things that could be crashing there.
It's a nice hack but I wonder if it wouldn't be easier to use |
|
| Back to top |
|
 |
mkanada
Joined: 19 Mar 2012 Posts: 4
|
Posted: Wed Mar 21, 2012 12:34 pm Post subject: Yes, non standard. |
|
|
Thanks emi for your replay.
You are right. It's a lot non starndard. Maybe what I'm trying to create is not possible. What I thought was use the Netbeans code without modify anything that already exists there.
I'm very busy now with another tasks. I'll investigate more this problem later.
Thanks. |
|
| 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
|
|