edit_options 77 src/editor/edit.c edit_options_t edit_options = { edit_options 338 src/editor/edit.c threshold = parse_integer (edit_options.filesize_threshold, &err); edit_options 1030 src/editor/edit.c if (edit_options.cursor_beyond_eol && c == '\n') edit_options 1043 src/editor/edit.c if (edit->column_highlight && edit_options.cursor_beyond_eol && edit->mark1 != edit->mark2 edit_options 1054 src/editor/edit.c if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 1337 src/editor/edit.c if (!edit_options.group_undo) edit_options 1455 src/editor/edit.c if (edit_options.fake_half_tabs && is_in_indent (&edit->buffer)) edit_options 1460 src/editor/edit.c if (edit_options.fill_tabs_with_spaces || !right_of_four_spaces (edit)) edit_options 1471 src/editor/edit.c else if (edit_options.fill_tabs_with_spaces) edit_options 1484 src/editor/edit.c if (!edit_options.typewriter_wrap) edit_options 1487 src/editor/edit.c if (edit->curs_col < edit_options.word_wrap_line_length) edit_options 1612 src/editor/edit.c if (edit_options.fill_tabs_with_spaces) edit_options 1613 src/editor/edit.c insert_spaces_tab (edit, edit_options.fake_half_tabs); edit_options 1652 src/editor/edit.c del_tab_width = edit_options.fake_half_tabs ? HALF_TAB_SIZE : TAB_SIZE; edit_options 1992 src/editor/edit.c if (!edit_options.cursor_after_inserted_block) edit_options 2041 src/editor/edit.c if (!edit_options.persistent_selections && edit->modified != 0) edit_options 2058 src/editor/edit.c if (!edit_options.persistent_selections && edit->modified != 0) edit_options 2067 src/editor/edit.c if (!edit_options.cursor_after_inserted_block) edit_options 2100 src/editor/edit.c edit_options.line_state_width = edit_options.line_state ? LINE_STATE_WIDTH : 0; edit_options 2189 src/editor/edit.c if ((line == 0) && edit_options.save_position) edit_options 2219 src/editor/edit.c if (edit_options.save_position) edit_options 2967 src/editor/edit.c if (edit_options.cursor_beyond_eol) edit_options 2991 src/editor/edit.c if (edit_options.fake_half_tabs && is_in_indent (&edit->buffer)) edit_options 3429 src/editor/edit.c if (!edit_options.persistent_selections && edit->mark1 != edit->mark2) edit_options 3439 src/editor/edit.c if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 3470 src/editor/edit.c if (edit_options.auto_para_formatting) edit_options 3500 src/editor/edit.c if (!edit_options.persistent_selections && edit->mark2 >= 0) edit_options 3546 src/editor/edit.c if (!edit_options.persistent_selections && edit->mark1 != edit->mark2) edit_options 3548 src/editor/edit.c else if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 3550 src/editor/edit.c else if (edit_options.backspace_through_tabs && is_in_indent (&edit->buffer)) edit_options 3555 src/editor/edit.c else if (edit_options.fake_half_tabs && is_in_indent (&edit->buffer) edit_options 3568 src/editor/edit.c if (!edit_options.persistent_selections && edit->mark1 != edit->mark2) edit_options 3572 src/editor/edit.c if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 3575 src/editor/edit.c if (edit_options.fake_half_tabs && is_in_indent (&edit->buffer) edit_options 3592 src/editor/edit.c if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 3608 src/editor/edit.c if (edit_options.auto_para_formatting) edit_options 3611 src/editor/edit.c if (edit_options.return_does_auto_indent && !bracketed_pasting_in_progress) edit_options 3618 src/editor/edit.c if (edit_options.return_does_auto_indent && !bracketed_pasting_in_progress) edit_options 3645 src/editor/edit.c if (edit_options.fake_half_tabs && is_in_indent (&edit->buffer) edit_options 3648 src/editor/edit.c if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 3662 src/editor/edit.c if (edit_options.fake_half_tabs && is_in_indent (&edit->buffer) edit_options 3741 src/editor/edit.c if (edit->mark1 != edit->mark2 && !edit_options.persistent_selections) edit_options 3749 src/editor/edit.c if (edit_options.cursor_beyond_eol) edit_options 3752 src/editor/edit.c if (edit_options.auto_para_formatting) edit_options 3859 src/editor/edit.c if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 3886 src/editor/edit.c if (!edit_options.persistent_selections && edit->mark1 != edit->mark2) edit_options 3888 src/editor/edit.c if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 3891 src/editor/edit.c if (!edit_options.persistent_selections && edit->mark2 >= 0) edit_options 3941 src/editor/edit.c if (edit->mark1 != edit->mark2 && !edit_options.persistent_selections) edit_options 4070 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 153 src/editor/editcmd.c this_save_mode = edit_options.save_mode; edit_options 326 src/editor/editcmd.c g_assert (edit_options.backup_ext != NULL); edit_options 333 src/editor/editcmd.c g_strdup_printf ("%s%s", tmp_store_filename, edit_options.backup_ext); edit_options 363 src/editor/editcmd.c return !(edit_options.check_nl_at_eof && buf->size > 0 edit_options 548 src/editor/editcmd.c if (edit_options.cursor_beyond_eol && curs_pos > line_width) edit_options 760 src/editor/editcmd.c if (edit_options.syntax_highlighting) edit_options 849 src/editor/editcmd.c edit_options.syntax_highlighting = !edit_options.syntax_highlighting; edit_options 878 src/editor/editcmd.c edit_options.show_right_margin = !edit_options.show_right_margin; edit_options 892 src/editor/editcmd.c edit_options.line_state = !edit_options.line_state; edit_options 893 src/editor/editcmd.c edit_options.line_state_width = edit_options.line_state ? LINE_STATE_WIDTH : 0; edit_options 910 src/editor/editcmd.c g_assert (edit_options.backup_ext != NULL); edit_options 914 src/editor/editcmd.c QUICK_RADIO (3, str, &edit_options.save_mode, &edit_save_mode_radio_id), edit_options 915 src/editor/editcmd.c QUICK_INPUT (edit_options.backup_ext, "edit-backup-ext", &str_result, edit_options 918 src/editor/editcmd.c QUICK_CHECKBOX (_ ("Check &POSIX new line"), &edit_options.check_nl_at_eof, NULL), edit_options 936 src/editor/editcmd.c g_free (edit_options.backup_ext); edit_options 937 src/editor/editcmd.c edit_options.backup_ext = str_result; edit_options 1070 src/editor/editcmd.c if (edit_options.confirm_save) edit_options 1365 src/editor/editcmd.c if (edit_options.cursor_after_inserted_block) edit_options 1443 src/editor/editcmd.c if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 1477 src/editor/editcmd.c if (edit_options.cursor_after_inserted_block) edit_options 1659 src/editor/editcmd.c if (edit_options.drop_selection_on_copy) edit_options 357 src/editor/editcomplete.c + (edit->fullscreen != 0 ? 0 : 1) + edit_options.line_state_width; edit_options 364 src/editor/editcomplete.c start_x = we->x + 1 + edit_options.line_state_width; edit_options 155 src/editor/editdraw.c if (edit_options.simple_statusbar) edit_options 220 src/editor/editdraw.c if (!edit_options.state_full_filename) edit_options 242 src/editor/editdraw.c if (edit_options.simple_statusbar && w > EDITOR_MINIMUM_TERMINAL_WIDTH) edit_options 278 src/editor/editdraw.c if (!edit_options.state_full_filename) edit_options 387 src/editor/editdraw.c x1 = start_col + EDIT_TEXT_HORIZONTAL_OFFSET + edit_options.line_state_width; edit_options 402 src/editor/editdraw.c wrap_start = edit_options.word_wrap_line_length + edit->start_col; edit_options 406 src/editor/editdraw.c if (!edit_options.show_right_margin || wrap_start > end_col) edit_options 427 src/editor/editdraw.c if (edit_options.line_state) edit_options 433 src/editor/editdraw.c edit_move (x1 + i - edit_options.line_state_width, y); edit_options 476 src/editor/editdraw.c if (edit_options.show_right_margin) edit_options 478 src/editor/editdraw.c if (i > edit_options.word_wrap_line_length + edit->start_col) edit_options 515 src/editor/editdraw.c end_col -= EDIT_TEXT_HORIZONTAL_OFFSET + edit_options.line_state_width; edit_options 527 src/editor/editdraw.c if (edit_options.line_state) edit_options 556 src/editor/editdraw.c if (edit_options.visible_tws && tty_use_colors ()) edit_options 633 src/editor/editdraw.c if ((edit_options.visible_tabs || (edit_options.visible_tws && q >= tws)) edit_options 665 src/editor/editdraw.c if (edit_options.visible_tws && q >= tws && enable_show_tabs_tws edit_options 688 src/editor/editdraw.c if (edit_options.visible_tws && q >= tws && enable_show_tabs_tws edit_options 1028 src/editor/editdraw.c -(EDIT_TEXT_HORIZONTAL_OFFSET + edit_options.line_state_width)); edit_options 1080 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 (_ ("&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 170 src/editor/editoptions.c &edit_options.return_does_auto_indent, NULL), edit_options 171 src/editor/editoptions.c QUICK_CHECKBOX (_ ("Confir&m before saving"), &edit_options.confirm_save, NULL), edit_options 172 src/editor/editoptions.c QUICK_CHECKBOX (_ ("Save file &position"), &edit_options.save_position, NULL), edit_options 173 src/editor/editoptions.c QUICK_CHECKBOX (_ ("&Visible trailing spaces"), &edit_options.visible_tws, edit_options 175 src/editor/editoptions.c QUICK_CHECKBOX (_ ("Visible &tabs"), &edit_options.visible_tabs, NULL), edit_options 176 src/editor/editoptions.c QUICK_CHECKBOX (_ ("Synta&x highlighting"), &edit_options.syntax_highlighting, edit_options 179 src/editor/editoptions.c &edit_options.cursor_after_inserted_block, NULL), edit_options 181 src/editor/editoptions.c &edit_options.persistent_selections, NULL), edit_options 183 src/editor/editoptions.c &edit_options.cursor_beyond_eol, NULL), edit_options 184 src/editor/editoptions.c QUICK_CHECKBOX (_ ("&Group undo"), &edit_options.group_undo, NULL), edit_options 209 src/editor/editoptions.c old_syntax_hl = edit_options.syntax_highlighting; edit_options 211 src/editor/editoptions.c if (!edit_options.cursor_beyond_eol) edit_options 216 src/editor/editoptions.c edit_options.word_wrap_line_length = atoi (p); edit_options 217 src/editor/editoptions.c if (edit_options.word_wrap_line_length <= 0) edit_options 218 src/editor/editoptions.c edit_options.word_wrap_line_length = DEFAULT_WRAP_LINE_LENGTH; edit_options 232 src/editor/editoptions.c edit_options.auto_para_formatting = TRUE; edit_options 233 src/editor/editoptions.c edit_options.typewriter_wrap = FALSE; edit_options 237 src/editor/editoptions.c edit_options.auto_para_formatting = FALSE; edit_options 238 src/editor/editoptions.c edit_options.typewriter_wrap = TRUE; edit_options 242 src/editor/editoptions.c edit_options.auto_para_formatting = FALSE; edit_options 243 src/editor/editoptions.c edit_options.typewriter_wrap = FALSE; edit_options 247 src/editor/editoptions.c if (edit_options.syntax_highlighting != old_syntax_hl) edit_options 757 src/editor/editsearch.c xpos = w->rect.x + edit_options.line_state_width + 1; edit_options 712 src/editor/editwidget.c if (!edit_options.cursor_beyond_eol) edit_options 713 src/editor/editwidget.c edit->prev_col = x - edit->start_col - edit_options.line_state_width; edit_options 723 src/editor/editwidget.c edit->over_col = x - line_len - edit->start_col - edit_options.line_state_width; edit_options 729 src/editor/editwidget.c edit->prev_col = x - edit_options.line_state_width - edit->start_col; edit_options 985 src/editor/editwidget.c + edit_options.line_state_width + e->curs_col + e->start_col + e->over_col; edit_options 324 src/editor/etags.c + (edit->fullscreen != 0 ? 0 : 1) + edit_options.line_state_width; edit_options 331 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 324 src/editor/format.c ww = edit_options.word_wrap_line_length * FONT_MEAN_WIDTH - indent; edit_options 381 src/editor/format.c if (!edit_options.fill_tabs_with_spaces) edit_options 478 src/editor/format.c if (edit_options.word_wrap_line_length < 2) edit_options 495 src/editor/format.c if (edit_options.stop_format_chars != NULL edit_options 496 src/editor/format.c && strchr (edit_options.stop_format_chars, t->str[0]) != NULL) edit_options 502 src/editor/format.c if (edit_options.stop_format_chars == NULL || *edit_options.stop_format_chars == '\0') edit_options 505 src/editor/format.c stop_format_chars = g_strconcat (edit_options.stop_format_chars, "\t", (char *) NULL); edit_options 1490 src/editor/syntax.c if (edit_options.syntax_highlighting && edit->rules != NULL && byte_index < edit->buffer.size) edit_options 1550 src/editor/syntax.c if (!edit_options.syntax_highlighting && (pnames == NULL || pnames->len == 0)) edit_options 337 src/setup.c { "editor_fill_tabs_with_spaces", &edit_options.fill_tabs_with_spaces }, edit_options 338 src/setup.c { "editor_return_does_auto_indent", &edit_options.return_does_auto_indent }, edit_options 339 src/setup.c { "editor_backspace_through_tabs", &edit_options.backspace_through_tabs }, edit_options 340 src/setup.c { "editor_fake_half_tabs", &edit_options.fake_half_tabs }, edit_options 341 src/setup.c { "editor_option_save_position", &edit_options.save_position }, edit_options 342 src/setup.c { "editor_option_auto_para_formatting", &edit_options.auto_para_formatting }, edit_options 343 src/setup.c { "editor_option_typewriter_wrap", &edit_options.typewriter_wrap }, edit_options 344 src/setup.c { "editor_edit_confirm_save", &edit_options.confirm_save }, edit_options 345 src/setup.c { "editor_syntax_highlighting", &edit_options.syntax_highlighting }, edit_options 346 src/setup.c { "editor_persistent_selections", &edit_options.persistent_selections }, edit_options 347 src/setup.c { "editor_drop_selection_on_copy", &edit_options.drop_selection_on_copy }, edit_options 348 src/setup.c { "editor_cursor_beyond_eol", &edit_options.cursor_beyond_eol }, edit_options 349 src/setup.c { "editor_cursor_after_inserted_block", &edit_options.cursor_after_inserted_block }, edit_options 350 src/setup.c { "editor_visible_tabs", &edit_options.visible_tabs }, edit_options 351 src/setup.c { "editor_visible_spaces", &edit_options.visible_tws }, edit_options 352 src/setup.c { "editor_line_state", &edit_options.line_state }, edit_options 353 src/setup.c { "editor_simple_statusbar", &edit_options.simple_statusbar }, edit_options 354 src/setup.c { "editor_check_new_line", &edit_options.check_nl_at_eof }, edit_options 355 src/setup.c { "editor_show_right_margin", &edit_options.show_right_margin }, edit_options 356 src/setup.c { "editor_group_undo", &edit_options.group_undo }, edit_options 357 src/setup.c { "editor_state_full_filename", &edit_options.state_full_filename }, edit_options 400 src/setup.c { "editor_word_wrap_line_length", &edit_options.word_wrap_line_length }, edit_options 401 src/setup.c { "editor_option_save_mode", &edit_options.save_mode }, edit_options 416 src/setup.c { "editor_backup_extension", &edit_options.backup_ext, "~" }, edit_options 417 src/setup.c { "editor_filesize_threshold", &edit_options.filesize_threshold, "64M" }, edit_options 418 src/setup.c { "editor_stop_format_chars", &edit_options.stop_format_chars, "-+*\\,.;:&>" }, edit_options 544 src/setup.c if (edit_options.word_wrap_line_length <= 0) edit_options 545 src/setup.c edit_options.word_wrap_line_length = DEFAULT_WRAP_LINE_LENGTH; edit_options 166 tests/src/editor/edit_complete_word_cmd.c edit_options.filesize_threshold = (char *) "64M"; edit_options 75 tests/src/editor/edit_insert_column_of_text.c edit_options.filesize_threshold = (char *) "64M"; edit_options 248 tests/src/editor/edit_replace_cmd.c edit_options.filesize_threshold = (char *) "64M";