Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Source C editor behavior
Source C editor behavior [message #43854] Sun, 06 October 2002 00:52 Go to next message
Eclipse UserFriend
Originally posted by: mgareil.hotmail.com

Hi,
I just downloaded and installed the latest version of CDT (build 20021002)
on the eclipse 2.01 (build 20020920) on a Windows XP Pro.
I could create a new C/C++ project and started to write new source C when at
the second line of code, the C editor started to write right to left instead
of left to write.
when I typed printf I got ftnirp. I cleared all the text from the editor and
started again. For the very first line of C, the editor behaves normally nut
not for the following lines I tried to write.
Is it a special command to insert a new line in this C source file editor ?
Any idea on how to get a normal behavior for the whole source file ?
____________________________________________________________ ______
Michel GAREIL ICQ#: 12644559 Current ICQ status: + More ways to contact me i
See more about me:
____________________________________________________________ ______
Re: Source C editor behavior [message #44013 is a reply to message #43854] Mon, 07 October 2002 11:11 Go to previous messageGo to next message
Eclipse UserFriend
Hi Michel,

I am very sorry to hear of your editor troubles. These types of things are
*very* frustrating. Unfortunately, I have not heard of any problems like
this.
There are no specfic commands to insert text in the editor.

I expect that you have already tried the usual (shutdown and restarted
Eclipse, checked the logfile)

Could you delete or rename your log file and restart Eclipse. Attempt to
edit again and see if there are any entries. If there are please post them
here.

Thanks

-Judy


"Michel GAREIL" <mgareil@hotmail.com> wrote in message
news:anoe8h$nc$1@rogue.oti.com...
| Hi,
| I just downloaded and installed the latest version of CDT (build 20021002)
| on the eclipse 2.01 (build 20020920) on a Windows XP Pro.
| I could create a new C/C++ project and started to write new source C when
at
| the second line of code, the C editor started to write right to left
instead
| of left to write.
| when I typed printf I got ftnirp. I cleared all the text from the editor
and
| started again. For the very first line of C, the editor behaves normally
nut
| not for the following lines I tried to write.
| Is it a special command to insert a new line in this C source file editor
?
| Any idea on how to get a normal behavior for the whole source file ?
| ____________________________________________________________ ______
| Michel GAREIL ICQ#: 12644559 Current ICQ status: + More ways to contact me
i
| See more about me:
| ____________________________________________________________ ______
|
|
Re: Source C editor behavior [message #44044 is a reply to message #44013] Mon, 07 October 2002 22:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: perlwhiz.yahoo.com

On Mon, 7 Oct 2002 11:11:47 -0400, "Judy N. Green" <jgreen@qnx.com>
wrote:

>I am very sorry to hear of your editor troubles. These types of things are
>*very* frustrating. Unfortunately, I have not heard of any problems like
>this.

Just FYI, I installed Eclipse on my W2K machine last night, and CDT
about 15 minutes ago, and I'm getting the same behavior as Michel.

I'll try to delete the log file as you suggest.

Dave
Re: Source C editor behavior [message #44075 is a reply to message #44044] Tue, 08 October 2002 07:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mgareil.hotmail.com

Hi, July
Of course I tried to shutdown and restart eclipse ... but also I reinstalled
from scratch eclipse to make sure there is no remanent file from an
incorrect installation.
For the log file, I can't find any log, could you tell me more on where I
can find such file ?
Thank's for your help


"Dave Terry" <perlwhiz@yahoo.com> wrote in message
news:bmf4qukrv59hj8b114h926ke25fmjonfuj@4ax.com...
> On Mon, 7 Oct 2002 11:11:47 -0400, "Judy N. Green" <jgreen@qnx.com>
> wrote:
>
> >I am very sorry to hear of your editor troubles. These types of things
are
> >*very* frustrating. Unfortunately, I have not heard of any problems like
> >this.
>
> Just FYI, I installed Eclipse on my W2K machine last night, and CDT
> about 15 minutes ago, and I'm getting the same behavior as Michel.
>
> I'll try to delete the log file as you suggest.
>
> Dave
>
Re: Source C editor behavior [message #44104 is a reply to message #44075] Tue, 08 October 2002 10:10 Go to previous messageGo to next message
Eclipse UserFriend
"Michel GAREIL" <mgareil@hotmail.com> wrote in message
news:anuf0i$vso$1@rogue.oti.com...
| Hi, Judy
| Of course I tried to shutdown and restart eclipse ... but also I
reinstalled
| from scratch eclipse to make sure there is no remanent file from an
| incorrect installation.
| For the log file, I can't find any log, could you tell me more on where I
| can find such file ?

The log file is found in your workspace/.metadata/.log

Thanks for bringing this to our attention.

-Judy

| Thank's for your help
|
|
| "Dave Terry" <perlwhiz@yahoo.com> wrote in message
| news:bmf4qukrv59hj8b114h926ke25fmjonfuj@4ax.com...
| > On Mon, 7 Oct 2002 11:11:47 -0400, "Judy N. Green" <jgreen@qnx.com>
| > wrote:
| >
| > >I am very sorry to hear of your editor troubles. These types of things
| are
| > >*very* frustrating. Unfortunately, I have not heard of any problems
like
| > >this.
| >
| > Just FYI, I installed Eclipse on my W2K machine last night, and CDT
| > about 15 minutes ago, and I'm getting the same behavior as Michel.
| >
| > I'll try to delete the log file as you suggest.
| >
| > Dave
| >
|
|
Re: Source C editor behavior [message #44134 is a reply to message #44075] Tue, 08 October 2002 10:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: perlwhiz.yahoo.com

Michel GAREIL wrote:

> Of course I tried to shutdown and restart eclipse ... but also I reinstalled
> from scratch eclipse to make sure there is no remanent file from an
> incorrect installation.

For me, it appears to only be happening with the 09/20 build of Eclipse.
At work (also on W2K), I had downloaded the 08/29 build and installed CDT,
and it works fine.

If I have time today, I'll try to download a newer build and see how that
goes.

Dave
Re: Source C editor behavior [message #44195 is a reply to message #44134] Tue, 08 October 2002 12:45 Go to previous messageGo to next message
Eclipse UserFriend
I have noticed some instability with the editors in 09/20 build of Eclipse.
Since the CDT editors directly extend the JDT editor, we often suffer from
the same issues.
Have you noticed editor problems being reported in the eclipse.tools
newsgroup?


"Dave Terry" <perlwhiz@yahoo.com> wrote in message
news:anuqmg$920$1@rogue.oti.com...
| Michel GAREIL wrote:
|
| For me, it appears to only be happening with the 09/20 build of Eclipse.
| At work (also on W2K), I had downloaded the 08/29 build and installed CDT,
| and it works fine.
|
| If I have time today, I'll try to download a newer build and see how that
| goes.
|

Thanks for taking the time to check this out.

-Judy

| Dave
|
|
Re: Source C editor behavior [message #44256 is a reply to message #44195] Tue, 08 October 2002 12:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mgareil.hotmail.com

Hi, Judy
I catched the .log file I have many ArrayIndewOutOfBoundExceptions like the
one below :
!SESSION oct. 06, 2002
06:32:16.124 --------------------------------------------
java.version=1.4.1
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
Command-line arguments: -os win32 -ws win32 -arch x86 -data
c:\mgeclipse -install file:C:/eclipse/
!ENTRY org.eclipse.ui 4 4 oct. 06, 2002 06:32:16.134
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 oct. 06, 2002 06:32:16.164
!MESSAGE 1000
!STACK 0
java.lang.ArrayIndexOutOfBoundsException: 1000
at
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
ntScanner.java:105)
at
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
ionScanner.java:91)
at
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
itioner.java:303)
at
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
ument.java:509)
at
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
..java:531)
at
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:841)
at
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
:162)
at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5446)
at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6287)
at org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2470)
at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 4760)
at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:4787)
at org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4551)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1622)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1368)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1256)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1239)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
a:775)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
at org.eclipse.core.launcher.Main.run(Main.java:703)
at org.eclipse.core.launcher.Main.main(Main.java:539)

