fixed code completion with two editors