Set editor variable