Regards
"Judy N. Green" <jgreen@qnx.com> wrote in message
news:anv0c3$d92$1@rogue.oti.com...
>
> I have noticed some instability with the editors in 09/20 build of
Eclipse.
> Since the CDT editors directly extend the JDT editor, we often suffer from
> the same issues.
> Have you noticed editor problems being reported in the eclipse.tools
> newsgroup?
>
>
> "Dave Terry" <perlwhiz@yahoo.com> wrote in message
> news:anuqmg$920$1@rogue.oti.com...
> | Michel GAREIL wrote:
> |
> | For me, it appears to only be happening with the 09/20 build of Eclipse.
> | At work (also on W2K), I had downloaded the 08/29 build and installed
CDT,
> | and it works fine.
> |
> | If I have time today, I'll try to download a newer build and see how
that
> | goes.
> |
>
> Thanks for taking the time to check this out.
>
> -Judy
>
> | Dave
> |
> |
>
>
Re: Source C editor behavior [message #44286 is a reply to message #44195] Wed, 09 October 2002 00:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: perlwhiz.yahoo.com

On Tue, 8 Oct 2002 12:45:44 -0400, "Judy N. Green" <jgreen@qnx.com>
wrote:

>
>I have noticed some instability with the editors in 09/20 build of Eclipse.
>Since the CDT editors directly extend the JDT editor, we often suffer from
>the same issues.

Now that I'm back home with my 9/20 build, I notice that it doesn't
happen in a Java Perspective. That is, I can write, build and run a
"Hello World" type program with no problem in Java, but not C++.

Could I have installed it incorrectly? I just unzipped the CDT zipfile
into my Eclipse directory. When Eclipse started, it asked if I wanted
to execute the changes, to which I said "yes" and it restarted the
program. (I didn't see any errors.) Is that the standard procedure?


>Have you noticed editor problems being reported in the eclipse.tools
>newsgroup?

I haven't looked there yet, but I'll be checking it out tomorrow.
Hopefully Michel posting his log file will help as well.

Thanks,
Dave
Re: Source C editor behavior [message #44348 is a reply to message #44256] Wed, 09 October 2002 10:56 Go to previous messageGo to next message
Eclipse UserFriend
Hi Michel,

thanks for the log file. I think we have some idea of what is going on, but
would you be able to provide a testcase that you use to reproduce it (e.g. a
file that you open and/or a particular sequence of keys)?

Regards,

Sebastien

"Michel GAREIL" <mgareil@hotmail.com> wrote in message
news:anv0rg$dhe$1@rogue.oti.com...
> Hi, Judy
> I catched the .log file I have many ArrayIndewOutOfBoundExceptions like
the
> one below :
> !SESSION oct. 06, 2002
> 06:32:16.124 --------------------------------------------
> java.version=1.4.1
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
> Command-line arguments: -os win32 -ws win32 -arch x86 -data
> c:\mgeclipse -install file:C:/eclipse/
> !ENTRY org.eclipse.ui 4 4 oct. 06, 2002 06:32:16.134
> !MESSAGE Unhandled exception caught in event loop.
> !ENTRY org.eclipse.ui 4 0 oct. 06, 2002 06:32:16.164
> !MESSAGE 1000
> !STACK 0
> java.lang.ArrayIndexOutOfBoundsException: 1000
> at
>
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
> ntScanner.java:105)
> at
>
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
> ionScanner.java:91)
> at
>
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
> itioner.java:303)
> at
>
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
> ument.java:509)
> at
>
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
> .java:531)
> at
> org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:841)
> at
>
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
> :162)
> at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5446)
> at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6287)
> at org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2470)
> at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 4760)
> at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:4787)
> at org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4551)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1622)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1368)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1256)
> at org.eclipse.ui.internal.Workbench.run(Workbench.java:1239)
> at
>
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
> a:775)
> at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> )
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> .java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
> at org.eclipse.core.launcher.Main.run(Main.java:703)
> at org.eclipse.core.launcher.Main.main(Main.java:539)
>
> Regards
> "Judy N. Green" <jgreen@qnx.com> wrote in message
> news:anv0c3$d92$1@rogue.oti.com...
> >
> > I have noticed some instability with the editors in 09/20 build of
> Eclipse.
> > Since the CDT editors directly extend the JDT editor, we often suffer
from
> > the same issues.
> > Have you noticed editor problems being reported in the eclipse.tools
> > newsgroup?
> >
> >
> > "Dave Terry" <perlwhiz@yahoo.com> wrote in message
> > news:anuqmg$920$1@rogue.oti.com...
> > | Michel GAREIL wrote:
> > |
> > | For me, it appears to only be happening with the 09/20 build of
Eclipse.
> > | At work (also on W2K), I had downloaded the 08/29 build and installed
> CDT,
> > | and it works fine.
> > |
> > | If I have time today, I'll try to download a newer build and see how
> that
> > | goes.
> > |
> >
> > Thanks for taking the time to check this out.
> >
> > -Judy
> >
> > | Dave
> > |
> > |
> >
> >
>
>
Re: Source C editor behavior [message #44379 is a reply to message #44348] Wed, 09 October 2002 10:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: perlwhiz.yahoo.com

Sebastien Marineau wrote:

> would you be able to provide a testcase that you use to reproduce it (e.g. a
> file that you open and/or a particular sequence of keys)?

Hi Sebastien,

Although your message is addresses to Michel, I can tell you that the only
thing I have to do to cause the problem is to move from the first line of
the editor to the second.

That is, if I open a new text file and start typing, everything on the
first line is okay. Then, I hit Enter to move the cursor to the second
line, and everything I type from the first character onward is displayed
right-to-left, no matter what I do.

Dave
Re: Source C editor behavior [message #44469 is a reply to message #44286] Wed, 09 October 2002 16:00 Go to previous messageGo to next message
Eclipse UserFriend
"Dave Terry" <perlwhiz@yahoo.com> wrote in message
news:5ac7qucv2dlp7vr6g1knnqn89ebrcfbmor@4ax.com...
| On Tue, 8 Oct 2002 12:45:44 -0400, "Judy N. Green" <jgreen@qnx.com>
| wrote:
|
| >
| >I have noticed some instability with the editors in 09/20 build of
Eclipse.
| >Since the CDT editors directly extend the JDT editor, we often suffer
from
| >the same issues.
|
| Now that I'm back home with my 9/20 build, I notice that it doesn't
| happen in a Java Perspective. That is, I can write, build and run a
| "Hello World" type program with no problem in Java, but not C++.
|
| Could I have installed it incorrectly? I just unzipped the CDT zipfile
| into my Eclipse directory. When Eclipse started, it asked if I wanted
| to execute the changes, to which I said "yes" and it restarted the
| program. (I didn't see any errors.) Is that the standard procedure?
|
|

It sounds like you have it installed correctly.

I'll look into this today.

Thanks
-Judy

| >Have you noticed editor problems being reported in the eclipse.tools
| >newsgroup?
|
| I haven't looked there yet, but I'll be checking it out tomorrow.
| Hopefully Michel posting his log file will help as well.
|
| Thanks,
| Dave
|
Re: Source C editor behavior [message #44493 is a reply to message #44379] Wed, 09 October 2002 16:52 Go to previous messageGo to next message
Eclipse UserFriend
Hi folks,

I just downloaded and installed (build 20021002) of CDT)
on a clean eclipse 2.01 (build 20020920) on a Windows 2K

I do not get this problem at all with a hello world type example.

Can you forward a copy of what you were trying to type.

The exception is in code that will throw an array index out of bounds but I
need to know what the data was that caused it.

Thanks

-Judy

"Dave Terry" <perlwhiz@yahoo.com> wrote in message
news:ao1dcr$qt3$1@rogue.oti.com...
| Sebastien Marineau wrote:
|
| > would you be able to provide a testcase that you use to reproduce it
(e.g. a
| > file that you open and/or a particular sequence of keys)?
|
| Hi Sebastien,
|
| Although your message is addresses to Michel, I can tell you that the only
| thing I have to do to cause the problem is to move from the first line of
| the editor to the second.
|
| That is, if I open a new text file and start typing, everything on the
| first line is okay. Then, I hit Enter to move the cursor to the second
| line, and everything I type from the first character onward is displayed
| right-to-left, no matter what I do.
|
| Dave
|
|
Re: Source C editor behavior [message #44617 is a reply to message #44493] Thu, 10 October 2002 12:56 Go to previous messageGo to next message
Eclipse UserFriend
Alright then ...
We have finally reproduced this problem!

It only happens with the eclipse 2.01 (build 20020920) or newer.
If you roll back to an older version of Eclipse ... until we post a patch ..
you will still be able to work with the CDT.

Logged as Bug # 24648 against the CDT UI

-Judy


"Judy N. Green" <jgreen@qnx.com> wrote in message
news:ao235j$aau$1@rogue.oti.com...
| Hi folks,
|
| I just downloaded and installed (build 20021002) of CDT)
| on a clean eclipse 2.01 (build 20020920) on a Windows 2K
|
| I do not get this problem at all with a hello world type example.
|
| Can you forward a copy of what you were trying to type.
|
| The exception is in code that will throw an array index out of bounds but
I
| need to know what the data was that caused it.
|
| Thanks
|
| -Judy
|
| "Dave Terry" <perlwhiz@yahoo.com> wrote in message
| news:ao1dcr$qt3$1@rogue.oti.com...
| | Sebastien Marineau wrote:
| |
| | > would you be able to provide a testcase that you use to reproduce it
| (e.g. a
| | > file that you open and/or a particular sequence of keys)?
| |
| | Hi Sebastien,
| |
| | Although your message is addresses to Michel, I can tell you that the
only
| | thing I have to do to cause the problem is to move from the first line
of
| | the editor to the second.
| |
| | That is, if I open a new text file and start typing, everything on the
| | first line is okay. Then, I hit Enter to move the cursor to the second
| | line, and everything I type from the first character onward is displayed
| | right-to-left, no matter what I do.
| |
| | Dave
| |
| |
|
|
Re: Source C editor behavior [message #44647 is a reply to message #44617] Thu, 10 October 2002 12:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: perlwhiz.yahoo.com

> Alright then ...
> We have finally reproduced this problem!

Great!

I'm wondering why it didn't happen for you yesterday, though (when you
posted about installing the 20020920 build on W2K, and couldn't get that
behavior). Did you have to do anything special to make it happen?
Re: Source C editor behavior [message #44678 is a reply to message #44647] Thu, 10 October 2002 13:36 Go to previous messageGo to next message
Eclipse UserFriend
After I double checked, I realized that I had used a different Eclipse
build. I had double clicked on the wrong SDK :(

I just checked used Eclipse 20020920 build on W2K with the latest CDT build
200210101131 and I do see the same behaviour.

Something has changed as of Eclipse build 20020920 that is breaking our CDT
builds.

Hummmm ... very interesting.
If you create a project and attempt to edit a new file you get the described
behaviour. If you reopen Eclipse you can edit the previously created file
with no obvious problems. You still get the aberant behaviour on any *newly*
created files.

Thanks ... looking into it ....

-Judy


"Dave Terry" <perlwhiz@yahoo.com> wrote in message
news:ao4a4o$8bh$1@rogue.oti.com...
| > Alright then ...
| > We have finally reproduced this problem!
|
| Great!
|
| I'm wondering why it didn't happen for you yesterday, though (when you
| posted about installing the 20020920 build on W2K, and couldn't get that
| behavior). Did you have to do anything special to make it happen?
|
|
|
Re: Source C editor behavior [message #44708 is a reply to message #44678] Thu, 10 October 2002 13:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: perlwhiz.yahoo.com

Judy N. Green wrote:

> If you reopen Eclipse you can edit the previously created file
> with no obvious problems. You still get the aberant behaviour on any *newly*
> created files.

Not so in my case. :-)

When I exit Eclipse and restart, I still get the same behavior when
editing the file that I created in my previous Eclipse session.
Re: Source C editor behavior [message #44728 is a reply to message #44708] Thu, 10 October 2002 15:21 Go to previous messageGo to next message
Eclipse UserFriend
A fix has been submitted and will be included in the next build.

-Judy

"Dave Terry" <perlwhiz@yahoo.com> wrote in message
news:ao4eqq$bhl$1@rogue.oti.com...
| Judy N. Green wrote:
|
| > If you reopen Eclipse you can edit the previously created file
| > with no obvious problems. You still get the aberant behaviour on any
*newly*
| > created files.
|
| Not so in my case. :-)
|
| When I exit Eclipse and restart, I still get the same behavior when
| editing the file that I created in my previous Eclipse session.
|
|
|
Re: Source C editor behavior [message #44791 is a reply to message #44728] Thu, 10 October 2002 17:11 Go to previous messageGo to next message
Eclipse UserFriend
Sorry to confuse this issue further, but...

Is the "2.01 (build 20020920)" that we're referring to the same as the 2.1.0 M1
stable build on eclipse.org's download page? I can't seem to find a 9/20 build
of 2.0.1 (which I'm assuming is the same as "2.01"), and the last CVS tag I can
find for 2.0.1 was "v20020911".

So, I installed the 2.0.1 release build (8/29) today under Win2k, and checked
out the latest CVS version of the CDT (most likely after the fix for bug #24648
had been committed). It appears to exhibit similar character-reversal behavior
to that described in this thread.

I then installed the M1 stable build (9/20, which I believe is version 2.1.0).
I again checked out the latest CVS version of the CDT, and it appears to have
solved the character-reversal problem.

Is the current CDT for 2.0.1 or 2.1.0? Is there a 20020920 build for 2.0.1? Am
I just off in left field?

I'm easily confused, so be gentle. :-)

Brian



Judy N. Green wrote:
> A fix has been submitted and will be included in the next build.
>
> -Judy
>
> "Dave Terry" <perlwhiz@yahoo.com> wrote in message
> news:ao4eqq$bhl$1@rogue.oti.com...
> | Judy N. Green wrote:
> |
> | > If you reopen Eclipse you can edit the previously created file
> | > with no obvious problems. You still get the aberant behaviour on any
> *newly*
> | > created files.
> |
> | Not so in my case. :-)
> |
> | When I exit Eclipse and restart, I still get the same behavior when
> | editing the file that I created in my previous Eclipse session.
> |
> |
> |
>
>
Re: Source C editor behavior [message #45198 is a reply to message #44791] Tue, 15 October 2002 12:53 Go to previous messageGo to next message
Eclipse UserFriend
HI Brian,

You are right on the money and not so confused after all.
Here is a copy of the emial I sent to the mailing list this morning.

The CDT team *officially* support the *Stable* Eclipse version Eclipse
2.0.1 - Aug 29, 2002

FYI

There have been changes in Eclipse UI between the Aug 29 build and the M1
build on 20 September, that have caused problems with our C editor.

The fix that was posted will only work with Eclipse newer than 20 September,
which we do not currently support. This fix will be rolled back today and
the PR re-opened until we move forward to Eclipse 2.0.1 when it is declared
stable.

In other words ...

Eclipse 2.0.1 build # < 13 September + original CDT editor code (no fix) ==
WORKS

Eclipse 2.0.1 build # > 20 September + patched CDT editor code == WORKS (but
will be rolled back)

NOTE!!!

Eclipse 2.0.1 build # < 13 September + patched CDT editor code == DOES NOT
WORK

Eclipse 2.0.1 build # > 20 September (M1) + original CDT editor code (no
fix) == DOES NOT WORK

DOES NOT WORK == backwards typing in C View editor as reported in the PR
against the M1 build with the older (unpatched) CDT code.

Sorry for the confuson that has ensued.

-Judy

Re: Source C editor behavior [message #45320 is a reply to message #45198] Tue, 15 October 2002 16:52 Go to previous messageGo to next message
Eclipse UserFriend
(aka, "how to bead a dead horse...")

Did you mean "2.1.0" for the (M1) version numbers sited below (e.g., the "> 20
September" builds?), or is M1 really a milestone release for 2.0.1 development?

Brian


Judy N. Green wrote:
> Eclipse 2.0.1 build # < 13 September + original CDT editor code (no fix) ==
> WORKS
>
> Eclipse 2.0.1 build # > 20 September + patched CDT editor code == WORKS (but
> will be rolled back)
>
> NOTE!!!
>
> Eclipse 2.0.1 build # < 13 September + patched CDT editor code == DOES NOT
> WORK
>
> Eclipse 2.0.1 build # > 20 September (M1) + original CDT editor code (no
> fix) == DOES NOT WORK
>
> DOES NOT WORK == backwards typing in C View editor as reported in the PR
> against the M1 build with the older (unpatched) CDT code.
Re: Source C editor behavior [message #45584 is a reply to message #45320] Thu, 17 October 2002 10:48 Go to previous messageGo to next message
Eclipse UserFriend
Hi Brian,

"Brian Moyle" <bmoyle@mvista.com> wrote in message
news:3DAC8025.1070000@mvista.com...
| (aka, "how to bead a dead horse...")
|
| Did you mean "2.1.0" for the (M1) version numbers sited below (e.g., the
"> 20
| September" builds?), or is M1 really a milestone release for 2.0.1
development?


The Eclipse M1 is dated 20 September and is listed as Stable Build on the
2.1 stream

Sorry for any confusion.

-Judy

|
| Brian
|
|
| Judy N. Green wrote:
| > Eclipse 2.0.1 build # < 13 September + original CDT editor code (no fix)
==
| > WORKS
| >
| > Eclipse 2.0.1 build # > 20 September + patched CDT editor code == WORKS
(but
| > will be rolled back)
| >
| > NOTE!!!
| >
| > Eclipse 2.0.1 build # < 13 September + patched CDT editor code == DOES
NOT
| > WORK
| >
| > Eclipse 2.0.1 build # > 20 September (M1) + original CDT editor code (no
| > fix) == DOES NOT WORK
| >
| > DOES NOT WORK == backwards typing in C View editor as reported in the PR
| > against the M1 build with the older (unpatched) CDT code.
|
|
Re: Source C editor behavior [message #45705 is a reply to message #45584] Thu, 17 October 2002 13:32 Go to previous messageGo to next message
Eclipse UserFriend
Thank you!

As mentioned in a previous message, I'm easily confused... so I just wanted to
make sure I'm on the right page.

Brian


Judy N. Green wrote:
> Hi Brian,
>
> "Brian Moyle" <bmoyle@mvista.com> wrote in message
> news:3DAC8025.1070000@mvista.com...
> | (aka, "how to bead a dead horse...")
> |
> | Did you mean "2.1.0" for the (M1) version numbers sited below (e.g., the
> "> 20
> | September" builds?), or is M1 really a milestone release for 2.0.1
> development?
>
>
> The Eclipse M1 is dated 20 September and is listed as Stable Build on the
> 2.1 stream
>
> Sorry for any confusion.
>
> -Judy
Re: Source C editor behavior [message #45734 is a reply to message #44013] Thu, 17 October 2002 18:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hongming.cs.utexas.edu

I also got this annoying behavior in my Eclipse after doing a find/replace
past the end of file. I tried to delete eclipse\workspace\.metadata\.log
and then restart Eclipse but that didn't solve the problem.

Yeh Hong-ming
Department of Computer Sciences
University of Texas at Austin

"Judy N. Green" <jgreen@qnx.com> wrote in message
news:ans6h2$n8q$1@rogue.oti.com...
> Hi Michel,
>
> I am very sorry to hear of your editor troubles. These types of things are
> *very* frustrating. Unfortunately, I have not heard of any problems like
> this.
> There are no specfic commands to insert text in the editor.
>
> I expect that you have already tried the usual (shutdown and restarted
> Eclipse, checked the logfile)
>
> Could you delete or rename your log file and restart Eclipse. Attempt to
> edit again and see if there are any entries. If there are please post them
> here.
>
> Thanks
>
> -Judy
>
>
> "Michel GAREIL" <mgareil@hotmail.com> wrote in message
> news:anoe8h$nc$1@rogue.oti.com...
> | Hi,
> | I just downloaded and installed the latest version of CDT (build
20021002)
> | on the eclipse 2.01 (build 20020920) on a Windows XP Pro.
> | I could create a new C/C++ project and started to write new source C
when
> at
> | the second line of code, the C editor started to write right to left
> instead
> | of left to write.
> | when I typed printf I got ftnirp. I cleared all the text from the editor
> and
> | started again. For the very first line of C, the editor behaves normally
> nut
> | not for the following lines I tried to write.
> | Is it a special command to insert a new line in this C source file
editor
> ?
> | Any idea on how to get a normal behavior for the whole source file ?
> | ____________________________________________________________ ______
> | Michel GAREIL ICQ#: 12644559 Current ICQ status: + More ways to contact
me
> i
> | See more about me:
> | ____________________________________________________________ ______
> |
> |
>
>
Re: Source C editor behavior [message #45854 is a reply to message #45734] Fri, 18 October 2002 11:34 Go to previous messageGo to next message
Eclipse UserFriend
Hi Yeh,

Which version of Eclipse were you using (build number) and which version of
the CDT?

Thanks

-Judy


"Yeh Hong-ming" <hongming@cs.utexas.edu> wrote in message
news:aoncgi$lts$1@rogue.oti.com...
| I also got this annoying behavior in my Eclipse after doing a find/replace
| past the end of file. I tried to delete eclipse\workspace\.metadata\.log
| and then restart Eclipse but that didn't solve the problem.
|
| Yeh Hong-ming
| Department of Computer Sciences
| University of Texas at Austin
|
| "Judy N. Green" <jgreen@qnx.com> wrote in message
| news:ans6h2$n8q$1@rogue.oti.com...
| > Hi Michel,
| >
| > I am very sorry to hear of your editor troubles. These types of things
are
| > *very* frustrating. Unfortunately, I have not heard of any problems like
| > this.
| > There are no specfic commands to insert text in the editor.
| >
| > I expect that you have already tried the usual (shutdown and restarted
| > Eclipse, checked the logfile)
| >
| > Could you delete or rename your log file and restart Eclipse. Attempt to
| > edit again and see if there are any entries. If there are please post
them
| > here.
| >
| > Thanks
| >
| > -Judy
| >
| >
| > "Michel GAREIL" <mgareil@hotmail.com> wrote in message
| > news:anoe8h$nc$1@rogue.oti.com...
| > | Hi,
| > | I just downloaded and installed the latest version of CDT (build
| 20021002)
| > | on the eclipse 2.01 (build 20020920) on a Windows XP Pro.
| > | I could create a new C/C++ project and started to write new source C
| when
| > at
| > | the second line of code, the C editor started to write right to left
| > instead
| > | of left to write.
| > | when I typed printf I got ftnirp. I cleared all the text from the
editor
| > and
| > | started again. For the very first line of C, the editor behaves
normally
| > nut
| > | not for the following lines I tried to write.
| > | Is it a special command to insert a new line in this C source file
| editor
| > ?
| > | Any idea on how to get a normal behavior for the whole source file ?
| > | ____________________________________________________________ ______
| > | Michel GAREIL ICQ#: 12644559 Current ICQ status: + More ways to
contact
| me
| > i
| > | See more about me:
| > | ____________________________________________________________ ______
| > |
| > |
| >
| >
|
|
Re: Source C editor behavior [message #47662 is a reply to message #43854] Mon, 28 October 2002 13:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hongming.cs.utexas.edu

I just tried Eclipse I20021023 with CDT F3-Candidate (2002/10/22),
Linux-Motif. It typed backwards.

Yeh Hong-ming
Department of Computer Sciences
The University of Texas at Austin
Re: Source C editor behavior [message #47691 is a reply to message #47662] Mon, 28 October 2002 14:57 Go to previous messageGo to next message
Eclipse UserFriend
Per Judy's comments dated 10/15/2002 in this same news thread:

"The CDT team *officially* support the *Stable* Eclipse version Eclipse
2.0.1 - Aug 29, 2002"

Try that release instead.

Brian

Yeh Hong-ming wrote:
> I just tried Eclipse I20021023 with CDT F3-Candidate (2002/10/22),
> Linux-Motif. It typed backwards.
>
> Yeh Hong-ming
> Department of Computer Sciences
> The University of Texas at Austin
Re: Source C editor behavior [message #47750 is a reply to message #47691] Mon, 28 October 2002 17:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ijmuiden.pointbreak.biz

Yes, either that, or use the F2 release (which I believe contains the now
removed patch). That should work with newer releases of the Eclipse
workbench.

Gerjon

"Brian Moyle" <bmoyle@mvista.com> schreef in bericht
news:3DBD96A3.2030901@mvista.com...
> Per Judy's comments dated 10/15/2002 in this same news thread:
>
> "The CDT team *officially* support the *Stable* Eclipse version Eclipse
> 2.0.1 - Aug 29, 2002"
>
> Try that release instead.
>
> Brian
>
> Yeh Hong-ming wrote:
> > I just tried Eclipse I20021023 with CDT F3-Candidate (2002/10/22),
> > Linux-Motif. It typed backwards.
> >
> > Yeh Hong-ming
> > Department of Computer Sciences
> > The University of Texas at Austin
>
>
>
Re: Source C editor behavior [message #50100 is a reply to message #43854] Thu, 14 November 2002 07:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mgareil.hotmail.com

Hi,
I still have the same behavior of C/C++ editor with eclipse 2.01 and the CDT
build of the 11/11/2002
Is it planed to be corrected with the next stable eclipse package ?
Thanks for your help

"Michel GAREIL" <mgareil@hotmail.com> wrote in message
news:anoe8h$nc$1@rogue.oti.com...
> Hi,
> I just downloaded and installed the latest version of CDT (build 20021002)
> on the eclipse 2.01 (build 20020920) on a Windows XP Pro.
> I could create a new C/C++ project and started to write new source C when
at
> the second line of code, the C editor started to write right to left
instead
> of left to write.
> when I typed printf I got ftnirp. I cleared all the text from the editor
and
> started again. For the very first line of C, the editor behaves normally
nut
> not for the following lines I tried to write.
> Is it a special command to insert a new line in this C source file editor
?
> Any idea on how to get a normal behavior for the whole source file ?
> ____________________________________________________________ ______
> Michel GAREIL ICQ#: 12644559 Current ICQ status: + More ways to contact me
i
> See more about me:
> ____________________________________________________________ ______
>
>
Re: Source C editor behavior [message #50451 is a reply to message #50100] Sun, 17 November 2002 01:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mgareil.hotmail.com

Hello,
I tried the eclipse M3 version (15/Nov/2002) with the latest cdt build
(14/Nov/2002) and the editor is still typing backward after the first line
of a c/cpp source file.
I'm running eclipse on a Windows XP Pro.

Below please find the very first lines of the log file of eclipse, may be it
will help.

Thanks for your help
======================= beginning of the eclipse log file ===========
!SESSION nov. 17, 2002
07:28:41.942 --------------------------------------------
java.version=1.4.1
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
Command-line arguments: -os win32 -ws win32 -arch x86 -install
file:C:/eclipse/
!ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:41.942
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:41.952
!MESSAGE 1000
!STACK 0
java.lang.ArrayIndexOutOfBoundsException: 1000
at
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
ntScanner.java:105)
at
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
ionScanner.java:91)
at
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
itioner.java:256)
at
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
ument.java:507)
at
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
..java:529)
at
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
at
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
:162)
at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
at org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
at org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
a:831)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
at org.eclipse.core.launcher.Main.run(Main.java:703)
at org.eclipse.core.launcher.Main.main(Main.java:539)
!ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.02
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.12
!MESSAGE 1000
!STACK 0
java.lang.ArrayIndexOutOfBoundsException: 1000
at
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
ntScanner.java:105)
at
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
ionScanner.java:91)
at
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
itioner.java:256)
at
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
ument.java:507)
at
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
..java:529)
at
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
at
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
:162)
at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
at org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
at org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
a:831)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
at org.eclipse.core.launcher.Main.run(Main.java:703)
at org.eclipse.core.launcher.Main.main(Main.java:539)
!ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.112
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.132
!MESSAGE 1000
!STACK 0
java.lang.ArrayIndexOutOfBoundsException: 1000
at
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
ntScanner.java:105)
at
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
ionScanner.java:91)
at
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
itioner.java:256)
at
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
ument.java:507)
at
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
..java:529)
at
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
at
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
:162)
at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
at org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
at org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
a:831)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
at org.eclipse.core.launcher.Main.run(Main.java:703)
at org.eclipse.core.launcher.Main.main(Main.java:539)
!ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.272
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.292
!MESSAGE 1000
!STACK 0
java.lang.ArrayIndexOutOfBoundsException: 1000
at
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
ntScanner.java:105)
at
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
ionScanner.java:91)
at
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
itioner.java:256)
at
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
ument.java:507)
at
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
..java:529)
at
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
at
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
:162)
at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
at org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
at org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
a:831)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
at org.eclipse.core.launcher.Main.run(Main.java:703)
at org.eclipse.core.launcher.Main.main(Main.java:539)
=======================

