return Efallthrough;
}
-
struct map *doc_default_cmd safe;
static struct map *doc_handle_cmd safe;
DEF_LOOKUP_CMD(ed_handle, ed_map);
-
DEF_CMD(global_set_attr)
{
if (!ci->str)
map->chain = chain;
}
-
#if 0
void key_del(struct map *map, wint_t k)
{
buf_concat_len(b, &c, 1);
}
-
/*
* performance measurements
*/
#define REDEF_CB(_name) \
static int _name ## _func(const struct cmd_info *ci safe)
-
#define DEF_LOOKUP_CMD(_name, _map) \
static struct lookup_cmd _name = { \
.c.func = key_lookup_cmd_func, \
DAMAGED_POSTORDER = BIT(7), /* Pane wants to be called again */
DAMAGED_POSTORDER_CHILD = BIT(8), /* Child pane wants to be called again */
-
DAMAGED_CLOSED = BIT(15),
DAMAGED_DEAD = BIT(14), /* Fully closed, but not freed yet */
DAMAGED_NOT_HANDLED = BIT(13), /* A for() loop is processing
return first ? 1 : 2;
}
-
static struct attrset *text_attrset(struct doc *d safe, struct mark *m safe,
int *op safe)
{
-
/*
* Copyright Neil Brown ©2015-2021 <neil@brown.name>
* May be distributed under terms of GPLv2 - see file:COPYING
return 1;
}
-
DEF_CMD(emacs_hl_attrs)
{
struct highlight_info *hi = ci->home->data;
return Efallthrough;
}
-
DEF_CMD(emacs_search_reposition_delayed)
{
struct highlight_info *hi = ci->home->data;
return 1;
}
-
void edlib_init(struct pane *ed safe)
{
call_comm("global-set-command", ed, &emacs_search,
#define __x86_64__
#define __LP64__
-
//#define PyType_HasFeature __PyType_HasFeature
#include <Python.h>
#undef PyType_HasFeature __PyType_HasFeature
return iswalpha(ch);
}
-
DEF_CMD(spell_this)
{
/* Find a word "here" to spell. It must include the first
rgb[i] = 1000 - ( (99 - scale) * (1000 - rgb[i]) / 99);
}
-
DEF_CMD(colour_map)
{
char *col;
return Efallthrough;
}
-
DEF_CMD(history_notify_replace)
{
struct history_info *hi = ci->home->data;
#include <string.h>
#include <time.h>
-
#include "core.h"
struct mlinfo {
return t->z == 0 && t->handle == &tile_handle.c;
}
-
DEF_CMD(tile_close)
{
tile_destroy(ci->home);
0, NULL, "interactive-cmd-whitespace-mode");
}
-
-
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
b->len = 0;
}
-
/* Performance measurements.
* 1/ timers.
*/
return 1;
}
-
DEF_PFX_CMD(alt_cmd, ":A");
DEF_PFX_CMD(cx_cmd, ":CX");
DEF_PFX_CMD(cx4_cmd, ":CX4");
return 1;
}
-
static struct pane *complete_pane(struct pane *focus)
{
struct pane *complete;
* relative to the focus pane 'p'.
*/
-
struct rl_data {
int top_sol; /* true when first mark is at a start-of-line */
int ignore_point;
-
#ifndef __VFUNC_H__
#define __VFUNC_H__
-
-
/* Macro magic taken from
* https://stackoverflow.com/questions/11761703/overloading-macro-on-number-of-arguments
*/