| Home » Language IDEs » C / C++ IDE (CDT) » Source C editor behavior
 Goto Forum:| 
| Source C editor behavior [message #43854] | Sun, 06 October 2002 00:52  |  | 
| Eclipse User  |  |  |  |  | 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 #44075 is a reply to message #44044] | Tue, 08 October 2002 07:43   |  | 
| Eclipse User  |  |  |  |  | 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   |  | 
| Eclipse User  |  |  |  |  | "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 #44256 is a reply to message #44195] | Tue, 08 October 2002 12:47   |  | 
| Eclipse User  |  |  |  |  | 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   |  | 
| Eclipse User  |  |  |  |  | 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   |  | 
| Eclipse User  |  |  |  |  | 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 #44469 is a reply to message #44286] | Wed, 09 October 2002 16:00   |  | 
| Eclipse User  |  |  |  |  | "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 #50451 is a reply to message #50100] | Sun, 17 November 2002 01:38   |  | 
| Eclipse User  |  |  |  |  | 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   |  | 
| Eclipse User  |  |  |  |  | "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   |  | 
| Eclipse User  |  |  |  |  | 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   |  | 
| Eclipse User  |  |  |  |  | "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   |  | 
| Eclipse User  |  |  |  |  | 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   |  | 
| Eclipse User  |  |  |  |  | "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   |  | 
| Eclipse User  |  |  |  |  | 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   |  | 
| Eclipse User  |  |  |  |  | "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 #53726 is a reply to message #53407] | Wed, 11 December 2002 06:53   |  | 
| Eclipse User  |  |  |  |  | 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  |  | 
| Eclipse User  |  |  |  |  | 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
 | > | >
 | > | >
 | > |
 | > |
 | > |
 | >
 | >
 |
 |
 |  |  |  | 
 
 
 Current Time: Fri Oct 31 18:05:11 EDT 2025 
 Powered by FUDForum . Page generated in 0.34338 seconds |