"Michel GAREIL" <mgareil@hotmail.com> wrote in message
news:ar01ri$n2u$1@rogue.oti.com...
> Hi,
> I still have the same behavior of C/C++ editor with eclipse 2.01 and the
CDT
> build of the 11/11/2002
> Is it planed to be corrected with the next stable eclipse package ?
> Thanks for your help
>
> "Michel GAREIL" <mgareil@hotmail.com> wrote in message
> news:anoe8h$nc$1@rogue.oti.com...
> > Hi,
> > I just downloaded and installed the latest version of CDT (build
20021002)
> > on the eclipse 2.01 (build 20020920) on a Windows XP Pro.
> > I could create a new C/C++ project and started to write new source C
when
> at
> > the second line of code, the C editor started to write right to left
> instead
> > of left to write.
> > when I typed printf I got ftnirp. I cleared all the text from the editor
> and
> > started again. For the very first line of C, the editor behaves normally
> nut
> > not for the following lines I tried to write.
> > Is it a special command to insert a new line in this C source file
editor
> ?
> > Any idea on how to get a normal behavior for the whole source file ?
> > ____________________________________________________________ ______
> > Michel GAREIL ICQ#: 12644559 Current ICQ status: + More ways to contact
me
> i
> > See more about me:
> > ____________________________________________________________ ______
> >
> >
>
>
Re: Source C editor behavior [message #50645 is a reply to message #50451] Mon, 18 November 2002 16:02 Go to previous messageGo to next message
Eclipse UserFriend
"Michel GAREIL" <mgareil@hotmail.com> wrote in message
news:ar7be0$s6c$1@rogue.oti.com...
| Hello,
| I tried the eclipse M3 version (15/Nov/2002) with the latest cdt build
| (14/Nov/2002) and the editor is still typing backward after the first line
| of a c/cpp source file.
| I'm running eclipse on a Windows XP Pro.

Eclipse M3 is a 2.1 based version.
The cdt is only supporting the 2.0.1 and soon 2.0.2 versions of Eclipse.

The fix for typing backwards in the Eclipse 2.1 stream (M1 etc) will not be
released until we make the move to support the 2.1 version of Eclipse.

-Judy

|
| Thanks for your help
| ======================= beginning of the eclipse log file ===========
| !SESSION nov. 17, 2002
| 07:28:41.942 --------------------------------------------
| java.version=1.4.1
| java.vendor=Sun Microsystems Inc.
| BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
| Command-line arguments: -os win32 -ws win32 -arch x86 -install
| file:C:/eclipse/
| !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:41.942
| !MESSAGE Unhandled exception caught in event loop.
| !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:41.952
| !MESSAGE 1000
| !STACK 0
| java.lang.ArrayIndexOutOfBoundsException: 1000
| at
|
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
| ntScanner.java:105)
| at
|
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
| ionScanner.java:91)
| at
|
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
| itioner.java:256)
| at
|
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
| ument.java:507)
| at
|
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
| .java:529)
| at
| org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
| at
|
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
| :162)
| at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
| at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
| at org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
| at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
| at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
| at org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
| at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
| at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
| at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
| at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
| at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
| at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
| at
|
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
| a:831)
| at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at
|
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
| )
| at
|
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
| .java:25)
| at java.lang.reflect.Method.invoke(Method.java:324)
| at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
| at org.eclipse.core.launcher.Main.run(Main.java:703)
| at org.eclipse.core.launcher.Main.main(Main.java:539)
| !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.02
| !MESSAGE Unhandled exception caught in event loop.
| !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.12
| !MESSAGE 1000
| !STACK 0
| java.lang.ArrayIndexOutOfBoundsException: 1000
| at
|
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
| ntScanner.java:105)
| at
|
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
| ionScanner.java:91)
| at
|
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
| itioner.java:256)
| at
|
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
| ument.java:507)
| at
|
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
| .java:529)
| at
| org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
| at
|
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
| :162)
| at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
| at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
| at org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
| at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
| at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
| at org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
| at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
| at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
| at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
| at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
| at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
| at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
| at
|
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
| a:831)
| at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at
|
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
| )
| at
|
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
| .java:25)
| at java.lang.reflect.Method.invoke(Method.java:324)
| at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
| at org.eclipse.core.launcher.Main.run(Main.java:703)
| at org.eclipse.core.launcher.Main.main(Main.java:539)
| !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.112
| !MESSAGE Unhandled exception caught in event loop.
| !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.132
| !MESSAGE 1000
| !STACK 0
| java.lang.ArrayIndexOutOfBoundsException: 1000
| at
|
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
| ntScanner.java:105)
| at
|
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
| ionScanner.java:91)
| at
|
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
| itioner.java:256)
| at
|
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
| ument.java:507)
| at
|
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
| .java:529)
| at
| org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
| at
|
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
| :162)
| at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
| at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
| at org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
| at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
| at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
| at org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
| at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
| at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
| at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
| at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
| at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
| at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
| at
|
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
| a:831)
| at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at
|
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
| )
| at
|
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
| .java:25)
| at java.lang.reflect.Method.invoke(Method.java:324)
| at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
| at org.eclipse.core.launcher.Main.run(Main.java:703)
| at org.eclipse.core.launcher.Main.main(Main.java:539)
| !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.272
| !MESSAGE Unhandled exception caught in event loop.
| !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.292
| !MESSAGE 1000
| !STACK 0
| java.lang.ArrayIndexOutOfBoundsException: 1000
| at
|
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
| ntScanner.java:105)
| at
|
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
| ionScanner.java:91)
| at
|
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
| itioner.java:256)
| at
|
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
| ument.java:507)
| at
|
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
| .java:529)
| at
| org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
| at
|
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
| :162)
| at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
| at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
| at org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
| at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
| at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
| at org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
| at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
| at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
| at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
| at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
| at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
| at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
| at
|
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
| a:831)
| at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at
|
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
| )
| at
|
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
| .java:25)
| at java.lang.reflect.Method.invoke(Method.java:324)
| at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
| at org.eclipse.core.launcher.Main.run(Main.java:703)
| at org.eclipse.core.launcher.Main.main(Main.java:539)
| =======================
|
| "Michel GAREIL" <mgareil@hotmail.com> wrote in message
| news:ar01ri$n2u$1@rogue.oti.com...
| > Hi,
| > I still have the same behavior of C/C++ editor with eclipse 2.01 and the
| CDT
| > build of the 11/11/2002
| > Is it planed to be corrected with the next stable eclipse package ?
| > Thanks for your help
| >
| > "Michel GAREIL" <mgareil@hotmail.com> wrote in message
| > news:anoe8h$nc$1@rogue.oti.com...
| > > Hi,
| > > I just downloaded and installed the latest version of CDT (build
| 20021002)
| > > on the eclipse 2.01 (build 20020920) on a Windows XP Pro.
| > > I could create a new C/C++ project and started to write new source C
| when
| > at
| > > the second line of code, the C editor started to write right to left
| > instead
| > > of left to write.
| > > when I typed printf I got ftnirp. I cleared all the text from the
editor
| > and
| > > started again. For the very first line of C, the editor behaves
normally
| > nut
| > > not for the following lines I tried to write.
| > > Is it a special command to insert a new line in this C source file
| editor
| > ?
| > > Any idea on how to get a normal behavior for the whole source file ?
| > > ____________________________________________________________ ______
| > > Michel GAREIL ICQ#: 12644559 Current ICQ status: + More ways to
contact
| me
| > i
| > > See more about me:
| > > ____________________________________________________________ ______
| > >
| > >
| >
| >
|
|
Re: Source C editor behavior [message #51855 is a reply to message #50645] Mon, 25 November 2002 08:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: robert.varga.fathomtechnology.com

Hello,

When can we expect that move to support 2.1 to happen?

Maybe some of us would be willing to use the fix as a patch provided as is
without support, if it would not break too much things and would not be too
hard to incorporate.

It could also be considered as a means of testing that :-)

Regards,

Robert Varga

