Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Has the text editor bug slowed you down?

Huns Valen
Don't PM me here.
Join date: 3 May 2003
Posts: 2,749
08-05-2006 02:10
For those of us who code or work with "big" notecards (hah - neither scripts or notecards can be >64KB), this needs no explanation. For everyone else, here's the deal: As text files grow, SL's built-in editor pauses longer and longer every time you add or remove a character. For example, on a large script, the entire client locks up for a second or longer whenever I try to type anything into it. If I try to just type an entire word without waiting to see the characters, it'll wind up dropping some of them, so I have to type in maybe two or three at a time or there'll be typos. Typing something like 'coolVariableName.z' is a 10-15 second project, because you have to type the letters two or three at a time and wait for it to unfreeze.

There is no fix for this bug listed in the release notes for next week's update.

What scares me is that LL's development model works like this: Whatever you want to work on, work on it. Whatever doesn't interest you, feel free to ignore. (Don't believe me? Go to Philip's explanation of how LL is run.) So, if no one at LL would find it particularly interesting to fix this bug, it will never get fixed. There are bugs that have been outstanding for years that haven't been fixed yet.

In my case, this is causing a significant slowdown in development of new products, as well as bugfixes/upgrades to current products. How about you?
Aodhan McDunnough
Gearhead
Join date: 29 Mar 2006
Posts: 1,518
08-05-2006 02:24
I don't like editing outside the SL client because I like the instant confirmation that a function or constant name was typed correctly (the color change). It is an important time-saver. Typing outside and then having the client compile means that any typo has to be corrected either by direct typing to the client or by outside editing and re-paste. Both of these require unreasonable amounts of time to do for even the smallest correction.

I've reported this bug and Torley has confirmed repro. I believe this bug was created by the UI scaling feature.

I have a queue of things I want to work out and its getting longer. Where I used to stay in SL for hours working on scripts, I'm in for just minutes then logout, accomplishing almost nothing.

This is one of those things that was working very well before and after being broken, for the past 3 (including the upcoming one) updates no bug fix is present.

Yes, LL this bug bothers me very very much. Call it THE showstopper of my SL experience so far. I'm not a clubhopper, I don't party, I don't roleplay. My primary existence in SL is building and scripting.

Would you mind giving this bug some semblance of a priority?
_____________________
Aodhan's Forge shop at slurl.com/secondlife/Rieul/95/213/107
Clubside Granville
Registered Bonehead
Join date: 13 Apr 2006
Posts: 478
08-05-2006 02:28
I know it's not the solution you want Aodhan, but you can get the LSL functionality with a lot of extra functionality and tie to the LSL Wiki by using SciTE, a text editor designed for LSL with all the same code highlighting. As a user of EditPlus, SciTE isn't the most wonderful text editor you'll find but it does work as an in-world LSL editor replacement.

http://sl.sdfjkl.org/secondlife/scite/
_____________________
Second Life Home Page Forums - slhomepage.com

Second Life Handbook - slhandbook.com

Second Life Mainland - slmainland.com
Aodhan McDunnough
Gearhead
Join date: 29 Mar 2006
Posts: 1,518
08-05-2006 02:31
From: Clubside Granville
I know it's not the solution you want Aodhan, but you can get the LSL functionality with a lot of extra functionality and tie to the LSL Wiki by using SciTE, a text editor designed for LSL with all the same code highlighting. As a user of EditPlus, SciTE isn't the most wonderful text editor you'll find but it does work as an in-world LSL editor replacement.

http://sl.sdfjkl.org/secondlife/scite/


Sigh ... might as well. Thanks.

I can't believe how far an "ain't broke - fix" went.
_____________________
Aodhan's Forge shop at slurl.com/secondlife/Rieul/95/213/107
Huns Valen
Don't PM me here.
Join date: 3 May 2003
Posts: 2,749
08-05-2006 14:13
SciTE is a pretty good editor. I used to use it a lot before the LSL editor had search and replace. However, it gets kind of ridiculous to use it to edit the name or value of a single variable, and then re-paste the entire script.
Jesse Malthus
OMG HAX!
Join date: 21 Apr 2006
Posts: 649
08-05-2006 14:16
I'm so leet, I hand-code SendXferPackets myself.
_____________________
Ruby loves me like Japanese Jesus.
Did Jesus ever go back and clean up those footprints he left? Beach Authority had to spend precious manpower.
Japanese Jesus, where are you?
Pragmatic!
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
08-05-2006 14:30
Huns, I made some thousand line scripts and notecards and they worked fine. Could you give me one that bogs down for you so I can test one known to not work properly?
_____________________
-

So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.

I can be found on the web by searching for "SuezanneC Baskerville", or go to

http://www.google.com/profiles/suezanne

-

http://lindenlab.tribe.net/ created on 11/19/03.

Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard,
Robin, and Ryan

