FileManager icon indicating copy to clipboard operation
FileManager copied to clipboard

Getting frivolous infinite loop messages

Open iamkroot opened this issue 1 year ago • 0 comments

Simply typing $ in the open/create file input field gives the infinite loop message.

Seems like it happens because transform_aliases is being called after every key press (to show the expanded path in the status bar). So as we start typing an alias with a $, this triggers the warning.

has_unescaped_dollar should check that there are other chars after the $ for it to count as an alias.

https://github.com/math2001/FileManager/blob/40c452353384566da275ae9a4b73692385d3413f/libs/sublimefunctions.py#L103-L112

Also, a separate bug- index == 0 is not handled properly in this

iamkroot avatar Jan 06 '24 16:01 iamkroot