"Judy N. Green" <jgreen@qnx.com> wrote in message
news:arbhr9$u3e$1@rogue.oti.com...
>
> "Michel GAREIL" <mgareil@hotmail.com> wrote in message
> news:ar7be0$s6c$1@rogue.oti.com...
> | Hello,
> | I tried the eclipse M3 version (15/Nov/2002) with the latest cdt build
> | (14/Nov/2002) and the editor is still typing backward after the first
line
> | of a c/cpp source file.
> | I'm running eclipse on a Windows XP Pro.
>
> Eclipse M3 is a 2.1 based version.
> The cdt is only supporting the 2.0.1 and soon 2.0.2 versions of Eclipse.
>
> The fix for typing backwards in the Eclipse 2.1 stream (M1 etc) will not
be
> released until we make the move to support the 2.1 version of Eclipse.
>
> -Judy
>
> |
> | Thanks for your help
> | ======================= beginning of the eclipse log file ===========
> | !SESSION nov. 17, 2002
> | 07:28:41.942 --------------------------------------------
> | java.version=1.4.1
> | java.vendor=Sun Microsystems Inc.
> | BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
> | Command-line arguments: -os win32 -ws win32 -arch x86 -install
> | file:C:/eclipse/
> | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:41.942
> | !MESSAGE Unhandled exception caught in event loop.
> | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:41.952
> | !MESSAGE 1000
> | !STACK 0
> | java.lang.ArrayIndexOutOfBoundsException: 1000
> | at
> |
>
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
> | ntScanner.java:105)
> | at
> |
>
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
> | ionScanner.java:91)
> | at
> |
>
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
> | itioner.java:256)
> | at
> |
>
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
> | ument.java:507)
> | at
> |
>
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
> | .java:529)
> | at
> |
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
> | at
> |
>
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
> | :162)
> | at
org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
> | at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
> | at org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
> | at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
> | at
org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
> | at
org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
> | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
> | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
> | at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
> | at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
> | at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
> | at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
> | at
> |
>
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
> | a:831)
> | at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
> | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> | at
> |
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> | )
> | at
> |
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> | .java:25)
> | at java.lang.reflect.Method.invoke(Method.java:324)
> | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
> | at org.eclipse.core.launcher.Main.run(Main.java:703)
> | at org.eclipse.core.launcher.Main.main(Main.java:539)
> | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.02
> | !MESSAGE Unhandled exception caught in event loop.
> | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.12
> | !MESSAGE 1000
> | !STACK 0
> | java.lang.ArrayIndexOutOfBoundsException: 1000
> | at
> |
>
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
> | ntScanner.java:105)
> | at
> |
>
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
> | ionScanner.java:91)
> | at
> |
>
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
> | itioner.java:256)
> | at
> |
>
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
> | ument.java:507)
> | at
> |
>
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
> | .java:529)
> | at
> |
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
> | at
> |
>
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
> | :162)
> | at
org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
> | at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
> | at org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
> | at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
> | at
org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
> | at
org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
> | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
> | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
> | at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
> | at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
> | at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
> | at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
> | at
> |
>
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
> | a:831)
> | at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
> | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> | at
> |
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> | )
> | at
> |
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> | .java:25)
> | at java.lang.reflect.Method.invoke(Method.java:324)
> | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
> | at org.eclipse.core.launcher.Main.run(Main.java:703)
> | at org.eclipse.core.launcher.Main.main(Main.java:539)
> | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.112
> | !MESSAGE Unhandled exception caught in event loop.
> | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.132
> | !MESSAGE 1000
> | !STACK 0
> | java.lang.ArrayIndexOutOfBoundsException: 1000
> | at
> |
>
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
> | ntScanner.java:105)
> | at
> |
>
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
> | ionScanner.java:91)
> | at
> |
>
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
> | itioner.java:256)
> | at
> |
>
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
> | ument.java:507)
> | at
> |
>
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
> | .java:529)
> | at
> |
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
> | at
> |
>
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
> | :162)
> | at
org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
> | at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
> | at org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
> | at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
> | at
org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
> | at
org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
> | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
> | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
> | at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
> | at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
> | at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
> | at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
> | at
> |
>
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
> | a:831)
> | at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
> | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> | at
> |
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> | )
> | at
> |
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> | .java:25)
> | at java.lang.reflect.Method.invoke(Method.java:324)
> | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
> | at org.eclipse.core.launcher.Main.run(Main.java:703)
> | at org.eclipse.core.launcher.Main.main(Main.java:539)
> | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.272
> | !MESSAGE Unhandled exception caught in event loop.
> | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.292
> | !MESSAGE 1000
> | !STACK 0
> | java.lang.ArrayIndexOutOfBoundsException: 1000
> | at
> |
>
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
> | ntScanner.java:105)
> | at
> |
>
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
> | ionScanner.java:91)
> | at
> |
>
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
> | itioner.java:256)
> | at
> |
>
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
> | ument.java:507)
> | at
> |
>
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
> | .java:529)
> | at
> |
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
> | at
> |
>
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
> | :162)
> | at
org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
> | at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
> | at org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
> | at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
> | at
org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
> | at
org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
> | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
> | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
> | at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
> | at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
> | at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
> | at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
> | at
> |
>
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
> | a:831)
> | at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
> | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> | at
> |
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> | )
> | at
> |
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> | .java:25)
> | at java.lang.reflect.Method.invoke(Method.java:324)
> | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
> | at org.eclipse.core.launcher.Main.run(Main.java:703)
> | at org.eclipse.core.launcher.Main.main(Main.java:539)
> | =======================
> |
> | "Michel GAREIL" <mgareil@hotmail.com> wrote in message
> | news:ar01ri$n2u$1@rogue.oti.com...
> | > Hi,
> | > I still have the same behavior of C/C++ editor with eclipse 2.01 and
the
> | CDT
> | > build of the 11/11/2002
> | > Is it planed to be corrected with the next stable eclipse package ?
> | > Thanks for your help
> | >
> | > "Michel GAREIL" <mgareil@hotmail.com> wrote in message
> | > news:anoe8h$nc$1@rogue.oti.com...
> | > > Hi,
> | > > I just downloaded and installed the latest version of CDT (build
> | 20021002)
> | > > on the eclipse 2.01 (build 20020920) on a Windows XP Pro.
> | > > I could create a new C/C++ project and started to write new source C
> | when
> | > at
> | > > the second line of code, the C editor started to write right to left
> | > instead
> | > > of left to write.
> | > > when I typed printf I got ftnirp. I cleared all the text from the
> editor
> | > and
> | > > started again. For the very first line of C, the editor behaves
> normally
> | > nut
> | > > not for the following lines I tried to write.
> | > > Is it a special command to insert a new line in this C source file
> | editor
> | > ?
> | > > Any idea on how to get a normal behavior for the whole source file ?
> | > > ____________________________________________________________ ______
> | > > Michel GAREIL ICQ#: 12644559 Current ICQ status: + More ways to
> contact
> | me
> | > i
> | > > See more about me:
> | > > ____________________________________________________________ ______
> | > >
> | > >
> | >
> | >
> |
> |
>
>
Re: Source C editor behavior [message #51985 is a reply to message #51855] Mon, 25 November 2002 16:27 Go to previous messageGo to next message
Eclipse UserFriend
"Robert Varga" <robert.varga@fathomtechnology.com> wrote in message
news:art8ob$nv8$1@rogue.oti.com...
| Hello,
|
| When can we expect that move to support 2.1 to happen?
|
| Maybe some of us would be willing to use the fix as a patch provided as is
| without support, if it would not break too much things and would not be
too
| hard to incorporate.
|

Hi Robert,

Thanks for the offer. The problem is that there may be many more things that
come up when we run with Eclipse 2.1.
I do not want to open a can of worms that we are not ready to manage.

If you really really want to fix this problem and use Eclipse 2.1. You are
welcome to check out the CDT code, rollback to the fix (mentioned in another
thread) and build the CDT from within Eclipse (instructions on the CDT
website). You can then install the resulting plugins and features at your
own risk.

Yes it would eb a great way of testing when we are ready to do so.

Thanks for your offer.
-Judy
| It could also be considered as a means of testing that :-)
|
| Regards,
|
| Robert Varga
|
| "Judy N. Green" <jgreen@qnx.com> wrote in message
| news:arbhr9$u3e$1@rogue.oti.com...
| >
| > "Michel GAREIL" <mgareil@hotmail.com> wrote in message
| > news:ar7be0$s6c$1@rogue.oti.com...
| > | Hello,
| > | I tried the eclipse M3 version (15/Nov/2002) with the latest cdt build
| > | (14/Nov/2002) and the editor is still typing backward after the first
| line
| > | of a c/cpp source file.
| > | I'm running eclipse on a Windows XP Pro.
| >
| > Eclipse M3 is a 2.1 based version.
| > The cdt is only supporting the 2.0.1 and soon 2.0.2 versions of Eclipse.
| >
| > The fix for typing backwards in the Eclipse 2.1 stream (M1 etc) will not
| be
| > released until we make the move to support the 2.1 version of Eclipse.
| >
| > -Judy
| >
| > |
| > | Thanks for your help
| > | ======================= beginning of the eclipse log file ===========
| > | !SESSION nov. 17, 2002
| > | 07:28:41.942 --------------------------------------------
| > | java.version=1.4.1
| > | java.vendor=Sun Microsystems Inc.
| > | BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
| > | Command-line arguments: -os win32 -ws win32 -arch x86 -install
| > | file:C:/eclipse/
| > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:41.942
| > | !MESSAGE Unhandled exception caught in event loop.
| > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:41.952
| > | !MESSAGE 1000
| > | !STACK 0
| > | java.lang.ArrayIndexOutOfBoundsException: 1000
| > | at
| > |
| >
|
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
| > | ntScanner.java:105)
| > | at
| > |
| >
|
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
| > | ionScanner.java:91)
| > | at
| > |
| >
|
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
| > | itioner.java:256)
| > | at
| > |
| >
|
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
| > | ument.java:507)
| > | at
| > |
| >
|
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
| > | .java:529)
| > | at
| > |
| org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
| > | at
| > |
| >
|
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
| > | :162)
| > | at
| org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
| > | at
org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
| > | at org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
| > | at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
| > | at
| org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
| > | at
| org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
| > | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
| > | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
| > | at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
| > | at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
| > | at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
| > | at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
| > | at
| > |
| >
|
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
| > | a:831)
| > | at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
| > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| > | at
| > |
| >
|
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
| > | )
| > | at
| > |
| >
|
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
| > | .java:25)
| > | at java.lang.reflect.Method.invoke(Method.java:324)
| > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
| > | at org.eclipse.core.launcher.Main.run(Main.java:703)
| > | at org.eclipse.core.launcher.Main.main(Main.java:539)
| > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.02
| > | !MESSAGE Unhandled exception caught in event loop.
| > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.12
| > | !MESSAGE 1000
| > | !STACK 0
| > | java.lang.ArrayIndexOutOfBoundsException: 1000
| > | at
| > |
| >
|
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
| > | ntScanner.java:105)
| > | at
| > |
| >
|
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
| > | ionScanner.java:91)
| > | at
| > |
| >
|
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
| > | itioner.java:256)
| > | at
| > |
| >
|
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
| > | ument.java:507)
| > | at
| > |
| >
|
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
| > | .java:529)
| > | at
| > |
| org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
| > | at
| > |
| >
|
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
| > | :162)
| > | at
| org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
| > | at
org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
| > | at org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
| > | at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
| > | at
| org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
| > | at
| org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
| > | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
| > | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
| > | at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
| > | at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
| > | at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
| > | at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
| > | at
| > |
| >
|
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
| > | a:831)
| > | at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
| > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| > | at
| > |
| >
|
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
| > | )
| > | at
| > |
| >
|
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
| > | .java:25)
| > | at java.lang.reflect.Method.invoke(Method.java:324)
| > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
| > | at org.eclipse.core.launcher.Main.run(Main.java:703)
| > | at org.eclipse.core.launcher.Main.main(Main.java:539)
| > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.112
| > | !MESSAGE Unhandled exception caught in event loop.
| > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.132
| > | !MESSAGE 1000
| > | !STACK 0
| > | java.lang.ArrayIndexOutOfBoundsException: 1000
| > | at
| > |
| >
|
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
| > | ntScanner.java:105)
| > | at
| > |
| >
|
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
| > | ionScanner.java:91)
| > | at
| > |
| >
|
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
| > | itioner.java:256)
| > | at
| > |
| >
|
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
| > | ument.java:507)
| > | at
| > |
| >
|
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
| > | .java:529)
| > | at
| > |
| org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
| > | at
| > |
| >
|
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
| > | :162)
| > | at
| org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
| > | at
org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
| > | at org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
| > | at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
| > | at
| org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
| > | at
| org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
| > | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
| > | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
| > | at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
| > | at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
| > | at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
| > | at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
| > | at
| > |
| >
|
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
| > | a:831)
| > | at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
| > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| > | at
| > |
| >
|
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
| > | )
| > | at
| > |
| >
|
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
| > | .java:25)
| > | at java.lang.reflect.Method.invoke(Method.java:324)
| > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
| > | at org.eclipse.core.launcher.Main.run(Main.java:703)
| > | at org.eclipse.core.launcher.Main.main(Main.java:539)
| > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.272
| > | !MESSAGE Unhandled exception caught in event loop.
| > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.292
| > | !MESSAGE 1000
| > | !STACK 0
| > | java.lang.ArrayIndexOutOfBoundsException: 1000
| > | at
| > |
| >
|
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
| > | ntScanner.java:105)
| > | at
| > |
| >
|
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
| > | ionScanner.java:91)
| > | at
| > |
| >
|
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
| > | itioner.java:256)
| > | at
| > |
| >
|
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
| > | ument.java:507)
| > | at
| > |
| >
|
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
| > | .java:529)
| > | at
| > |
| org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
| > | at
| > |
| >
|
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
| > | :162)
| > | at
| org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
| > | at
org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
| > | at org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
| > | at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
| > | at
| org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
| > | at
| org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
| > | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
| > | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
| > | at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
| > | at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
| > | at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
| > | at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
| > | at
| > |
| >
|
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
| > | a:831)
| > | at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
| > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| > | at
| > |
| >
|
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
| > | )
| > | at
| > |
| >
|
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
| > | .java:25)
| > | at java.lang.reflect.Method.invoke(Method.java:324)
| > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
| > | at org.eclipse.core.launcher.Main.run(Main.java:703)
| > | at org.eclipse.core.launcher.Main.main(Main.java:539)
| > | =======================
| > |
| > | "Michel GAREIL" <mgareil@hotmail.com> wrote in message
| > | news:ar01ri$n2u$1@rogue.oti.com...
| > | > Hi,
| > | > I still have the same behavior of C/C++ editor with eclipse 2.01 and
| the
| > | CDT
| > | > build of the 11/11/2002
| > | > Is it planed to be corrected with the next stable eclipse package ?
| > | > Thanks for your help
| > | >
| > | > "Michel GAREIL" <mgareil@hotmail.com> wrote in message
| > | > news:anoe8h$nc$1@rogue.oti.com...
| > | > > Hi,
| > | > > I just downloaded and installed the latest version of CDT (build
| > | 20021002)
| > | > > on the eclipse 2.01 (build 20020920) on a Windows XP Pro.
| > | > > I could create a new C/C++ project and started to write new source
C
| > | when
| > | > at
| > | > > the second line of code, the C editor started to write right to
left
| > | > instead
| > | > > of left to write.
| > | > > when I typed printf I got ftnirp. I cleared all the text from the
| > editor
| > | > and
| > | > > started again. For the very first line of C, the editor behaves
| > normally
| > | > nut
| > | > > not for the following lines I tried to write.
| > | > > Is it a special command to insert a new line in this C source file
| > | editor
| > | > ?
| > | > > Any idea on how to get a normal behavior for the whole source file
?
| > | > > ____________________________________________________________ ______
| > | > > Michel GAREIL ICQ#: 12644559 Current ICQ status: + More ways to
| > contact
| > | me
| > | > i
| > | > > See more about me:
| > | > > ____________________________________________________________ ______
| > | > >
| > | > >
| > | >
| > | >
| > |
| > |
| >
| >
|
|
Re: Source C editor behavior [message #52795 is a reply to message #51985] Sat, 30 November 2002 04:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: james.keeley.tfn.com

Hello Judy,

It appears that if one substitutes an instance of the
BufferedRuleBasedScanner for the BufferedDocumentScanner in
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner, all is well.

Haven't had too much time to investigate beyond at this point, but suspect
the differences in their respective read() methods is the culprit.

Regards,

James


"Judy N. Green" <jgreen@qnx.com> wrote in message
news:aru44b$akk$1@rogue.oti.com...
>
> "Robert Varga" <robert.varga@fathomtechnology.com> wrote in message
> news:art8ob$nv8$1@rogue.oti.com...
> | Hello,
> |
> | When can we expect that move to support 2.1 to happen?
> |
> | Maybe some of us would be willing to use the fix as a patch provided as
is
> | without support, if it would not break too much things and would not be
> too
> | hard to incorporate.
> |
>
> Hi Robert,
>
> Thanks for the offer. The problem is that there may be many more things
that
> come up when we run with Eclipse 2.1.
> I do not want to open a can of worms that we are not ready to manage.
>
> If you really really want to fix this problem and use Eclipse 2.1. You are
> welcome to check out the CDT code, rollback to the fix (mentioned in
another
> thread) and build the CDT from within Eclipse (instructions on the CDT
> website). You can then install the resulting plugins and features at your
> own risk.
>
> Yes it would eb a great way of testing when we are ready to do so.
>
> Thanks for your offer.
> -Judy
> | It could also be considered as a means of testing that :-)
> |
> | Regards,
> |
> | Robert Varga
> |
> | "Judy N. Green" <jgreen@qnx.com> wrote in message
> | news:arbhr9$u3e$1@rogue.oti.com...
> | >
> | > "Michel GAREIL" <mgareil@hotmail.com> wrote in message
> | > news:ar7be0$s6c$1@rogue.oti.com...
> | > | Hello,
> | > | I tried the eclipse M3 version (15/Nov/2002) with the latest cdt
build
> | > | (14/Nov/2002) and the editor is still typing backward after the
first
> | line
> | > | of a c/cpp source file.
> | > | I'm running eclipse on a Windows XP Pro.
> | >
> | > Eclipse M3 is a 2.1 based version.
> | > The cdt is only supporting the 2.0.1 and soon 2.0.2 versions of
Eclipse.
> | >
> | > The fix for typing backwards in the Eclipse 2.1 stream (M1 etc) will
not
> | be
> | > released until we make the move to support the 2.1 version of Eclipse.
> | >
> | > -Judy
> | >
> | > |
> | > | Thanks for your help
> | > | ======================= beginning of the eclipse log file
===========
> | > | !SESSION nov. 17, 2002
> | > | 07:28:41.942 --------------------------------------------
> | > | java.version=1.4.1
> | > | java.vendor=Sun Microsystems Inc.
> | > | BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
> | > | Command-line arguments: -os win32 -ws win32 -arch x86 -install
> | > | file:C:/eclipse/
> | > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:41.942
> | > | !MESSAGE Unhandled exception caught in event loop.
> | > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:41.952
> | > | !MESSAGE 1000
> | > | !STACK 0
> | > | java.lang.ArrayIndexOutOfBoundsException: 1000
> | > | at
> | > |
> | >
> |
>
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
> | > | ntScanner.java:105)
> | > | at
> | > |
> | >
> |
>
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
> | > | ionScanner.java:91)
> | > | at
> | > |
> | >
> |
>
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
> | > | itioner.java:256)
> | > | at
> | > |
> | >
> |
>
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
> | > | ument.java:507)
> | > | at
> | > |
> | >
> |
>
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
> | > | .java:529)
> | > | at
> | > |
> |
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
> | > | at
> | > |
> | >
> |
>
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
> | > | :162)
> | > | at
> | org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
> | > | at
> org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
> | > | at
org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
> | > | at
org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
> | > | at
> | org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
> | > | at
> | org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
> | > | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
> | > | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
> | > | at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
> | > | at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
> | > | at
> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
> | > | at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
> | > | at
> | > |
> | >
> |
>
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
> | > | a:831)
> | > | at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
> | > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> | > | at
> | > |
> | >
> |
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> | > | )
> | > | at
> | > |
> | >
> |
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> | > | .java:25)
> | > | at java.lang.reflect.Method.invoke(Method.java:324)
> | > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
> | > | at org.eclipse.core.launcher.Main.run(Main.java:703)
> | > | at org.eclipse.core.launcher.Main.main(Main.java:539)
> | > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.02
> | > | !MESSAGE Unhandled exception caught in event loop.
> | > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.12
> | > | !MESSAGE 1000
> | > | !STACK 0
> | > | java.lang.ArrayIndexOutOfBoundsException: 1000
> | > | at
> | > |
> | >
> |
>
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
> | > | ntScanner.java:105)
> | > | at
> | > |
> | >
> |
>
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
> | > | ionScanner.java:91)
> | > | at
> | > |
> | >
> |
>
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
> | > | itioner.java:256)
> | > | at
> | > |
> | >
> |
>
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
> | > | ument.java:507)
> | > | at
> | > |
> | >
> |
>
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
> | > | .java:529)
> | > | at
> | > |
> |
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
> | > | at
> | > |
> | >
> |
>
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
> | > | :162)
> | > | at
> | org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
> | > | at
> org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
> | > | at
org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
> | > | at
org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
> | > | at
> | org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
> | > | at
> | org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
> | > | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
> | > | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
> | > | at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
> | > | at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
> | > | at
> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
> | > | at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
> | > | at
> | > |
> | >
> |
>
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
> | > | a:831)
> | > | at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
> | > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> | > | at
> | > |
> | >
> |
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> | > | )
> | > | at
> | > |
> | >
> |
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> | > | .java:25)
> | > | at java.lang.reflect.Method.invoke(Method.java:324)
> | > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
> | > | at org.eclipse.core.launcher.Main.run(Main.java:703)
> | > | at org.eclipse.core.launcher.Main.main(Main.java:539)
> | > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.112
> | > | !MESSAGE Unhandled exception caught in event loop.
> | > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.132
> | > | !MESSAGE 1000
> | > | !STACK 0
> | > | java.lang.ArrayIndexOutOfBoundsException: 1000
> | > | at
> | > |
> | >
> |
>
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
> | > | ntScanner.java:105)
> | > | at
> | > |
> | >
> |
>
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
> | > | ionScanner.java:91)
> | > | at
> | > |
> | >
> |
>
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
> | > | itioner.java:256)
> | > | at
> | > |
> | >
> |
>
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
> | > | ument.java:507)
> | > | at
> | > |
> | >
> |
>
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
> | > | .java:529)
> | > | at
> | > |
> |
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
> | > | at
> | > |
> | >
> |
>
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
> | > | :162)
> | > | at
> | org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
> | > | at
> org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
> | > | at
org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
> | > | at
org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
> | > | at
> | org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
> | > | at
> | org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
> | > | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
> | > | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
> | > | at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
> | > | at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
> | > | at
> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
> | > | at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
> | > | at
> | > |
> | >
> |
>
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
> | > | a:831)
> | > | at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
> | > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> | > | at
> | > |
> | >
> |
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> | > | )
> | > | at
> | > |
> | >
> |
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> | > | .java:25)
> | > | at java.lang.reflect.Method.invoke(Method.java:324)
> | > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
> | > | at org.eclipse.core.launcher.Main.run(Main.java:703)
> | > | at org.eclipse.core.launcher.Main.main(Main.java:539)
> | > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.272
> | > | !MESSAGE Unhandled exception caught in event loop.
> | > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.292
> | > | !MESSAGE 1000
> | > | !STACK 0
> | > | java.lang.ArrayIndexOutOfBoundsException: 1000
> | > | at
> | > |
> | >
> |
>
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
> | > | ntScanner.java:105)
> | > | at
> | > |
> | >
> |
>
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
> | > | ionScanner.java:91)
> | > | at
> | > |
> | >
> |
>
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
> | > | itioner.java:256)
> | > | at
> | > |
> | >
> |
>
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
> | > | ument.java:507)
> | > | at
> | > |
> | >
> |
>
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
> | > | .java:529)
> | > | at
> | > |
> |
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
> | > | at
> | > |
> | >
> |
>
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
> | > | :162)
> | > | at
> | org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
> | > | at
> org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
> | > | at
org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
> | > | at
org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
> | > | at
> | org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
> | > | at
> | org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
> | > | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
> | > | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
> | > | at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
> | > | at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
> | > | at
> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
> | > | at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
> | > | at
> | > |
> | >
> |
>
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
> | > | a:831)
> | > | at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
> | > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> | > | at
> | > |
> | >
> |
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> | > | )
> | > | at
> | > |
> | >
> |
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> | > | .java:25)
> | > | at java.lang.reflect.Method.invoke(Method.java:324)
> | > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
> | > | at org.eclipse.core.launcher.Main.run(Main.java:703)
> | > | at org.eclipse.core.launcher.Main.main(Main.java:539)
> | > | =======================
> | > |
> | > | "Michel GAREIL" <mgareil@hotmail.com> wrote in message
> | > | news:ar01ri$n2u$1@rogue.oti.com...
> | > | > Hi,
> | > | > I still have the same behavior of C/C++ editor with eclipse 2.01
and
> | the
> | > | CDT
> | > | > build of the 11/11/2002
> | > | > Is it planed to be corrected with the next stable eclipse package
?
> | > | > Thanks for your help
> | > | >
> | > | > "Michel GAREIL" <mgareil@hotmail.com> wrote in message
> | > | > news:anoe8h$nc$1@rogue.oti.com...
> | > | > > Hi,
> | > | > > I just downloaded and installed the latest version of CDT (build
> | > | 20021002)
> | > | > > on the eclipse 2.01 (build 20020920) on a Windows XP Pro.
> | > | > > I could create a new C/C++ project and started to write new
source
> C
> | > | when
> | > | > at
> | > | > > the second line of code, the C editor started to write right to
> left
> | > | > instead
> | > | > > of left to write.
> | > | > > when I typed printf I got ftnirp. I cleared all the text from
the
> | > editor
> | > | > and
> | > | > > started again. For the very first line of C, the editor behaves
> | > normally
> | > | > nut
> | > | > > not for the following lines I tried to write.
> | > | > > Is it a special command to insert a new line in this C source
file
> | > | editor
> | > | > ?
> | > | > > Any idea on how to get a normal behavior for the whole source
file
> ?
> | > | > >
____________________________________________________________ ______
> | > | > > Michel GAREIL ICQ#: 12644559 Current ICQ status: + More ways to
> | > contact
> | > | me
> | > | > i
> | > | > > See more about me:
> | > | > >
____________________________________________________________ ______
> | > | > >
> | > | > >
> | > | >
> | > | >
> | > |
> | > |
> | >
> | >
> |
> |
>
>
Re: Source C editor behavior [message #52906 is a reply to message #52795] Sat, 30 November 2002 20:50 Go to previous messageGo to next message
Eclipse UserFriend
"james keeley" <james.keeley@tfn.com> wrote in message
news:as9vq0$3fg$1@rogue.oti.com...
> Hello Judy,
>
> It appears that if one substitutes an instance of the
> BufferedRuleBasedScanner for the BufferedDocumentScanner in
> org.eclipse.cdt.internal.ui.text.FastCPartitionScanner, all is well.
>
> Haven't had too much time to investigate beyond at this point, but suspect
> the differences in their respective read() methods is the culprit.

Thanks for looking into this. I'll look at it this week.

Thanks again

-Judy

>
> Regards,
>
> James
>
>
> "Judy N. Green" <jgreen@qnx.com> wrote in message
> news:aru44b$akk$1@rogue.oti.com...
> >
> > "Robert Varga" <robert.varga@fathomtechnology.com> wrote in message
> > news:art8ob$nv8$1@rogue.oti.com...
> > | Hello,
> > |
> > | When can we expect that move to support 2.1 to happen?
> > |
> > | Maybe some of us would be willing to use the fix as a patch provided
as
> is
> > | without support, if it would not break too much things and would not
be
> > too
> > | hard to incorporate.
> > |
> >
> > Hi Robert,
> >
> > Thanks for the offer. The problem is that there may be many more things
> that
> > come up when we run with Eclipse 2.1.
> > I do not want to open a can of worms that we are not ready to manage.
> >
> > If you really really want to fix this problem and use Eclipse 2.1. You
are
> > welcome to check out the CDT code, rollback to the fix (mentioned in
> another
> > thread) and build the CDT from within Eclipse (instructions on the CDT
> > website). You can then install the resulting plugins and features at
your
> > own risk.
> >
> > Yes it would eb a great way of testing when we are ready to do so.
> >
> > Thanks for your offer.
> > -Judy
> > | It could also be considered as a means of testing that :-)
> > |
> > | Regards,
> > |
> > | Robert Varga
> > |
> > | "Judy N. Green" <jgreen@qnx.com> wrote in message
> > | news:arbhr9$u3e$1@rogue.oti.com...
> > | >
> > | > "Michel GAREIL" <mgareil@hotmail.com> wrote in message
> > | > news:ar7be0$s6c$1@rogue.oti.com...
> > | > | Hello,
> > | > | I tried the eclipse M3 version (15/Nov/2002) with the latest cdt
> build
> > | > | (14/Nov/2002) and the editor is still typing backward after the
> first
> > | line
> > | > | of a c/cpp source file.
> > | > | I'm running eclipse on a Windows XP Pro.
> > | >
> > | > Eclipse M3 is a 2.1 based version.
> > | > The cdt is only supporting the 2.0.1 and soon 2.0.2 versions of
> Eclipse.
> > | >
> > | > The fix for typing backwards in the Eclipse 2.1 stream (M1 etc) will
> not
> > | be
> > | > released until we make the move to support the 2.1 version of
Eclipse.
> > | >
> > | > -Judy
> > | >
> > | > |
> > | > | Thanks for your help
> > | > | ======================= beginning of the eclipse log file
> ===========
> > | > | !SESSION nov. 17, 2002
> > | > | 07:28:41.942 --------------------------------------------
> > | > | java.version=1.4.1
> > | > | java.vendor=Sun Microsystems Inc.
> > | > | BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
> > | > | Command-line arguments: -os win32 -ws win32 -arch x86 -install
> > | > | file:C:/eclipse/
> > | > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:41.942
> > | > | !MESSAGE Unhandled exception caught in event loop.
> > | > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:41.952
> > | > | !MESSAGE 1000
> > | > | !STACK 0
> > | > | java.lang.ArrayIndexOutOfBoundsException: 1000
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
> > | > | ntScanner.java:105)
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
> > | > | ionScanner.java:91)
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
> > | > | itioner.java:256)
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
> > | > | ument.java:507)
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
> > | > | .java:529)
> > | > | at
> > | > |
> > |
> org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
> > | > | :162)
> > | > | at
> > | org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
> > | > | at
> > org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
> > | > | at
> org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
> > | > | at
> org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
> > | > | at
> > | org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
> > | > | at
> > | org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
> > | > | at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
> > | > | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
> > | > | at
> > org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
> > | > | at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
> > | > | at
> > org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
> > | > | at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
> > | > | a:831)
> > | > | at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
> > | > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > | > | at
> > | > |
> > | >
> > |
> >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> > | > | )
> > | > | at
> > | > |
> > | >
> > |
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> > | > | .java:25)
> > | > | at java.lang.reflect.Method.invoke(Method.java:324)
> > | > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
> > | > | at org.eclipse.core.launcher.Main.run(Main.java:703)
> > | > | at org.eclipse.core.launcher.Main.main(Main.java:539)
> > | > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.02
> > | > | !MESSAGE Unhandled exception caught in event loop.
> > | > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.12
> > | > | !MESSAGE 1000
> > | > | !STACK 0
> > | > | java.lang.ArrayIndexOutOfBoundsException: 1000
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
> > | > | ntScanner.java:105)
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
> > | > | ionScanner.java:91)
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
> > | > | itioner.java:256)
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
> > | > | ument.java:507)
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
> > | > | .java:529)
> > | > | at
> > | > |
> > |
> org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
> > | > | :162)
> > | > | at
> > | org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
> > | > | at
> > org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
> > | > | at
> org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
> > | > | at
> org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
> > | > | at
> > | org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
> > | > | at
> > | org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
> > | > | at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
> > | > | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
> > | > | at
> > org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
> > | > | at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
> > | > | at
> > org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
> > | > | at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
> > | > | a:831)
> > | > | at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
> > | > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > | > | at
> > | > |
> > | >
> > |
> >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> > | > | )
> > | > | at
> > | > |
> > | >
> > |
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> > | > | .java:25)
> > | > | at java.lang.reflect.Method.invoke(Method.java:324)
> > | > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
> > | > | at org.eclipse.core.launcher.Main.run(Main.java:703)
> > | > | at org.eclipse.core.launcher.Main.main(Main.java:539)
> > | > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.112
> > | > | !MESSAGE Unhandled exception caught in event loop.
> > | > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.132
> > | > | !MESSAGE 1000
> > | > | !STACK 0
> > | > | java.lang.ArrayIndexOutOfBoundsException: 1000
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
> > | > | ntScanner.java:105)
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
> > | > | ionScanner.java:91)
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
> > | > | itioner.java:256)
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
> > | > | ument.java:507)
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
> > | > | .java:529)
> > | > | at
> > | > |
> > |
> org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
> > | > | :162)
> > | > | at
> > | org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
> > | > | at
> > org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
> > | > | at
> org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
> > | > | at
> org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
> > | > | at
> > | org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
> > | > | at
> > | org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
> > | > | at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
> > | > | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
> > | > | at
> > org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
> > | > | at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
> > | > | at
> > org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
> > | > | at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
> > | > | a:831)
> > | > | at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
> > | > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > | > | at
> > | > |
> > | >
> > |
> >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> > | > | )
> > | > | at
> > | > |
> > | >
> > |
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> > | > | .java:25)
> > | > | at java.lang.reflect.Method.invoke(Method.java:324)
> > | > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
> > | > | at org.eclipse.core.launcher.Main.run(Main.java:703)
> > | > | at org.eclipse.core.launcher.Main.main(Main.java:539)
> > | > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.272
> > | > | !MESSAGE Unhandled exception caught in event loop.
> > | > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.292
> > | > | !MESSAGE 1000
> > | > | !STACK 0
> > | > | java.lang.ArrayIndexOutOfBoundsException: 1000
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
> > | > | ntScanner.java:105)
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
> > | > | ionScanner.java:91)
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
> > | > | itioner.java:256)
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
> > | > | ument.java:507)
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
> > | > | .java:529)
> > | > | at
> > | > |
> > |
> org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
> > | > | :162)
> > | > | at
> > | org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
> > | > | at
> > org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
> > | > | at
> org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
> > | > | at
> org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
> > | > | at
> > | org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
> > | > | at
> > | org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
> > | > | at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
> > | > | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
> > | > | at
> > org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
> > | > | at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
> > | > | at
> > org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
> > | > | at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
> > | > | at
> > | > |
> > | >
> > |
> >
>
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
> > | > | a:831)
> > | > | at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
> > | > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > | > | at
> > | > |
> > | >
> > |
> >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> > | > | )
> > | > | at
> > | > |
> > | >
> > |
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> > | > | .java:25)
> > | > | at java.lang.reflect.Method.invoke(Method.java:324)
> > | > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
> > | > | at org.eclipse.core.launcher.Main.run(Main.java:703)
> > | > | at org.eclipse.core.launcher.Main.main(Main.java:539)
> > | > | =======================
> > | > |
> > | > | "Michel GAREIL" <mgareil@hotmail.com> wrote in message
> > | > | news:ar01ri$n2u$1@rogue.oti.com...
> > | > | > Hi,
> > | > | > I still have the same behavior of C/C++ editor with eclipse 2.01
> and
> > | the
> > | > | CDT
> > | > | > build of the 11/11/2002
> > | > | > Is it planed to be corrected with the next stable eclipse
package
> ?
> > | > | > Thanks for your help
> > | > | >
> > | > | > "Michel GAREIL" <mgareil@hotmail.com> wrote in message
> > | > | > news:anoe8h$nc$1@rogue.oti.com...
> > | > | > > Hi,
> > | > | > > I just downloaded and installed the latest version of CDT
(build
> > | > | 20021002)
> > | > | > > on the eclipse 2.01 (build 20020920) on a Windows XP Pro.
> > | > | > > I could create a new C/C++ project and started to write new
> source
> > C
> > | > | when
> > | > | > at
> > | > | > > the second line of code, the C editor started to write right
to
> > left
> > | > | > instead
> > | > | > > of left to write.
> > | > | > > when I typed printf I got ftnirp. I cleared all the text from
> the
> > | > editor
> > | > | > and
> > | > | > > started again. For the very first line of C, the editor
behaves
> > | > normally
> > | > | > nut
> > | > | > > not for the following lines I tried to write.
> > | > | > > Is it a special command to insert a new line in this C source
> file
> > | > | editor
> > | > | > ?
> > | > | > > Any idea on how to get a normal behavior for the whole source
> file
> > ?
> > | > | > >
> ____________________________________________________________ ______
> > | > | > > Michel GAREIL ICQ#: 12644559 Current ICQ status: + More ways
to
> > | > contact
> > | > | me
> > | > | > i
> > | > | > > See more about me:
> > | > | > >
> ____________________________________________________________ ______
> > | > | > >
> > | > | > >
> > | > | >
> > | > | >
> > | > |
> > | > |
> > | >
> > | >
> > |
> > |
> >
> >
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.423 / Virus Database: 238 - Release Date: 11/25/02
Re: Source C editor behavior [message #53356 is a reply to message #52906] Sun, 08 December 2002 14:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: james.keeley.tfn.com

Hi Judy,

Been away for a bit, so just getting caught up. Any news on this one?

Regs,

James

On Sat, 30 Nov 2002 20:50:08 -0500, "Judy Green" <jgreen@qnx.com> wrote:
>
> "james keeley" <james.keeley@tfn.com> wrote in message
> news:as9vq0$3fg$1@rogue.oti.com...
> > Hello Judy,
> >
> > It appears that if one substitutes an instance of the
> > BufferedRuleBasedScanner for the BufferedDocumentScanner in
> > org.eclipse.cdt.internal.ui.text.FastCPartitionScanner, all is well.
> >
> > Haven't had too much time to investigate beyond at this point, but suspect
> > the differences in their respective read() methods is the culprit.
>
> Thanks for looking into this. I'll look at it this week.
>
> Thanks again
>
> -Judy
>
> >
> > Regards,
> >
> > James
> >
> >
> > "Judy N. Green" <jgreen@qnx.com> wrote in message
> > news:aru44b$akk$1@rogue.oti.com...
> > >
> > > "Robert Varga" <robert.varga@fathomtechnology.com> wrote in message
> > > news:art8ob$nv8$1@rogue.oti.com...
> > > | Hello,
> > > |
> > > | When can we expect that move to support 2.1 to happen?
> > > |
> > > | Maybe some of us would be willing to use the fix as a patch provided
> as
> > is
> > > | without support, if it would not break too much things and would not
> be
> > > too
> > > | hard to incorporate.
> > > |
> > >
> > > Hi Robert,
> > >
> > > Thanks for the offer. The problem is that there may be many more things
> > that
> > > come up when we run with Eclipse 2.1.
> > > I do not want to open a can of worms that we are not ready to manage.
> > >
> > > If you really really want to fix this problem and use Eclipse 2.1. You
> are
> > > welcome to check out the CDT code, rollback to the fix (mentioned in
> > another
> > > thread) and build the CDT from within Eclipse (instructions on the CDT
> > > website). You can then install the resulting plugins and features at
> your
> > > own risk.
> > >
> > > Yes it would eb a great way of testing when we are ready to do so.
> > >
> > > Thanks for your offer.
> > > -Judy
> > > | It could also be considered as a means of testing that :-)
> > > |
> > > | Regards,
> > > |
> > > | Robert Varga
> > > |
> > > | "Judy N. Green" <jgreen@qnx.com> wrote in message
> > > | news:arbhr9$u3e$1@rogue.oti.com...
> > > | >
> > > | > "Michel GAREIL" <mgareil@hotmail.com> wrote in message
> > > | > news:ar7be0$s6c$1@rogue.oti.com...
> > > | > | Hello,
> > > | > | I tried the eclipse M3 version (15/Nov/2002) with the latest cdt
> > build
> > > | > | (14/Nov/2002) and the editor is still typing backward after the
> > first
> > > | line
> > > | > | of a c/cpp source file.
> > > | > | I'm running eclipse on a Windows XP Pro.
> > > | >
> > > | > Eclipse M3 is a 2.1 based version.
> > > | > The cdt is only supporting the 2.0.1 and soon 2.0.2 versions of
> > Eclipse.
> > > | >
> > > | > The fix for typing backwards in the Eclipse 2.1 stream (M1 etc) will
> > not
> > > | be
> > > | > released until we make the move to support the 2.1 version of
> Eclipse.
> > > | >
> > > | > -Judy
> > > | >
> > > | > |
> > > | > | Thanks for your help
> > > | > | ======================= beginning of the eclipse log file
> > ===========
> > > | > | !SESSION nov. 17, 2002
> > > | > | 07:28:41.942 --------------------------------------------
> > > | > | java.version=1.4.1
> > > | > | java.vendor=Sun Microsystems Inc.
> > > | > | BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
> > > | > | Command-line arguments: -os win32 -ws win32 -arch x86 -install
> > > | > | file:C:/eclipse/
> > > | > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:41.942
> > > | > | !MESSAGE Unhandled exception caught in event loop.
> > > | > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:41.952
> > > | > | !MESSAGE 1000
> > > | > | !STACK 0
> > > | > | java.lang.ArrayIndexOutOfBoundsException: 1000
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
> > > | > | ntScanner.java:105)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
> > > | > | ionScanner.java:91)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
> > > | > | itioner.java:256)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
> > > | > | ument.java:507)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
> > > | > | .java:529)
> > > | > | at
> > > | > |
> > > |
> > org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
> > > | > | :162)
> > > | > | at
> > > | org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
> > > | > | at
> > > org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
> > > | > | at
> > org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
> > > | > | at
> > org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
> > > | > | at
> > > | org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
> > > | > | at
> > > | org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
> > > | > | at
> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
> > > | > | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
> > > | > | at
> > > org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
> > > | > | at
> > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
> > > | > | at
> > > org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
> > > | > | at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
> > > | > | a:831)
> > > | > | at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
> > > | > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> > > | > | )
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> > > | > | .java:25)
> > > | > | at java.lang.reflect.Method.invoke(Method.java:324)
> > > | > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
> > > | > | at org.eclipse.core.launcher.Main.run(Main.java:703)
> > > | > | at org.eclipse.core.launcher.Main.main(Main.java:539)
> > > | > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.02
> > > | > | !MESSAGE Unhandled exception caught in event loop.
> > > | > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.12
> > > | > | !MESSAGE 1000
> > > | > | !STACK 0
> > > | > | java.lang.ArrayIndexOutOfBoundsException: 1000
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
> > > | > | ntScanner.java:105)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
> > > | > | ionScanner.java:91)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
> > > | > | itioner.java:256)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
> > > | > | ument.java:507)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
> > > | > | .java:529)
> > > | > | at
> > > | > |
> > > |
> > org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
> > > | > | :162)
> > > | > | at
> > > | org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
> > > | > | at
> > > org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
> > > | > | at
> > org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
> > > | > | at
> > org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
> > > | > | at
> > > | org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
> > > | > | at
> > > | org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
> > > | > | at
> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
> > > | > | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
> > > | > | at
> > > org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
> > > | > | at
> > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
> > > | > | at
> > > org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
> > > | > | at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
> > > | > | a:831)
> > > | > | at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
> > > | > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> > > | > | )
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> > > | > | .java:25)
> > > | > | at java.lang.reflect.Method.invoke(Method.java:324)
> > > | > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
> > > | > | at org.eclipse.core.launcher.Main.run(Main.java:703)
> > > | > | at org.eclipse.core.launcher.Main.main(Main.java:539)
> > > | > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.112
> > > | > | !MESSAGE Unhandled exception caught in event loop.
> > > | > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.132
> > > | > | !MESSAGE 1000
> > > | > | !STACK 0
> > > | > | java.lang.ArrayIndexOutOfBoundsException: 1000
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
> > > | > | ntScanner.java:105)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
> > > | > | ionScanner.java:91)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
> > > | > | itioner.java:256)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
> > > | > | ument.java:507)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
> > > | > | .java:529)
> > > | > | at
> > > | > |
> > > |
> > org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
> > > | > | :162)
> > > | > | at
> > > | org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
> > > | > | at
> > > org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
> > > | > | at
> > org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
> > > | > | at
> > org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
> > > | > | at
> > > | org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
> > > | > | at
> > > | org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
> > > | > | at
> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
> > > | > | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
> > > | > | at
> > > org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
> > > | > | at
> > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
> > > | > | at
> > > org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
> > > | > | at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
> > > | > | a:831)
> > > | > | at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
> > > | > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> > > | > | )
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> > > | > | .java:25)
> > > | > | at java.lang.reflect.Method.invoke(Method.java:324)
> > > | > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
> > > | > | at org.eclipse.core.launcher.Main.run(Main.java:703)
> > > | > | at org.eclipse.core.launcher.Main.main(Main.java:539)
> > > | > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.272
> > > | > | !MESSAGE Unhandled exception caught in event loop.
> > > | > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.292
> > > | > | !MESSAGE 1000
> > > | > | !STACK 0
> > > | > | java.lang.ArrayIndexOutOfBoundsException: 1000
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
> > > | > | ntScanner.java:105)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
> > > | > | ionScanner.java:91)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
> > > | > | itioner.java:256)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
> > > | > | ument.java:507)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
> > > | > | .java:529)
> > > | > | at
> > > | > |
> > > |
> > org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
> > > | > | :162)
> > > | > | at
> > > | org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
> > > | > | at
> > > org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
> > > | > | at
> > org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
> > > | > | at
> > org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
> > > | > | at
> > > | org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
> > > | > | at
> > > | org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
> > > | > | at
> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
> > > | > | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
> > > | > | at
> > > org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
> > > | > | at
> > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
> > > | > | at
> > > org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
> > > | > | at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
> > > | > | a:831)
> > > | > | at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
> > > | > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> > > | > | )
> > > | > | at
> > > | > |
> > > | >
> > > |
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> > > | > | .java:25)
> > > | > | at java.lang.reflect.Method.invoke(Method.java:324)
> > > | > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
> > > | > | at org.eclipse.core.launcher.Main.run(Main.java:703)
> > > | > | at org.eclipse.core.launcher.Main.main(Main.java:539)
> > > | > | =======================
> > > | > |
> > > | > | "Michel GAREIL" <mgareil@hotmail.com> wrote in message
> > > | > | news:ar01ri$n2u$1@rogue.oti.com...
> > > | > | > Hi,
> > > | > | > I still have the same behavior of C/C++ editor with eclipse 2.01
> > and
> > > | the
> > > | > | CDT
> > > | > | > build of the 11/11/2002
> > > | > | > Is it planed to be corrected with the next stable eclipse
> package
> > ?
> > > | > | > Thanks for your help
> > > | > | >
> > > | > | > "Michel GAREIL" <mgareil@hotmail.com> wrote in message
> > > | > | > news:anoe8h$nc$1@rogue.oti.com...
> > > | > | > > Hi,
> > > | > | > > I just downloaded and installed the latest version of CDT
> (build
> > > | > | 20021002)
> > > | > | > > on the eclipse 2.01 (build 20020920) on a Windows XP Pro.
> > > | > | > > I could create a new C/C++ project and started to write new
> > source
> > > C
> > > | > | when
> > > | > | > at
> > > | > | > > the second line of code, the C editor started to write right
> to
> > > left
> > > | > | > instead
> > > | > | > > of left to write.
> > > | > | > > when I typed printf I got ftnirp. I cleared all the text from
> > the
> > > | > editor
> > > | > | > and
> > > | > | > > started again. For the very first line of C, the editor
> behaves
> > > | > normally
> > > | > | > nut
> > > | > | > > not for the following lines I tried to write.
> > > | > | > > Is it a special command to insert a new line in this C source
> > file
> > > | > | editor
> > > | > | > ?
> > > | > | > > Any idea on how to get a normal behavior for the whole source
> > file
> > > ?
> > > | > | > >
> > ____________________________________________________________ ______
> > > | > | > > Michel GAREIL ICQ#: 12644559 Current ICQ status: + More ways
> to
> > > | > contact
> > > | > | me
> > > | > | > i
> > > | > | > > See more about me:
> > > | > | > >
> > ____________________________________________________________ ______
> > > | > | > >
> > > | > | > >
> > > | > | >
> > > | > | >
> > > | > |
> > > | > |
> > > | >
> > > | >
> > > |
> > > |
> > >
> > >
> >
> >
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.423 / Virus Database: 238 - Release Date: 11/25/02
>
>
Re: Source C editor behavior [message #53407 is a reply to message #53356] Mon, 09 December 2002 12:55 Go to previous messageGo to next message
Eclipse UserFriend
"james keeley" <james.keeley@tfn.com> wrote in message
news:1103_1039377259@www.eclipse.org...
| Hi Judy,
|
| Been away for a bit, so just getting caught up. Any news on this one?

Hi James,

Nothing yet ... it is on my list ;)

