Menu

cActionGetProperty

Alexey T.

This action can be called by plugin to read properties of current editor.

Parameters:

  • A1 (Integer) - [property id].
  • A2 (Pointer) - points to data buffer. For Integer or Bool data buffer must contain SizeOf(Integer)=4 bytes, for text data it must contain cSynMaxPath wide chars.
  • A3 (Integer) - property parameter. It has meaning only for some ids, otherwise set it to 0.
  • A4 - not used.

Return value: cSynOK if correct property id and parameter are passed, cSynError otherwise.


Related

Wiki: binary API actions
Wiki: binary property id

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.