In Script Editor, line highlight moves away from caret with Ctrl+Backspace

In Roblox Studio’s script editor, a line highlight was added recently.

When I press Ctrl+Backspace at the end of a line, the behavior I expect is for an entire script symbol (such as a variable name) to be deleted and the line highlight to remain in the same location as the caret.

However, the line highlight instead moves to a line further down, while the caret remains at the end of the line being edited.

I assume this started happening around August 27th, the date of the feature’s announcement, but I’ve left Roblox Studio alone for too long to know for sure.

Here’s an MP4 video of me reproducing the bug:

How to Reproduce

  1. Open a place in Roblox Studio.

  2. Create a new script somewhere, then open the script editor.

  3. Replace the script’s contents with the following text:

    -- Experiment
    local things = {print = print}
    
    local something = things.print
    
    something("I did something!")
    
  4. Move the caret to the end of line 4 by clicking that spot.

  5. Press the key combination Ctrl+Backspace

There you should see the print word get deleted and the caret move into its place, but then the line highlight moves to line 6.

Beta Features Enabled

  • Asset Manager
  • Expressive Output Window
  • Safe Studio Updates

Plugins Installed

  • ForbiddenJ Tools
  • Reclass
1 Like

Thank you for the bug report; this is bug is fixed in our internal builds and will be released after the holidays.

5 Likes

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