Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Bug in highlighting?
Bug in highlighting? [message #55426] Thu, 26 December 2002 17:29 Go to next message
Igor S. Zamyatin is currently offline Igor S. ZamyatinFriend
Messages: 56
Registered: July 2009
Member
Hi all!

I downloaded fresh CDT from CVS and when I began to work I have detected
some strange thing. I assosiated .asm-files with CDT Assembly Editor and
specify color of single-line comment and began to edit .asm-file. And I
saw that highlighting didn't work correct. You can try to do same things
as I did and write in editor somenthing like that:


dfgdfg
//nop

//dfghdfgh
gfhfg

And then try to correct text somelike. For example insert anywhere empty
strings by pressing "Enter". On my computer higlighting behaves very
strange...
Please answer if somebody got the same situation.


Igor S. Zamyatin
Interstron Ltd.
Re: Bug in highlighting? [message #55696 is a reply to message #55426] Mon, 30 December 2002 13:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: chris_r_beckley.hotmail.com

Hi

I have the same problem with my .cpp and .h files in my c++ projects. If I
close and reopen a file it is displayed highlighted correctly but when i
edit it the highlighting becomes incorrect.

I also find that the cdt crashes and locks up eclipse when i open certain
files but I havent worked out what the problem is with these yet ;)

Maybe both probs are related to the parsing in the CDT.

Keep up the good work Eclipse/CDT is a great ide.

BuD.

Eclipse 2.0.2
CDT 1.0.1 Linux(GTK)
RH 8.0

"Igor S. Zamyatin" <isz@interstron.ru> wrote in message
news:aufean$8nv$1@rogue.oti.com...
>
> Hi all!
>
> I downloaded fresh CDT from CVS and when I began to work I have detected
> some strange thing. I assosiated .asm-files with CDT Assembly Editor and
> specify color of single-line comment and began to edit .asm-file. And I
> saw that highlighting didn't work correct. You can try to do same things
> as I did and write in editor somenthing like that:
>
>
> dfgdfg
> //nop
>
> //dfghdfgh
> gfhfg
>
> And then try to correct text somelike. For example insert anywhere empty
> strings by pressing "Enter". On my computer higlighting behaves very
> strange...
> Please answer if somebody got the same situation.
>
>
> Igor S. Zamyatin
> Interstron Ltd.
>
>
>
Re: Bug in highlighting? [message #55803 is a reply to message #55696] Mon, 30 December 2002 20:00 Go to previous messageGo to next message
Judy N. Green is currently offline Judy N. GreenFriend
Messages: 149
Registered: July 2009
Senior Member
Hi all,

We have detected some strange highlighting behaviour under certain
circumstances. So far we have not been able to recreate the problem.

Does anyone have a set of steps that produces this problem every time?

Thanks

-Judy

--
Re: Bug in highlighting? [message #55831 is a reply to message #55803] Mon, 30 December 2002 22:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bud_s2460.hotmail.com

I have tried with several different files and small projects and there is
always distortion in the highlighting if i edit editing the files on my
linux system using Eclipse 2.0.2/CDT 1.0.1 GTK.

I decided to try the CDT1.0.1 package for windows 2000 (same hardware) and
the problem was not present, on win2k my project that was crashing the ide
also loaded fine and the whole thing runs really well.

I thought the win2k version of eclipse i had was 2.0.2 as on the website,
but on the splash screen and the help>about>featuredetails it reports 2.1.0.

JVM 1.4 on both systems.

Hope this might be of some help.

BuD

"Judy N. Green" <jgreen@qnx.com> wrote in message
news:auq7de$2qc$1@rogue.oti.com...
> Hi all,
>
> We have detected some strange highlighting behaviour under certain
> circumstances. So far we have not been able to recreate the problem.
>
> Does anyone have a set of steps that produces this problem every time?
>
> Thanks
>
> -Judy
>
> --
>
Re: Bug in highlighting? [message #56310 is a reply to message #55831] Thu, 02 January 2003 21:10 Go to previous messageGo to next message
Judy N. Green is currently offline Judy N. GreenFriend
Messages: 149
Registered: July 2009
Senior Member
"BuD" <bud_s2460@hotmail.com> wrote in message
news:auqfc0$72o$1@rogue.oti.com...
| I have tried with several different files and small projects and there is
| always distortion in the highlighting if i edit editing the files on my
| linux system using Eclipse 2.0.2/CDT 1.0.1 GTK.
|
| I decided to try the CDT1.0.1 package for windows 2000 (same hardware) and
| the problem was not present, on win2k my project that was crashing the ide
| also loaded fine and the whole thing runs really well.
|
| I thought the win2k version of eclipse i had was 2.0.2 as on the website,
| but on the splash screen and the help>about>featuredetails it reports
2.1.0.
|
| JVM 1.4 on both systems.
|
| Hope this might be of some help.

Hi Bud,

This does indeed help.

There seems to be some side affects to our attempt to make the editor type
forwards with both Eclipse 2.0.x and 2.1.

The current code available will work without trouble with Eclipse 2.1. We
will probably (we are still discussing this) roll back a fix on the 1.0.1
CDT release branch to allow the 1.0.1 release to work with Eclipse 2.0.x.

-Judy

|
| BuD
|
| "Judy N. Green" <jgreen@qnx.com> wrote in message
| news:auq7de$2qc$1@rogue.oti.com...
| > Hi all,
| >
| > We have detected some strange highlighting behaviour under certain
| > circumstances. So far we have not been able to recreate the problem.
| >
| > Does anyone have a set of steps that produces this problem every time?
| >
| > Thanks
| >
| > -Judy
| >
| > --
| >
Re: Bug in highlighting? [message #57347 is a reply to message #56310] Wed, 08 January 2003 23:34 Go to previous messageGo to next message
Jim Myers is currently offline Jim MyersFriend
Messages: 12
Registered: July 2009
Junior Member
I have this highlighting problem also, often crashes Eclipse with loop in
JVM.

But I'm confused. The message below implies CDT 1.0.1 is built for Eclipse
2.1.
CDT downloads page says to use CDT 1.0.1 with Eclipse 2.0.2.

Which should I REALLY be using??

Jim Myers


"Judy N. Green" <jgreen@qnx.com> wrote in message
news:av28h8$sc5$1@rogue.oti.com...
>
> "BuD" <bud_s2460@hotmail.com> wrote in message
> news:auqfc0$72o$1@rogue.oti.com...
> | I have tried with several different files and small projects and there
is
> | always distortion in the highlighting if i edit editing the files on my
> | linux system using Eclipse 2.0.2/CDT 1.0.1 GTK.
> |
> | I decided to try the CDT1.0.1 package for windows 2000 (same hardware)
and
> | the problem was not present, on win2k my project that was crashing the
ide
> | also loaded fine and the whole thing runs really well.
> |
> | I thought the win2k version of eclipse i had was 2.0.2 as on the
website,
> | but on the splash screen and the help>about>featuredetails it reports
> 2.1.0.
> |
> | JVM 1.4 on both systems.
> |
> | Hope this might be of some help.
>
> Hi Bud,
>
> This does indeed help.
>
> There seems to be some side affects to our attempt to make the editor type
> forwards with both Eclipse 2.0.x and 2.1.
>
> The current code available will work without trouble with Eclipse 2.1. We
> will probably (we are still discussing this) roll back a fix on the 1.0.1
> CDT release branch to allow the 1.0.1 release to work with Eclipse 2.0.x.
>
> -Judy
>
> |
> | BuD
> |
> | "Judy N. Green" <jgreen@qnx.com> wrote in message
> | news:auq7de$2qc$1@rogue.oti.com...
> | > Hi all,
> | >
> | > We have detected some strange highlighting behaviour under certain
> | > circumstances. So far we have not been able to recreate the problem.
> | >
> | > Does anyone have a set of steps that produces this problem every time?
> | >
> | > Thanks
> | >
> | > -Judy
> | >
> | > --
> | >
Re: Bug in highlighting? [message #57374 is a reply to message #57347] Thu, 09 January 2003 02:09 Go to previous message
Eclipse UserFriend
Originally posted by: ed.burnette.no.spam.sas.com

Once upon a time there was a bug in CDT that made text come out backwards
when you typed in Eclipse 2.1. This was fixed once, backed out, and then
fixed again.

The second fix had a bug that made the highlighting go funny when using
Eclipse 2.1. This was fixed after the message you referred to, so any
current CDT build will actually work with either Eclipse 2.0 or 2.1. Of
course Eclipse 2.0.2 is more stable, but 2.1 has newer features, so which to
use is up to you. HTH.

"James Myers" <myersjj@us.ibm.com> wrote in message
news:avibq5$d48$1@rogue.oti.com...
> I have this highlighting problem also, often crashes Eclipse with loop in
> JVM.
>
> But I'm confused. The message below implies CDT 1.0.1 is built for Eclipse
> 2.1.
> CDT downloads page says to use CDT 1.0.1 with Eclipse 2.0.2.
>
> Which should I REALLY be using??
>
> Jim Myers
Previous Topic:Project Variables
Next Topic:autoconf and automake integration
Goto Forum:
  


Current Time: Sun Oct 06 12:10:19 GMT 2024

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

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

Back to the top