arthwang / vsc-prolog

A VS Code extension that provides language support for prolog
MIT License
97 stars 21 forks source link

Weird behaviour when deleting #39

Open nicoabie opened 5 years ago

nicoabie commented 5 years ago

I will provide an example.

warn(Format,Args) :-
    format(user_error,Format,Args),
    writeln('').

If I start deleting the last line from the ")" (that means I do not delete the dot), when I delete the "w" (that means the dot will be the char remaining in the line), the dot dissapears and the head of the predicate appears instead (meaning warn(Format,Args) without the dot)

Pressing Ctrl+z does nothing.

VSCode version 1.33.1 VSC-Prolog version 0.8.23 SWI-Prolog version 8.0.2