-
Aodhan McDunnough
Gearhead
Join date: 29 Mar 2006
Posts: 1,518
08-05-2006 14:56
From: SuezanneC Baskerville
Huns, I made some thousand line scripts and notecards and they worked fine. Could you give me one that bogs down for you so I can test one know to not work properly?


Doesn't matter Suezanne. It happens even with random text that I copy-pasted from outside SL. I have a feeling that there is a bad interaction between the UI and some systems. LL was able to repro.
_____________________
Aodhan's Forge shop at slurl.com/secondlife/Rieul/95/213/107
Huns Valen
Don't PM me here.
Join date: 3 May 2003
Posts: 2,749
08-05-2006 20:59
From: SuezanneC Baskerville
Huns, I made some thousand line scripts and notecards and they worked fine. Could you give me one that bogs down for you so I can test one known to not work properly?

Copy this thread and paste it into a script several times until you can't paste it anymore. Now try removing and adding text.

It doesn't seem as severe with notecards, but you can still see it happening.
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
08-05-2006 21:10
From: Huns Valen
Copy this thread and paste it into a script several times until you can't paste it anymore. Now try removing and adding text.

That did the trick!

Man, that sucks.

Of course if I was working with a script that size I'd of jumped off a bridge or something just from the aggravation of the unindenting and the popup help not appearing so extremely often.
_____________________
-

So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.

I can be found on the web by searching for "SuezanneC Baskerville", or go to

http://www.google.com/profiles/suezanne

-

http://lindenlab.tribe.net/ created on 11/19/03.

Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard,
Robin, and Ryan

-
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
08-08-2006 19:18
Siva preview 1.11.3(1) is up now, the release notes say:

From: someone
Bug fixes:
Large chat history, notecards and scripts no longer negatively impact viewer framerate
Text is no longer cut off in Search -> Land Sales
The mouse scroll wheel now works again within chat history
Fixed a lighting bug causing avatars to flicker - most notable at sunset
Several exploits have been identified and addressed
Restored "click here to turn off this email" link to outgoing email


Hopefully that addresses (and solves!) the problem this thread concerns.
_____________________
-

So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.

I can be found on the web by searching for "SuezanneC Baskerville", or go to

http://www.google.com/profiles/suezanne

-

http://lindenlab.tribe.net/ created on 11/19/03.

Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard,
Robin, and Ryan

-
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
08-08-2006 19:31
I've simply gotten into the habit of coding offline. There's no point in using a system that tries, failingly, to emulate the tools of any proper text editor. More so when LL was kind enough to provide syntax files that others ported to various editors (SciTE, Kate, etc).
_____________________
---
Joannah Cramer
Registered User
Join date: 12 Apr 2006
Posts: 1,539
08-08-2006 20:20
I never edit anything bigger than few lines or change of couple lines in the SL editor anyway.... it's just too slow to begin with, with the 3d world rendering that's going in the background making it crawl it too much to be of any use.

Window mode, priority set to 'below normal' and UltraEdit with LSL language file for all syntax highlight needs is much faster overall than SL native solution :/
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
08-08-2006 21:21
Some programs that include a text editor for writing programs include a hook that enables one to replace the built in editor with an editor of one's choice.

I'd like to see something like that, plus the ability to read and write local text files with the script and notecard editors.
_____________________
-

So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.

I can be found on the web by searching for "SuezanneC Baskerville", or go to

http://www.google.com/profiles/suezanne

-

http://lindenlab.tribe.net/ created on 11/19/03.

Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard,
Robin, and Ryan

-
Huns Valen
Don't PM me here.
Join date: 3 May 2003
Posts: 2,749
08-09-2006 02:08
From: SuezanneC Baskerville
Siva preview 1.11.3(1) is up now, the release notes say:

(stuff)

Hopefully that addresses (and solves!) the problem this thread concerns.

Oh man, this is great news. I'm glad to hear that my pessimism was unfounded.
Aodhan McDunnough
Gearhead
Join date: 29 Mar 2006
Posts: 1,518
08-09-2006 02:55
*sigh* one more week. *whimper*
_____________________
Aodhan's Forge shop at slurl.com/secondlife/Rieul/95/213/107
Huns Valen
Don't PM me here.
Join date: 3 May 2003
Posts: 2,749
08-10-2006 03:08
From: Huns Valen
Oh man, this is great news. I'm glad to hear that my pessimism was unfounded.

Hah! Joke's on me! It's still busted!!!
Zonax Delorean
Registered User
Join date: 5 Jun 2004
Posts: 767
08-10-2006 03:12
From: Huns Valen
What scares me is that LL's development model works like this: Whatever you want to work on, work on it. Whatever doesn't interest you, feel free to ignore.


Hehe, sounds like open source software programming :-)

Only in this case, programmers actually get paid much money to act like open source programmers. And the source doesn't get released :)

Though I think it's even worse. If many ppl. bug an open source developer, he MIGHT actually fix bugs, just out of pride.