src/Tools/VSCode/extension/src/state_panel.ts
changeset 66211 100c9c997e2b
parent 66203 5763d9a2f47d
child 66395 14146fb264d8
equal deleted inserted replaced
66210:a8b936749300 66211:100c9c997e2b
    74 
    74 
    75 export function update(id: number)
    75 export function update(id: number)
    76 {
    76 {
    77   if (language_client) language_client.sendNotification(protocol.state_update_type, { id: id })
    77   if (language_client) language_client.sendNotification(protocol.state_update_type, { id: id })
    78 }
    78 }
       
    79 
       
    80 export function auto_update(id: number, enabled: boolean)
       
    81 {
       
    82   if (language_client)
       
    83     language_client.sendNotification(protocol.state_auto_update_type, { id: id, enabled: enabled })
       
    84 }