Schewe, Jon  (MN65) writes:
 > > -----Original Message-----
 > > From: Paul Kinnucan [mailto:[EMAIL PROTECTED]]
 > > Sent: Wednesday, October 24, 2001 3:51 PM
 > > To: Schewe, Jon (MN65)
 > > Cc: 'Paul Kinnucan'; ABAK Systèmes; [EMAIL PROTECTED]
 > > Subject: RE: Character _ is a word constituent in JDE
 > > 
 > > 
 > > Schewe, Jon  (MN65) writes:
 > >  > Easy.  Put this chunk of text in C mode and JDE mode
 > >  > 
 > >  > void method() {
 > >  >   int var_bar;
 > >  > }
 > >  > 
 > >  > Now position the cursor on the ; and hit meta-b.  In 
 > > c-mode the cursor jumps
 > >  > to the b, in jde-mode it jumps to the v.  I'm sure there 
 > > are other places
 > >  > this comes into play, but this is the most annoying one about JDE.
 > >  > 
 > > 
 > > I think the jde-mode interpretation is correct and 
 > > preferable. The word is var_bar not bar. However, I will add 
 > > a customization variable to let people who care deeply about 
 > > this issue to choose the interpretation the JDE uses. Of 
 > > course, if you choose the c-mode interpretation, you will not 
 > > get syntax highlighting for names that begin with 
 > > underscores, which is, if I recall correctly, the original 
 > 
 > Why not?  c-mode does it.
 > void method() {
 >   int _bar;
 >   int bar;
 > }
 > 
 > _bar is highlighted as a varible in c-mode.
 
Then I don't recall correctly. Anyway there was a good reason for doing this and it 
had to do with names starting with underscores.

- Paul

Reply via email to