From: William M. S. <wm...@ig...> - 2002-12-30 06:44:54
|
Hi. I'm a new JEdit user (4.0.3), but haven't been able to get one of the features that really interested me to work properly: soft wrap on source code. Basically, I feel that I've wasted way to much of my time shuffling around carriage returns when I add parameters to function calls or rename variables to new longer name. Soft wrap seems a perfect solution; I can just type the code and let the editor worry about where to put the carriage return. But JEdit seems to always wrap my code so that each line is indented the same as the first - that is, when I type a line, I get something like: foo = funcName(arg1, arg2, arg3, arg4); This seems bizarre to me. If I add a hard carriage return after the arg2, any of the java style formatters (JavaStyle, etc.), know to make it look like: foo = funcName(arg1, arg2, arg3, arg4); which is much more readable. Since there are plugins that know how to indent a wrapped line of java, is there a way to make the soft wrap feature use them when it wraps? I can't find any mention of how to do this in the help or FAQ or mailing list archives! If there isn't currently any way to do this, is there anybody out there besides me who would really like to see this work properly? Or is everybody else happy with always typing and adjusting the linebreaks by hand? Thanks for any advice people have. JEdit is nifty as is, if only it could do this, then it would be just about perfect...well, if only it could do this nad it got rid of those @!*#@!$ modal windows then it would be perfect. The only thing that bothers me more about JEdit than adjusting CR's by hand is when I want to scroll my text buffer to look at something but I can't because I haven't yet closed some modal dialogue. |