INPStarfall / Starfall

Starfall Processor for Garry's Mod + Wiremod
http://www.wiremod.com/forum/developers-showcase/22739-starfall-processor.html
Other
17 stars 15 forks source link

Highlighting getting stuck on. #425

Open ghost opened 8 years ago

ghost commented 8 years ago

I know these editor bugs are getting annoying by now, especially since no solution is being found. This is on a completely, fresh, clean install.

Sometimes when I highlight a line by holding Mouse 1, it will "toggle", and I will have to click again to stop highlighting. This happens pretty much constantly which is very frustrating.

I still have the console bug too, but no solution for that was found either.

EDIT: Just found cause of this bug - it seems to happen when I move my mouse outside of the code box while highlighting. This causes it to toggle.

Thanks.

Xandaros commented 8 years ago

If you let go of the button outside the window, we can't detect it. We can only detect you letting go of the button when it's over the window. So, I don't think there's anything we can do about it, but maybe @Jazzelhawk has an idea.

Jazzelhawk commented 8 years ago

When you say you have a completely fresh, clean install, are you still connecting to a server? If so then the console bug is most likely due to the server running an outdated version or an unofficial version/fork. Refer to #423

As for the highlighting getting stuck, it might be possible to detect whether the cursor position is within the bounds of the editor panel and then manually send some kind of signal to the ace editor when the cursor leaves the editor panel. I'll try have a look into it at some point as this has occurred quite often for me.