Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #3761

Re: This is cute.

From Tom Anderson <twic@urchin.earth.li>
Newsgroups comp.lang.java.programmer
Subject Re: This is cute.
Date 2011-05-07 13:00 +0100
Organization Stack Usenet News Service
Message-ID <alpine.DEB.2.00.1105071256240.28763@urchin.earth.li> (permalink)
References <iq2asq$uli$1@dont-email.me> <iq2d1f$188$1@dont-email.me> <iq2s2d$rur$1@dont-email.me> <iq2vn2$9a2$1@news.albasani.net> <iq3476$rgr$1@dont-email.me>

Show all headers | View raw


On Sat, 7 May 2011, Susan Calvin wrote:

> On Sat, 07 May 2011 04:26:11 -0400, Lew wrote:
>
>> I hate to tell you this, but the code DOES wrap in the NetBeans editor, 
>> at least since NB 3.  Sometimes you have to hit the Alt-Shift-F 
>> keychord to format the source is all.

That's called a 'hard wrap'.

>> Fortunately it works the same as Eclipse. :-(
>
> Eh what? You can manually reformat source, but it doesn't seem to break 
> long lines when you do so, and if you go typing past the little red line 
> it just keeps going, scrolling horizontally.

What's lacking there is called a 'soft wrap'.

AFAIK, Eclipse doesn't soft-wrap code. I don't think it soft-wraps 
anything, actually. Soft wrapping is the norm in word processors, common 
in text editors, and very rare in code editors. I suspect the reasons for 
that are more cultural than practical.

I think i'd quite like soft wrapping in some situations, such editing 
large XML files, and for comments in code - in fact, if an IDE could 
soft-wrap block comments but nothing else, that would be superb.

> Besides, why would they put "Word Wrap in Editor" in a new-features list 
> for version 7.0 if that feature wasn't actually new with that version?

Maybe they have British politicians writing the release notes. They don't 
seem to see any problem with re-announcing an old policy as if it was 
brand new.

tom

-- 
Caps lock is like cruise control for cool.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

This is cute. Susan Calvin <s.calvin@usr.invalid> - 2011-05-07 02:30 +0000
  Re: This is cute. markspace <-@.> - 2011-05-06 20:07 -0700
    Re: This is cute. Susan Calvin <s.calvin@usr.invalid> - 2011-05-07 07:23 +0000
      Re: This is cute. Lew <noone@lewscanon.com> - 2011-05-07 04:26 -0400
        Re: This is cute. Susan Calvin <s.calvin@usr.invalid> - 2011-05-07 09:43 +0000
          Re: This is cute. Tom Anderson <twic@urchin.earth.li> - 2011-05-07 13:00 +0100
          Re: This is cute. Lew <noone@lewscanon.com> - 2011-05-07 08:01 -0400
            Re: This is cute. jebblue <n@n.nnn> - 2011-05-07 12:56 -0500

csiph-web