enum LSP::TextDocumentSaveReason

Overview

Represents reasons why a text document is saved.

Defined in:

notifications/text_synchronization/will_save.cr

Enum Members

Manual = 1

Manually triggered, e.g. by the user pressing save, by starting debugging, or by an API call.

AfterDelay = 2

Automatic after a delay.

FocusOut = 3

When the editor lost focus.

Instance Method Summary

Instance Method Detail

def after_delay? #

[View source]
def focus_out? #

[View source]
def manual? #

[View source]