This is 9.0.1 on Windows 7 x64. Sometimes I get into a state where scrolling the code pane in the script editor doesn't scroll the line numbers to its left. Clicking a number sets a breakpoint on that numbered line, not the line of code to its right.
I haven't figured out how to make this happen, but it's happened to me a bunch of times. Has anyone else seen this?
Line numbers not scrolling in script editor
Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller
Line numbers not scrolling in script editor
Ciao,
Paul
Paul
-
- Livecode Opensource Backer
- Posts: 5384
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Line numbers not scrolling in script editor
A picture of what you mean would be very helpful.
Re: Line numbers not scrolling in script editor
I don't see how. You would have no way of knowing that the line numbers were wrong.
It's simple. The script editor gets into a state where I can scroll the script with the mouse wheel or the scrollbar, but the numbers to the left just sit there. When it is in this state, it affects every script that is open in the editor, and affects newly opened scripts. The only way to fix it is to close the script editor and reopen it again, which means reloading the various scripts I'm working one. So somewhere in the scrolling code, I suspect an exception is getting thrown before it has a chance to make the numbers align with the script, and the exception is being swallowed.
What would be useful is knowing how to provoke this bug. If I discover that, I'll post it here.
It's simple. The script editor gets into a state where I can scroll the script with the mouse wheel or the scrollbar, but the numbers to the left just sit there. When it is in this state, it affects every script that is open in the editor, and affects newly opened scripts. The only way to fix it is to close the script editor and reopen it again, which means reloading the various scripts I'm working one. So somewhere in the scrolling code, I suspect an exception is getting thrown before it has a chance to make the numbers align with the script, and the exception is being swallowed.
What would be useful is knowing how to provoke this bug. If I discover that, I'll post it here.
Ciao,
Paul
Paul
-
- VIP Livecode Opensource Backer
- Posts: 8418
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Line numbers not scrolling in script editor
I have seen this recently. Have you filled a report? I can add some notes to it wheni I pin down the recipe.
Richard Gaskin
LiveCode Community Liaison
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode Community Liaison
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn