edit_options 76 src/editor/edit.c edit_options_t edit_options = { edit_options 340 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 1981 src/editor/edit.c if (!edit_options.cursor_after_inserted_block) edit_options 2030 src/editor/edit.c if (!edit_options.persistent_selections && edit->modified != 0) edit_options 2047 src/editor/edit.c if (!edit_options.persistent_selections && edit->modified != 0) edit_options 2056 src/editor/edit.c if (!edit_options.cursor_after_inserted_block) edit_options 2089 src/editor/edit.c edit_options.line_state_width = edit_options.line_state ? LINE_STATE_WIDTH : 0; edit_options 2178 src/editor/edit.c if ((line == 0) && edit_options.save_position) edit_options 2208 src/editor/edit.c if (edit_options.save_position) edit_options 2956 src/editor/edit.c if (edit_options.cursor_beyond_eol) edit_options 2980 src/editor/edit.c if (edit_options.fake_half_tabs && is_in_indent (&edit->buffer)) edit_options 3418 src/editor/edit.c if (!edit_options.persistent_selections && edit->mark1 != edit->mark2) edit_options 3428 src/editor/edit.c if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 3459 src/editor/edit.c if (edit_options.auto_para_formatting) edit_options 3489 src/editor/edit.c if (!edit_options.persistent_selections && edit->mark2 >= 0) edit_options 3535 src/editor/edit.c if (!edit_options.persistent_selections && edit->mark1 != edit->mark2) edit_options 3537 src/editor/edit.c else if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 3539 src/editor/edit.c else if (edit_options.backspace_through_tabs && is_in_indent (&edit->buffer)) edit_options 3544 src/editor/edit.c else if (edit_options.fake_half_tabs && is_in_indent (&edit->buffer) edit_options 3557 src/editor/edit.c if (!edit_options.persistent_selections && edit->mark1 != edit->mark2) edit_options 3561 src/editor/edit.c if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 3564 src/editor/edit.c if (edit_options.fake_half_tabs && is_in_indent (&edit->buffer) edit_options 3581 src/editor/edit.c if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 3597 src/editor/edit.c if (edit_options.auto_para_formatting) edit_options 3600 src/editor/edit.c if (edit_options.return_does_auto_indent && !bracketed_pasting_in_progress) edit_options 3607 src/editor/edit.c if (edit_options.return_does_auto_indent && !bracketed_pasting_in_progress) edit_options 3634 src/editor/edit.c if (edit_options.fake_half_tabs && is_in_indent (&edit->buffer) edit_options 3637 src/editor/edit.c if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 3651 src/editor/edit.c if (edit_options.fake_half_tabs && is_in_indent (&edit->buffer) edit_options 3730 src/editor/edit.c if (edit->mark1 != edit->mark2 && !edit_options.persistent_selections) edit_options 3738 src/editor/edit.c if (edit_options.cursor_beyond_eol) edit_options 3741 src/editor/edit.c if (edit_options.auto_para_formatting) edit_options 3848 src/editor/edit.c if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 3875 src/editor/edit.c if (!edit_options.persistent_selections && edit->mark1 != edit->mark2) edit_options 3877 src/editor/edit.c if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 3880 src/editor/edit.c if (!edit_options.persistent_selections && edit->mark2 >= 0) edit_options 3930 src/editor/edit.c if (edit->mark1 != edit->mark2 && !edit_options.persistent_selections) edit_options 4059 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 150 src/editor/editcmd.c this_save_mode = edit_options.save_mode; edit_options 323 src/editor/editcmd.c g_assert (edit_options.backup_ext != NULL); edit_options 330 src/editor/editcmd.c g_strdup_printf ("%s%s", tmp_store_filename, edit_options.backup_ext); edit_options 360 src/editor/editcmd.c return !(edit_options.check_nl_at_eof && buf->size > 0 edit_options 545 src/editor/editcmd.c if (edit_options.cursor_beyond_eol && curs_pos > line_width) edit_options 742 src/editor/editcmd.c if (edit_options.syntax_highlighting) edit_options 788 src/editor/editcmd.c edit_options.syntax_highlighting = !edit_options.syntax_highlighting; edit_options 817 src/editor/editcmd.c edit_options.show_right_margin = !edit_options.show_right_margin; edit_options 831 src/editor/editcmd.c edit_options.line_state = !edit_options.line_state; edit_options 832 src/editor/editcmd.c edit_options.line_state_width = edit_options.line_state ? LINE_STATE_WIDTH : 0; edit_options 856 src/editor/editcmd.c g_assert (edit_options.backup_ext != NULL); edit_options 860 src/editor/editcmd.c QUICK_RADIO (3, str, &edit_options.save_mode, &edit_save_mode_radio_id), edit_options 861 src/editor/editcmd.c QUICK_INPUT (edit_options.backup_ext, "edit-backup-ext", &str_result, edit_options 864 src/editor/editcmd.c QUICK_CHECKBOX (N_ ("Check &POSIX new line"), &edit_options.check_nl_at_eof, NULL), edit_options 882 src/editor/editcmd.c g_free (edit_options.backup_ext); edit_options 883 src/editor/editcmd.c edit_options.backup_ext = str_result; edit_options 1016 src/editor/editcmd.c if (edit_options.confirm_save) edit_options 1309 src/editor/editcmd.c if (edit_options.cursor_after_inserted_block) edit_options 1388 src/editor/editcmd.c if (edit_options.cursor_beyond_eol && edit->over_col > 0) edit_options 1419 src/editor/editcmd.c if (edit_options.cursor_after_inserted_block) edit_options 1599 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 135 src/editor/editdraw.c if (edit_options.simple_statusbar) edit_options 198 src/editor/editdraw.c if (!edit_options.state_full_filename) edit_options 220 src/editor/editdraw.c if (edit_options.simple_statusbar && w > EDITOR_MINIMUM_TERMINAL_WIDTH) edit_options 256 src/editor/editdraw.c if (!edit_options.state_full_filename) edit_options 382 src/editor/editdraw.c x1 = start_col + EDIT_TEXT_HORIZONTAL_OFFSET + edit_options.line_state_width; edit_options 397 src/editor/editdraw.c wrap_start = edit_options.word_wrap_line_length + edit->start_col; edit_options 401 src/editor/editdraw.c if (!edit_options.show_right_margin || wrap_start > end_col) edit_options 422 src/editor/editdraw.c if (edit_options.line_state) edit_options 428 src/editor/editdraw.c edit_move (x1 + i - edit_options.line_state_width, y); edit_options 471 src/editor/editdraw.c if (edit_options.show_right_margin) edit_options 473 src/editor/editdraw.c if (i > edit_options.word_wrap_line_length + edit->start_col) edit_options 510 src/editor/editdraw.c end_col -= EDIT_TEXT_HORIZONTAL_OFFSET + edit_options.line_state_width; edit_options 522 src/editor/editdraw.c if (edit_options.line_state) edit_options 551 src/editor/editdraw.c if (edit_options.visible_tws && tty_use_colors ()) edit_options 628 src/editor/editdraw.c if ((edit_options.visible_tabs || (edit_options.visible_tws && q >= tws)) edit_options 668 src/editor/editdraw.c else if (edit_options.visible_tws && q >= tws && enable_show_tabs_tws edit_options 698 src/editor/editdraw.c if (edit_options.visible_tws && q >= tws && enable_show_tabs_tws edit_options 1038 src/editor/editdraw.c -(EDIT_TEXT_HORIZONTAL_OFFSET + edit_options.line_state_width)); edit_options 1090 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 170 src/editor/editoptions.c &edit_options.return_does_auto_indent, NULL), edit_options 171 src/editor/editoptions.c QUICK_CHECKBOX (N_ ("Confir&m before saving"), &edit_options.confirm_save, NULL), edit_options 172 src/editor/editoptions.c QUICK_CHECKBOX (N_ ("Save file &position"), &edit_options.save_position, NULL), edit_options 173 src/editor/editoptions.c QUICK_CHECKBOX (N_ ("&Visible trailing spaces"), &edit_options.visible_tws, edit_options 175 src/editor/editoptions.c QUICK_CHECKBOX (N_ ("Visible &tabs"), &edit_options.visible_tabs, NULL), edit_options 176 src/editor/editoptions.c QUICK_CHECKBOX (N_ ("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 (N_ ("&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 754 src/editor/editsearch.c xpos = w->rect.x + edit_options.line_state_width + 1; edit_options 707 src/editor/editwidget.c if (!edit_options.cursor_beyond_eol) edit_options 708 src/editor/editwidget.c edit->prev_col = x - edit->start_col - edit_options.line_state_width; edit_options 718 src/editor/editwidget.c edit->over_col = x - line_len - edit->start_col - edit_options.line_state_width; edit_options 724 src/editor/editwidget.c edit->prev_col = x - edit_options.line_state_width - edit->start_col; edit_options 980 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 1488 src/editor/syntax.c if (edit_options.syntax_highlighting && edit->rules != NULL && byte_index < edit->buffer.size) edit_options 1548 src/editor/syntax.c if (!edit_options.syntax_highlighting && (pnames == NULL || pnames->len == 0)) edit_options 335 src/setup.c { "editor_fill_tabs_with_spaces", &edit_options.fill_tabs_with_spaces }, edit_options 336 src/setup.c { "editor_return_does_auto_indent", &edit_options.return_does_auto_indent }, edit_options 337 src/setup.c { "editor_backspace_through_tabs", &edit_options.backspace_through_tabs }, edit_options 338 src/setup.c { "editor_fake_half_tabs", &edit_options.fake_half_tabs }, edit_options 339 src/setup.c { "editor_option_save_position", &edit_options.save_position }, edit_options 340 src/setup.c { "editor_option_auto_para_formatting", &edit_options.auto_para_formatting }, edit_options 341 src/setup.c { "editor_option_typewriter_wrap", &edit_options.typewriter_wrap }, edit_options 342 src/setup.c { "editor_edit_confirm_save", &edit_options.confirm_save }, edit_options 343 src/setup.c { "editor_syntax_highlighting", &edit_options.syntax_highlighting }, edit_options 344 src/setup.c { "editor_persistent_selections", &edit_options.persistent_selections }, edit_options 345 src/setup.c { "editor_drop_selection_on_copy", &edit_options.drop_selection_on_copy }, edit_options 346 src/setup.c { "editor_cursor_beyond_eol", &edit_options.cursor_beyond_eol }, edit_options 347 src/setup.c { "editor_cursor_after_inserted_block", &edit_options.cursor_after_inserted_block }, edit_options 348 src/setup.c { "editor_visible_tabs", &edit_options.visible_tabs }, edit_options 349 src/setup.c { "editor_visible_spaces", &edit_options.visible_tws }, edit_options 350 src/setup.c { "editor_line_state", &edit_options.line_state }, edit_options 351 src/setup.c { "editor_simple_statusbar", &edit_options.simple_statusbar }, edit_options 352 src/setup.c { "editor_check_new_line", &edit_options.check_nl_at_eof }, edit_options 353 src/setup.c { "editor_show_right_margin", &edit_options.show_right_margin }, edit_options 354 src/setup.c { "editor_group_undo", &edit_options.group_undo }, edit_options 355 src/setup.c { "editor_state_full_filename", &edit_options.state_full_filename }, edit_options 395 src/setup.c { "editor_word_wrap_line_length", &edit_options.word_wrap_line_length }, edit_options 396 src/setup.c { "editor_option_save_mode", &edit_options.save_mode }, edit_options 411 src/setup.c { "editor_backup_extension", &edit_options.backup_ext, "~" }, edit_options 412 src/setup.c { "editor_filesize_threshold", &edit_options.filesize_threshold, "64M" }, edit_options 413 src/setup.c { "editor_stop_format_chars", &edit_options.stop_format_chars, "-+*\\,.;:&>" }, edit_options 540 src/setup.c if (edit_options.word_wrap_line_length <= 0) edit_options 541 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 215 tests/src/editor/edit_replace_cmd.c edit_options.filesize_threshold = (char *) "64M";