edit_options 79 src/editor/edit.c edit_options_t edit_options = { edit_options 356 src/editor/edit.c threshold = parse_integer (edit_options.filesize_threshold, &err); edit_options 1054 src/editor/edit.c if (edit_options.cursor_beyond_eol && c == '\n') edit_options 1068 src/editor/edit.c && edit_options.cursor_beyond_eol edit_options 1081 src/editor/edit.c if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 1367 src/editor/edit.c if (!edit_options.group_undo) edit_options 1485 src/editor/edit.c if (edit_options.fake_half_tabs && is_in_indent (&edit->buffer)) edit_options 1490 src/editor/edit.c if (edit_options.fill_tabs_with_spaces || !right_of_four_spaces (edit)) edit_options 1501 src/editor/edit.c else if (edit_options.fill_tabs_with_spaces) edit_options 1514 src/editor/edit.c if (!edit_options.typewriter_wrap) edit_options 1517 src/editor/edit.c if (edit->curs_col < edit_options.word_wrap_line_length) edit_options 1642 src/editor/edit.c if (edit_options.fill_tabs_with_spaces) edit_options 1643 src/editor/edit.c insert_spaces_tab (edit, edit_options.fake_half_tabs); edit_options 1682 src/editor/edit.c del_tab_width = edit_options.fake_half_tabs ? HALF_TAB_SIZE : TAB_SIZE; edit_options 2011 src/editor/edit.c if (!edit_options.cursor_after_inserted_block) edit_options 2068 src/editor/edit.c if (!edit_options.persistent_selections && edit->modified) edit_options 2085 src/editor/edit.c if (!edit_options.persistent_selections && edit->modified) edit_options 2094 src/editor/edit.c if (!edit_options.cursor_after_inserted_block) edit_options 2127 src/editor/edit.c edit_options.line_state_width = edit_options.line_state ? LINE_STATE_WIDTH : 0; edit_options 2218 src/editor/edit.c if ((line == 0) && edit_options.save_position) edit_options 2248 src/editor/edit.c if (edit_options.save_position) edit_options 3016 src/editor/edit.c if (edit_options.cursor_beyond_eol) edit_options 3040 src/editor/edit.c if (edit_options.fake_half_tabs && is_in_indent (&edit->buffer)) edit_options 3478 src/editor/edit.c if (!edit_options.persistent_selections && edit->mark1 != edit->mark2) edit_options 3490 src/editor/edit.c if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 3523 src/editor/edit.c if (edit_options.auto_para_formatting) edit_options 3553 src/editor/edit.c if (!edit_options.persistent_selections && edit->mark2 >= 0) edit_options 3599 src/editor/edit.c if (!edit_options.persistent_selections && edit->mark1 != edit->mark2) edit_options 3601 src/editor/edit.c else if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 3603 src/editor/edit.c else if (edit_options.backspace_through_tabs && is_in_indent (&edit->buffer)) edit_options 3608 src/editor/edit.c else if (edit_options.fake_half_tabs && is_in_indent (&edit->buffer) edit_options 3621 src/editor/edit.c if (!edit_options.persistent_selections && edit->mark1 != edit->mark2) edit_options 3625 src/editor/edit.c if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 3628 src/editor/edit.c if (edit_options.fake_half_tabs && is_in_indent (&edit->buffer) edit_options 3645 src/editor/edit.c if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 3661 src/editor/edit.c if (edit_options.auto_para_formatting) edit_options 3664 src/editor/edit.c if (edit_options.return_does_auto_indent && !bracketed_pasting_in_progress) edit_options 3671 src/editor/edit.c if (edit_options.return_does_auto_indent && !bracketed_pasting_in_progress) edit_options 3698 src/editor/edit.c if (edit_options.fake_half_tabs && is_in_indent (&edit->buffer) edit_options 3701 src/editor/edit.c if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 3715 src/editor/edit.c if (edit_options.fake_half_tabs && is_in_indent (&edit->buffer) edit_options 3794 src/editor/edit.c if (edit->mark1 != edit->mark2 && !edit_options.persistent_selections) edit_options 3802 src/editor/edit.c if (edit_options.cursor_beyond_eol) edit_options 3805 src/editor/edit.c if (edit_options.auto_para_formatting) edit_options 3912 src/editor/edit.c if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 3939 src/editor/edit.c if (!edit_options.persistent_selections && edit->mark1 != edit->mark2) edit_options 3941 src/editor/edit.c if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 3944 src/editor/edit.c if (!edit_options.persistent_selections && edit->mark2 >= 0) edit_options 3994 src/editor/edit.c if (edit->mark1 != edit->mark2 && !edit_options.persistent_selections) edit_options 4125 src/editor/edit.c if (edit_options.auto_para_formatting) edit_options 73 src/editor/edit.h extern edit_options_t edit_options; edit_options 155 src/editor/editcmd.c this_save_mode = edit_options.save_mode; edit_options 336 src/editor/editcmd.c g_assert (edit_options.backup_ext != NULL); edit_options 343 src/editor/editcmd.c g_strdup_printf ("%s%s", tmp_store_filename, edit_options.backup_ext); edit_options 373 src/editor/editcmd.c return !(edit_options.check_nl_at_eof && buf->size > 0 edit_options 553 src/editor/editcmd.c if (edit_options.cursor_beyond_eol && curs_pos > line_width) edit_options 750 src/editor/editcmd.c if (edit_options.syntax_highlighting) edit_options 796 src/editor/editcmd.c edit_options.syntax_highlighting = !edit_options.syntax_highlighting; edit_options 825 src/editor/editcmd.c edit_options.show_right_margin = !edit_options.show_right_margin; edit_options 839 src/editor/editcmd.c edit_options.line_state = !edit_options.line_state; edit_options 840 src/editor/editcmd.c edit_options.line_state_width = edit_options.line_state ? LINE_STATE_WIDTH : 0; edit_options 864 src/editor/editcmd.c g_assert (edit_options.backup_ext != NULL); edit_options 869 src/editor/editcmd.c QUICK_RADIO (3, str, &edit_options.save_mode, &edit_save_mode_radio_id), edit_options 870 src/editor/editcmd.c QUICK_INPUT (edit_options.backup_ext, "edit-backup-ext", &str_result, edit_options 873 src/editor/editcmd.c QUICK_CHECKBOX (N_("Check &POSIX new line"), &edit_options.check_nl_at_eof, NULL), edit_options 888 src/editor/editcmd.c g_free (edit_options.backup_ext); edit_options 889 src/editor/editcmd.c edit_options.backup_ext = str_result; edit_options 1024 src/editor/editcmd.c if (edit_options.confirm_save) edit_options 1320 src/editor/editcmd.c if (edit_options.cursor_after_inserted_block) edit_options 1400 src/editor/editcmd.c if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 1431 src/editor/editcmd.c if (edit_options.cursor_after_inserted_block) edit_options 1610 src/editor/editcmd.c if (edit_options.drop_selection_on_copy) edit_options 372 src/editor/editcomplete.c (edit->fullscreen ? 0 : 1) + edit_options.line_state_width; edit_options 378 src/editor/editcomplete.c start_x = we->x + 1 + edit_options.line_state_width; edit_options 139 src/editor/editdraw.c if (edit_options.simple_statusbar) edit_options 204 src/editor/editdraw.c if (!edit_options.state_full_filename) edit_options 226 src/editor/editdraw.c if (edit_options.simple_statusbar && w > EDITOR_MINIMUM_TERMINAL_WIDTH) edit_options 262 src/editor/editdraw.c if (!edit_options.state_full_filename) edit_options 391 src/editor/editdraw.c x1 = start_col + EDIT_TEXT_HORIZONTAL_OFFSET + edit_options.line_state_width; edit_options 406 src/editor/editdraw.c wrap_start = edit_options.word_wrap_line_length + edit->start_col; edit_options 410 src/editor/editdraw.c if (!edit_options.show_right_margin || wrap_start > end_col) edit_options 431 src/editor/editdraw.c if (edit_options.line_state) edit_options 437 src/editor/editdraw.c edit_move (x1 + i - edit_options.line_state_width, y); edit_options 480 src/editor/editdraw.c if (edit_options.show_right_margin) edit_options 482 src/editor/editdraw.c if (i > edit_options.word_wrap_line_length + edit->start_col) edit_options 519 src/editor/editdraw.c end_col -= EDIT_TEXT_HORIZONTAL_OFFSET + edit_options.line_state_width; edit_options 531 src/editor/editdraw.c if (edit_options.line_state) edit_options 560 src/editor/editdraw.c if (edit_options.visible_tws && tty_use_colors ()) edit_options 639 src/editor/editdraw.c if ((edit_options.visible_tabs || (edit_options.visible_tws && q >= tws)) edit_options 679 src/editor/editdraw.c else if (edit_options.visible_tws && q >= tws && enable_show_tabs_tws edit_options 709 src/editor/editdraw.c if (edit_options.visible_tws && q >= tws && enable_show_tabs_tws edit_options 1052 src/editor/editdraw.c -(EDIT_TEXT_HORIZONTAL_OFFSET + edit_options.line_state_width)); edit_options 1104 src/editor/editdraw.c EDIT_TEXT_HORIZONTAL_OFFSET + edit_options.line_state_width); edit_options 138 src/editor/editoptions.c g_snprintf (wrap_length, sizeof (wrap_length), "%d", edit_options.word_wrap_line_length); edit_options 141 src/editor/editoptions.c if (edit_options.auto_para_formatting) edit_options 143 src/editor/editoptions.c else if (edit_options.typewriter_wrap) edit_options 158 src/editor/editoptions.c QUICK_CHECKBOX (N_("&Fake half tabs"), &edit_options.fake_half_tabs, NULL), edit_options 160 src/editor/editoptions.c &edit_options.backspace_through_tabs, NULL), edit_options 162 src/editor/editoptions.c &edit_options.fill_tabs_with_spaces, NULL), edit_options 168 src/editor/editoptions.c QUICK_CHECKBOX (N_("&Return does autoindent"), &edit_options.return_does_auto_indent, NULL), edit_options 169 src/editor/editoptions.c QUICK_CHECKBOX (N_("Confir&m before saving"), &edit_options.confirm_save, NULL), edit_options 170 src/editor/editoptions.c QUICK_CHECKBOX (N_("Save file &position"), &edit_options.save_position, NULL), edit_options 171 src/editor/editoptions.c QUICK_CHECKBOX (N_("&Visible trailing spaces"), &edit_options.visible_tws, NULL), edit_options 172 src/editor/editoptions.c QUICK_CHECKBOX (N_("Visible &tabs"), &edit_options.visible_tabs, NULL), edit_options 173 src/editor/editoptions.c QUICK_CHECKBOX (N_("Synta&x highlighting"), &edit_options.syntax_highlighting, NULL), edit_options 175 src/editor/editoptions.c &edit_options.cursor_after_inserted_block, NULL), edit_options 176 src/editor/editoptions.c QUICK_CHECKBOX (N_("Pers&istent selection"), &edit_options.persistent_selections, NULL), edit_options 177 src/editor/editoptions.c QUICK_CHECKBOX (N_("Cursor be&yond end of line"), &edit_options.cursor_beyond_eol, NULL), edit_options 178 src/editor/editoptions.c QUICK_CHECKBOX (N_("&Group undo"), &edit_options.group_undo, NULL), edit_options 199 src/editor/editoptions.c old_syntax_hl = edit_options.syntax_highlighting; edit_options 201 src/editor/editoptions.c if (!edit_options.cursor_beyond_eol) edit_options 206 src/editor/editoptions.c edit_options.word_wrap_line_length = atoi (p); edit_options 207 src/editor/editoptions.c if (edit_options.word_wrap_line_length <= 0) edit_options 208 src/editor/editoptions.c edit_options.word_wrap_line_length = DEFAULT_WRAP_LINE_LENGTH; edit_options 222 src/editor/editoptions.c edit_options.auto_para_formatting = TRUE; edit_options 223 src/editor/editoptions.c edit_options.typewriter_wrap = FALSE; edit_options 227 src/editor/editoptions.c edit_options.auto_para_formatting = FALSE; edit_options 228 src/editor/editoptions.c edit_options.typewriter_wrap = TRUE; edit_options 232 src/editor/editoptions.c edit_options.auto_para_formatting = FALSE; edit_options 233 src/editor/editoptions.c edit_options.typewriter_wrap = FALSE; edit_options 237 src/editor/editoptions.c if (edit_options.syntax_highlighting != old_syntax_hl) edit_options 227 src/editor/editsearch.c xpos = w->rect.x + edit_options.line_state_width + 1; edit_options 716 src/editor/editwidget.c if (!edit_options.cursor_beyond_eol) edit_options 717 src/editor/editwidget.c edit->prev_col = x - edit->start_col - edit_options.line_state_width; edit_options 728 src/editor/editwidget.c edit->over_col = x - line_len - edit->start_col - edit_options.line_state_width; edit_options 734 src/editor/editwidget.c edit->prev_col = x - edit_options.line_state_width - edit->start_col; edit_options 989 src/editor/editwidget.c edit_options.line_state_width + e->curs_col + e->start_col + e->over_col; edit_options 329 src/editor/etags.c (edit->fullscreen ? 0 : 1) + edit_options.line_state_width; edit_options 335 src/editor/etags.c start_x = w->x + 1 + edit_options.line_state_width; edit_options 112 src/editor/format.c return (edit_options.stop_format_chars != NULL edit_options 113 src/editor/format.c && strchr (edit_options.stop_format_chars, c) != NULL); edit_options 331 src/editor/format.c ww = edit_options.word_wrap_line_length * FONT_MEAN_WIDTH - indent; edit_options 388 src/editor/format.c if (!edit_options.fill_tabs_with_spaces) edit_options 486 src/editor/format.c if (edit_options.word_wrap_line_length < 2) edit_options 503 src/editor/format.c if (edit_options.stop_format_chars != NULL edit_options 504 src/editor/format.c && strchr (edit_options.stop_format_chars, t->str[0]) != NULL) edit_options 510 src/editor/format.c if (edit_options.stop_format_chars == NULL || *edit_options.stop_format_chars == '\0') edit_options 513 src/editor/format.c stop_format_chars = g_strconcat (edit_options.stop_format_chars, "\t", (char *) NULL); edit_options 1467 src/editor/syntax.c if (edit_options.syntax_highlighting && edit->rules != NULL && byte_index < edit->buffer.size) edit_options 1527 src/editor/syntax.c if (!edit_options.syntax_highlighting && (pnames == NULL || pnames->len == 0)) edit_options 341 src/setup.c { "editor_fill_tabs_with_spaces", &edit_options.fill_tabs_with_spaces }, edit_options 342 src/setup.c { "editor_return_does_auto_indent", &edit_options.return_does_auto_indent }, edit_options 343 src/setup.c { "editor_backspace_through_tabs", &edit_options.backspace_through_tabs }, edit_options 344 src/setup.c { "editor_fake_half_tabs", &edit_options.fake_half_tabs }, edit_options 345 src/setup.c { "editor_option_save_position", &edit_options.save_position }, edit_options 346 src/setup.c { "editor_option_auto_para_formatting", &edit_options.auto_para_formatting }, edit_options 347 src/setup.c { "editor_option_typewriter_wrap", &edit_options.typewriter_wrap }, edit_options 348 src/setup.c { "editor_edit_confirm_save", &edit_options.confirm_save }, edit_options 349 src/setup.c { "editor_syntax_highlighting", &edit_options.syntax_highlighting }, edit_options 350 src/setup.c { "editor_persistent_selections", &edit_options.persistent_selections }, edit_options 351 src/setup.c { "editor_drop_selection_on_copy", &edit_options.drop_selection_on_copy }, edit_options 352 src/setup.c { "editor_cursor_beyond_eol", &edit_options.cursor_beyond_eol }, edit_options 353 src/setup.c { "editor_cursor_after_inserted_block", &edit_options.cursor_after_inserted_block }, edit_options 354 src/setup.c { "editor_visible_tabs", &edit_options.visible_tabs }, edit_options 355 src/setup.c { "editor_visible_spaces", &edit_options.visible_tws }, edit_options 356 src/setup.c { "editor_line_state", &edit_options.line_state }, edit_options 357 src/setup.c { "editor_simple_statusbar", &edit_options.simple_statusbar }, edit_options 358 src/setup.c { "editor_check_new_line", &edit_options.check_nl_at_eof }, edit_options 359 src/setup.c { "editor_show_right_margin", &edit_options.show_right_margin }, edit_options 360 src/setup.c { "editor_group_undo", &edit_options.group_undo }, edit_options 361 src/setup.c { "editor_state_full_filename", &edit_options.state_full_filename }, edit_options 396 src/setup.c { "editor_word_wrap_line_length", &edit_options.word_wrap_line_length }, edit_options 397 src/setup.c { "editor_option_save_mode", &edit_options.save_mode }, edit_options 409 src/setup.c { "editor_backup_extension", &edit_options.backup_ext, "~" }, edit_options 410 src/setup.c { "editor_filesize_threshold", &edit_options.filesize_threshold, "64M" }, edit_options 411 src/setup.c { "editor_stop_format_chars", &edit_options.stop_format_chars, "-+*\\,.;:&>" }, edit_options 536 src/setup.c if (edit_options.word_wrap_line_length <= 0) edit_options 537 src/setup.c edit_options.word_wrap_line_length = DEFAULT_WRAP_LINE_LENGTH; edit_options 172 tests/src/editor/edit_complete_word_cmd.c edit_options.filesize_threshold = (char *) "64M";