Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glx2 does not always replace SE when opening a script #8

Open
macMikey opened this issue Mar 30, 2021 · 9 comments
Open

glx2 does not always replace SE when opening a script #8

macMikey opened this issue Mar 30, 2021 · 9 comments

Comments

@macMikey
Copy link
Contributor

example:
I just did a find for a function name (in the card editor), and double-clicked on one of the entries.
the SE opened, instead of glx2

@mwieder
Copy link
Owner

mwieder commented Apr 1, 2021

Again, what's a 'card editor'?

@macMikey
Copy link
Contributor Author

macMikey commented Apr 1, 2021

For lack of a better word, it's when I am not in the script editor. What did we used to call it in HC?

@mwieder
Copy link
Owner

mwieder commented Apr 1, 2021

Ah. I don't remember what HC called that thing. You're referring to the "Find and Replace" palette? If so, that seems to be stack "revSearch". And double-clicking an entry brings up glx2 for me. I'm assuming you've grabbed the latest version here. I realize saying "it works for me" isn't much help. Is there some other plugin that's getting in the way? What should be happening is that the "editScript" message is intercepted by the glx2 script editor frontscript. If something else is getting it first then that might explain things.

@macMikey
Copy link
Contributor Author

macMikey commented Apr 1, 2021

No, that's not what I meant. I meant whatever it was called when you had either the button tool or the field tool selected, and therefore you were editing buttons or fields. Now, we have the, uh, pointer and the pointer with the compass. I think of that as the "card editor", because you're not in the script editor, you're editing cards (or backgrounds, etc.)
I have Seth installed, too (but it seems to slow down the SE so I was giving glx2 another try). Maybe Seth is breaking the behavior. I'll have to try that tomorrow.

@mwieder
Copy link
Owner

mwieder commented Apr 1, 2021

OK - I'm really confused now. So I select an object with the cursor in... er... pointer and compass mode... and I press control-F to find things. And that brings up the Find and Replace palette. If I search for a handler I get an entry, and then double-clicking it brings up the proper script editor.

Seth could well be a conflict if it's trying to do similar things in a frontscript. I'll keep my fingers crossed that it's the issue because I'm not sure where else to look.

@mwieder
Copy link
Owner

mwieder commented Apr 1, 2021

Just checked... yep... Seth also grabs the editScript message in a frontscript before glx2 has a chance to see it. But it does pass the message on when it's done colorizing, so I'm not sure why glx2 as a second frontscript isn't getting the message for you.

@macMikey
Copy link
Contributor Author

macMikey commented Apr 1, 2021

So far, so good. I just disabled seth and both of the issues I reported stopped. I'm going to close this unless it comes back.

@macMikey macMikey closed this as completed Apr 1, 2021
@mwieder
Copy link
Owner

mwieder commented Apr 1, 2021

Reopening to keep this flagged so I can see if there's a way to avoid the conflict.

@mwieder mwieder reopened this Apr 1, 2021
@mwieder
Copy link
Owner

mwieder commented Apr 5, 2021

OK - give it a try with the new build and see if the conflict is gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants