Autocomplete only partially working for EditPythonScript

when opening the script editor, autocomplete works, for example:

import rhi… starts to autocomplete
so after import rhinoscriptsyntax as rs

I type rs. and get the list of Methods

But if I pick a method like for example rs.Getline() and fill something in between the parentheses, after that autocomplete stops working