-Judy

|
| Regs,
|
| James
|
| On Sat, 30 Nov 2002 20:50:08 -0500, "Judy Green" <jgreen@qnx.com> wrote:
| >
| > "james keeley" <james.keeley@tfn.com> wrote in message
| > news:as9vq0$3fg$1@rogue.oti.com...
| > > Hello Judy,
| > >
| > > It appears that if one substitutes an instance of the
| > > BufferedRuleBasedScanner for the BufferedDocumentScanner in
| > > org.eclipse.cdt.internal.ui.text.FastCPartitionScanner, all is well.
| > >
| > > Haven't had too much time to investigate beyond at this point, but
suspect
| > > the differences in their respective read() methods is the culprit.
| >
| > Thanks for looking into this. I'll look at it this week.
| >
| > Thanks again
| >
| > -Judy
| >
| > >
| > > Regards,
| > >
| > > James
| > >
| > >
| > > "Judy N. Green" <jgreen@qnx.com> wrote in message
| > > news:aru44b$akk$1@rogue.oti.com...
| > > >
| > > > "Robert Varga" <robert.varga@fathomtechnology.com> wrote in message
| > > > news:art8ob$nv8$1@rogue.oti.com...
| > > > | Hello,
| > > > |
| > > > | When can we expect that move to support 2.1 to happen?
| > > > |
| > > > | Maybe some of us would be willing to use the fix as a patch
provided
| > as
| > > is
| > > > | without support, if it would not break too much things and would
not
| > be
| > > > too
| > > > | hard to incorporate.
| > > > |
| > > >
| > > > Hi Robert,
| > > >
| > > > Thanks for the offer. The problem is that there may be many more
things
| > > that
| > > > come up when we run with Eclipse 2.1.
| > > > I do not want to open a can of worms that we are not ready to
manage.
| > > >
| > > > If you really really want to fix this problem and use Eclipse 2.1.
You
| > are
| > > > welcome to check out the CDT code, rollback to the fix (mentioned in
| > > another
| > > > thread) and build the CDT from within Eclipse (instructions on the
CDT
| > > > website). You can then install the resulting plugins and features at
| > your
| > > > own risk.
| > > >
| > > > Yes it would eb a great way of testing when we are ready to do so.
| > > >
| > > > Thanks for your offer.
| > > > -Judy
| > > > | It could also be considered as a means of testing that :-)
| > > > |
| > > > | Regards,
| > > > |
| > > > | Robert Varga
| > > > |
| > > > | "Judy N. Green" <jgreen@qnx.com> wrote in message
| > > > | news:arbhr9$u3e$1@rogue.oti.com...
| > > > | >
| > > > | > "Michel GAREIL" <mgareil@hotmail.com> wrote in message
| > > > | > news:ar7be0$s6c$1@rogue.oti.com...
| > > > | > | Hello,
| > > > | > | I tried the eclipse M3 version (15/Nov/2002) with the latest
cdt
| > > build
| > > > | > | (14/Nov/2002) and the editor is still typing backward after
the
| > > first
| > > > | line
| > > > | > | of a c/cpp source file.
| > > > | > | I'm running eclipse on a Windows XP Pro.
| > > > | >
| > > > | > Eclipse M3 is a 2.1 based version.
| > > > | > The cdt is only supporting the 2.0.1 and soon 2.0.2 versions of
| > > Eclipse.
| > > > | >
| > > > | > The fix for typing backwards in the Eclipse 2.1 stream (M1 etc)
will
| > > not
| > > > | be
| > > > | > released until we make the move to support the 2.1 version of
| > Eclipse.
| > > > | >
| > > > | > -Judy
| > > > | >
| > > > | > |
| > > > | > | Thanks for your help
| > > > | > | ======================= beginning of the eclipse log file
| > > ===========
| > > > | > | !SESSION nov. 17, 2002
| > > > | > | 07:28:41.942 --------------------------------------------
| > > > | > | java.version=1.4.1
| > > > | > | java.vendor=Sun Microsystems Inc.
| > > > | > | BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
| > > > | > | Command-line arguments: -os win32 -ws win32 -arch x86 -install
| > > > | > | file:C:/eclipse/
| > > > | > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:41.942
| > > > | > | !MESSAGE Unhandled exception caught in event loop.
| > > > | > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:41.952
| > > > | > | !MESSAGE 1000
| > > > | > | !STACK 0
| > > > | > | java.lang.ArrayIndexOutOfBoundsException: 1000
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
| > > > | > | ntScanner.java:105)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
| > > > | > | ionScanner.java:91)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
| > > > | > | itioner.java:256)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
| > > > | > | ument.java:507)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
| > > > | > | .java:529)
| > > > | > | at
| > > > | > |
| > > > |
| > >
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
| > > > | > | :162)
| > > > | > | at
| > > > |
org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
| > > > | > | at
| > > > org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
| > > > | > | at
| > > org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
| > > > | > | at
| > > org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
| > > > | > | at
| > > > |
org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
| > > > | > | at
| > > > |
org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
| > > > | > | at
| > org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
| > > > | > | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
| > > > | > | at
| > > > org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
| > > > | > | at
| > > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
| > > > | > | at
| > > > org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
| > > > | > | at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
| > > > | > | a:831)
| > > > | > | at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
| > > > | > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
| > > > | > | )
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
| > > > | > | .java:25)
| > > > | > | at java.lang.reflect.Method.invoke(Method.java:324)
| > > > | > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
| > > > | > | at org.eclipse.core.launcher.Main.run(Main.java:703)
| > > > | > | at org.eclipse.core.launcher.Main.main(Main.java:539)
| > > > | > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.02
| > > > | > | !MESSAGE Unhandled exception caught in event loop.
| > > > | > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.12
| > > > | > | !MESSAGE 1000
| > > > | > | !STACK 0
| > > > | > | java.lang.ArrayIndexOutOfBoundsException: 1000
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
| > > > | > | ntScanner.java:105)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
| > > > | > | ionScanner.java:91)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
| > > > | > | itioner.java:256)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
| > > > | > | ument.java:507)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
| > > > | > | .java:529)
| > > > | > | at
| > > > | > |
| > > > |
| > >
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
| > > > | > | :162)
| > > > | > | at
| > > > |
org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
| > > > | > | at
| > > > org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
| > > > | > | at
| > > org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
| > > > | > | at
| > > org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
| > > > | > | at
| > > > |
org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
| > > > | > | at
| > > > |
org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
| > > > | > | at
| > org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
| > > > | > | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
| > > > | > | at
| > > > org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
| > > > | > | at
| > > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
| > > > | > | at
| > > > org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
| > > > | > | at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
| > > > | > | a:831)
| > > > | > | at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
| > > > | > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
| > > > | > | )
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
| > > > | > | .java:25)
| > > > | > | at java.lang.reflect.Method.invoke(Method.java:324)
| > > > | > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
| > > > | > | at org.eclipse.core.launcher.Main.run(Main.java:703)
| > > > | > | at org.eclipse.core.launcher.Main.main(Main.java:539)
| > > > | > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.112
| > > > | > | !MESSAGE Unhandled exception caught in event loop.
| > > > | > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.132
| > > > | > | !MESSAGE 1000
| > > > | > | !STACK 0
| > > > | > | java.lang.ArrayIndexOutOfBoundsException: 1000
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
| > > > | > | ntScanner.java:105)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
| > > > | > | ionScanner.java:91)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
| > > > | > | itioner.java:256)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
| > > > | > | ument.java:507)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
| > > > | > | .java:529)
| > > > | > | at
| > > > | > |
| > > > |
| > >
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
| > > > | > | :162)
| > > > | > | at
| > > > |
org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
| > > > | > | at
| > > > org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
| > > > | > | at
| > > org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
| > > > | > | at
| > > org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
| > > > | > | at
| > > > |
org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
| > > > | > | at
| > > > |
org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
| > > > | > | at
| > org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
| > > > | > | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
| > > > | > | at
| > > > org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
| > > > | > | at
| > > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
| > > > | > | at
| > > > org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
| > > > | > | at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
| > > > | > | a:831)
| > > > | > | at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
| > > > | > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
| > > > | > | )
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
| > > > | > | .java:25)
| > > > | > | at java.lang.reflect.Method.invoke(Method.java:324)
| > > > | > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
| > > > | > | at org.eclipse.core.launcher.Main.run(Main.java:703)
| > > > | > | at org.eclipse.core.launcher.Main.main(Main.java:539)
| > > > | > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.272
| > > > | > | !MESSAGE Unhandled exception caught in event loop.
| > > > | > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.292
| > > > | > | !MESSAGE 1000
| > > > | > | !STACK 0
| > > > | > | java.lang.ArrayIndexOutOfBoundsException: 1000
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
| > > > | > | ntScanner.java:105)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
| > > > | > | ionScanner.java:91)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
| > > > | > | itioner.java:256)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
| > > > | > | ument.java:507)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
| > > > | > | .java:529)
| > > > | > | at
| > > > | > |
| > > > |
| > >
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
| > > > | > | :162)
| > > > | > | at
| > > > |
org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
| > > > | > | at
| > > > org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
| > > > | > | at
| > > org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
| > > > | > | at
| > > org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
| > > > | > | at
| > > > |
org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
| > > > | > | at
| > > > |
org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
| > > > | > | at
| > org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
| > > > | > | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
| > > > | > | at
| > > > org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
| > > > | > | at
| > > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
| > > > | > | at
| > > > org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
| > > > | > | at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
| > > > | > | a:831)
| > > > | > | at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
| > > > | > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
| > > > | > | )
| > > > | > | at
| > > > | > |
| > > > | >
| > > > |
| > > >
| > >
| >
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
| > > > | > | .java:25)
| > > > | > | at java.lang.reflect.Method.invoke(Method.java:324)
| > > > | > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
| > > > | > | at org.eclipse.core.launcher.Main.run(Main.java:703)
| > > > | > | at org.eclipse.core.launcher.Main.main(Main.java:539)
| > > > | > | =======================
| > > > | > |
| > > > | > | "Michel GAREIL" <mgareil@hotmail.com> wrote in message
| > > > | > | news:ar01ri$n2u$1@rogue.oti.com...
| > > > | > | > Hi,
| > > > | > | > I still have the same behavior of C/C++ editor with eclipse
2.01
| > > and
| > > > | the
| > > > | > | CDT
| > > > | > | > build of the 11/11/2002
| > > > | > | > Is it planed to be corrected with the next stable eclipse
| > package
| > > ?
| > > > | > | > Thanks for your help
| > > > | > | >
| > > > | > | > "Michel GAREIL" <mgareil@hotmail.com> wrote in message
| > > > | > | > news:anoe8h$nc$1@rogue.oti.com...
| > > > | > | > > Hi,
| > > > | > | > > I just downloaded and installed the latest version of CDT
| > (build
| > > > | > | 20021002)
| > > > | > | > > on the eclipse 2.01 (build 20020920) on a Windows XP Pro.
| > > > | > | > > I could create a new C/C++ project and started to write
new
| > > source
| > > > C
| > > > | > | when
| > > > | > | > at
| > > > | > | > > the second line of code, the C editor started to write
right
| > to
| > > > left
| > > > | > | > instead
| > > > | > | > > of left to write.
| > > > | > | > > when I typed printf I got ftnirp. I cleared all the text
from
| > > the
| > > > | > editor
| > > > | > | > and
| > > > | > | > > started again. For the very first line of C, the editor
| > behaves
| > > > | > normally
| > > > | > | > nut
| > > > | > | > > not for the following lines I tried to write.
| > > > | > | > > Is it a special command to insert a new line in this C
source
| > > file
| > > > | > | editor
| > > > | > | > ?
| > > > | > | > > Any idea on how to get a normal behavior for the whole
source
| > > file
| > > > ?
| > > > | > | > >
| > > ____________________________________________________________ ______
| > > > | > | > > Michel GAREIL ICQ#: 12644559 Current ICQ status: + More
ways
| > to
| > > > | > contact
| > > > | > | me
| > > > | > | > i
| > > > | > | > > See more about me:
| > > > | > | > >
| > > ____________________________________________________________ ______
| > > > | > | > >
| > > > | > | > >
| > > > | > | >
| > > > | > | >
| > > > | > |
| > > > | > |
| > > > | >
| > > > | >
| > > > |
| > > > |
| > > >
| > > >
| > >
| > >
| >
| >
| > ---
| > Outgoing mail is certified Virus Free.
| > Checked by AVG anti-virus system (http://www.grisoft.com).
| > Version: 6.0.423 / Virus Database: 238 - Release Date: 11/25/02
| >
| >
|
|
|
Re: Source C editor behavior [message #53461 is a reply to message #53407] Mon, 09 December 2002 18:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: james.keeley.tfn.com

Cheers. No worries.

"Judy N. Green" <jgreen@qnx.com> wrote in message
news:at2kj1$6sr$1@rogue.oti.com...
>
> "james keeley" <james.keeley@tfn.com> wrote in message
> news:1103_1039377259@www.eclipse.org...
> | Hi Judy,
> |
> | Been away for a bit, so just getting caught up. Any news on this one?
>
> Hi James,
>
> Nothing yet ... it is on my list ;)
>
> -Judy
<in the interest of brevity...snip>
Re: Source C editor behavior [message #53726 is a reply to message #53407] Wed, 11 December 2002 06:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: james.keeley.tfn.com

Actually Judy, adding the following conditional before the final return
statement in org.eclipse.cdt.internal.ui.text.BufferedDocumentReader.read ()
will do the trick as well:
if (fOffset >= fRangeLength) {

fOffset++;

return EOF;

}




"Judy N. Green" <jgreen@qnx.com> wrote in message
news:at2kj1$6sr$1@rogue.oti.com...
>
> "james keeley" <james.keeley@tfn.com> wrote in message
> news:1103_1039377259@www.eclipse.org...
> | Hi Judy,
> |
> | Been away for a bit, so just getting caught up. Any news on this one?
>
> Hi James,
>
> Nothing yet ... it is on my list ;)
>
> -Judy
>
> |
> | Regs,
> |
> | James
> |
> | On Sat, 30 Nov 2002 20:50:08 -0500, "Judy Green" <jgreen@qnx.com> wrote:
> | >
> | > "james keeley" <james.keeley@tfn.com> wrote in message
> | > news:as9vq0$3fg$1@rogue.oti.com...
> | > > Hello Judy,
> | > >
> | > > It appears that if one substitutes an instance of the
> | > > BufferedRuleBasedScanner for the BufferedDocumentScanner in
> | > > org.eclipse.cdt.internal.ui.text.FastCPartitionScanner, all is well.
> | > >
> | > > Haven't had too much time to investigate beyond at this point, but
> suspect
> | > > the differences in their respective read() methods is the culprit.
> | >
> | > Thanks for looking into this. I'll look at it this week.
> | >
> | > Thanks again
> | >
> | > -Judy
> | >
> | > >
> | > > Regards,
> | > >
> | > > James
> | > >
> | > >
> | > > "Judy N. Green" <jgreen@qnx.com> wrote in message
> | > > news:aru44b$akk$1@rogue.oti.com...
> | > > >
> | > > > "Robert Varga" <robert.varga@fathomtechnology.com> wrote in
message
> | > > > news:art8ob$nv8$1@rogue.oti.com...
> | > > > | Hello,
> | > > > |
> | > > > | When can we expect that move to support 2.1 to happen?
> | > > > |
> | > > > | Maybe some of us would be willing to use the fix as a patch
> provided
> | > as
> | > > is
> | > > > | without support, if it would not break too much things and would
> not
> | > be
> | > > > too
> | > > > | hard to incorporate.
> | > > > |
> | > > >
> | > > > Hi Robert,
> | > > >
> | > > > Thanks for the offer. The problem is that there may be many more
> things
> | > > that
> | > > > come up when we run with Eclipse 2.1.
> | > > > I do not want to open a can of worms that we are not ready to
> manage.
> | > > >
> | > > > If you really really want to fix this problem and use Eclipse 2.1.
> You
> | > are
> | > > > welcome to check out the CDT code, rollback to the fix (mentioned
in
> | > > another
> | > > > thread) and build the CDT from within Eclipse (instructions on the
> CDT
> | > > > website). You can then install the resulting plugins and features
at
> | > your
> | > > > own risk.
> | > > >
> | > > > Yes it would eb a great way of testing when we are ready to do so.
> | > > >
> | > > > Thanks for your offer.
> | > > > -Judy
> | > > > | It could also be considered as a means of testing that :-)
> | > > > |
> | > > > | Regards,
> | > > > |
> | > > > | Robert Varga
> | > > > |
> | > > > | "Judy N. Green" <jgreen@qnx.com> wrote in message
> | > > > | news:arbhr9$u3e$1@rogue.oti.com...
> | > > > | >
> | > > > | > "Michel GAREIL" <mgareil@hotmail.com> wrote in message
> | > > > | > news:ar7be0$s6c$1@rogue.oti.com...
> | > > > | > | Hello,
> | > > > | > | I tried the eclipse M3 version (15/Nov/2002) with the latest
> cdt
> | > > build
> | > > > | > | (14/Nov/2002) and the editor is still typing backward after
> the
> | > > first
> | > > > | line
> | > > > | > | of a c/cpp source file.
> | > > > | > | I'm running eclipse on a Windows XP Pro.
> | > > > | >
> | > > > | > Eclipse M3 is a 2.1 based version.
> | > > > | > The cdt is only supporting the 2.0.1 and soon 2.0.2 versions
of
> | > > Eclipse.
> | > > > | >
> | > > > | > The fix for typing backwards in the Eclipse 2.1 stream (M1
etc)
> will
> | > > not
> | > > > | be
> | > > > | > released until we make the move to support the 2.1 version of
> | > Eclipse.
> | > > > | >
> | > > > | > -Judy
> | > > > | >
> | > > > | > |
> | > > > | > | Thanks for your help
> | > > > | > | ======================= beginning of the eclipse log file
> | > > ===========
> | > > > | > | !SESSION nov. 17, 2002
> | > > > | > | 07:28:41.942 --------------------------------------------
> | > > > | > | java.version=1.4.1
> | > > > | > | java.vendor=Sun Microsystems Inc.
> | > > > | > | BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
> | > > > | > | Command-line arguments: -os win32 -ws win32 -arch
x86 -install
> | > > > | > | file:C:/eclipse/
> | > > > | > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:41.942
> | > > > | > | !MESSAGE Unhandled exception caught in event loop.
> | > > > | > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:41.952
> | > > > | > | !MESSAGE 1000
> | > > > | > | !STACK 0
> | > > > | > | java.lang.ArrayIndexOutOfBoundsException: 1000
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
> | > > > | > | ntScanner.java:105)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
> | > > > | > | ionScanner.java:91)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
> | > > > | > | itioner.java:256)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
> | > > > | > | ument.java:507)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
> | > > > | > | .java:529)
> | > > > | > | at
> | > > > | > |
> | > > > |
> | > >
> org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
> | > > > | > | :162)
> | > > > | > | at
> | > > > |
> org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
> | > > > | > | at
> | > > >
org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
> | > > > | > | at
> | > > org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
> | > > > | > | at
> | > > org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
> | > > > | > | at
> | > > > |
> org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
> | > > > | > | at
> | > > > |
> org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
> | > > > | > | at
> | > org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
> | > > > | > | at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
> | > > > | > | at
> | > > >
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
> | > > > | > | at
> | > > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
> | > > > | > | at
> | > > >
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
> | > > > | > | at
org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
> | > > > | > | a:831)
> | > > > | > | at
org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
> | > > > | > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> | > > > | > | )
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> | > > > | > | .java:25)
> | > > > | > | at java.lang.reflect.Method.invoke(Method.java:324)
> | > > > | > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
> | > > > | > | at org.eclipse.core.launcher.Main.run(Main.java:703)
> | > > > | > | at org.eclipse.core.launcher.Main.main(Main.java:539)
> | > > > | > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.02
> | > > > | > | !MESSAGE Unhandled exception caught in event loop.
> | > > > | > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.12
> | > > > | > | !MESSAGE 1000
> | > > > | > | !STACK 0
> | > > > | > | java.lang.ArrayIndexOutOfBoundsException: 1000
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
> | > > > | > | ntScanner.java:105)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
> | > > > | > | ionScanner.java:91)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
> | > > > | > | itioner.java:256)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
> | > > > | > | ument.java:507)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
> | > > > | > | .java:529)
> | > > > | > | at
> | > > > | > |
> | > > > |
> | > >
> org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
> | > > > | > | :162)
> | > > > | > | at
> | > > > |
> org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
> | > > > | > | at
> | > > >
org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
> | > > > | > | at
> | > > org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
> | > > > | > | at
> | > > org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
> | > > > | > | at
> | > > > |
> org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
> | > > > | > | at
> | > > > |
> org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
> | > > > | > | at
> | > org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
> | > > > | > | at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
> | > > > | > | at
> | > > >
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
> | > > > | > | at
> | > > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
> | > > > | > | at
> | > > >
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
> | > > > | > | at
org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
> | > > > | > | a:831)
> | > > > | > | at
org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
> | > > > | > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> | > > > | > | )
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> | > > > | > | .java:25)
> | > > > | > | at java.lang.reflect.Method.invoke(Method.java:324)
> | > > > | > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
> | > > > | > | at org.eclipse.core.launcher.Main.run(Main.java:703)
> | > > > | > | at org.eclipse.core.launcher.Main.main(Main.java:539)
> | > > > | > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.112
> | > > > | > | !MESSAGE Unhandled exception caught in event loop.
> | > > > | > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.132
> | > > > | > | !MESSAGE 1000
> | > > > | > | !STACK 0
> | > > > | > | java.lang.ArrayIndexOutOfBoundsException: 1000
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
> | > > > | > | ntScanner.java:105)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
> | > > > | > | ionScanner.java:91)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
> | > > > | > | itioner.java:256)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
> | > > > | > | ument.java:507)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
> | > > > | > | .java:529)
> | > > > | > | at
> | > > > | > |
> | > > > |
> | > >
> org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
> | > > > | > | :162)
> | > > > | > | at
> | > > > |
> org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
> | > > > | > | at
> | > > >
org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
> | > > > | > | at
> | > > org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
> | > > > | > | at
> | > > org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
> | > > > | > | at
> | > > > |
> org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
> | > > > | > | at
> | > > > |
> org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
> | > > > | > | at
> | > org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
> | > > > | > | at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
> | > > > | > | at
> | > > >
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
> | > > > | > | at
> | > > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
> | > > > | > | at
> | > > >
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
> | > > > | > | at
org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
> | > > > | > | a:831)
> | > > > | > | at
org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
> | > > > | > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> | > > > | > | )
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> | > > > | > | .java:25)
> | > > > | > | at java.lang.reflect.Method.invoke(Method.java:324)
> | > > > | > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
> | > > > | > | at org.eclipse.core.launcher.Main.run(Main.java:703)
> | > > > | > | at org.eclipse.core.launcher.Main.main(Main.java:539)
> | > > > | > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.272
> | > > > | > | !MESSAGE Unhandled exception caught in event loop.
> | > > > | > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.292
> | > > > | > | !MESSAGE 1000
> | > > > | > | !STACK 0
> | > > > | > | java.lang.ArrayIndexOutOfBoundsException: 1000
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
> | > > > | > | ntScanner.java:105)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
> | > > > | > | ionScanner.java:91)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
> | > > > | > | itioner.java:256)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
> | > > > | > | ument.java:507)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
> | > > > | > | .java:529)
> | > > > | > | at
> | > > > | > |
> | > > > |
> | > >
> org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
> | > > > | > | :162)
> | > > > | > | at
> | > > > |
> org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
> | > > > | > | at
> | > > >
org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
> | > > > | > | at
> | > > org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
> | > > > | > | at
> | > > org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
> | > > > | > | at
> | > > > |
> org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
> | > > > | > | at
> | > > > |
> org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
> | > > > | > | at
> | > org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
> | > > > | > | at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
> | > > > | > | at
> | > > >
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
> | > > > | > | at
> | > > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
> | > > > | > | at
> | > > >
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
> | > > > | > | at
org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
> | > > > | > | a:831)
> | > > > | > | at
org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
> | > > > | > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> | > > > | > | )
> | > > > | > | at
> | > > > | > |
> | > > > | >
> | > > > |
> | > > >
> | > >
> | >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> | > > > | > | .java:25)
> | > > > | > | at java.lang.reflect.Method.invoke(Method.java:324)
> | > > > | > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
> | > > > | > | at org.eclipse.core.launcher.Main.run(Main.java:703)
> | > > > | > | at org.eclipse.core.launcher.Main.main(Main.java:539)
> | > > > | > | =======================
> | > > > | > |
> | > > > | > | "Michel GAREIL" <mgareil@hotmail.com> wrote in message
> | > > > | > | news:ar01ri$n2u$1@rogue.oti.com...
> | > > > | > | > Hi,
> | > > > | > | > I still have the same behavior of C/C++ editor with
eclipse
> 2.01
> | > > and
> | > > > | the
> | > > > | > | CDT
> | > > > | > | > build of the 11/11/2002
> | > > > | > | > Is it planed to be corrected with the next stable eclipse
> | > package
> | > > ?
> | > > > | > | > Thanks for your help
> | > > > | > | >
> | > > > | > | > "Michel GAREIL" <mgareil@hotmail.com> wrote in message
> | > > > | > | > news:anoe8h$nc$1@rogue.oti.com...
> | > > > | > | > > Hi,
> | > > > | > | > > I just downloaded and installed the latest version of
CDT
> | > (build
> | > > > | > | 20021002)
> | > > > | > | > > on the eclipse 2.01 (build 20020920) on a Windows XP
Pro.
> | > > > | > | > > I could create a new C/C++ project and started to write
> new
> | > > source
> | > > > C
> | > > > | > | when
> | > > > | > | > at
> | > > > | > | > > the second line of code, the C editor started to write
> right
> | > to
> | > > > left
> | > > > | > | > instead
> | > > > | > | > > of left to write.
> | > > > | > | > > when I typed printf I got ftnirp. I cleared all the text
> from
> | > > the
> | > > > | > editor
> | > > > | > | > and
> | > > > | > | > > started again. For the very first line of C, the editor
> | > behaves
> | > > > | > normally
> | > > > | > | > nut
> | > > > | > | > > not for the following lines I tried to write.
> | > > > | > | > > Is it a special command to insert a new line in this C
> source
> | > > file
> | > > > | > | editor
> | > > > | > | > ?
> | > > > | > | > > Any idea on how to get a normal behavior for the whole
> source
> | > > file
> | > > > ?
> | > > > | > | > >
> | > > ____________________________________________________________ ______
> | > > > | > | > > Michel GAREIL ICQ#: 12644559 Current ICQ status: + More
> ways
> | > to
> | > > > | > contact
> | > > > | > | me
> | > > > | > | > i
> | > > > | > | > > See more about me:
> | > > > | > | > >
> | > > ____________________________________________________________ ______
> | > > > | > | > >
> | > > > | > | > >
> | > > > | > | >
> | > > > | > | >
> | > > > | > |
> | > > > | > |
> | > > > | >
> | > > > | >
> | > > > |
> | > > > |
> | > > >
> | > > >
> | > >
> | > >
> | >
> | >
> | > ---
> | > Outgoing mail is certified Virus Free.
> | > Checked by AVG anti-virus system (http://www.grisoft.com).
> | > Version: 6.0.423 / Virus Database: 238 - Release Date: 11/25/02
> | >
> | >
> |
> |
> |
>
>
Re: Source C editor behavior [message #54025 is a reply to message #53726] Thu, 12 December 2002 17:12 Go to previous message
Eclipse UserFriend
Hi all,

This issue has been resolved and the fix is in the *nightly* build just
posted to the downloads page.
Thanks for all you patience and suggestions.

-Judy

"james keeley" <james.keeley@tfn.com> wrote in message
news:at78m0$s5m$1@rogue.oti.com...
| Actually Judy, adding the following conditional before the final return
| statement in
org.eclipse.cdt.internal.ui.text.BufferedDocumentReader.read ()
| will do the trick as well:
| if (fOffset >= fRangeLength) {
|
| fOffset++;
|
| return EOF;
|
| }
|
|
|
|
| "Judy N. Green" <jgreen@qnx.com> wrote in message
| news:at2kj1$6sr$1@rogue.oti.com...
| >
| > "james keeley" <james.keeley@tfn.com> wrote in message
| > news:1103_1039377259@www.eclipse.org...
| > | Hi Judy,
| > |
| > | Been away for a bit, so just getting caught up. Any news on this one?
| >
| > Hi James,
| >
| > Nothing yet ... it is on my list ;)
| >
| > -Judy
| >
| > |
| > | Regs,
| > |
| > | James
| > |
| > | On Sat, 30 Nov 2002 20:50:08 -0500, "Judy Green" <jgreen@qnx.com>
wrote:
| > | >
| > | > "james keeley" <james.keeley@tfn.com> wrote in message
| > | > news:as9vq0$3fg$1@rogue.oti.com...
| > | > > Hello Judy,
| > | > >
| > | > > It appears that if one substitutes an instance of the
| > | > > BufferedRuleBasedScanner for the BufferedDocumentScanner in
| > | > > org.eclipse.cdt.internal.ui.text.FastCPartitionScanner, all is
well.
| > | > >
| > | > > Haven't had too much time to investigate beyond at this point, but
| > suspect
| > | > > the differences in their respective read() methods is the culprit.
| > | >
| > | > Thanks for looking into this. I'll look at it this week.
| > | >
| > | > Thanks again
| > | >
| > | > -Judy
| > | >
| > | > >
| > | > > Regards,
| > | > >
| > | > > James
| > | > >
| > | > >
| > | > > "Judy N. Green" <jgreen@qnx.com> wrote in message
| > | > > news:aru44b$akk$1@rogue.oti.com...
| > | > > >
| > | > > > "Robert Varga" <robert.varga@fathomtechnology.com> wrote in
| message
| > | > > > news:art8ob$nv8$1@rogue.oti.com...
| > | > > > | Hello,
| > | > > > |
| > | > > > | When can we expect that move to support 2.1 to happen?
| > | > > > |
| > | > > > | Maybe some of us would be willing to use the fix as a patch
| > provided
| > | > as
| > | > > is
| > | > > > | without support, if it would not break too much things and
would
| > not
| > | > be
| > | > > > too
| > | > > > | hard to incorporate.
| > | > > > |
| > | > > >
| > | > > > Hi Robert,
| > | > > >
| > | > > > Thanks for the offer. The problem is that there may be many more
| > things
| > | > > that
| > | > > > come up when we run with Eclipse 2.1.
| > | > > > I do not want to open a can of worms that we are not ready to
| > manage.
| > | > > >
| > | > > > If you really really want to fix this problem and use Eclipse
2.1.
| > You
| > | > are
| > | > > > welcome to check out the CDT code, rollback to the fix
(mentioned
| in
| > | > > another
| > | > > > thread) and build the CDT from within Eclipse (instructions on
the
| > CDT
| > | > > > website). You can then install the resulting plugins and
features
| at
| > | > your
| > | > > > own risk.
| > | > > >
| > | > > > Yes it would eb a great way of testing when we are ready to do
so.
| > | > > >
| > | > > > Thanks for your offer.
| > | > > > -Judy
| > | > > > | It could also be considered as a means of testing that :-)
| > | > > > |
| > | > > > | Regards,
| > | > > > |
| > | > > > | Robert Varga
| > | > > > |
| > | > > > | "Judy N. Green" <jgreen@qnx.com> wrote in message
| > | > > > | news:arbhr9$u3e$1@rogue.oti.com...
| > | > > > | >
| > | > > > | > "Michel GAREIL" <mgareil@hotmail.com> wrote in message
| > | > > > | > news:ar7be0$s6c$1@rogue.oti.com...
| > | > > > | > | Hello,
| > | > > > | > | I tried the eclipse M3 version (15/Nov/2002) with the
latest
| > cdt
| > | > > build
| > | > > > | > | (14/Nov/2002) and the editor is still typing backward
after
| > the
| > | > > first
| > | > > > | line
| > | > > > | > | of a c/cpp source file.
| > | > > > | > | I'm running eclipse on a Windows XP Pro.
| > | > > > | >
| > | > > > | > Eclipse M3 is a 2.1 based version.
| > | > > > | > The cdt is only supporting the 2.0.1 and soon 2.0.2 versions
| of
| > | > > Eclipse.
| > | > > > | >
| > | > > > | > The fix for typing backwards in the Eclipse 2.1 stream (M1
| etc)
| > will
| > | > > not
| > | > > > | be
| > | > > > | > released until we make the move to support the 2.1 version
of
| > | > Eclipse.
| > | > > > | >
| > | > > > | > -Judy
| > | > > > | >
| > | > > > | > |
| > | > > > | > | Thanks for your help
| > | > > > | > | ======================= beginning of the eclipse log file
| > | > > ===========
| > | > > > | > | !SESSION nov. 17, 2002
| > | > > > | > | 07:28:41.942 --------------------------------------------
| > | > > > | > | java.version=1.4.1
| > | > > > | > | java.vendor=Sun Microsystems Inc.
| > | > > > | > | BootLoader constants: OS=win32, ARCH=x86, WS=win32,
NL=fr_FR
| > | > > > | > | Command-line arguments: -os win32 -ws win32 -arch
| x86 -install
| > | > > > | > | file:C:/eclipse/
| > | > > > | > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:41.942
| > | > > > | > | !MESSAGE Unhandled exception caught in event loop.
| > | > > > | > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:41.952
| > | > > > | > | !MESSAGE 1000
| > | > > > | > | !STACK 0
| > | > > > | > | java.lang.ArrayIndexOutOfBoundsException: 1000
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
| > | > > > | > | ntScanner.java:105)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
| > | > > > | > | ionScanner.java:91)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
| > | > > > | > | itioner.java:256)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
| > | > > > | > | ument.java:507)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
| > | > > > | > | .java:529)
| > | > > > | > | at
| > | > > > | > |
| > | > > > |
| > | > >
| >
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
| > | > > > | > | :162)
| > | > > > | > | at
| > | > > > |
| > org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
| > | > > > | > | at
| > | > > >
| org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
| > | > > > | > | at
| > | > > org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
| > | > > > | > | at
| > | > > org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
| > | > > > | > | at
| > | > > > |
| > org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
| > | > > > | > | at
| > | > > > |
| > org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
| > | > > > | > | at
| > | > org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
| > | > > > | > | at
| org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
| > | > > > | > | at
| > | > > >
| org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
| > | > > > | > | at
| > | > > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
| > | > > > | > | at
| > | > > >
| org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
| > | > > > | > | at
| org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
| > | > > > | > | a:831)
| > | > > > | > | at
| org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
| > | > > > | > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
| > Method)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
| > | > > > | > | )
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
| > | > > > | > | .java:25)
| > | > > > | > | at java.lang.reflect.Method.invoke(Method.java:324)
| > | > > > | > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
| > | > > > | > | at org.eclipse.core.launcher.Main.run(Main.java:703)
| > | > > > | > | at org.eclipse.core.launcher.Main.main(Main.java:539)
| > | > > > | > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.02
| > | > > > | > | !MESSAGE Unhandled exception caught in event loop.
| > | > > > | > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.12
| > | > > > | > | !MESSAGE 1000
| > | > > > | > | !STACK 0
| > | > > > | > | java.lang.ArrayIndexOutOfBoundsException: 1000
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
| > | > > > | > | ntScanner.java:105)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
| > | > > > | > | ionScanner.java:91)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
| > | > > > | > | itioner.java:256)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
| > | > > > | > | ument.java:507)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
| > | > > > | > | .java:529)
| > | > > > | > | at
| > | > > > | > |
| > | > > > |
| > | > >
| >
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
| > | > > > | > | :162)
| > | > > > | > | at
| > | > > > |
| > org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
| > | > > > | > | at
| > | > > >
| org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
| > | > > > | > | at
| > | > > org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
| > | > > > | > | at
| > | > > org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
| > | > > > | > | at
| > | > > > |
| > org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
| > | > > > | > | at
| > | > > > |
| > org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
| > | > > > | > | at
| > | > org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
| > | > > > | > | at
| org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
| > | > > > | > | at
| > | > > >
| org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
| > | > > > | > | at
| > | > > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
| > | > > > | > | at
| > | > > >
| org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
| > | > > > | > | at
| org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
| > | > > > | > | a:831)
| > | > > > | > | at
| org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
| > | > > > | > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
| > Method)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
| > | > > > | > | )
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
| > | > > > | > | .java:25)
| > | > > > | > | at java.lang.reflect.Method.invoke(Method.java:324)
| > | > > > | > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
| > | > > > | > | at org.eclipse.core.launcher.Main.run(Main.java:703)
| > | > > > | > | at org.eclipse.core.launcher.Main.main(Main.java:539)
| > | > > > | > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.112
| > | > > > | > | !MESSAGE Unhandled exception caught in event loop.
| > | > > > | > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.132
| > | > > > | > | !MESSAGE 1000
| > | > > > | > | !STACK 0
| > | > > > | > | java.lang.ArrayIndexOutOfBoundsException: 1000
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
| > | > > > | > | ntScanner.java:105)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
| > | > > > | > | ionScanner.java:91)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
| > | > > > | > | itioner.java:256)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
| > | > > > | > | ument.java:507)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
| > | > > > | > | .java:529)
| > | > > > | > | at
| > | > > > | > |
| > | > > > |
| > | > >
| >
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
| > | > > > | > | :162)
| > | > > > | > | at
| > | > > > |
| > org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
| > | > > > | > | at
| > | > > >
| org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
| > | > > > | > | at
| > | > > org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
| > | > > > | > | at
| > | > > org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
| > | > > > | > | at
| > | > > > |
| > org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
| > | > > > | > | at
| > | > > > |
| > org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
| > | > > > | > | at
| > | > org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
| > | > > > | > | at
| org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
| > | > > > | > | at
| > | > > >
| org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
| > | > > > | > | at
| > | > > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
| > | > > > | > | at
| > | > > >
| org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
| > | > > > | > | at
| org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
| > | > > > | > | a:831)
| > | > > > | > | at
| org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
| > | > > > | > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
| > Method)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
| > | > > > | > | )
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
| > | > > > | > | .java:25)
| > | > > > | > | at java.lang.reflect.Method.invoke(Method.java:324)
| > | > > > | > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
| > | > > > | > | at org.eclipse.core.launcher.Main.run(Main.java:703)
| > | > > > | > | at org.eclipse.core.launcher.Main.main(Main.java:539)
| > | > > > | > | !ENTRY org.eclipse.ui 4 4 nov. 17, 2002 07:28:42.272
| > | > > > | > | !MESSAGE Unhandled exception caught in event loop.
| > | > > > | > | !ENTRY org.eclipse.ui 4 0 nov. 17, 2002 07:28:42.292
| > | > > > | > | !MESSAGE 1000
| > | > > > | > | !STACK 0
| > | > > > | > | java.lang.ArrayIndexOutOfBoundsException: 1000
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.rea d(BufferedDocume
| > | > > > | > | ntScanner.java:105)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextT oken(FastCPartit
| > | > > > | > | ionScanner.java:91)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.jface.text.rules.DefaultPartitioner.documentChan ged2(DefaultPart
| > | > > > | > | itioner.java:256)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.jface.text.AbstractDocument.updateDocumentStruct ures(AbstractDoc
| > | > > > | > | ument.java:507)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument
| > | > > > | > | .java:529)
| > | > > > | > | at
| > | > > > | > |
| > | > > > |
| > | > >
| >
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:839)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(Docu mentAdapter.java
| > | > > > | > | :162)
| > | > > > | > | at
| > | > > > |
| > org.eclipse.swt.custom.StyledText.modifyContent(StyledText.j ava:5621)
| > | > > > | > | at
| > | > > >
| org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.ja va:6545)
| > | > > > | > | at
| > | > > org.eclipse.swt.custom.StyledText.doContent(StyledText.java: 2652)
| > | > > > | > | at
| > | > > org.eclipse.swt.custom.StyledText.handleKey(StyledText.java: 5007)
| > | > > > | > | at
| > | > > > |
| > org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.j ava:5030)
| > | > > > | > | at
| > | > > > |
| > org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.j ava:4800)
| > | > > > | > | at
| > | > org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
| > | > > > | > | at
| org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
| > | > > > | > | at
| > | > > >
| org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1692)
| > | > > > | > | at
| > | > > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1410)
| > | > > > | > | at
| > | > > >
| org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1435)
| > | > > > | > | at
| org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
| > | > > > | > | a:831)
| > | > > > | > | at
| org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
| > | > > > | > | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
| > Method)
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
| > | > > > | > | )
| > | > > > | > | at
| > | > > > | > |
| > | > > > | >
| > | > > > |
| > | > > >
| > | > >
| > | >
| >
|
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
| > | > > > | > | .java:25)
| > | > > > | > | at java.lang.reflect.Method.invoke(Method.java:324)
| > | > > > | > | at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
| > | > > > | > | at org.eclipse.core.launcher.Main.run(Main.java:703)
| > | > > > | > | at org.eclipse.core.launcher.Main.main(Main.java:539)
| > | > > > | > | =======================
| > | > > > | > |
| > | > > > | > | "Michel GAREIL" <mgareil@hotmail.com> wrote in message
| > | > > > | > | news:ar01ri$n2u$1@rogue.oti.com...
| > | > > > | > | > Hi,
| > | > > > | > | > I still have the same behavior of C/C++ editor with
| eclipse
| > 2.01
| > | > > and
| > | > > > | the
| > | > > > | > | CDT
| > | > > > | > | > build of the 11/11/2002
| > | > > > | > | > Is it planed to be corrected with the next stable
eclipse
| > | > package
| > | > > ?
| > | > > > | > | > Thanks for your help
| > | > > > | > | >
| > | > > > | > | > "Michel GAREIL" <mgareil@hotmail.com> wrote in message
| > | > > > | > | > news:anoe8h$nc$1@rogue.oti.com...
| > | > > > | > | > > Hi,
| > | > > > | > | > > I just downloaded and installed the latest version of
| CDT
| > | > (build
| > | > > > | > | 20021002)
| > | > > > | > | > > on the eclipse 2.01 (build 20020920) on a Windows XP
| Pro.
| > | > > > | > | > > I could create a new C/C++ project and started to
write
| > new
| > | > > source
| > | > > > C
| > | > > > | > | when
| > | > > > | > | > at
| > | > > > | > | > > the second line of code, the C editor started to write
| > right
| > | > to
| > | > > > left
| > | > > > | > | > instead
| > | > > > | > | > > of left to write.
| > | > > > | > | > > when I typed printf I got ftnirp. I cleared all the
text
| > from
| > | > > the
| > | > > > | > editor
| > | > > > | > | > and
| > | > > > | > | > > started again. For the very first line of C, the
editor
| > | > behaves
| > | > > > | > normally
| > | > > > | > | > nut
| > | > > > | > | > > not for the following lines I tried to write.
| > | > > > | > | > > Is it a special command to insert a new line in this C
| > source
| > | > > file
| > | > > > | > | editor
| > | > > > | > | > ?
| > | > > > | > | > > Any idea on how to get a normal behavior for the whole
| > source
| > | > > file
| > | > > > ?
| > | > > > | > | > >
| > | > > ____________________________________________________________ ______
| > | > > > | > | > > Michel GAREIL ICQ#: 12644559 Current ICQ status: +
More
| > ways
| > | > to
| > | > > > | > contact
| > | > > > | > | me
| > | > > > | > | > i
| > | > > > | > | > > See more about me:
| > | > > > | > | > >
| > | > > ____________________________________________________________ ______
| > | > > > | > | > >
| > | > > > | > | > >
| > | > > > | > | >
| > | > > > | > | >
| > | > > > | > |
| > | > > > | > |
| > | > > > | >
| > | > > > | >
| > | > > > |
| > | > > > |
| > | > > >
| > | > > >
| > | > >
| > | > >
| > | >
| > | >
| > | > ---
| > | > Outgoing mail is certified Virus Free.
| > | > Checked by AVG anti-virus system (http://www.grisoft.com).
| > | > Version: 6.0.423 / Virus Database: 238 - Release Date: 11/25/02
| > | >
| > | >
| > |
| > |
| > |
| >
| >
|
|
Previous Topic:Multiple delets from CVS project
Next Topic:Nightly CDT builds gone?
Goto Forum:
  


Current Time: Tue Jul 15 07:27:07 EDT 2025

Powered by FUDForum. Page generated in 0.38147 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top