Text Editor Operators

bpy.ops.text_editor.preset_add(name='', remove_name=False, remove_active=False)

Add or remove a Text Editor Preset

Parameters:
  • name (string, (optional, never None)) – Name, Name of the preset, used to make the path name

  • remove_name (boolean, (optional)) – remove_name

  • remove_active (boolean, (optional)) – remove_active

File:

startup/bl_operators/presets.py:77