Menu

cActionSaveFile

Alexey T.

This action can be called by plugin to save file tab.

Parameters:

  • A1 (Integer) - tab id. Possible values:
    cSynIdCurrentFile (negative) - current editor tab;
    cSynIdOppositeFile (negative) - current tab in opposite SW view;
    non-negative values - tab with absolute number.
  • A2 (Bool) - enables to show Save File dialog for unnamed tab.
  • A3, A4 - not used.

Return value: cSynOK if passed correct tab id and saving was done, cSynError otherwise.


Related

Wiki: binary API actions

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.