Closed ProFiLeR4100 closed 2 months ago
I suffer this bug if I use the addon from assertlib
, but if I use the addon from the git repo, the bug disappear.
2.39.1
from Assetlib4.3.beta1
9f41dc9a6073a388a1c95e36a02fd9f29731ea56
from GitHub4.3.beta1
@xchrix Looks like you are correct.
Version from GitHub uses insert_text_at_cursor
and version from AssetLib uses insert_text
First I've thought that Nathan is overriding base method, but looks like it was the opposite.
So basically @nathanhoad need to deploy new release to AssetLib in order to fix this issue, because actual fix is already provided in next commit.
Describe the bug
CodeEdit
class has changed signature ofinsert_text
function in godot 4.3 in order to support multiple carret editing feature.Affected version
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Well, I expect it not to crash :smile:
Workaround (patch)
I changed the signature to be similar to the parent's. Not sure what the purpose of new parameters, but multicarret editing is working even with old function body.