comments
This commit is contained in:
parent
7252dbb2da
commit
bdf7a89b29
2 changed files with 12 additions and 10 deletions
17
qe.c
17
qe.c
|
|
@ -307,8 +307,8 @@ void command_completion(CompleteState *cp)
|
|||
void do_set_key(EditState *s, const char *keystr,
|
||||
const char *cmd_name, int local)
|
||||
{
|
||||
int nb_keys;
|
||||
unsigned int keys[MAX_KEYS];
|
||||
int nb_keys;
|
||||
CmdDef *d;
|
||||
|
||||
nb_keys = strtokeys(keystr, keys, MAX_KEYS);
|
||||
|
|
@ -2198,19 +2198,20 @@ QEStyleDef *find_style(const char *name)
|
|||
|
||||
const char * const qe_style_properties[] = {
|
||||
#define CSS_PROP_COLOR 0
|
||||
"color",
|
||||
"color", /* color */
|
||||
#define CSS_PROP_BACKGROUND_COLOR 1
|
||||
"background-color",
|
||||
"background-color", /* color */
|
||||
#define CSS_PROP_FONT_FAMILY 2
|
||||
"font-family",
|
||||
"font-family", /* font_family: serif|times|sans|arial|helvetica| */
|
||||
/* fixed|monospace|courier */
|
||||
#define CSS_PROP_FONT_STYLE 3
|
||||
"font-style",
|
||||
"font-style", /* font_style: italic / normal */
|
||||
#define CSS_PROP_FONT_WEIGHT 4
|
||||
"font-weight",
|
||||
"font-weight", /* font_weight: bold / normal */
|
||||
#define CSS_PROP_FONT_SIZE 5
|
||||
"font-size,"
|
||||
"font-size", /* font_size: inherit / size */
|
||||
#define CSS_PROP_TEXT_DECORATION 6
|
||||
"text-decoration",
|
||||
"text-decoration", /* text_decoration: none / underline */
|
||||
};
|
||||
|
||||
void style_property_completion(CompleteState *cp)
|
||||
|
|
|
|||
5
qe.h
5
qe.h
|
|
@ -1171,7 +1171,7 @@ struct QEmacsState {
|
|||
* 2 (escape) -> display as \uXXXX escape sequence
|
||||
*/
|
||||
int show_unicode;
|
||||
|
||||
|
||||
/* commands */
|
||||
int flag_split_window_change_focus;
|
||||
int backspace_is_control_h;
|
||||
|
|
@ -1199,7 +1199,7 @@ struct QEmacsState {
|
|||
|
||||
///* global variables */
|
||||
int it; /* last result from expression evaluator */
|
||||
////int force_tty; /* prevent graphics display (X11...) */
|
||||
//int force_tty; /* prevent graphics display (X11...) */
|
||||
//int no_config; /* prevent config file eval */
|
||||
//int force_refresh; /* force a complete screen refresh */
|
||||
int ignore_spaces; /* ignore spaces when comparing windows */
|
||||
|
|
@ -1529,6 +1529,7 @@ void edit_set_mode(EditState *s, ModeDef *m, ModeSavedData *saved_data);
|
|||
/* loading files */
|
||||
void do_exit_qemacs(EditState *s, int argval);
|
||||
void do_find_file(EditState *s, const char *filename);
|
||||
void do_load_from_path(EditState *s, const char *filename);
|
||||
void do_find_file_other_window(EditState *s, const char *filename);
|
||||
void do_switch_to_buffer(EditState *s, const char *bufname);
|
||||
void do_break(EditState *s);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue