views:

47

answers:

1

Hi everyone,

I'm having a strange problem with Eclipse 3.6 where copy and pasting causes a lot of lag (total eclipse lockup for 5-10 seconds). I'm using the Helios 3.6 PHP build but have also tried Galileo to no avail. On .php files editing PHP code, it is fine and there is no delay. Same with .html and .js, but it only happens when I try and copy and paste Dojo Script (which is basically Javascript) embedded in a .php file. What may be causing the issue is it's not declared as:

<script type="text/javascript" event="onClick" args="evt">

but rather as:

<script type="dojo/method" event="onClick" args="evt">

So in the Editor, there is no special formatting at all because I guess the IDE doesn't recognize the 'language' that it is supposed to be. As a result, the text is pure black with no formatting, font changes or highlighting of any kind.

Thanks a lot!

A: 

Such lags are usually due to some validation process that timeout (or generate tons of errors like in this thread)

Could you check what happens when you deactivate some or all of the Javascript validations?

VonC
Hey VonC, sorry for the lng response. This didnt work. I disabled all JS validation and the delay was still there. Any other ideas?
Paul
@Paul: not at the moment except to check if there is some inclusion mechanism that could avoid you the copy task (and its associated delay). Other than that, it's back to a bug report site to mention this issue.
VonC