You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Select a part of the text containing the phantom, for example from the letters i to l
Press Del or Backspace to delete the selection
Expected behavior
The phantom gets removed.
Actual behavior
The phantom which was contained in the deleted selection still persist.
Note that if the phantom's region isn't empty (for example change sublime.Region(10,10) to sublime.Region(10,11)), the phantom will be removed as expected.
Sublime Text build number
4126
Operating system & version
Windows 10
(Linux) Desktop environment and/or window manager
No response
Additional information
Real world example:
The phantoms persist until they are manually removed via e.g. my_phantom_set.update([]).
OpenGL context information
No response
The text was updated successfully, but these errors were encountered:
Description of the bug
When you delete a selection containing a phantom with an empty region, the phantom doesn't get removed.
Steps to reproduce
Start ST in safe mode.
Add for example the following text into a view:
Paste into the ST console:
Select a part of the text containing the phantom, for example from the letters i to l
Press Del or Backspace to delete the selection
Expected behavior
The phantom gets removed.
Actual behavior
The phantom which was contained in the deleted selection still persist.
Note that if the phantom's region isn't empty (for example change
sublime.Region(10,10)
tosublime.Region(10,11)
), the phantom will be removed as expected.Sublime Text build number
4126
Operating system & version
Windows 10
(Linux) Desktop environment and/or window manager
No response
Additional information
Real world example:
The phantoms persist until they are manually removed via e.g.
my_phantom_set.update([])
.OpenGL context information
No response
The text was updated successfully, but these errors were encountered: