Skip to main content
January 6, 2010
Question

weird auto-scrolling problems when typing

  • January 6, 2010
  • 1 reply
  • 2244 views

Is anyone else having problems with the editor auto scrolling the window after you enter a keystroke? My editor seems to be jumping all over the place sometimes, especially when I'm editing something that is wider than the page... ie, the page is already scrolled to the right. Sometimes after I enter some text, the editor scrolls me back all the way to the left.

I've noticed that sometimes the editor auto-scrolls me vertically after a hard return.

I'm wondering if this has somthing to do with the code validator, but I'm not sure. Whenever I type anything, I notice that some drawing occurs in the background. It seems to be related.

This topic has been closed for replies.

1 reply

Inspiring
January 8, 2010

Yes, this is happening for me as well, it's very annoying!

January 11, 2010

I think the problem has to do with the showing/highlighting of open/close constructs such as tags, quotes and brackets. I've done some testing and I can't seem to create a reproducable situation, but as I was testing, I was able to make the auto-scroll happen. It seems to be a horizontal scrolling problem, so if you're adding code on the same line with a close construct, the editor will sometimes scroll you to the beginning of the line to show you the start.

I'll post again when I can reproduce.

-JP

January 12, 2010

Here's a reproducible situation:

I was hardcoding a list of IDs as follows:

<cfset programIDList = "educational_programs,graduate_program,teacher_learning_center,journeys_school,conservation_research_center,wildlife_expeditions">

Once I got to the point where the horizontal width of the string was wider than the width of editor window, the editor kept trying to show me the beginning of the string (I assume where the opening quote is located) but I wasn't done typing. The result is a situation where I can't see what I'm typing because the editor keeps scrolling me back and forth.

This seems to be a UI defect to me.

Verify?