Script Editor is showing the Strange Gaping words unaccountably like "e nd" "l ocal"

When I was scripting my module, I noticed that a very funny error occurred in somewhere the words will sometimes split in the middle when I pressed enter so that the end arrived on the next line (edit: I dont know what it happend , maybe the problem is with QtGui Code)




It’s so strange . when I cancel this line then it will be normal.

Suddenly it became normal but disrupted other keywords

No error was reported when running it. but “e nd" souhld be “end”
The module script that is problematic
LBanServiceBug.lua (2.5 KB)
I tried to copy this function to other scripts and everything works.


When I reproduce this error I press enter to wrap and switch the current end to the next line
The script editor seems to see e nd as 3 characters
edit: Now I met this again. (No matter what it is)

My running environment is Roblox Studio on Windows
System : Windows 11 Pro
Version : 23H2
System Version : 22631.5472

Expected behavior

“e nd" souhld be “end” Only the current module script has an exception.

2 Likes

.This is indeed a bug. Since posting I have come across it many times

Thank you for flagging this!

We’ll take a look and try to reproduce it. To help, would you be able to share you Studio logs and maybe a screenshot of your Script Editor settings with us in a private message?

Thank you!

1 Like

Hi thanks for the reporting!

As @idevride mentioned, could you please send me your Studio log via private message so we can better identify the source of the problem? Also, are you still experiencing this issue? Do you see any “Update Available” notification in your Studio?

sorry for the late reply . I am finding my studio log that day and I will send PM to you

Thanks! Also, before you encountered this issue, do you recall if there was any ghost text from an AI suggestion in the editor? We think we may have found the root cause, but we just want to confirm that this is the same issue you’re experiencing.

Thank you!

Nope. But this error always appears on line 89




there are my settings

It’s extremely rare that I get this bug, and I haven’t had it for a while now, but I can confirm that in some rare occasions there will be a random space in the middle of a word (note: it won’t have an actual character in the gap, the script editor will simply render the word as if it was spaced in the middle of it)

1 Like

Thank you for reporting this. May I ask if you use AI suggestions in ScriptEditor?

I do have that enabled (mostly cause I can’t be bothered turning it off), although I somewhat doubt that’d be causing this.

Hi all,

Just letting you know that the fix was released a few weeks ago. Please let us know if you’re still encountering this issue. Thank you!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.