I was pondering coding something like EditBox myself - but here it is and working quite good.
But the default algorithm creates way too many boxes for me - I like to format my Source-Code with blank lines between logical groups and with the default settings a simple class with some methods has already 3-4 layers of boxes.
So I modified the JAVA algorithm so it only identifies Java-Blocks (opening and closing {} ) as blocks and only marks them, if they have at least 5 Lines. So all small else{return;} blocks and similar will not be marked as an individual block.
I also tweaked the rebuild/repaint algorithm, since I find the mouse-hover highlighting makes the IDE kind of slow - so now only when you enable the "on move" option it will do that - otherwise it only repaints on changes!
Wow, great!
I'm going to look at it and test.
Expect some feedback after weekend.
Regards
Piotr
On 12/5/2013 11:37, Wock wrote:
Hi!
I was pondering coding something like EditBox myself - but here it is
and working quite good.
But the default algorithm creates way too many boxes for me - I like
to format my Source-Code with blank lines between logical groups and
with the default settings a simple class with some methods has already
3-4 layers of boxes.
So I modified the JAVA algorithm so it only identifies Java-Blocks
(opening and closing {} ) as blocks and only marks them, if they have
at least 5 Lines. So all small else{return;} blocks and similar will
not be marked as an individual block.
I also tweaked the rebuild/repaint algorithm, since I find the
mouse-hover highlighting makes the IDE kind of slow - so now only when
you enable the "on move" option it will do that - otherwise it only
repaints on changes!
And I made an update - some bugfixes and performance tweaking for the Java-Version
And Since I'm currently heavy working with PERL and I found the best Code Editor to be Eclipse with EPIC (Perl Critic is integrated)
I wrote another Parser for EditBox so it works with Perl-Syntax (Although Perl RegEx are a pain in the ass - who defines something like x =~ ?...?;) But it works good with all commonly used Quotelike Operators and HEREDOC..
I'm testing/using your first version since a few days. No problems so
far (elicpse 4.2.2, windows7) . My suggestion is to define new builder
with your changes (e.g. JavaBlocks). I added you to project members, let
me know if any problems with commit. Are you going to make a branch -
well putting code into trunk is also fine but it would be good to let me
review changes first.
Let me know what version of eclipse are you testing and OS. I remember
there are differences with paint/scrolling behaviour on windows and
linux - so I was trying to balance implementation to work on both systems.
It is great to see new input. I'd like to publish everything with all
credits.
Regards
Piotr
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just made an account to see if there was a way to just get methods in the box for JAVA,
is this the solution for it? I'd like to keep the rainbow colors too!
EDIT: GOT IT !!! picked onclick, reset the background in my devstyle theme to black, and then had the EDITBOX to just show a line drop down instead of a whole box. Lovin it!
Last edit: sourceforger 2018-08-04
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
I was pondering coding something like EditBox myself - but here it is and working quite good.
But the default algorithm creates way too many boxes for me - I like to format my Source-Code with blank lines between logical groups and with the default settings a simple class with some methods has already 3-4 layers of boxes.
So I modified the JAVA algorithm so it only identifies Java-Blocks (opening and closing {} ) as blocks and only marks them, if they have at least 5 Lines. So all small else{return;} blocks and similar will not be marked as an individual block.
I also tweaked the rebuild/repaint algorithm, since I find the mouse-hover highlighting makes the IDE kind of slow - so now only when you enable the "on move" option it will do that - otherwise it only repaints on changes!
You can download my modified version on Skydrive: http://1drv.ms/1gOGulO (update 0.29)
(Be sure to set your java-Theme to use the JAVA builder, not Text or Markup!!!)
My Theme:
Last edit: Wock 2014-05-21
Wow, great!
I'm going to look at it and test.
Expect some feedback after weekend.
Regards
Piotr
On 12/5/2013 11:37, Wock wrote:
I included this theme in the latest version 0.0.23.
Regards Piotr
Please Comment if you try it!!!
And I made an update - some bugfixes and performance tweaking for the Java-Version
And Since I'm currently heavy working with PERL and I found the best Code Editor to be Eclipse with EPIC (Perl Critic is integrated)
I wrote another Parser for EditBox so it works with Perl-Syntax (Although Perl RegEx are a pain in the ass - who defines something like x =~ ?...?;) But it works good with all commonly used Quotelike Operators and HEREDOC..
If you want to try it: http://sdrv.ms/1aEzRiW
Comments highly appreciated...
@Piotr, if you can give me access to the Editbox SVN I could also update the changes I made - you are also free to provide this version on you page.
Hi Wock
I'm testing/using your first version since a few days. No problems so
far (elicpse 4.2.2, windows7) . My suggestion is to define new builder
with your changes (e.g. JavaBlocks). I added you to project members, let
me know if any problems with commit. Are you going to make a branch -
well putting code into trunk is also fine but it would be good to let me
review changes first.
Let me know what version of eclipse are you testing and OS. I remember
there are differences with paint/scrolling behaviour on windows and
linux - so I was trying to balance implementation to work on both systems.
It is great to see new input. I'd like to publish everything with all
credits.
Regards
Piotr
I just made an account to see if there was a way to just get methods in the box for JAVA,
is this the solution for it? I'd like to keep the rainbow colors too!
EDIT: GOT IT !!! picked onclick, reset the background in my devstyle theme to black, and then had the EDITBOX to just show a line drop down instead of a whole box. Lovin it!
Last edit: sourceforger 2018-08-04
Thanks!
Yes, you can also change color settings on each level separately - on preferece dbclick on 'level n'. See for example Galasbey theme.
Regards
Piotr