edit               66 src/editor/bookmark.c double_marks (WEdit * edit, edit_book_mark_t * p)
edit               68 src/editor/bookmark.c     (void) edit;
edit               80 src/editor/bookmark.c book_mark_find (WEdit * edit, long line)
edit               84 src/editor/bookmark.c     if (edit->book_mark == NULL)
edit               87 src/editor/bookmark.c         edit->book_mark = g_new0 (edit_book_mark_t, 1);
edit               88 src/editor/bookmark.c         edit->book_mark->line = -1;
edit               89 src/editor/bookmark.c         return edit->book_mark;
edit               92 src/editor/bookmark.c     for (p = edit->book_mark; p != NULL; p = p->next)
edit              101 src/editor/bookmark.c                 edit->book_mark = p;
edit              102 src/editor/bookmark.c                 return double_marks (edit, p);
edit              107 src/editor/bookmark.c             edit->book_mark = p;
edit              108 src/editor/bookmark.c             return double_marks (edit, p);
edit              112 src/editor/bookmark.c     for (p = edit->book_mark; p != NULL; p = p->prev)
edit              123 src/editor/bookmark.c                     edit->book_mark = p;
edit              124 src/editor/bookmark.c                     return double_marks (edit, p);
edit              129 src/editor/bookmark.c                 edit->book_mark = p;
edit              130 src/editor/bookmark.c                 return double_marks (edit, p);
edit              152 src/editor/bookmark.c book_mark_query_color (WEdit * edit, long line, int c)
edit              154 src/editor/bookmark.c     if (edit->book_mark != NULL)
edit              158 src/editor/bookmark.c         for (p = book_mark_find (edit, line); p != NULL; p = p->prev)
edit              174 src/editor/bookmark.c book_mark_insert (WEdit * edit, long line, int c)
edit              178 src/editor/bookmark.c     p = book_mark_find (edit, line);
edit              186 src/editor/bookmark.c             edit->force |= REDRAW_LINE;
edit              202 src/editor/bookmark.c     edit->force |= REDRAW_LINE;
edit              216 src/editor/bookmark.c book_mark_clear (WEdit * edit, long line, int c)
edit              221 src/editor/bookmark.c     if (edit->book_mark == NULL)
edit              224 src/editor/bookmark.c     for (p = book_mark_find (edit, line); p != NULL; p = q)
edit              230 src/editor/bookmark.c             edit->book_mark = p->prev;
edit              235 src/editor/bookmark.c             edit->force |= REDRAW_LINE;
edit              240 src/editor/bookmark.c     if (edit->book_mark->line == -1 && edit->book_mark->next == NULL)
edit              241 src/editor/bookmark.c         MC_PTR_FREE (edit->book_mark);
edit              250 src/editor/bookmark.c book_mark_flush (WEdit * edit, int c)
edit              254 src/editor/bookmark.c     if (edit->book_mark == NULL)
edit              257 src/editor/bookmark.c     while (edit->book_mark->prev != NULL)
edit              258 src/editor/bookmark.c         edit->book_mark = edit->book_mark->prev;
edit              260 src/editor/bookmark.c     for (q = edit->book_mark->next; q != NULL; q = p)
edit              271 src/editor/bookmark.c     if (edit->book_mark->next == NULL)
edit              272 src/editor/bookmark.c         MC_PTR_FREE (edit->book_mark);
edit              274 src/editor/bookmark.c     edit->force |= REDRAW_PAGE;
edit              281 src/editor/bookmark.c book_mark_inc (WEdit * edit, long line)
edit              283 src/editor/bookmark.c     if (edit->book_mark != NULL)
edit              287 src/editor/bookmark.c         p = book_mark_find (edit, line);
edit              297 src/editor/bookmark.c book_mark_dec (WEdit * edit, long line)
edit              299 src/editor/bookmark.c     if (edit->book_mark != NULL)
edit              303 src/editor/bookmark.c         p = book_mark_find (edit, line);
edit              313 src/editor/bookmark.c book_mark_serialize (WEdit * edit, int color)
edit              315 src/editor/bookmark.c     if (edit->serialized_bookmarks != NULL)
edit              316 src/editor/bookmark.c         g_array_set_size (edit->serialized_bookmarks, 0);
edit              318 src/editor/bookmark.c     if (edit->book_mark != NULL)
edit              322 src/editor/bookmark.c         if (edit->serialized_bookmarks == NULL)
edit              323 src/editor/bookmark.c             edit->serialized_bookmarks = g_array_sized_new (FALSE, FALSE, sizeof (size_t),
edit              326 src/editor/bookmark.c         for (p = book_mark_find (edit, 0); p != NULL; p = p->next)
edit              328 src/editor/bookmark.c                 g_array_append_val (edit->serialized_bookmarks, p->line);
edit              336 src/editor/bookmark.c book_mark_restore (WEdit * edit, int color)
edit              338 src/editor/bookmark.c     if (edit->serialized_bookmarks != NULL)
edit              342 src/editor/bookmark.c         for (i = 0; i < edit->serialized_bookmarks->len; i++)
edit              343 src/editor/bookmark.c             book_mark_insert (edit, g_array_index (edit->serialized_bookmarks, size_t, i), color);
edit               98 src/editor/choosesyntax.c edit_syntax_dialog (WEdit * edit)
edit              111 src/editor/choosesyntax.c     syntax = exec_edit_syntax_dialog (names, edit->syntax_type);
edit              118 src/editor/choosesyntax.c         current_syntax = g_strdup (edit->syntax_type);
edit              131 src/editor/choosesyntax.c             g_free (edit->syntax_type);
edit              132 src/editor/choosesyntax.c             edit->syntax_type = g_strdup (g_ptr_array_index (names, syntax - N_DFLT_ENTRIES));
edit              137 src/editor/choosesyntax.c             (current_syntax != NULL && edit->syntax_type != NULL &&
edit              138 src/editor/choosesyntax.c              strcmp (current_syntax, edit->syntax_type) != 0))
edit              139 src/editor/choosesyntax.c             edit_load_syntax (edit, NULL, edit->syntax_type);
edit              145 src/editor/edit-impl.h void user_menu (WEdit * edit, const char *menu_file, int selected_entry);
edit              148 src/editor/edit-impl.h off_t edit_move_forward3 (const WEdit * edit, off_t current, long cols, off_t upto);
edit              149 src/editor/edit-impl.h void edit_scroll_screen_over_cursor (WEdit * edit);
edit              150 src/editor/edit-impl.h void edit_render_keypress (WEdit * edit);
edit              151 src/editor/edit-impl.h void edit_scroll_upward (WEdit * edit, long i);
edit              152 src/editor/edit-impl.h void edit_scroll_downward (WEdit * edit, long i);
edit              153 src/editor/edit-impl.h void edit_scroll_right (WEdit * edit, long i);
edit              154 src/editor/edit-impl.h void edit_scroll_left (WEdit * edit, long i);
edit              155 src/editor/edit-impl.h void edit_move_up (WEdit * edit, long i, gboolean do_scroll);
edit              156 src/editor/edit-impl.h void edit_move_down (WEdit * edit, long i, gboolean do_scroll);
edit              157 src/editor/edit-impl.h void edit_move_to_prev_col (WEdit * edit, off_t p);
edit              158 src/editor/edit-impl.h long edit_get_col (const WEdit * edit);
edit              159 src/editor/edit-impl.h void edit_update_curs_row (WEdit * edit);
edit              160 src/editor/edit-impl.h void edit_update_curs_col (WEdit * edit);
edit              161 src/editor/edit-impl.h void edit_find_bracket (WEdit * edit);
edit              162 src/editor/edit-impl.h gboolean edit_reload_line (WEdit * edit, const vfs_path_t * filename_vpath, long line);
edit              163 src/editor/edit-impl.h void edit_set_codeset (WEdit * edit);
edit              165 src/editor/edit-impl.h void edit_block_copy_cmd (WEdit * edit);
edit              166 src/editor/edit-impl.h void edit_block_move_cmd (WEdit * edit);
edit              167 src/editor/edit-impl.h int edit_block_delete_cmd (WEdit * edit);
edit              168 src/editor/edit-impl.h void edit_delete_line (WEdit * edit);
edit              170 src/editor/edit-impl.h int edit_delete (WEdit * edit, gboolean byte_delete);
edit              171 src/editor/edit-impl.h int edit_backspace (WEdit * edit, gboolean byte_delete);
edit              172 src/editor/edit-impl.h void edit_insert (WEdit * edit, int c);
edit              173 src/editor/edit-impl.h void edit_insert_over (WEdit * edit);
edit              174 src/editor/edit-impl.h void edit_cursor_move (WEdit * edit, off_t increment);
edit              175 src/editor/edit-impl.h void edit_push_undo_action (WEdit * edit, long c);
edit              176 src/editor/edit-impl.h void edit_push_redo_action (WEdit * edit, long c);
edit              177 src/editor/edit-impl.h void edit_push_key_press (WEdit * edit);
edit              178 src/editor/edit-impl.h void edit_insert_ahead (WEdit * edit, int c);
edit              179 src/editor/edit-impl.h off_t edit_write_stream (WEdit * edit, FILE * f);
edit              182 src/editor/edit-impl.h gboolean edit_save_confirm_cmd (WEdit * edit);
edit              183 src/editor/edit-impl.h gboolean edit_save_as_cmd (WEdit * edit);
edit              184 src/editor/edit-impl.h WEdit *edit_init (WEdit * edit, int y, int x, int lines, int cols,
edit              186 src/editor/edit-impl.h gboolean edit_clean (WEdit * edit);
edit              187 src/editor/edit-impl.h gboolean edit_ok_to_exit (WEdit * edit);
edit              192 src/editor/edit-impl.h gboolean edit_close_cmd (WEdit * edit);
edit              193 src/editor/edit-impl.h void edit_mark_cmd (WEdit * edit, gboolean unmark);
edit              194 src/editor/edit-impl.h void edit_mark_current_word_cmd (WEdit * edit);
edit              195 src/editor/edit-impl.h void edit_mark_current_line_cmd (WEdit * edit);
edit              196 src/editor/edit-impl.h void edit_set_markers (WEdit * edit, off_t m1, off_t m2, long c1, long c2);
edit              197 src/editor/edit-impl.h void edit_push_markers (WEdit * edit);
edit              198 src/editor/edit-impl.h void edit_replace_cmd (WEdit * edit, gboolean again);
edit              199 src/editor/edit-impl.h void edit_search_cmd (WEdit * edit, gboolean again);
edit              204 src/editor/edit-impl.h void edit_complete_word_cmd (WEdit * edit);
edit              205 src/editor/edit-impl.h void edit_get_match_keyword_cmd (WEdit * edit);
edit              208 src/editor/edit-impl.h int edit_suggest_current_word (WEdit * edit);
edit              209 src/editor/edit-impl.h void edit_spellcheck_file (WEdit * edit);
edit              213 src/editor/edit-impl.h gboolean edit_save_block (WEdit * edit, const char *filename, off_t start, off_t finish);
edit              214 src/editor/edit-impl.h gboolean edit_save_block_cmd (WEdit * edit);
edit              215 src/editor/edit-impl.h gboolean edit_insert_file_cmd (WEdit * edit);
edit              217 src/editor/edit-impl.h off_t edit_insert_file (WEdit * edit, const vfs_path_t * filename_vpath);
edit              218 src/editor/edit-impl.h gboolean edit_load_back_cmd (WEdit * edit);
edit              219 src/editor/edit-impl.h gboolean edit_load_forward_cmd (WEdit * edit);
edit              220 src/editor/edit-impl.h void edit_block_process_cmd (WEdit * edit, int macro_number);
edit              226 src/editor/edit-impl.h void edit_date_cmd (WEdit * edit);
edit              227 src/editor/edit-impl.h void edit_goto_cmd (WEdit * edit);
edit              228 src/editor/edit-impl.h gboolean eval_marks (WEdit * edit, off_t * start_mark, off_t * end_mark);
edit              229 src/editor/edit-impl.h void edit_status (WEdit * edit, gboolean active);
edit              230 src/editor/edit-impl.h void edit_execute_key_command (WEdit * edit, long command, int char_for_insertion);
edit              231 src/editor/edit-impl.h void edit_update_screen (WEdit * edit);
edit              232 src/editor/edit-impl.h void edit_save_size (WEdit * edit);
edit              233 src/editor/edit-impl.h gboolean edit_handle_move_resize (WEdit * edit, long command);
edit              234 src/editor/edit-impl.h void edit_toggle_fullscreen (WEdit * edit);
edit              237 src/editor/edit-impl.h void edit_word_wrap (WEdit * edit);
edit              238 src/editor/edit-impl.h int edit_sort_cmd (WEdit * edit);
edit              239 src/editor/edit-impl.h int edit_ext_cmd (WEdit * edit);
edit              241 src/editor/edit-impl.h int edit_store_macro_cmd (WEdit * edit);
edit              242 src/editor/edit-impl.h gboolean edit_load_macro_cmd (WEdit * edit);
edit              243 src/editor/edit-impl.h void edit_delete_macro_cmd (WEdit * edit);
edit              244 src/editor/edit-impl.h gboolean edit_repeat_macro_cmd (WEdit * edit);
edit              246 src/editor/edit-impl.h gboolean edit_copy_to_X_buf_cmd (WEdit * edit);
edit              247 src/editor/edit-impl.h gboolean edit_cut_to_X_buf_cmd (WEdit * edit);
edit              248 src/editor/edit-impl.h gboolean edit_paste_from_X_buf_cmd (WEdit * edit);
edit              250 src/editor/edit-impl.h void edit_select_codepage_cmd (WEdit * edit);
edit              251 src/editor/edit-impl.h void edit_insert_literal_cmd (WEdit * edit);
edit              252 src/editor/edit-impl.h gboolean edit_execute_macro (WEdit * edit, int hotkey);
edit              253 src/editor/edit-impl.h void edit_begin_end_macro_cmd (WEdit * edit);
edit              254 src/editor/edit-impl.h void edit_begin_end_repeat_cmd (WEdit * edit);
edit              256 src/editor/edit-impl.h void edit_paste_from_history (WEdit * edit);
edit              258 src/editor/edit-impl.h void edit_set_filename (WEdit * edit, const vfs_path_t * name_vpath);
edit              260 src/editor/edit-impl.h void edit_load_syntax (WEdit * edit, GPtrArray * pnames, const char *type);
edit              261 src/editor/edit-impl.h void edit_free_syntax_rules (WEdit * edit);
edit              262 src/editor/edit-impl.h int edit_get_syntax_color (WEdit * edit, off_t byte_index);
edit              264 src/editor/edit-impl.h void book_mark_insert (WEdit * edit, long line, int c);
edit              265 src/editor/edit-impl.h gboolean book_mark_query_color (WEdit * edit, long line, int c);
edit              266 src/editor/edit-impl.h struct edit_book_mark_t *book_mark_find (WEdit * edit, long line);
edit              267 src/editor/edit-impl.h gboolean book_mark_clear (WEdit * edit, long line, int c);
edit              268 src/editor/edit-impl.h void book_mark_flush (WEdit * edit, int c);
edit              269 src/editor/edit-impl.h void book_mark_inc (WEdit * edit, long line);
edit              270 src/editor/edit-impl.h void book_mark_dec (WEdit * edit, long line);
edit              271 src/editor/edit-impl.h void book_mark_serialize (WEdit * edit, int color);
edit              272 src/editor/edit-impl.h void book_mark_restore (WEdit * edit, int color);
edit              274 src/editor/edit-impl.h gboolean edit_line_is_blank (WEdit * edit, long line);
edit              277 src/editor/edit-impl.h void edit_syntax_dialog (WEdit * edit);
edit              278 src/editor/edit-impl.h void edit_mail_dialog (WEdit * edit);
edit              279 src/editor/edit-impl.h void format_paragraph (WEdit * edit, gboolean force);
edit              282 src/editor/edit-impl.h void edit_execute_cmd (WEdit * edit, long command, int char_for_insertion);
edit              294 src/editor/edit-impl.h edit_reload (WEdit * edit, const vfs_path_t * filename_vpath)
edit              296 src/editor/edit-impl.h     return edit_reload_line (edit, filename_vpath, 0);
edit              267 src/editor/edit.c edit_insert_stream (WEdit * edit, FILE * f)
edit              274 src/editor/edit.c         edit_insert (edit, c);
edit              291 src/editor/edit.c check_file_access (WEdit * edit, const vfs_path_t * filename_vpath, struct stat *st)
edit              315 src/editor/edit.c         edit->delete_file = 1;
edit              350 src/editor/edit.c         edit->delete_file = 0;
edit              393 src/editor/edit.c edit_load_file (WEdit * edit)
edit              398 src/editor/edit.c     if (edit_find_filter (edit->filename_vpath) >= 0)
edit              405 src/editor/edit.c     if (edit->filename_vpath != NULL)
edit              411 src/editor/edit.c         if (!vfs_file_is_local (edit->filename_vpath))
edit              415 src/editor/edit.c         if (!check_file_access (edit, edit->filename_vpath, &edit->stat1))
edit              417 src/editor/edit.c             edit_clean (edit);
edit              429 src/editor/edit.c         edit_buffer_init (&edit->buffer, edit->stat1.st_size);
edit              431 src/editor/edit.c         if (!edit_load_file_fast (&edit->buffer, edit->filename_vpath))
edit              433 src/editor/edit.c             edit_clean (edit);
edit              439 src/editor/edit.c         edit_buffer_init (&edit->buffer, 0);
edit              441 src/editor/edit.c         if (edit->filename_vpath != NULL
edit              442 src/editor/edit.c             && *(vfs_path_get_by_index (edit->filename_vpath, 0)->path) != '\0')
edit              444 src/editor/edit.c             edit->undo_stack_disable = 1;
edit              445 src/editor/edit.c             if (edit_insert_file (edit, edit->filename_vpath) < 0)
edit              447 src/editor/edit.c                 edit_clean (edit);
edit              450 src/editor/edit.c             edit->undo_stack_disable = 0;
edit              453 src/editor/edit.c     edit->lb = LB_ASIS;
edit              467 src/editor/edit.c edit_load_position (WEdit * edit, gboolean load_position)
edit              472 src/editor/edit.c     if (edit->filename_vpath == NULL
edit              473 src/editor/edit.c         || *(vfs_path_get_by_index (edit->filename_vpath, 0)->path) == '\0')
edit              476 src/editor/edit.c     load_file_position (edit->filename_vpath, &line, &column, &offset, &edit->serialized_bookmarks);
edit              478 src/editor/edit.c     book_mark_restore (edit, BOOK_MARK_COLOR);
edit              485 src/editor/edit.c         edit_move_to_line (edit, line - 1);
edit              486 src/editor/edit.c         edit->prev_col = column;
edit              490 src/editor/edit.c         edit_cursor_move (edit, offset);
edit              491 src/editor/edit.c         line = edit->buffer.curs_line;
edit              492 src/editor/edit.c         edit->search_start = edit->buffer.curs1;
edit              495 src/editor/edit.c     edit_move_to_prev_col (edit, edit_buffer_get_current_bol (&edit->buffer));
edit              496 src/editor/edit.c     edit_move_display (edit, line - (WIDGET (edit)->lines / 2));
edit              503 src/editor/edit.c edit_save_position (WEdit * edit)
edit              505 src/editor/edit.c     if (edit->filename_vpath == NULL
edit              506 src/editor/edit.c         || *(vfs_path_get_by_index (edit->filename_vpath, 0)->path) == '\0')
edit              509 src/editor/edit.c     book_mark_serialize (edit, BOOK_MARK_COLOR);
edit              510 src/editor/edit.c     save_file_position (edit->filename_vpath, edit->buffer.curs_line + 1, edit->curs_col,
edit              511 src/editor/edit.c                         edit->buffer.curs1, edit->serialized_bookmarks);
edit              512 src/editor/edit.c     edit->serialized_bookmarks = NULL;
edit              519 src/editor/edit.c edit_purge_widget (WEdit * edit)
edit              522 src/editor/edit.c     char *start = (char *) edit + sizeof (Widget);
edit              534 src/editor/edit.c edit_pop_undo_action (WEdit * edit)
edit              537 src/editor/edit.c     unsigned long sp = edit->undo_stack_pointer;
edit              539 src/editor/edit.c     if (sp == edit->undo_stack_bottom)
edit              542 src/editor/edit.c     sp = (sp - 1) & edit->undo_stack_size_mask;
edit              543 src/editor/edit.c     c = edit->undo_stack[sp];
edit              547 src/editor/edit.c         edit->undo_stack_pointer = (edit->undo_stack_pointer - 1) & edit->undo_stack_size_mask;
edit              551 src/editor/edit.c     if (sp == edit->undo_stack_bottom)
edit              554 src/editor/edit.c     c = edit->undo_stack[(sp - 1) & edit->undo_stack_size_mask];
edit              555 src/editor/edit.c     if (edit->undo_stack[sp] == -2)
edit              558 src/editor/edit.c         edit->undo_stack_pointer = sp;
edit              561 src/editor/edit.c         edit->undo_stack[sp]++;
edit              567 src/editor/edit.c edit_pop_redo_action (WEdit * edit)
edit              570 src/editor/edit.c     unsigned long sp = edit->redo_stack_pointer;
edit              572 src/editor/edit.c     if (sp == edit->redo_stack_bottom)
edit              575 src/editor/edit.c     sp = (sp - 1) & edit->redo_stack_size_mask;
edit              576 src/editor/edit.c     c = edit->redo_stack[sp];
edit              579 src/editor/edit.c         edit->redo_stack_pointer = (edit->redo_stack_pointer - 1) & edit->redo_stack_size_mask;
edit              583 src/editor/edit.c     if (sp == edit->redo_stack_bottom)
edit              586 src/editor/edit.c     c = edit->redo_stack[(sp - 1) & edit->redo_stack_size_mask];
edit              587 src/editor/edit.c     if (edit->redo_stack[sp] == -2)
edit              588 src/editor/edit.c         edit->redo_stack_pointer = sp;
edit              590 src/editor/edit.c         edit->redo_stack[sp]++;
edit              596 src/editor/edit.c get_prev_undo_action (WEdit * edit)
edit              599 src/editor/edit.c     unsigned long sp = edit->undo_stack_pointer;
edit              601 src/editor/edit.c     if (sp == edit->undo_stack_bottom)
edit              604 src/editor/edit.c     sp = (sp - 1) & edit->undo_stack_size_mask;
edit              605 src/editor/edit.c     c = edit->undo_stack[sp];
edit              609 src/editor/edit.c     if (sp == edit->undo_stack_bottom)
edit              612 src/editor/edit.c     c = edit->undo_stack[(sp - 1) & edit->undo_stack_size_mask];
edit              620 src/editor/edit.c edit_modification (WEdit * edit)
edit              622 src/editor/edit.c     edit->caches_valid = FALSE;
edit              625 src/editor/edit.c     if (!edit->modified && !edit->delete_file)
edit              626 src/editor/edit.c         edit->locked = lock_file (edit->filename_vpath);
edit              627 src/editor/edit.c     edit->modified = 1;
edit              683 src/editor/edit.c edit_find_line (WEdit * edit, long line)
edit              688 src/editor/edit.c     if (!edit->caches_valid)
edit              690 src/editor/edit.c         memset (edit->line_numbers, 0, sizeof (edit->line_numbers));
edit              691 src/editor/edit.c         memset (edit->line_offsets, 0, sizeof (edit->line_offsets));
edit              693 src/editor/edit.c         edit->line_numbers[1] = edit->buffer.curs_line;
edit              694 src/editor/edit.c         edit->line_offsets[1] = edit_buffer_get_current_bol (&edit->buffer);
edit              695 src/editor/edit.c         edit->line_numbers[2] = edit->buffer.lines;
edit              696 src/editor/edit.c         edit->line_offsets[2] = edit_buffer_get_bol (&edit->buffer, edit->buffer.size);
edit              697 src/editor/edit.c         edit->caches_valid = TRUE;
edit              699 src/editor/edit.c     if (line >= edit->buffer.lines)
edit              700 src/editor/edit.c         return edit->line_offsets[2];
edit              708 src/editor/edit.c         n = labs (edit->line_numbers[i] - line);
edit              716 src/editor/edit.c         return edit->line_offsets[j];   /* know the offset exactly */
edit              721 src/editor/edit.c     if (line > edit->line_numbers[j])
edit              722 src/editor/edit.c         edit->line_offsets[i] =
edit              723 src/editor/edit.c             edit_buffer_get_forward_offset (&edit->buffer, edit->line_offsets[j],
edit              724 src/editor/edit.c                                             line - edit->line_numbers[j], 0);
edit              726 src/editor/edit.c         edit->line_offsets[i] =
edit              727 src/editor/edit.c             edit_buffer_get_backward_offset (&edit->buffer, edit->line_offsets[j],
edit              728 src/editor/edit.c                                              edit->line_numbers[j] - line);
edit              729 src/editor/edit.c     edit->line_numbers[i] = line;
edit              730 src/editor/edit.c     return edit->line_offsets[i];
edit              738 src/editor/edit.c edit_move_up_paragraph (WEdit * edit, gboolean do_scroll)
edit              742 src/editor/edit.c     if (edit->buffer.curs_line > 1)
edit              744 src/editor/edit.c         if (!edit_line_is_blank (edit, edit->buffer.curs_line))
edit              746 src/editor/edit.c             for (i = edit->buffer.curs_line - 1; i != 0; i--)
edit              747 src/editor/edit.c                 if (edit_line_is_blank (edit, i))
edit              750 src/editor/edit.c         else if (edit_line_is_blank (edit, edit->buffer.curs_line - 1))
edit              752 src/editor/edit.c             for (i = edit->buffer.curs_line - 1; i != 0; i--)
edit              753 src/editor/edit.c                 if (!edit_line_is_blank (edit, i))
edit              761 src/editor/edit.c             for (i = edit->buffer.curs_line - 1; i != 0; i--)
edit              762 src/editor/edit.c                 if (edit_line_is_blank (edit, i))
edit              767 src/editor/edit.c     edit_move_up (edit, edit->buffer.curs_line - i, do_scroll);
edit              775 src/editor/edit.c edit_move_down_paragraph (WEdit * edit, gboolean do_scroll)
edit              779 src/editor/edit.c     if (edit->buffer.curs_line >= edit->buffer.lines - 1)
edit              780 src/editor/edit.c         i = edit->buffer.lines;
edit              781 src/editor/edit.c     else if (!edit_line_is_blank (edit, edit->buffer.curs_line))
edit              783 src/editor/edit.c         for (i = edit->buffer.curs_line + 1; i != 0; i++)
edit              784 src/editor/edit.c             if (edit_line_is_blank (edit, i) || i >= edit->buffer.lines)
edit              787 src/editor/edit.c     else if (edit_line_is_blank (edit, edit->buffer.curs_line + 1))
edit              789 src/editor/edit.c         for (i = edit->buffer.curs_line + 1; i != 0; i++)
edit              790 src/editor/edit.c             if (!edit_line_is_blank (edit, i) || i > edit->buffer.lines)
edit              798 src/editor/edit.c         for (i = edit->buffer.curs_line + 1; i != 0; i++)
edit              799 src/editor/edit.c             if (edit_line_is_blank (edit, i) || i >= edit->buffer.lines)
edit              802 src/editor/edit.c     edit_move_down (edit, i - edit->buffer.curs_line, do_scroll);
edit              808 src/editor/edit.c edit_begin_page (WEdit * edit)
edit              810 src/editor/edit.c     edit_update_curs_row (edit);
edit              811 src/editor/edit.c     edit_move_up (edit, edit->curs_row, FALSE);
edit              817 src/editor/edit.c edit_end_page (WEdit * edit)
edit              819 src/editor/edit.c     edit_update_curs_row (edit);
edit              820 src/editor/edit.c     edit_move_down (edit, WIDGET (edit)->lines - edit->curs_row - 1, FALSE);
edit              828 src/editor/edit.c edit_move_to_top (WEdit * edit)
edit              830 src/editor/edit.c     if (edit->buffer.curs_line != 0)
edit              832 src/editor/edit.c         edit_cursor_move (edit, -edit->buffer.curs1);
edit              833 src/editor/edit.c         edit_move_to_prev_col (edit, 0);
edit              834 src/editor/edit.c         edit->force |= REDRAW_PAGE;
edit              835 src/editor/edit.c         edit->search_start = 0;
edit              836 src/editor/edit.c         edit_update_curs_row (edit);
edit              844 src/editor/edit.c edit_move_to_bottom (WEdit * edit)
edit              846 src/editor/edit.c     if (edit->buffer.curs_line < edit->buffer.lines)
edit              848 src/editor/edit.c         edit_move_down (edit, edit->buffer.lines - edit->curs_row, FALSE);
edit              849 src/editor/edit.c         edit->start_display = edit->buffer.size;
edit              850 src/editor/edit.c         edit->start_line = edit->buffer.lines;
edit              851 src/editor/edit.c         edit_scroll_upward (edit, WIDGET (edit)->lines - 1);
edit              852 src/editor/edit.c         edit->force |= REDRAW_PAGE;
edit              860 src/editor/edit.c edit_cursor_to_bol (WEdit * edit)
edit              862 src/editor/edit.c     edit_cursor_move (edit, edit_buffer_get_current_bol (&edit->buffer) - edit->buffer.curs1);
edit              863 src/editor/edit.c     edit->search_start = edit->buffer.curs1;
edit              864 src/editor/edit.c     edit->prev_col = edit_get_col (edit);
edit              865 src/editor/edit.c     edit->over_col = 0;
edit              872 src/editor/edit.c edit_cursor_to_eol (WEdit * edit)
edit              874 src/editor/edit.c     edit_cursor_move (edit, edit_buffer_get_current_eol (&edit->buffer) - edit->buffer.curs1);
edit              875 src/editor/edit.c     edit->search_start = edit->buffer.curs1;
edit              876 src/editor/edit.c     edit->prev_col = edit_get_col (edit);
edit              877 src/editor/edit.c     edit->over_col = 0;
edit              922 src/editor/edit.c edit_left_word_move (WEdit * edit, int s)
edit              928 src/editor/edit.c         if (edit->column_highlight
edit              929 src/editor/edit.c             && edit->mark1 != edit->mark2
edit              930 src/editor/edit.c             && edit->over_col == 0
edit              931 src/editor/edit.c             && edit->buffer.curs1 == edit_buffer_get_current_bol (&edit->buffer))
edit              933 src/editor/edit.c         edit_cursor_move (edit, -1);
edit              934 src/editor/edit.c         if (edit->buffer.curs1 == 0)
edit              936 src/editor/edit.c         c1 = edit_buffer_get_previous_byte (&edit->buffer);
edit              937 src/editor/edit.c         c2 = edit_buffer_get_current_byte (&edit->buffer);
edit              952 src/editor/edit.c edit_left_word_move_cmd (WEdit * edit)
edit              954 src/editor/edit.c     edit_left_word_move (edit, 0);
edit              955 src/editor/edit.c     edit->force |= REDRAW_PAGE;
edit              961 src/editor/edit.c edit_right_word_move (WEdit * edit, int s)
edit              967 src/editor/edit.c         if (edit->column_highlight
edit              968 src/editor/edit.c             && edit->mark1 != edit->mark2
edit              969 src/editor/edit.c             && edit->over_col == 0
edit              970 src/editor/edit.c             && edit->buffer.curs1 == edit_buffer_get_current_eol (&edit->buffer))
edit              972 src/editor/edit.c         edit_cursor_move (edit, 1);
edit              973 src/editor/edit.c         if (edit->buffer.curs1 >= edit->buffer.size)
edit              975 src/editor/edit.c         c1 = edit_buffer_get_previous_byte (&edit->buffer);
edit              976 src/editor/edit.c         c2 = edit_buffer_get_current_byte (&edit->buffer);
edit              991 src/editor/edit.c edit_right_word_move_cmd (WEdit * edit)
edit              993 src/editor/edit.c     edit_right_word_move (edit, 0);
edit              994 src/editor/edit.c     edit->force |= REDRAW_PAGE;
edit             1000 src/editor/edit.c edit_right_char_move_cmd (WEdit * edit)
edit             1006 src/editor/edit.c     if (edit->utf8)
edit             1008 src/editor/edit.c         c = edit_buffer_get_utf (&edit->buffer, edit->buffer.curs1, &char_length);
edit             1014 src/editor/edit.c         c = edit_buffer_get_current_byte (&edit->buffer);
edit             1017 src/editor/edit.c         edit->over_col++;
edit             1019 src/editor/edit.c         edit_cursor_move (edit, char_length);
edit             1025 src/editor/edit.c edit_left_char_move_cmd (WEdit * edit)
edit             1029 src/editor/edit.c     if (edit->column_highlight
edit             1031 src/editor/edit.c         && edit->mark1 != edit->mark2
edit             1032 src/editor/edit.c         && edit->over_col == 0 && edit->buffer.curs1 == edit_buffer_get_current_bol (&edit->buffer))
edit             1035 src/editor/edit.c     if (edit->utf8)
edit             1037 src/editor/edit.c         edit_buffer_get_prev_utf (&edit->buffer, edit->buffer.curs1, &char_length);
edit             1043 src/editor/edit.c     if (option_cursor_beyond_eol && edit->over_col > 0)
edit             1044 src/editor/edit.c         edit->over_col--;
edit             1046 src/editor/edit.c         edit_cursor_move (edit, -char_length);
edit             1056 src/editor/edit.c edit_move_updown (WEdit * edit, long lines, gboolean do_scroll, gboolean direction)
edit             1059 src/editor/edit.c     long l = direction ? edit->buffer.curs_line : edit->buffer.lines - edit->buffer.curs_line;
edit             1068 src/editor/edit.c         edit->force |= REDRAW_PAGE;
edit             1072 src/editor/edit.c             edit_scroll_upward (edit, lines);
edit             1074 src/editor/edit.c             edit_scroll_downward (edit, lines);
edit             1076 src/editor/edit.c     p = edit_buffer_get_current_bol (&edit->buffer);
edit             1077 src/editor/edit.c     p = direction ? edit_buffer_get_backward_offset (&edit->buffer, p, lines) :
edit             1078 src/editor/edit.c         edit_buffer_get_forward_offset (&edit->buffer, p, lines, 0);
edit             1079 src/editor/edit.c     edit_cursor_move (edit, p - edit->buffer.curs1);
edit             1080 src/editor/edit.c     edit_move_to_prev_col (edit, p);
edit             1084 src/editor/edit.c     if (edit->buffer.curs1 > 0 && edit->buffer.curs1 + 1 < edit->buffer.size
edit             1085 src/editor/edit.c         && edit_buffer_get_current_byte (&edit->buffer) >= 256)
edit             1087 src/editor/edit.c         edit_right_char_move_cmd (edit);
edit             1088 src/editor/edit.c         edit_left_char_move_cmd (edit);
edit             1092 src/editor/edit.c     edit->search_start = edit->buffer.curs1;
edit             1093 src/editor/edit.c     edit->found_len = 0;
edit             1099 src/editor/edit.c edit_right_delete_word (WEdit * edit)
edit             1101 src/editor/edit.c     while (edit->buffer.curs1 < edit->buffer.size)
edit             1105 src/editor/edit.c         c1 = edit_delete (edit, TRUE);
edit             1106 src/editor/edit.c         c2 = edit_buffer_get_current_byte (&edit->buffer);
edit             1119 src/editor/edit.c edit_left_delete_word (WEdit * edit)
edit             1121 src/editor/edit.c     while (edit->buffer.curs1 > 0)
edit             1125 src/editor/edit.c         c1 = edit_backspace (edit, TRUE);
edit             1126 src/editor/edit.c         c2 = edit_buffer_get_previous_byte (&edit->buffer);
edit             1143 src/editor/edit.c edit_do_undo (WEdit * edit)
edit             1148 src/editor/edit.c     edit->undo_stack_disable = 1;       /* don't record undo's onto undo stack! */
edit             1149 src/editor/edit.c     edit->over_col = 0;
edit             1150 src/editor/edit.c     while ((ac = edit_pop_undo_action (edit)) < KEY_PRESS)
edit             1157 src/editor/edit.c             edit_cursor_move (edit, 1);
edit             1160 src/editor/edit.c             edit_cursor_move (edit, -1);
edit             1164 src/editor/edit.c             edit_backspace (edit, TRUE);
edit             1168 src/editor/edit.c             edit_delete (edit, TRUE);
edit             1171 src/editor/edit.c             edit->column_highlight = 1;
edit             1174 src/editor/edit.c             edit->column_highlight = 0;
edit             1180 src/editor/edit.c             edit_insert_ahead (edit, ac - 256);
edit             1182 src/editor/edit.c             edit_insert (edit, ac);
edit             1186 src/editor/edit.c             edit->mark1 = ac - MARK_1;
edit             1187 src/editor/edit.c             edit->column1 =
edit             1188 src/editor/edit.c                 (long) edit_move_forward3 (edit, edit_buffer_get_bol (&edit->buffer, edit->mark1),
edit             1189 src/editor/edit.c                                            0, edit->mark1);
edit             1193 src/editor/edit.c             edit->mark2 = ac - MARK_2;
edit             1194 src/editor/edit.c             edit->column2 =
edit             1195 src/editor/edit.c                 (long) edit_move_forward3 (edit, edit_buffer_get_bol (&edit->buffer, edit->mark2),
edit             1196 src/editor/edit.c                                            0, edit->mark2);
edit             1200 src/editor/edit.c             edit->end_mark_curs = ac - MARK_CURS;
edit             1203 src/editor/edit.c             edit->force |= REDRAW_PAGE; /* more than one pop usually means something big */
edit             1206 src/editor/edit.c     if (edit->start_display > ac - KEY_PRESS)
edit             1208 src/editor/edit.c         edit->start_line -=
edit             1209 src/editor/edit.c             edit_buffer_count_lines (&edit->buffer, ac - KEY_PRESS, edit->start_display);
edit             1210 src/editor/edit.c         edit->force |= REDRAW_PAGE;
edit             1212 src/editor/edit.c     else if (edit->start_display < ac - KEY_PRESS)
edit             1214 src/editor/edit.c         edit->start_line +=
edit             1215 src/editor/edit.c             edit_buffer_count_lines (&edit->buffer, edit->start_display, ac - KEY_PRESS);
edit             1216 src/editor/edit.c         edit->force |= REDRAW_PAGE;
edit             1218 src/editor/edit.c     edit->start_display = ac - KEY_PRESS;       /* see push and pop above */
edit             1219 src/editor/edit.c     edit_update_curs_row (edit);
edit             1222 src/editor/edit.c     edit->undo_stack_disable = 0;
edit             1228 src/editor/edit.c edit_do_redo (WEdit * edit)
edit             1233 src/editor/edit.c     if (edit->redo_stack_reset)
edit             1236 src/editor/edit.c     edit->over_col = 0;
edit             1237 src/editor/edit.c     while ((ac = edit_pop_redo_action (edit)) < KEY_PRESS)
edit             1244 src/editor/edit.c             edit_cursor_move (edit, 1);
edit             1247 src/editor/edit.c             edit_cursor_move (edit, -1);
edit             1250 src/editor/edit.c             edit_backspace (edit, TRUE);
edit             1253 src/editor/edit.c             edit_delete (edit, TRUE);
edit             1256 src/editor/edit.c             edit->column_highlight = 1;
edit             1259 src/editor/edit.c             edit->column_highlight = 0;
edit             1265 src/editor/edit.c             edit_insert_ahead (edit, ac - 256);
edit             1267 src/editor/edit.c             edit_insert (edit, ac);
edit             1271 src/editor/edit.c             edit->mark1 = ac - MARK_1;
edit             1272 src/editor/edit.c             edit->column1 =
edit             1273 src/editor/edit.c                 (long) edit_move_forward3 (edit, edit_buffer_get_bol (&edit->buffer, edit->mark1),
edit             1274 src/editor/edit.c                                            0, edit->mark1);
edit             1278 src/editor/edit.c             edit->mark2 = ac - MARK_2;
edit             1279 src/editor/edit.c             edit->column2 =
edit             1280 src/editor/edit.c                 (long) edit_move_forward3 (edit, edit_buffer_get_bol (&edit->buffer, edit->mark2),
edit             1281 src/editor/edit.c                                            0, edit->mark2);
edit             1285 src/editor/edit.c             edit->force |= REDRAW_PAGE;
edit             1288 src/editor/edit.c     if (edit->start_display > ac - KEY_PRESS)
edit             1290 src/editor/edit.c         edit->start_line -=
edit             1291 src/editor/edit.c             edit_buffer_count_lines (&edit->buffer, ac - KEY_PRESS, edit->start_display);
edit             1292 src/editor/edit.c         edit->force |= REDRAW_PAGE;
edit             1294 src/editor/edit.c     else if (edit->start_display < ac - KEY_PRESS)
edit             1296 src/editor/edit.c         edit->start_line +=
edit             1297 src/editor/edit.c             edit_buffer_count_lines (&edit->buffer, edit->start_display, ac - KEY_PRESS);
edit             1298 src/editor/edit.c         edit->force |= REDRAW_PAGE;
edit             1300 src/editor/edit.c     edit->start_display = ac - KEY_PRESS;       /* see push and pop above */
edit             1301 src/editor/edit.c     edit_update_curs_row (edit);
edit             1310 src/editor/edit.c edit_group_undo (WEdit * edit)
edit             1316 src/editor/edit.c         cur_ac = get_prev_undo_action (edit);
edit             1317 src/editor/edit.c         edit_do_undo (edit);
edit             1318 src/editor/edit.c         ac = get_prev_undo_action (edit);
edit             1330 src/editor/edit.c edit_delete_to_line_end (WEdit * edit)
edit             1332 src/editor/edit.c     while (edit_buffer_get_current_byte (&edit->buffer) != '\n' && edit->buffer.curs2 != 0)
edit             1333 src/editor/edit.c         edit_delete (edit, TRUE);
edit             1339 src/editor/edit.c edit_delete_to_line_begin (WEdit * edit)
edit             1341 src/editor/edit.c     while (edit_buffer_get_previous_byte (&edit->buffer) != '\n' && edit->buffer.curs1 != 0)
edit             1342 src/editor/edit.c         edit_backspace (edit, TRUE);
edit             1348 src/editor/edit.c is_aligned_on_a_tab (WEdit * edit)
edit             1352 src/editor/edit.c     edit_update_curs_col (edit);
edit             1353 src/editor/edit.c     curs_col = edit->curs_col % (TAB_SIZE * space_width);
edit             1360 src/editor/edit.c right_of_four_spaces (WEdit * edit)
edit             1365 src/editor/edit.c         ch |= edit_buffer_get_byte (&edit->buffer, edit->buffer.curs1 - i);
edit             1367 src/editor/edit.c     return (ch == ' ' && is_aligned_on_a_tab (edit));
edit             1373 src/editor/edit.c left_of_four_spaces (WEdit * edit)
edit             1378 src/editor/edit.c         ch |= edit_buffer_get_byte (&edit->buffer, edit->buffer.curs1 + i);
edit             1380 src/editor/edit.c     return (ch == ' ' && is_aligned_on_a_tab (edit));
edit             1386 src/editor/edit.c edit_auto_indent (WEdit * edit)
edit             1390 src/editor/edit.c     p = edit->buffer.curs1;
edit             1392 src/editor/edit.c     p = edit_buffer_get_backward_offset (&edit->buffer, p, 1);
edit             1398 src/editor/edit.c         c = edit_buffer_get_byte (&edit->buffer, p++);
edit             1401 src/editor/edit.c         edit_insert (edit, c);
edit             1408 src/editor/edit.c edit_double_newline (WEdit * edit)
edit             1410 src/editor/edit.c     edit_insert (edit, '\n');
edit             1411 src/editor/edit.c     if (edit_buffer_get_current_byte (&edit->buffer) == '\n'
edit             1412 src/editor/edit.c         || edit_buffer_get_byte (&edit->buffer, edit->buffer.curs1 - 2) == '\n')
edit             1414 src/editor/edit.c     edit->force |= REDRAW_PAGE;
edit             1415 src/editor/edit.c     edit_insert (edit, '\n');
edit             1421 src/editor/edit.c insert_spaces_tab (WEdit * edit, gboolean half)
edit             1425 src/editor/edit.c     edit_update_curs_col (edit);
edit             1431 src/editor/edit.c         i = ((edit->curs_col / i) + 1) * i - edit->curs_col;
edit             1434 src/editor/edit.c             edit_insert (edit, ' ');
edit             1443 src/editor/edit.c edit_tab_cmd (WEdit * edit)
edit             1445 src/editor/edit.c     if (option_fake_half_tabs && is_in_indent (&edit->buffer))
edit             1450 src/editor/edit.c         if (option_fill_tabs_with_spaces || !right_of_four_spaces (edit))
edit             1451 src/editor/edit.c             insert_spaces_tab (edit, TRUE);
edit             1457 src/editor/edit.c                 edit_backspace (edit, TRUE);
edit             1458 src/editor/edit.c             edit_insert (edit, '\t');
edit             1462 src/editor/edit.c         insert_spaces_tab (edit, FALSE);
edit             1464 src/editor/edit.c         edit_insert (edit, '\t');
edit             1470 src/editor/edit.c check_and_wrap_line (WEdit * edit)
edit             1476 src/editor/edit.c     edit_update_curs_col (edit);
edit             1477 src/editor/edit.c     if (edit->curs_col < option_word_wrap_line_length)
edit             1479 src/editor/edit.c     curs = edit->buffer.curs1;
edit             1485 src/editor/edit.c         c = edit_buffer_get_byte (&edit->buffer, curs);
edit             1488 src/editor/edit.c             edit_insert (edit, '\n');
edit             1493 src/editor/edit.c             off_t current = edit->buffer.curs1;
edit             1494 src/editor/edit.c             edit_cursor_move (edit, curs - edit->buffer.curs1 + 1);
edit             1495 src/editor/edit.c             edit_insert (edit, '\n');
edit             1496 src/editor/edit.c             edit_cursor_move (edit, current - edit->buffer.curs1 + 1);
edit             1513 src/editor/edit.c edit_get_bracket (WEdit * edit, gboolean in_screen, unsigned long furthest_bracket_search)
edit             1520 src/editor/edit.c     edit_update_curs_row (edit);
edit             1521 src/editor/edit.c     c = edit_buffer_get_current_byte (&edit->buffer);
edit             1534 src/editor/edit.c     for (q = edit->buffer.curs1 + inc;; q += inc)
edit             1539 src/editor/edit.c         if (q >= edit->buffer.size || q < 0)
edit             1541 src/editor/edit.c         a = edit_buffer_get_byte (&edit->buffer, q);
edit             1548 src/editor/edit.c             if (q < edit->start_display)
edit             1552 src/editor/edit.c                 if (n++ >= WIDGET (edit)->lines - edit->curs_row)       /* out of screen */
edit             1568 src/editor/edit.c edit_goto_matching_bracket (WEdit * edit)
edit             1572 src/editor/edit.c     q = edit_get_bracket (edit, 0, 0);
edit             1575 src/editor/edit.c         edit->bracket = edit->buffer.curs1;
edit             1576 src/editor/edit.c         edit->force |= REDRAW_PAGE;
edit             1577 src/editor/edit.c         edit_cursor_move (edit, q - edit->buffer.curs1);
edit             1584 src/editor/edit.c edit_move_block_to_right (WEdit * edit)
edit             1589 src/editor/edit.c     if (!eval_marks (edit, &start_mark, &end_mark))
edit             1592 src/editor/edit.c     start_bol = edit_buffer_get_bol (&edit->buffer, start_mark);
edit             1593 src/editor/edit.c     cur_bol = edit_buffer_get_bol (&edit->buffer, end_mark - 1);
edit             1597 src/editor/edit.c         edit_cursor_move (edit, cur_bol - edit->buffer.curs1);
edit             1598 src/editor/edit.c         if (!edit_line_is_blank (edit, edit->buffer.curs_line))
edit             1601 src/editor/edit.c                 insert_spaces_tab (edit, option_fake_half_tabs);
edit             1603 src/editor/edit.c                 edit_insert (edit, '\t');
edit             1604 src/editor/edit.c             edit_cursor_move (edit,
edit             1605 src/editor/edit.c                               edit_buffer_get_bol (&edit->buffer, cur_bol) - edit->buffer.curs1);
edit             1611 src/editor/edit.c         cur_bol = edit_buffer_get_bol (&edit->buffer, cur_bol - 1);
edit             1615 src/editor/edit.c     edit->force |= REDRAW_PAGE;
edit             1621 src/editor/edit.c edit_move_block_to_left (WEdit * edit)
edit             1626 src/editor/edit.c     if (!eval_marks (edit, &start_mark, &end_mark))
edit             1629 src/editor/edit.c     start_bol = edit_buffer_get_bol (&edit->buffer, start_mark);
edit             1630 src/editor/edit.c     cur_bol = edit_buffer_get_bol (&edit->buffer, end_mark - 1);
edit             1637 src/editor/edit.c         edit_cursor_move (edit, cur_bol - edit->buffer.curs1);
edit             1644 src/editor/edit.c         next_char = edit_buffer_get_current_byte (&edit->buffer);
edit             1646 src/editor/edit.c             edit_delete (edit, TRUE);
edit             1654 src/editor/edit.c                     edit_delete (edit, TRUE);
edit             1655 src/editor/edit.c                 next_char = edit_buffer_get_current_byte (&edit->buffer);
edit             1662 src/editor/edit.c         cur_bol = edit_buffer_get_bol (&edit->buffer, cur_bol - 1);
edit             1666 src/editor/edit.c     edit->force |= REDRAW_PAGE;
edit             1690 src/editor/edit.c edit_insert_column_from_file (WEdit * edit, int file, off_t * start_pos, off_t * end_pos,
edit             1698 src/editor/edit.c     cursor = edit->buffer.curs1;
edit             1699 src/editor/edit.c     col = edit_get_col (edit);
edit             1713 src/editor/edit.c                 edit_insert (edit, data[i]);
edit             1719 src/editor/edit.c                 if (edit_buffer_get_current_byte (&edit->buffer) != '\n')
edit             1720 src/editor/edit.c                     for (l = width - (edit_get_col (edit) - col); l > 0; l -= space_width)
edit             1721 src/editor/edit.c                         edit_insert (edit, ' ');
edit             1723 src/editor/edit.c                 for (p = edit->buffer.curs1;; p++)
edit             1725 src/editor/edit.c                     if (p == edit->buffer.size)
edit             1727 src/editor/edit.c                         edit_cursor_move (edit, edit->buffer.size - edit->buffer.curs1);
edit             1728 src/editor/edit.c                         edit_insert_ahead (edit, '\n');
edit             1732 src/editor/edit.c                     if (edit_buffer_get_byte (&edit->buffer, p) == '\n')
edit             1739 src/editor/edit.c                 edit_cursor_move (edit, edit_move_forward3 (edit, p, col, 0) - edit->buffer.curs1);
edit             1741 src/editor/edit.c                 for (l = col - edit_get_col (edit); l >= space_width; l -= space_width)
edit             1742 src/editor/edit.c                     edit_insert (edit, ' ');
edit             1749 src/editor/edit.c     *end_pos = edit->buffer.curs1;
edit             1750 src/editor/edit.c     edit_cursor_move (edit, cursor - edit->buffer.curs1);
edit             1763 src/editor/edit.c user_menu (WEdit * edit, const char *menu_file, int selected_entry)
edit             1774 src/editor/edit.c     curs = edit->buffer.curs1;
edit             1775 src/editor/edit.c     nomark = !eval_marks (edit, &start_mark, &end_mark);
edit             1777 src/editor/edit.c         edit_save_block (edit, block_file, start_mark, end_mark);
edit             1780 src/editor/edit.c     if (user_menu_cmd (edit, menu_file, selected_entry)
edit             1788 src/editor/edit.c             rc = edit_block_delete_cmd (edit);
edit             1794 src/editor/edit.c             ins_len = edit_insert_file (edit, block_file_vpath);
edit             1796 src/editor/edit.c                 edit_set_markers (edit, start_mark, start_mark + ins_len, 0, 0);
edit             1806 src/editor/edit.c     edit_cursor_move (edit, curs - edit->buffer.curs1);
edit             1807 src/editor/edit.c     edit->force |= REDRAW_PAGE;
edit             1808 src/editor/edit.c     widget_redraw (WIDGET (edit));
edit             1839 src/editor/edit.c edit_write_stream (WEdit * edit, FILE * f)
edit             1843 src/editor/edit.c     if (edit->lb == LB_ASIS)
edit             1845 src/editor/edit.c         for (i = 0; i < edit->buffer.size; i++)
edit             1846 src/editor/edit.c             if (fputc (edit_buffer_get_byte (&edit->buffer, i), f) < 0)
edit             1852 src/editor/edit.c     for (i = 0; i < edit->buffer.size; i++)
edit             1856 src/editor/edit.c         c = edit_buffer_get_byte (&edit->buffer, i);
edit             1867 src/editor/edit.c             c1 = edit_buffer_get_byte (&edit->buffer, i + 1);   /* next char */
edit             1869 src/editor/edit.c             switch (edit->lb)
edit             1933 src/editor/edit.c     return edit->buffer.size;
edit             1948 src/editor/edit.c edit_insert_file (WEdit * edit, const vfs_path_t * filename_vpath)
edit             1955 src/editor/edit.c     current = edit->buffer.curs1;
edit             1964 src/editor/edit.c             edit_insert_stream (edit, f);
edit             1969 src/editor/edit.c                 ins_len = edit->buffer.curs1 - current;
edit             1970 src/editor/edit.c                 edit_cursor_move (edit, -ins_len);
edit             2020 src/editor/edit.c             blocklen = edit_insert_column_from_file (edit, file, &mark1, &mark2, &c1, &c2);
edit             2021 src/editor/edit.c             edit_set_markers (edit, edit->buffer.curs1, mark2, c1, c2);
edit             2024 src/editor/edit.c             if (!option_persistent_selections && edit->modified)
edit             2026 src/editor/edit.c                 if (!edit->column_highlight)
edit             2027 src/editor/edit.c                     edit_push_undo_action (edit, COLUMN_OFF);
edit             2028 src/editor/edit.c                 edit->column_highlight = 1;
edit             2038 src/editor/edit.c                     edit_insert (edit, buf[i]);
edit             2041 src/editor/edit.c             if (!option_persistent_selections && edit->modified)
edit             2043 src/editor/edit.c                 edit_set_markers (edit, edit->buffer.curs1, current, 0, 0);
edit             2044 src/editor/edit.c                 if (edit->column_highlight)
edit             2045 src/editor/edit.c                     edit_push_undo_action (edit, COLUMN_ON);
edit             2046 src/editor/edit.c                 edit->column_highlight = 0;
edit             2052 src/editor/edit.c                 ins_len = edit->buffer.curs1 - current;
edit             2053 src/editor/edit.c                 edit_cursor_move (edit, -ins_len);
edit             2057 src/editor/edit.c         edit->force |= REDRAW_PAGE;
edit             2077 src/editor/edit.c edit_init (WEdit * edit, int y, int x, int lines, int cols, const vfs_path_t * filename_vpath,
edit             2085 src/editor/edit.c     if (edit != NULL)
edit             2088 src/editor/edit.c         gboolean fullscreen = edit->fullscreen;
edit             2089 src/editor/edit.c         int y_prev = edit->y_prev;
edit             2090 src/editor/edit.c         int x_prev = edit->x_prev;
edit             2091 src/editor/edit.c         int lines_prev = edit->lines_prev;
edit             2092 src/editor/edit.c         int cols_prev = edit->cols_prev;
edit             2094 src/editor/edit.c         edit_purge_widget (edit);
edit             2097 src/editor/edit.c         edit->fullscreen = fullscreen;
edit             2098 src/editor/edit.c         edit->y_prev = y_prev;
edit             2099 src/editor/edit.c         edit->x_prev = x_prev;
edit             2100 src/editor/edit.c         edit->lines_prev = lines_prev;
edit             2101 src/editor/edit.c         edit->cols_prev = cols_prev;
edit             2106 src/editor/edit.c         edit = g_malloc0 (sizeof (WEdit));
edit             2109 src/editor/edit.c         w = WIDGET (edit);
edit             2112 src/editor/edit.c         edit->fullscreen = TRUE;
edit             2113 src/editor/edit.c         edit_save_size (edit);
edit             2116 src/editor/edit.c     edit->drag_state = MCEDIT_DRAG_NONE;
edit             2118 src/editor/edit.c     edit->stat1.st_mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH;
edit             2119 src/editor/edit.c     edit->stat1.st_uid = getuid ();
edit             2120 src/editor/edit.c     edit->stat1.st_gid = getgid ();
edit             2121 src/editor/edit.c     edit->stat1.st_mtime = 0;
edit             2123 src/editor/edit.c     edit->over_col = 0;
edit             2124 src/editor/edit.c     edit->bracket = -1;
edit             2125 src/editor/edit.c     edit->last_bracket = -1;
edit             2126 src/editor/edit.c     edit->force |= REDRAW_PAGE;
edit             2129 src/editor/edit.c     edit_set_filename (edit, filename_vpath);
edit             2131 src/editor/edit.c     edit->undo_stack_size = START_STACK_SIZE;
edit             2132 src/editor/edit.c     edit->undo_stack_size_mask = START_STACK_SIZE - 1;
edit             2133 src/editor/edit.c     edit->undo_stack = g_malloc0 ((edit->undo_stack_size + 10) * sizeof (long));
edit             2135 src/editor/edit.c     edit->redo_stack_size = START_STACK_SIZE;
edit             2136 src/editor/edit.c     edit->redo_stack_size_mask = START_STACK_SIZE - 1;
edit             2137 src/editor/edit.c     edit->redo_stack = g_malloc0 ((edit->redo_stack_size + 10) * sizeof (long));
edit             2140 src/editor/edit.c     edit->utf8 = FALSE;
edit             2141 src/editor/edit.c     edit->converter = str_cnv_from_term;
edit             2142 src/editor/edit.c     edit_set_codeset (edit);
edit             2145 src/editor/edit.c     if (!edit_load_file (edit))
edit             2149 src/editor/edit.c             g_free (edit);
edit             2153 src/editor/edit.c     edit->loading_done = 1;
edit             2154 src/editor/edit.c     edit->modified = 0;
edit             2155 src/editor/edit.c     edit->locked = 0;
edit             2156 src/editor/edit.c     edit_load_syntax (edit, NULL, NULL);
edit             2157 src/editor/edit.c     edit_get_syntax_color (edit, -1);
edit             2161 src/editor/edit.c         edit_load_position (edit, TRUE);
edit             2164 src/editor/edit.c         edit_load_position (edit, FALSE);
edit             2167 src/editor/edit.c         edit_move_display (edit, line - 1);
edit             2168 src/editor/edit.c         edit_move_to_line (edit, line - 1);
edit             2171 src/editor/edit.c     edit_load_macro_cmd (edit);
edit             2173 src/editor/edit.c     return edit;
edit             2180 src/editor/edit.c edit_clean (WEdit * edit)
edit             2182 src/editor/edit.c     if (edit == NULL)
edit             2186 src/editor/edit.c     if (edit->locked)
edit             2187 src/editor/edit.c         (void) unlock_file (edit->filename_vpath);
edit             2191 src/editor/edit.c         edit_save_position (edit);
edit             2192 src/editor/edit.c     else if (edit->serialized_bookmarks != NULL)
edit             2193 src/editor/edit.c         g_array_free (edit->serialized_bookmarks, TRUE);
edit             2196 src/editor/edit.c     if (edit->delete_file)
edit             2197 src/editor/edit.c         unlink (vfs_path_get_last_path_str (edit->filename_vpath));
edit             2199 src/editor/edit.c     edit_free_syntax_rules (edit);
edit             2200 src/editor/edit.c     book_mark_flush (edit, -1);
edit             2202 src/editor/edit.c     edit_buffer_clean (&edit->buffer);
edit             2204 src/editor/edit.c     g_free (edit->undo_stack);
edit             2205 src/editor/edit.c     g_free (edit->redo_stack);
edit             2206 src/editor/edit.c     vfs_path_free (edit->filename_vpath);
edit             2207 src/editor/edit.c     vfs_path_free (edit->dir_vpath);
edit             2208 src/editor/edit.c     mc_search_free (edit->search);
edit             2209 src/editor/edit.c     g_free (edit->last_search_string);
edit             2212 src/editor/edit.c     if (edit->converter != str_cnv_from_term)
edit             2213 src/editor/edit.c         str_close_conv (edit->converter);
edit             2216 src/editor/edit.c     edit_purge_widget (edit);
edit             2231 src/editor/edit.c edit_reload_line (WEdit * edit, const vfs_path_t * filename_vpath, long line)
edit             2233 src/editor/edit.c     Widget *w = WIDGET (edit);
edit             2239 src/editor/edit.c     e->fullscreen = edit->fullscreen;
edit             2240 src/editor/edit.c     e->y_prev = edit->y_prev;
edit             2241 src/editor/edit.c     e->x_prev = edit->x_prev;
edit             2242 src/editor/edit.c     e->lines_prev = edit->lines_prev;
edit             2243 src/editor/edit.c     e->cols_prev = edit->cols_prev;
edit             2251 src/editor/edit.c     edit_clean (edit);
edit             2252 src/editor/edit.c     memcpy (edit, e, sizeof (*edit));
edit             2262 src/editor/edit.c edit_set_codeset (WEdit * edit)
edit             2276 src/editor/edit.c             if (edit->converter != str_cnv_from_term)
edit             2277 src/editor/edit.c                 str_close_conv (edit->converter);
edit             2278 src/editor/edit.c             edit->converter = conv;
edit             2283 src/editor/edit.c         edit->utf8 = str_isutf8 (cp_id);
edit             2334 src/editor/edit.c edit_push_undo_action (WEdit * edit, long c)
edit             2336 src/editor/edit.c     unsigned long sp = edit->undo_stack_pointer;
edit             2341 src/editor/edit.c     if (sp > edit->undo_stack_size - 10)
edit             2345 src/editor/edit.c         if (edit->undo_stack_size < (unsigned long) option_max_undo)
edit             2347 src/editor/edit.c             t = g_realloc (edit->undo_stack, (edit->undo_stack_size * 2 + 10) * sizeof (long));
edit             2350 src/editor/edit.c                 edit->undo_stack = t;
edit             2351 src/editor/edit.c                 edit->undo_stack_size <<= 1;
edit             2352 src/editor/edit.c                 edit->undo_stack_size_mask = edit->undo_stack_size - 1;
edit             2356 src/editor/edit.c     spm1 = (edit->undo_stack_pointer - 1) & edit->undo_stack_size_mask;
edit             2357 src/editor/edit.c     if (edit->undo_stack_disable)
edit             2359 src/editor/edit.c         edit_push_redo_action (edit, KEY_PRESS);
edit             2360 src/editor/edit.c         edit_push_redo_action (edit, c);
edit             2364 src/editor/edit.c     if (edit->redo_stack_reset)
edit             2365 src/editor/edit.c         edit->redo_stack_bottom = edit->redo_stack_pointer = 0;
edit             2367 src/editor/edit.c     if (edit->undo_stack_bottom != sp
edit             2368 src/editor/edit.c         && spm1 != edit->undo_stack_bottom
edit             2369 src/editor/edit.c         && ((sp - 2) & edit->undo_stack_size_mask) != edit->undo_stack_bottom)
edit             2372 src/editor/edit.c         if (edit->undo_stack[spm1] < 0)
edit             2374 src/editor/edit.c             d = edit->undo_stack[(sp - 2) & edit->undo_stack_size_mask];
edit             2375 src/editor/edit.c             if (d == c && edit->undo_stack[spm1] > -1000000000)
edit             2378 src/editor/edit.c                     edit->undo_stack[spm1]--;
edit             2384 src/editor/edit.c             d = edit->undo_stack[spm1];
edit             2389 src/editor/edit.c                 edit->undo_stack[sp] = -2;
edit             2394 src/editor/edit.c     edit->undo_stack[sp] = c;
edit             2397 src/editor/edit.c     edit->undo_stack_pointer = (edit->undo_stack_pointer + 1) & edit->undo_stack_size_mask;
edit             2402 src/editor/edit.c     c = (edit->undo_stack_pointer + 2) & edit->undo_stack_size_mask;
edit             2403 src/editor/edit.c     if ((unsigned long) c == edit->undo_stack_bottom ||
edit             2404 src/editor/edit.c         (((unsigned long) c + 1) & edit->undo_stack_size_mask) == edit->undo_stack_bottom)
edit             2407 src/editor/edit.c             edit->undo_stack_bottom = (edit->undo_stack_bottom + 1) & edit->undo_stack_size_mask;
edit             2409 src/editor/edit.c         while (edit->undo_stack[edit->undo_stack_bottom] < KEY_PRESS
edit             2410 src/editor/edit.c                && edit->undo_stack_bottom != edit->undo_stack_pointer);
edit             2413 src/editor/edit.c     if (edit->undo_stack_pointer != edit->undo_stack_bottom
edit             2414 src/editor/edit.c         && edit->undo_stack[edit->undo_stack_bottom] < KEY_PRESS)
edit             2416 src/editor/edit.c         edit->undo_stack_bottom = edit->undo_stack_pointer = 0;
edit             2423 src/editor/edit.c edit_push_redo_action (WEdit * edit, long c)
edit             2425 src/editor/edit.c     unsigned long sp = edit->redo_stack_pointer;
edit             2429 src/editor/edit.c     if (sp > edit->redo_stack_size - 10)
edit             2433 src/editor/edit.c         if (edit->redo_stack_size < (unsigned long) option_max_undo)
edit             2435 src/editor/edit.c             t = g_realloc (edit->redo_stack, (edit->redo_stack_size * 2 + 10) * sizeof (long));
edit             2438 src/editor/edit.c                 edit->redo_stack = t;
edit             2439 src/editor/edit.c                 edit->redo_stack_size <<= 1;
edit             2440 src/editor/edit.c                 edit->redo_stack_size_mask = edit->redo_stack_size - 1;
edit             2444 src/editor/edit.c     spm1 = (edit->redo_stack_pointer - 1) & edit->redo_stack_size_mask;
edit             2446 src/editor/edit.c     if (edit->redo_stack_bottom != sp
edit             2447 src/editor/edit.c         && spm1 != edit->redo_stack_bottom
edit             2448 src/editor/edit.c         && ((sp - 2) & edit->redo_stack_size_mask) != edit->redo_stack_bottom)
edit             2451 src/editor/edit.c         if (edit->redo_stack[spm1] < 0)
edit             2453 src/editor/edit.c             d = edit->redo_stack[(sp - 2) & edit->redo_stack_size_mask];
edit             2454 src/editor/edit.c             if (d == c && edit->redo_stack[spm1] > -1000000000)
edit             2457 src/editor/edit.c                     edit->redo_stack[spm1]--;
edit             2463 src/editor/edit.c             d = edit->redo_stack[spm1];
edit             2468 src/editor/edit.c                 edit->redo_stack[sp] = -2;
edit             2473 src/editor/edit.c     edit->redo_stack[sp] = c;
edit             2476 src/editor/edit.c     edit->redo_stack_pointer = (edit->redo_stack_pointer + 1) & edit->redo_stack_size_mask;
edit             2481 src/editor/edit.c     c = (edit->redo_stack_pointer + 2) & edit->redo_stack_size_mask;
edit             2482 src/editor/edit.c     if ((unsigned long) c == edit->redo_stack_bottom ||
edit             2483 src/editor/edit.c         (((unsigned long) c + 1) & edit->redo_stack_size_mask) == edit->redo_stack_bottom)
edit             2486 src/editor/edit.c             edit->redo_stack_bottom = (edit->redo_stack_bottom + 1) & edit->redo_stack_size_mask;
edit             2488 src/editor/edit.c         while (edit->redo_stack[edit->redo_stack_bottom] < KEY_PRESS
edit             2489 src/editor/edit.c                && edit->redo_stack_bottom != edit->redo_stack_pointer);
edit             2497 src/editor/edit.c     if (edit->redo_stack_pointer != edit->redo_stack_bottom
edit             2498 src/editor/edit.c         && edit->redo_stack[edit->redo_stack_bottom] < KEY_PRESS)
edit             2499 src/editor/edit.c         edit->redo_stack_bottom = edit->redo_stack_pointer = 0;
edit             2508 src/editor/edit.c edit_insert (WEdit * edit, int c)
edit             2511 src/editor/edit.c     if (edit->buffer.curs1 < edit->start_display)
edit             2513 src/editor/edit.c         edit->start_display++;
edit             2515 src/editor/edit.c             edit->start_line++;
edit             2519 src/editor/edit.c     if (edit->loading_done)
edit             2520 src/editor/edit.c         edit_modification (edit);
edit             2525 src/editor/edit.c         book_mark_inc (edit, edit->buffer.curs_line);
edit             2526 src/editor/edit.c         edit->buffer.curs_line++;
edit             2527 src/editor/edit.c         edit->buffer.lines++;
edit             2528 src/editor/edit.c         edit->force |= REDRAW_LINE_ABOVE | REDRAW_AFTER_CURSOR;
edit             2534 src/editor/edit.c         edit_push_undo_action (edit, BACKSPACE);
edit             2536 src/editor/edit.c         edit_push_undo_action (edit, BACKSPACE_BR);
edit             2538 src/editor/edit.c     edit->mark1 += (edit->mark1 > edit->buffer.curs1) ? 1 : 0;
edit             2539 src/editor/edit.c     edit->mark2 += (edit->mark2 > edit->buffer.curs1) ? 1 : 0;
edit             2540 src/editor/edit.c     edit->last_get_rule += (edit->last_get_rule > edit->buffer.curs1) ? 1 : 0;
edit             2542 src/editor/edit.c     edit_buffer_insert (&edit->buffer, c);
edit             2549 src/editor/edit.c edit_insert_ahead (WEdit * edit, int c)
edit             2551 src/editor/edit.c     if (edit->buffer.curs1 < edit->start_display)
edit             2553 src/editor/edit.c         edit->start_display++;
edit             2555 src/editor/edit.c             edit->start_line++;
edit             2557 src/editor/edit.c     edit_modification (edit);
edit             2560 src/editor/edit.c         book_mark_inc (edit, edit->buffer.curs_line);
edit             2561 src/editor/edit.c         edit->buffer.lines++;
edit             2562 src/editor/edit.c         edit->force |= REDRAW_AFTER_CURSOR;
edit             2566 src/editor/edit.c         edit_push_undo_action (edit, DELCHAR);
edit             2568 src/editor/edit.c         edit_push_undo_action (edit, DELCHAR_BR);
edit             2570 src/editor/edit.c     edit->mark1 += (edit->mark1 >= edit->buffer.curs1) ? 1 : 0;
edit             2571 src/editor/edit.c     edit->mark2 += (edit->mark2 >= edit->buffer.curs1) ? 1 : 0;
edit             2572 src/editor/edit.c     edit->last_get_rule += (edit->last_get_rule >= edit->buffer.curs1) ? 1 : 0;
edit             2574 src/editor/edit.c     edit_buffer_insert_ahead (&edit->buffer, c);
edit             2580 src/editor/edit.c edit_insert_over (WEdit * edit)
edit             2584 src/editor/edit.c     for (i = 0; i < edit->over_col; i++)
edit             2585 src/editor/edit.c         edit_insert (edit, ' ');
edit             2587 src/editor/edit.c     edit->over_col = 0;
edit             2593 src/editor/edit.c edit_delete (WEdit * edit, gboolean byte_delete)
edit             2599 src/editor/edit.c     if (edit->buffer.curs2 == 0)
edit             2604 src/editor/edit.c     if (edit->utf8 && !byte_delete)
edit             2606 src/editor/edit.c         edit_buffer_get_utf (&edit->buffer, edit->buffer.curs1, &char_length);
edit             2614 src/editor/edit.c     if (edit->mark2 != edit->mark1)
edit             2615 src/editor/edit.c         edit_push_markers (edit);
edit             2619 src/editor/edit.c         if (edit->mark1 > edit->buffer.curs1)
edit             2621 src/editor/edit.c             edit->mark1--;
edit             2622 src/editor/edit.c             edit->end_mark_curs--;
edit             2624 src/editor/edit.c         if (edit->mark2 > edit->buffer.curs1)
edit             2625 src/editor/edit.c             edit->mark2--;
edit             2626 src/editor/edit.c         if (edit->last_get_rule > edit->buffer.curs1)
edit             2627 src/editor/edit.c             edit->last_get_rule--;
edit             2629 src/editor/edit.c         p = edit_buffer_delete (&edit->buffer);
edit             2631 src/editor/edit.c         edit_push_undo_action (edit, p + 256);
edit             2634 src/editor/edit.c     edit_modification (edit);
edit             2637 src/editor/edit.c         book_mark_dec (edit, edit->buffer.curs_line);
edit             2638 src/editor/edit.c         edit->buffer.lines--;
edit             2639 src/editor/edit.c         edit->force |= REDRAW_AFTER_CURSOR;
edit             2641 src/editor/edit.c     if (edit->buffer.curs1 < edit->start_display)
edit             2643 src/editor/edit.c         edit->start_display--;
edit             2645 src/editor/edit.c             edit->start_line--;
edit             2654 src/editor/edit.c edit_backspace (WEdit * edit, gboolean byte_delete)
edit             2660 src/editor/edit.c     if (edit->buffer.curs1 == 0)
edit             2663 src/editor/edit.c     if (edit->mark2 != edit->mark1)
edit             2664 src/editor/edit.c         edit_push_markers (edit);
edit             2667 src/editor/edit.c     if (edit->utf8 && !byte_delete)
edit             2669 src/editor/edit.c         edit_buffer_get_prev_utf (&edit->buffer, edit->buffer.curs1, &char_length);
edit             2679 src/editor/edit.c         if (edit->mark1 >= edit->buffer.curs1)
edit             2681 src/editor/edit.c             edit->mark1--;
edit             2682 src/editor/edit.c             edit->end_mark_curs--;
edit             2684 src/editor/edit.c         if (edit->mark2 >= edit->buffer.curs1)
edit             2685 src/editor/edit.c             edit->mark2--;
edit             2686 src/editor/edit.c         if (edit->last_get_rule >= edit->buffer.curs1)
edit             2687 src/editor/edit.c             edit->last_get_rule--;
edit             2689 src/editor/edit.c         p = edit_buffer_backspace (&edit->buffer);
edit             2691 src/editor/edit.c         edit_push_undo_action (edit, p);
edit             2693 src/editor/edit.c     edit_modification (edit);
edit             2696 src/editor/edit.c         book_mark_dec (edit, edit->buffer.curs_line);
edit             2697 src/editor/edit.c         edit->buffer.curs_line--;
edit             2698 src/editor/edit.c         edit->buffer.lines--;
edit             2699 src/editor/edit.c         edit->force |= REDRAW_AFTER_CURSOR;
edit             2702 src/editor/edit.c     if (edit->buffer.curs1 < edit->start_display)
edit             2704 src/editor/edit.c         edit->start_display--;
edit             2706 src/editor/edit.c             edit->start_line--;
edit             2716 src/editor/edit.c edit_cursor_move (WEdit * edit, off_t increment)
edit             2720 src/editor/edit.c         for (; increment < 0 && edit->buffer.curs1 != 0; increment++)
edit             2724 src/editor/edit.c             edit_push_undo_action (edit, CURS_RIGHT);
edit             2726 src/editor/edit.c             c = edit_buffer_get_previous_byte (&edit->buffer);
edit             2727 src/editor/edit.c             edit_buffer_insert_ahead (&edit->buffer, c);
edit             2728 src/editor/edit.c             c = edit_buffer_backspace (&edit->buffer);
edit             2731 src/editor/edit.c                 edit->buffer.curs_line--;
edit             2732 src/editor/edit.c                 edit->force |= REDRAW_LINE_BELOW;
edit             2738 src/editor/edit.c         for (; increment > 0 && edit->buffer.curs2 != 0; increment--)
edit             2742 src/editor/edit.c             edit_push_undo_action (edit, CURS_LEFT);
edit             2744 src/editor/edit.c             c = edit_buffer_get_current_byte (&edit->buffer);
edit             2745 src/editor/edit.c             edit_buffer_insert (&edit->buffer, c);
edit             2746 src/editor/edit.c             c = edit_buffer_delete (&edit->buffer);
edit             2749 src/editor/edit.c                 edit->buffer.curs_line++;
edit             2750 src/editor/edit.c                 edit->force |= REDRAW_LINE_ABOVE;
edit             2761 src/editor/edit.c edit_move_forward3 (const WEdit * edit, off_t current, long cols, off_t upto)
edit             2772 src/editor/edit.c         q = edit->buffer.size + 2;
edit             2786 src/editor/edit.c         orig_c = c = edit_buffer_get_byte (&edit->buffer, p);
edit             2789 src/editor/edit.c         if (edit->utf8)
edit             2794 src/editor/edit.c             utf_ch = edit_buffer_get_utf (&edit->buffer, p, &char_length);
edit             2815 src/editor/edit.c                                           || (!mc_global.utf8_display && !edit->utf8)
edit             2831 src/editor/edit.c edit_get_cursor_offset (const WEdit * edit)
edit             2833 src/editor/edit.c     return edit->buffer.curs1;
edit             2840 src/editor/edit.c edit_get_col (const WEdit * edit)
edit             2842 src/editor/edit.c     return (long) edit_move_forward3 (edit, edit_buffer_get_current_bol (&edit->buffer), 0,
edit             2843 src/editor/edit.c                                       edit->buffer.curs1);
edit             2851 src/editor/edit.c edit_update_curs_row (WEdit * edit)
edit             2853 src/editor/edit.c     edit->curs_row = edit->buffer.curs_line - edit->start_line;
edit             2859 src/editor/edit.c edit_update_curs_col (WEdit * edit)
edit             2861 src/editor/edit.c     edit->curs_col = (long) edit_move_forward3 (edit, edit_buffer_get_current_bol (&edit->buffer),
edit             2862 src/editor/edit.c                                                 0, edit->buffer.curs1);
edit             2868 src/editor/edit.c edit_get_curs_col (const WEdit * edit)
edit             2870 src/editor/edit.c     return edit->curs_col;
edit             2877 src/editor/edit.c edit_scroll_upward (WEdit * edit, long i)
edit             2879 src/editor/edit.c     long lines_above = edit->start_line;
edit             2885 src/editor/edit.c         edit->start_line -= i;
edit             2886 src/editor/edit.c         edit->start_display =
edit             2887 src/editor/edit.c             edit_buffer_get_backward_offset (&edit->buffer, edit->start_display, i);
edit             2888 src/editor/edit.c         edit->force |= REDRAW_PAGE;
edit             2889 src/editor/edit.c         edit->force &= (0xfff - REDRAW_CHAR_ONLY);
edit             2891 src/editor/edit.c     edit_update_curs_row (edit);
edit             2898 src/editor/edit.c edit_scroll_downward (WEdit * edit, long i)
edit             2902 src/editor/edit.c     lines_below = edit->buffer.lines - edit->start_line - (WIDGET (edit)->lines - 1);
edit             2907 src/editor/edit.c         edit->start_line += i;
edit             2908 src/editor/edit.c         edit->start_display =
edit             2909 src/editor/edit.c             edit_buffer_get_forward_offset (&edit->buffer, edit->start_display, i, 0);
edit             2910 src/editor/edit.c         edit->force |= REDRAW_PAGE;
edit             2911 src/editor/edit.c         edit->force &= (0xfff - REDRAW_CHAR_ONLY);
edit             2913 src/editor/edit.c     edit_update_curs_row (edit);
edit             2919 src/editor/edit.c edit_scroll_right (WEdit * edit, long i)
edit             2921 src/editor/edit.c     edit->force |= REDRAW_PAGE;
edit             2922 src/editor/edit.c     edit->force &= (0xfff - REDRAW_CHAR_ONLY);
edit             2923 src/editor/edit.c     edit->start_col -= i;
edit             2929 src/editor/edit.c edit_scroll_left (WEdit * edit, long i)
edit             2931 src/editor/edit.c     if (edit->start_col)
edit             2933 src/editor/edit.c         edit->start_col += i;
edit             2934 src/editor/edit.c         if (edit->start_col > 0)
edit             2935 src/editor/edit.c             edit->start_col = 0;
edit             2936 src/editor/edit.c         edit->force |= REDRAW_PAGE;
edit             2937 src/editor/edit.c         edit->force &= (0xfff - REDRAW_CHAR_ONLY);
edit             2946 src/editor/edit.c edit_move_to_prev_col (WEdit * edit, off_t p)
edit             2948 src/editor/edit.c     long prev = edit->prev_col;
edit             2949 src/editor/edit.c     long over = edit->over_col;
edit             2951 src/editor/edit.c     edit_cursor_move (edit,
edit             2952 src/editor/edit.c                       edit_move_forward3 (edit, p, prev + edit->over_col, 0) - edit->buffer.curs1);
edit             2958 src/editor/edit.c         line_len = (long) edit_move_forward3 (edit, edit_buffer_get_current_bol (&edit->buffer), 0,
edit             2959 src/editor/edit.c                                               edit_buffer_get_current_eol (&edit->buffer));
edit             2960 src/editor/edit.c         if (line_len < prev + edit->over_col)
edit             2962 src/editor/edit.c             edit->over_col = prev + over - line_len;
edit             2963 src/editor/edit.c             edit->prev_col = line_len;
edit             2964 src/editor/edit.c             edit->curs_col = line_len;
edit             2968 src/editor/edit.c             edit->curs_col = prev + over;
edit             2969 src/editor/edit.c             edit->prev_col = edit->curs_col;
edit             2970 src/editor/edit.c             edit->over_col = 0;
edit             2975 src/editor/edit.c         edit->over_col = 0;
edit             2976 src/editor/edit.c         if (option_fake_half_tabs && is_in_indent (&edit->buffer))
edit             2980 src/editor/edit.c             edit_update_curs_col (edit);
edit             2983 src/editor/edit.c             if (fake_half_tabs != 0 && edit->curs_col % fake_half_tabs != 0)
edit             2987 src/editor/edit.c                 q = edit->curs_col;
edit             2988 src/editor/edit.c                 edit->curs_col -= (edit->curs_col % fake_half_tabs);
edit             2989 src/editor/edit.c                 p = edit_buffer_get_current_bol (&edit->buffer);
edit             2990 src/editor/edit.c                 edit_cursor_move (edit,
edit             2991 src/editor/edit.c                                   edit_move_forward3 (edit, p, edit->curs_col,
edit             2992 src/editor/edit.c                                                       0) - edit->buffer.curs1);
edit             2993 src/editor/edit.c                 if (!left_of_four_spaces (edit))
edit             2994 src/editor/edit.c                     edit_cursor_move (edit,
edit             2995 src/editor/edit.c                                       edit_move_forward3 (edit, p, q, 0) - edit->buffer.curs1);
edit             3011 src/editor/edit.c edit_line_is_blank (WEdit * edit, long line)
edit             3013 src/editor/edit.c     return is_blank (&edit->buffer, edit_find_line (edit, line));
edit             3045 src/editor/edit.c edit_push_markers (WEdit * edit)
edit             3047 src/editor/edit.c     edit_push_undo_action (edit, MARK_1 + edit->mark1);
edit             3048 src/editor/edit.c     edit_push_undo_action (edit, MARK_2 + edit->mark2);
edit             3049 src/editor/edit.c     edit_push_undo_action (edit, MARK_CURS + edit->end_mark_curs);
edit             3055 src/editor/edit.c edit_set_markers (WEdit * edit, off_t m1, off_t m2, long c1, long c2)
edit             3057 src/editor/edit.c     edit->mark1 = m1;
edit             3058 src/editor/edit.c     edit->mark2 = m2;
edit             3059 src/editor/edit.c     edit->column1 = c1;
edit             3060 src/editor/edit.c     edit->column2 = c2;
edit             3068 src/editor/edit.c edit_mark_cmd (WEdit * edit, gboolean unmark)
edit             3070 src/editor/edit.c     edit_push_markers (edit);
edit             3073 src/editor/edit.c         edit_set_markers (edit, 0, 0, 0, 0);
edit             3074 src/editor/edit.c         edit->force |= REDRAW_PAGE;
edit             3076 src/editor/edit.c     else if (edit->mark2 >= 0)
edit             3078 src/editor/edit.c         edit->end_mark_curs = -1;
edit             3079 src/editor/edit.c         edit_set_markers (edit, edit->buffer.curs1, -1, edit->curs_col + edit->over_col,
edit             3080 src/editor/edit.c                           edit->curs_col + edit->over_col);
edit             3081 src/editor/edit.c         edit->force |= REDRAW_PAGE;
edit             3085 src/editor/edit.c         edit->end_mark_curs = edit->buffer.curs1;
edit             3086 src/editor/edit.c         edit_set_markers (edit, edit->mark1, edit->buffer.curs1, edit->column1,
edit             3087 src/editor/edit.c                           edit->curs_col + edit->over_col);
edit             3095 src/editor/edit.c edit_mark_current_word_cmd (WEdit * edit)
edit             3099 src/editor/edit.c     for (pos = edit->buffer.curs1; pos != 0; pos--)
edit             3103 src/editor/edit.c         c1 = edit_buffer_get_byte (&edit->buffer, pos);
edit             3104 src/editor/edit.c         c2 = edit_buffer_get_byte (&edit->buffer, pos - 1);
edit             3110 src/editor/edit.c     edit->mark1 = pos;
edit             3112 src/editor/edit.c     for (; pos < edit->buffer.size; pos++)
edit             3116 src/editor/edit.c         c1 = edit_buffer_get_byte (&edit->buffer, pos);
edit             3117 src/editor/edit.c         c2 = edit_buffer_get_byte (&edit->buffer, pos + 1);
edit             3123 src/editor/edit.c     edit->mark2 = MIN (pos + 1, edit->buffer.size);
edit             3125 src/editor/edit.c     edit->force |= REDRAW_LINE_ABOVE | REDRAW_AFTER_CURSOR;
edit             3131 src/editor/edit.c edit_mark_current_line_cmd (WEdit * edit)
edit             3133 src/editor/edit.c     edit->mark1 = edit_buffer_get_current_bol (&edit->buffer);
edit             3134 src/editor/edit.c     edit->mark2 = edit_buffer_get_current_eol (&edit->buffer);
edit             3136 src/editor/edit.c     edit->force |= REDRAW_LINE_ABOVE | REDRAW_AFTER_CURSOR;
edit             3142 src/editor/edit.c edit_delete_line (WEdit * edit)
edit             3149 src/editor/edit.c     while (edit_buffer_get_current_byte (&edit->buffer) != '\n')
edit             3150 src/editor/edit.c         (void) edit_delete (edit, TRUE);
edit             3157 src/editor/edit.c     (void) edit_delete (edit, TRUE);
edit             3163 src/editor/edit.c     while (edit_buffer_get_previous_byte (&edit->buffer) != '\n')
edit             3164 src/editor/edit.c         (void) edit_backspace (edit, TRUE);
edit             3170 src/editor/edit.c edit_push_key_press (WEdit * edit)
edit             3172 src/editor/edit.c     edit_push_undo_action (edit, KEY_PRESS + edit->start_display);
edit             3173 src/editor/edit.c     if (edit->mark2 == -1)
edit             3175 src/editor/edit.c         edit_push_undo_action (edit, MARK_1 + edit->mark1);
edit             3176 src/editor/edit.c         edit_push_undo_action (edit, MARK_CURS + edit->end_mark_curs);
edit             3183 src/editor/edit.c edit_find_bracket (WEdit * edit)
edit             3185 src/editor/edit.c     edit->bracket = edit_get_bracket (edit, 1, 10000);
edit             3186 src/editor/edit.c     if (edit->last_bracket != edit->bracket)
edit             3187 src/editor/edit.c         edit->force |= REDRAW_PAGE;
edit             3188 src/editor/edit.c     edit->last_bracket = edit->bracket;
edit             3203 src/editor/edit.c edit_execute_key_command (WEdit * edit, long command, int char_for_insertion)
edit             3210 src/editor/edit.c         edit->force |= REDRAW_CHAR_ONLY | REDRAW_LINE;
edit             3215 src/editor/edit.c         edit->force |= REDRAW_COMPLETELY;
edit             3218 src/editor/edit.c             edit_store_macro_cmd (edit);
edit             3224 src/editor/edit.c             edit_repeat_macro_cmd (edit);
edit             3237 src/editor/edit.c         edit_push_key_press (edit);
edit             3239 src/editor/edit.c     edit_execute_cmd (edit, command, char_for_insertion);
edit             3240 src/editor/edit.c     if (edit->column_highlight)
edit             3241 src/editor/edit.c         edit->force |= REDRAW_PAGE;
edit             3252 src/editor/edit.c edit_execute_cmd (WEdit * edit, long command, int char_for_insertion)
edit             3254 src/editor/edit.c     Widget *w = WIDGET (edit);
edit             3258 src/editor/edit.c         edit_toggle_fullscreen (edit);
edit             3263 src/editor/edit.c     if (edit_handle_move_resize (edit, command))
edit             3266 src/editor/edit.c     edit->force |= REDRAW_LINE;
edit             3270 src/editor/edit.c     if (edit->found_len || edit->column_highlight)
edit             3271 src/editor/edit.c         edit->force |= REDRAW_PAGE;
edit             3305 src/editor/edit.c         edit->column_highlight = 0;
edit             3306 src/editor/edit.c         if (edit->highlight == 0 || (edit->mark2 != -1 && edit->mark1 != edit->mark2))
edit             3308 src/editor/edit.c             edit_mark_cmd (edit, TRUE); /* clear */
edit             3309 src/editor/edit.c             edit_mark_cmd (edit, FALSE);        /* marking on */
edit             3311 src/editor/edit.c         edit->highlight = 1;
edit             3316 src/editor/edit.c         if (edit->highlight)
edit             3317 src/editor/edit.c             edit_mark_cmd (edit, FALSE);        /* clear */
edit             3318 src/editor/edit.c         edit->highlight = 0;
edit             3324 src/editor/edit.c         edit->redo_stack_reset = 0;
edit             3325 src/editor/edit.c         edit_group_undo (edit);
edit             3326 src/editor/edit.c         edit->found_len = 0;
edit             3327 src/editor/edit.c         edit->prev_col = edit_get_col (edit);
edit             3328 src/editor/edit.c         edit->search_start = edit->buffer.curs1;
edit             3334 src/editor/edit.c         edit->redo_stack_reset = 0;
edit             3335 src/editor/edit.c         edit_do_redo (edit);
edit             3336 src/editor/edit.c         edit->found_len = 0;
edit             3337 src/editor/edit.c         edit->prev_col = edit_get_col (edit);
edit             3338 src/editor/edit.c         edit->search_start = edit->buffer.curs1;
edit             3342 src/editor/edit.c     edit->redo_stack_reset = 1;
edit             3348 src/editor/edit.c         if (!option_persistent_selections && edit->mark1 != edit->mark2)
edit             3349 src/editor/edit.c             edit_block_delete_cmd (edit);
edit             3351 src/editor/edit.c         if (edit->overwrite)
edit             3355 src/editor/edit.c             if (!mc_global.utf8_display || edit->charpoint == 0)
edit             3357 src/editor/edit.c                 if (edit_buffer_get_current_byte (&edit->buffer) != '\n')
edit             3359 src/editor/edit.c                     edit_delete (edit, FALSE);
edit             3361 src/editor/edit.c         if (option_cursor_beyond_eol && edit->over_col > 0)
edit             3362 src/editor/edit.c             edit_insert_over (edit);
edit             3388 src/editor/edit.c                 edit_insert (edit, char_for_insertion);
edit             3394 src/editor/edit.c             edit_insert (edit, char_for_insertion);
edit             3398 src/editor/edit.c             format_paragraph (edit, FALSE);
edit             3399 src/editor/edit.c             edit->force |= REDRAW_PAGE;
edit             3402 src/editor/edit.c             check_and_wrap_line (edit);
edit             3403 src/editor/edit.c         edit->found_len = 0;
edit             3404 src/editor/edit.c         edit->prev_col = edit_get_col (edit);
edit             3405 src/editor/edit.c         edit->search_start = edit->buffer.curs1;
edit             3406 src/editor/edit.c         edit_find_bracket (edit);
edit             3426 src/editor/edit.c         if (!option_persistent_selections && edit->mark2 >= 0)
edit             3428 src/editor/edit.c             if (edit->column_highlight)
edit             3429 src/editor/edit.c                 edit_push_undo_action (edit, COLUMN_ON);
edit             3430 src/editor/edit.c             edit->column_highlight = 0;
edit             3431 src/editor/edit.c             edit_mark_cmd (edit, TRUE);
edit             3453 src/editor/edit.c         if (edit->mark2 == -1)
edit             3460 src/editor/edit.c         edit->force |= REDRAW_CHAR_ONLY;
edit             3470 src/editor/edit.c         if (!option_persistent_selections && edit->mark1 != edit->mark2)
edit             3471 src/editor/edit.c             edit_block_delete_cmd (edit);
edit             3472 src/editor/edit.c         else if (option_cursor_beyond_eol && edit->over_col > 0)
edit             3473 src/editor/edit.c             edit->over_col--;
edit             3474 src/editor/edit.c         else if (option_backspace_through_tabs && is_in_indent (&edit->buffer))
edit             3476 src/editor/edit.c             while (edit_buffer_get_previous_byte (&edit->buffer) != '\n' && edit->buffer.curs1 > 0)
edit             3477 src/editor/edit.c                 edit_backspace (edit, TRUE);
edit             3479 src/editor/edit.c         else if (option_fake_half_tabs && is_in_indent (&edit->buffer)
edit             3480 src/editor/edit.c                  && right_of_four_spaces (edit))
edit             3485 src/editor/edit.c                 edit_backspace (edit, TRUE);
edit             3488 src/editor/edit.c             edit_backspace (edit, FALSE);
edit             3492 src/editor/edit.c         if (!option_persistent_selections && edit->mark1 != edit->mark2)
edit             3493 src/editor/edit.c             edit_block_delete_cmd (edit);
edit             3496 src/editor/edit.c             if (option_cursor_beyond_eol && edit->over_col > 0)
edit             3497 src/editor/edit.c                 edit_insert_over (edit);
edit             3499 src/editor/edit.c             if (option_fake_half_tabs && is_in_indent (&edit->buffer) && left_of_four_spaces (edit))
edit             3504 src/editor/edit.c                     edit_delete (edit, TRUE);
edit             3507 src/editor/edit.c                 edit_delete (edit, FALSE);
edit             3511 src/editor/edit.c         edit->over_col = 0;
edit             3512 src/editor/edit.c         edit_left_delete_word (edit);
edit             3515 src/editor/edit.c         if (option_cursor_beyond_eol && edit->over_col > 0)
edit             3516 src/editor/edit.c             edit_insert_over (edit);
edit             3518 src/editor/edit.c         edit_right_delete_word (edit);
edit             3521 src/editor/edit.c         edit_delete_line (edit);
edit             3524 src/editor/edit.c         edit_delete_to_line_begin (edit);
edit             3527 src/editor/edit.c         edit_delete_to_line_end (edit);
edit             3530 src/editor/edit.c         edit->over_col = 0;
edit             3533 src/editor/edit.c             edit_double_newline (edit);
edit             3535 src/editor/edit.c                 edit_auto_indent (edit);
edit             3536 src/editor/edit.c             format_paragraph (edit, FALSE);
edit             3540 src/editor/edit.c             edit_insert (edit, '\n');
edit             3542 src/editor/edit.c                 edit_auto_indent (edit);
edit             3546 src/editor/edit.c         edit_insert (edit, '\n');
edit             3550 src/editor/edit.c         edit->column_highlight = 1;
edit             3554 src/editor/edit.c         edit_move_up (edit, w->lines - 1, TRUE);
edit             3557 src/editor/edit.c         edit->column_highlight = 1;
edit             3561 src/editor/edit.c         edit_move_down (edit, w->lines - 1, TRUE);
edit             3564 src/editor/edit.c         edit->column_highlight = 1;
edit             3568 src/editor/edit.c         if (option_fake_half_tabs && is_in_indent (&edit->buffer) && right_of_four_spaces (edit))
edit             3570 src/editor/edit.c             if (option_cursor_beyond_eol && edit->over_col > 0)
edit             3571 src/editor/edit.c                 edit->over_col--;
edit             3573 src/editor/edit.c                 edit_cursor_move (edit, -HALF_TAB_SIZE);
edit             3574 src/editor/edit.c             edit->force &= (0xFFF - REDRAW_CHAR_ONLY);
edit             3577 src/editor/edit.c             edit_left_char_move_cmd (edit);
edit             3580 src/editor/edit.c         edit->column_highlight = 1;
edit             3584 src/editor/edit.c         if (option_fake_half_tabs && is_in_indent (&edit->buffer) && left_of_four_spaces (edit))
edit             3586 src/editor/edit.c             edit_cursor_move (edit, HALF_TAB_SIZE);
edit             3587 src/editor/edit.c             edit->force &= (0xFFF - REDRAW_CHAR_ONLY);
edit             3590 src/editor/edit.c             edit_right_char_move_cmd (edit);
edit             3594 src/editor/edit.c         edit_begin_page (edit);
edit             3598 src/editor/edit.c         edit_end_page (edit);
edit             3602 src/editor/edit.c         edit->over_col = 0;
edit             3603 src/editor/edit.c         edit_left_word_move_cmd (edit);
edit             3607 src/editor/edit.c         edit->over_col = 0;
edit             3608 src/editor/edit.c         edit_right_word_move_cmd (edit);
edit             3611 src/editor/edit.c         edit->column_highlight = 1;
edit             3615 src/editor/edit.c         edit_move_up (edit, 1, FALSE);
edit             3618 src/editor/edit.c         edit->column_highlight = 1;
edit             3622 src/editor/edit.c         edit_move_down (edit, 1, FALSE);
edit             3625 src/editor/edit.c         edit->column_highlight = 1;
edit             3629 src/editor/edit.c         edit_move_up_paragraph (edit, FALSE);
edit             3632 src/editor/edit.c         edit->column_highlight = 1;
edit             3636 src/editor/edit.c         edit_move_down_paragraph (edit, FALSE);
edit             3639 src/editor/edit.c         edit->column_highlight = 1;
edit             3643 src/editor/edit.c         edit_move_up (edit, 1, TRUE);
edit             3646 src/editor/edit.c         edit->column_highlight = 1;
edit             3650 src/editor/edit.c         edit_move_down (edit, 1, TRUE);
edit             3654 src/editor/edit.c         edit_cursor_to_bol (edit);
edit             3658 src/editor/edit.c         edit_cursor_to_eol (edit);
edit             3662 src/editor/edit.c         if (edit->mark1 != edit->mark2 && !option_persistent_selections)
edit             3664 src/editor/edit.c             if (edit->mark2 < 0)
edit             3665 src/editor/edit.c                 edit_mark_cmd (edit, FALSE);
edit             3666 src/editor/edit.c             edit_move_block_to_right (edit);
edit             3671 src/editor/edit.c                 edit_insert_over (edit);
edit             3672 src/editor/edit.c             edit_tab_cmd (edit);
edit             3675 src/editor/edit.c                 format_paragraph (edit, FALSE);
edit             3676 src/editor/edit.c                 edit->force |= REDRAW_PAGE;
edit             3679 src/editor/edit.c                 check_and_wrap_line (edit);
edit             3684 src/editor/edit.c         edit->overwrite = !edit->overwrite;
edit             3688 src/editor/edit.c         if (edit->mark2 >= 0)
edit             3690 src/editor/edit.c             if (edit->column_highlight)
edit             3691 src/editor/edit.c                 edit_push_undo_action (edit, COLUMN_ON);
edit             3692 src/editor/edit.c             edit->column_highlight = 0;
edit             3694 src/editor/edit.c         edit_mark_cmd (edit, FALSE);
edit             3697 src/editor/edit.c         if (!edit->column_highlight)
edit             3698 src/editor/edit.c             edit_push_undo_action (edit, COLUMN_OFF);
edit             3699 src/editor/edit.c         edit->column_highlight = 1;
edit             3700 src/editor/edit.c         edit_mark_cmd (edit, FALSE);
edit             3703 src/editor/edit.c         edit_set_markers (edit, 0, edit->buffer.size, 0, 0);
edit             3704 src/editor/edit.c         edit->force |= REDRAW_PAGE;
edit             3707 src/editor/edit.c         if (edit->column_highlight)
edit             3708 src/editor/edit.c             edit_push_undo_action (edit, COLUMN_ON);
edit             3709 src/editor/edit.c         edit->column_highlight = 0;
edit             3710 src/editor/edit.c         edit_mark_cmd (edit, TRUE);
edit             3713 src/editor/edit.c         if (edit->column_highlight)
edit             3714 src/editor/edit.c             edit_push_undo_action (edit, COLUMN_ON);
edit             3715 src/editor/edit.c         edit->column_highlight = 0;
edit             3716 src/editor/edit.c         edit_mark_current_word_cmd (edit);
edit             3719 src/editor/edit.c         if (edit->column_highlight)
edit             3720 src/editor/edit.c             edit_push_undo_action (edit, COLUMN_ON);
edit             3721 src/editor/edit.c         edit->column_highlight = 0;
edit             3722 src/editor/edit.c         edit_mark_current_line_cmd (edit);
edit             3726 src/editor/edit.c         book_mark_clear (edit, edit->buffer.curs_line, BOOK_MARK_FOUND_COLOR);
edit             3727 src/editor/edit.c         if (book_mark_query_color (edit, edit->buffer.curs_line, BOOK_MARK_COLOR))
edit             3728 src/editor/edit.c             book_mark_clear (edit, edit->buffer.curs_line, BOOK_MARK_COLOR);
edit             3730 src/editor/edit.c             book_mark_insert (edit, edit->buffer.curs_line, BOOK_MARK_COLOR);
edit             3733 src/editor/edit.c         book_mark_flush (edit, BOOK_MARK_COLOR);
edit             3734 src/editor/edit.c         book_mark_flush (edit, BOOK_MARK_FOUND_COLOR);
edit             3735 src/editor/edit.c         edit->force |= REDRAW_PAGE;
edit             3738 src/editor/edit.c         if (edit->book_mark != NULL)
edit             3742 src/editor/edit.c             p = book_mark_find (edit, edit->buffer.curs_line);
edit             3746 src/editor/edit.c                 if (p->line >= edit->start_line + w->lines || p->line < edit->start_line)
edit             3747 src/editor/edit.c                     edit_move_display (edit, p->line - w->lines / 2);
edit             3748 src/editor/edit.c                 edit_move_to_line (edit, p->line);
edit             3753 src/editor/edit.c         if (edit->book_mark != NULL)
edit             3757 src/editor/edit.c             p = book_mark_find (edit, edit->buffer.curs_line);
edit             3758 src/editor/edit.c             while (p->line == edit->buffer.curs_line)
edit             3763 src/editor/edit.c                 if (p->line >= edit->start_line + w->lines || p->line < edit->start_line)
edit             3764 src/editor/edit.c                     edit_move_display (edit, p->line - w->lines / 2);
edit             3765 src/editor/edit.c                 edit_move_to_line (edit, p->line);
edit             3772 src/editor/edit.c         edit_move_to_top (edit);
edit             3776 src/editor/edit.c         edit_move_to_bottom (edit);
edit             3780 src/editor/edit.c         if (option_cursor_beyond_eol && edit->over_col > 0)
edit             3781 src/editor/edit.c             edit_insert_over (edit);
edit             3782 src/editor/edit.c         edit_block_copy_cmd (edit);
edit             3785 src/editor/edit.c         edit_block_delete_cmd (edit);
edit             3788 src/editor/edit.c         edit_block_move_cmd (edit);
edit             3792 src/editor/edit.c         if (edit->mark1 != edit->mark2)
edit             3793 src/editor/edit.c             edit_move_block_to_left (edit);
edit             3796 src/editor/edit.c         if (edit->mark1 != edit->mark2)
edit             3797 src/editor/edit.c             edit_move_block_to_right (edit);
edit             3800 src/editor/edit.c         edit_copy_to_X_buf_cmd (edit);
edit             3803 src/editor/edit.c         edit_cut_to_X_buf_cmd (edit);
edit             3807 src/editor/edit.c         if (!option_persistent_selections && edit->mark1 != edit->mark2)
edit             3808 src/editor/edit.c             edit_block_delete_cmd (edit);
edit             3809 src/editor/edit.c         if (option_cursor_beyond_eol && edit->over_col > 0)
edit             3810 src/editor/edit.c             edit_insert_over (edit);
edit             3811 src/editor/edit.c         edit_paste_from_X_buf_cmd (edit);
edit             3812 src/editor/edit.c         if (!option_persistent_selections && edit->mark2 >= 0)
edit             3814 src/editor/edit.c             if (edit->column_highlight)
edit             3815 src/editor/edit.c                 edit_push_undo_action (edit, COLUMN_ON);
edit             3816 src/editor/edit.c             edit->column_highlight = 0;
edit             3817 src/editor/edit.c             edit_mark_cmd (edit, TRUE);
edit             3821 src/editor/edit.c         edit_paste_from_history (edit);
edit             3825 src/editor/edit.c         edit_save_as_cmd (edit);
edit             3828 src/editor/edit.c         edit_save_confirm_cmd (edit);
edit             3831 src/editor/edit.c         edit_save_block_cmd (edit);
edit             3834 src/editor/edit.c         edit_insert_file_cmd (edit);
edit             3838 src/editor/edit.c         edit_load_back_cmd (edit);
edit             3841 src/editor/edit.c         edit_load_forward_cmd (edit);
edit             3845 src/editor/edit.c         edit_syntax_dialog (edit);
edit             3849 src/editor/edit.c         edit_search_cmd (edit, FALSE);
edit             3852 src/editor/edit.c         edit_search_cmd (edit, TRUE);
edit             3855 src/editor/edit.c         edit_replace_cmd (edit, FALSE);
edit             3858 src/editor/edit.c         edit_replace_cmd (edit, TRUE);
edit             3862 src/editor/edit.c         if (edit->mark1 != edit->mark2 && !option_persistent_selections)
edit             3863 src/editor/edit.c             edit_move_block_to_left (edit);
edit             3865 src/editor/edit.c             edit_complete_word_cmd (edit);
edit             3868 src/editor/edit.c         edit_get_match_keyword_cmd (edit);
edit             3873 src/editor/edit.c         edit_suggest_current_word (edit);
edit             3876 src/editor/edit.c         edit_spellcheck_file (edit);
edit             3891 src/editor/edit.c             edit_print_string (edit, s);
edit             3892 src/editor/edit.c             edit->force |= REDRAW_PAGE;
edit             3896 src/editor/edit.c         edit_goto_cmd (edit);
edit             3899 src/editor/edit.c         format_paragraph (edit, TRUE);
edit             3900 src/editor/edit.c         edit->force |= REDRAW_PAGE;
edit             3903 src/editor/edit.c         edit_delete_macro_cmd (edit);
edit             3906 src/editor/edit.c         edit_goto_matching_bracket (edit);
edit             3909 src/editor/edit.c         user_menu (edit, NULL, -1);
edit             3912 src/editor/edit.c         edit_sort_cmd (edit);
edit             3915 src/editor/edit.c         edit_ext_cmd (edit);
edit             3918 src/editor/edit.c         edit_mail_dialog (edit);
edit             3922 src/editor/edit.c         edit_select_codepage_cmd (edit);
edit             3926 src/editor/edit.c         edit_insert_literal_cmd (edit);
edit             3929 src/editor/edit.c         edit_begin_end_macro_cmd (edit);
edit             3932 src/editor/edit.c         edit_begin_end_repeat_cmd (edit);
edit             3935 src/editor/edit.c         edit->extmod = TRUE;
edit             3943 src/editor/edit.c         edit_block_process_cmd (edit, command - CK_PipeBlock (0));
edit             3953 src/editor/edit.c         edit->prev_col = edit_get_col (edit);
edit             3983 src/editor/edit.c         edit->search_start = edit->buffer.curs1;
edit             3984 src/editor/edit.c         edit->found_len = 0;
edit             3987 src/editor/edit.c         edit->found_len = 0;
edit             3988 src/editor/edit.c         edit->prev_col = edit_get_col (edit);
edit             3989 src/editor/edit.c         edit->search_start = edit->buffer.curs1;
edit             3991 src/editor/edit.c     edit_find_bracket (edit);
edit             4003 src/editor/edit.c             format_paragraph (edit, FALSE);
edit             4004 src/editor/edit.c             edit->force |= REDRAW_PAGE;
edit             4038 src/editor/edit.c edit_move_up (WEdit * edit, long i, gboolean do_scroll)
edit             4040 src/editor/edit.c     edit_move_updown (edit, i, do_scroll, TRUE);
edit             4047 src/editor/edit.c edit_move_down (WEdit * edit, long i, gboolean do_scroll)
edit             4049 src/editor/edit.c     edit_move_updown (edit, i, do_scroll, FALSE);
edit               72 src/editor/edit.h const char *edit_get_file_name (const WEdit * edit);
edit               73 src/editor/edit.h off_t edit_get_cursor_offset (const WEdit * edit);
edit               74 src/editor/edit.h long edit_get_curs_col (const WEdit * edit);
edit               75 src/editor/edit.h const char *edit_get_syntax_type (const WEdit * edit);
edit              108 src/editor/editcmd.c     WEdit *edit;
edit              128 src/editor/editcmd.c         label_set_textv (ssm->label, _("Searching %s: %3d%%"), esm->edit->last_search_string,
edit              129 src/editor/editcmd.c                          edit_buffer_calc_percent (&esm->edit->buffer, esm->offset));
edit              131 src/editor/editcmd.c         label_set_textv (ssm->label, _("Searching %s"), esm->edit->last_search_string);
edit              184 src/editor/editcmd.c edit_save_file (WEdit * edit, const vfs_path_t * filename_vpath)
edit              204 src/editor/editcmd.c     if (!IS_PATH_SEP (*start_filename) && edit->dir_vpath != NULL)
edit              205 src/editor/editcmd.c         real_filename_vpath = vfs_path_append_vpath_new (edit->dir_vpath, filename_vpath, NULL);
edit              228 src/editor/editcmd.c         if (this_save_mode == EDIT_QUICK_SAVE && !edit->skip_detach_prompt && sb.st_nlink > 1)
edit              239 src/editor/editcmd.c                 edit->skip_detach_prompt = 1;
edit              248 src/editor/editcmd.c         if (edit->stat1.st_mtime != 0 && edit->stat1.st_mtime != sb.st_mtime)
edit              292 src/editor/editcmd.c     (void) mc_chown (savename_vpath, edit->stat1.st_uid, edit->stat1.st_gid);
edit              293 src/editor/editcmd.c     (void) mc_chmod (savename_vpath, edit->stat1.st_mode);
edit              295 src/editor/editcmd.c     fd = mc_open (savename_vpath, O_CREAT | O_WRONLY | O_TRUNC | O_BINARY, edit->stat1.st_mode);
edit              310 src/editor/editcmd.c             filelen = edit_write_stream (edit, file);
edit              334 src/editor/editcmd.c     else if (edit->lb == LB_ASIS)
edit              336 src/editor/editcmd.c         filelen = edit_buffer_write_file (&edit->buffer, fd);
edit              338 src/editor/editcmd.c         if (filelen != edit->buffer.size)
edit              346 src/editor/editcmd.c         if (mc_stat (savename_vpath, &edit->stat1) == -1)
edit              360 src/editor/editcmd.c             filelen = edit_write_stream (edit, file);
edit              374 src/editor/editcmd.c     if (filelen != edit->buffer.size)
edit              431 src/editor/editcmd.c edit_get_save_file_as (WEdit * edit)
edit              447 src/editor/editcmd.c                              vfs_path_as_str (edit->filename_vpath), "save-as",
edit              467 src/editor/editcmd.c         edit->lb = cur_lb;
edit              482 src/editor/editcmd.c edit_save_cmd (WEdit * edit)
edit              486 src/editor/editcmd.c     if (!edit->locked && !edit->delete_file)
edit              487 src/editor/editcmd.c         save_lock = lock_file (edit->filename_vpath);
edit              488 src/editor/editcmd.c     res = edit_save_file (edit, edit->filename_vpath);
edit              491 src/editor/editcmd.c     if ((res > 0 && edit->locked) || save_lock)
edit              492 src/editor/editcmd.c         edit->locked = unlock_file (edit->filename_vpath);
edit              496 src/editor/editcmd.c         return edit_save_as_cmd (edit);
edit              497 src/editor/editcmd.c     edit->force |= REDRAW_COMPLETELY;
edit              500 src/editor/editcmd.c         edit->delete_file = 0;
edit              501 src/editor/editcmd.c         edit->modified = 0;
edit              527 src/editor/editcmd.c edit_delete_column_of_text (WEdit * edit)
edit              534 src/editor/editcmd.c     eval_marks (edit, &m1, &m2);
edit              535 src/editor/editcmd.c     n = edit_buffer_get_forward_offset (&edit->buffer, m1, 0, m2) + 1;
edit              536 src/editor/editcmd.c     c = (long) edit_move_forward3 (edit, edit_buffer_get_bol (&edit->buffer, m1), 0, m1);
edit              537 src/editor/editcmd.c     d = (long) edit_move_forward3 (edit, edit_buffer_get_bol (&edit->buffer, m2), 0, m2);
edit              538 src/editor/editcmd.c     b = MAX (MIN (c, d), MIN (edit->column1, edit->column2));
edit              539 src/editor/editcmd.c     c = MAX (c, MAX (edit->column1, edit->column2));
edit              543 src/editor/editcmd.c         r = edit_buffer_get_current_bol (&edit->buffer);
edit              544 src/editor/editcmd.c         p = edit_move_forward3 (edit, r, b, 0);
edit              545 src/editor/editcmd.c         q = edit_move_forward3 (edit, r, c, 0);
edit              550 src/editor/editcmd.c         edit_cursor_move (edit, p - edit->buffer.curs1);
edit              554 src/editor/editcmd.c             if (edit_buffer_get_current_byte (&edit->buffer) != '\n')
edit              555 src/editor/editcmd.c                 edit_delete (edit, TRUE);
edit              560 src/editor/editcmd.c             edit_cursor_move (edit,
edit              561 src/editor/editcmd.c                               edit_buffer_get_forward_offset (&edit->buffer, edit->buffer.curs1, 1,
edit              562 src/editor/editcmd.c                                                               0) - edit->buffer.curs1);
edit              570 src/editor/editcmd.c edit_block_delete (WEdit * edit)
edit              576 src/editor/editcmd.c     if (!eval_marks (edit, &start_mark, &end_mark))
edit              579 src/editor/editcmd.c     if (edit->column_highlight && edit->mark2 < 0)
edit              580 src/editor/editcmd.c         edit_mark_cmd (edit, FALSE);
edit              593 src/editor/editcmd.c     c1 = MIN (edit->column1, edit->column2);
edit              594 src/editor/editcmd.c     c2 = MAX (edit->column1, edit->column2);
edit              595 src/editor/editcmd.c     edit->column1 = c1;
edit              596 src/editor/editcmd.c     edit->column2 = c2;
edit              598 src/editor/editcmd.c     edit_push_markers (edit);
edit              600 src/editor/editcmd.c     curs_line = edit->buffer.curs_line;
edit              602 src/editor/editcmd.c     curs_pos = edit->curs_col + edit->over_col;
edit              605 src/editor/editcmd.c     edit_cursor_move (edit, start_mark - edit->buffer.curs1);
edit              606 src/editor/editcmd.c     edit_scroll_screen_over_cursor (edit);
edit              610 src/editor/editcmd.c         if (edit->column_highlight)
edit              614 src/editor/editcmd.c             if (edit->mark2 < 0)
edit              615 src/editor/editcmd.c                 edit_mark_cmd (edit, FALSE);
edit              616 src/editor/editcmd.c             edit_delete_column_of_text (edit);
edit              618 src/editor/editcmd.c             edit_move_to_line (edit, curs_line);
edit              620 src/editor/editcmd.c             line_width = edit_move_forward3 (edit, edit_buffer_get_current_bol (&edit->buffer), 0,
edit              621 src/editor/editcmd.c                                              edit_buffer_get_current_eol (&edit->buffer));
edit              623 src/editor/editcmd.c                 edit->over_col = curs_pos - line_width;
edit              630 src/editor/editcmd.c                 edit_delete (edit, TRUE);
edit              633 src/editor/editcmd.c     edit_set_markers (edit, 0, 0, 0, 0);
edit              634 src/editor/editcmd.c     edit->force |= REDRAW_PAGE;
edit              647 src/editor/editcmd.c edit_search_get_current_end_line_char (const WEdit * edit)
edit              649 src/editor/editcmd.c     switch (edit->lb)
edit              779 src/editor/editcmd.c edit_search_fix_search_start_if_selection (WEdit * edit)
edit              787 src/editor/editcmd.c     if (!eval_marks (edit, &start_mark, &end_mark))
edit              792 src/editor/editcmd.c         if (edit->search_start > end_mark || edit->search_start <= start_mark)
edit              793 src/editor/editcmd.c             edit->search_start = end_mark;
edit              797 src/editor/editcmd.c         if (edit->search_start < start_mark || edit->search_start >= end_mark)
edit              798 src/editor/editcmd.c             edit->search_start = start_mark;
edit              807 src/editor/editcmd.c     WEdit *edit = esm->edit;
edit              808 src/editor/editcmd.c     off_t search_start = edit->search_start;
edit              811 src/editor/editcmd.c     off_t end_mark = edit->buffer.size;
edit              814 src/editor/editcmd.c     end_string_symbol = edit_search_get_current_end_line_char (edit);
edit              819 src/editor/editcmd.c         if (!eval_marks (edit, &start_mark, &end_mark))
edit              821 src/editor/editcmd.c             mc_search_set_error (edit->search, MC_SEARCH_E_NOTFOUND, "%s", _(STR_E_NOTFOUND));
edit              826 src/editor/editcmd.c         if ((edit->search_line_type & AT_START_LINE) != 0
edit              828 src/editor/editcmd.c                 || edit_buffer_get_byte (&edit->buffer, start_mark - 1) != end_string_symbol))
edit              830 src/editor/editcmd.c                 edit_calculate_start_of_next_line (&edit->buffer, start_mark, edit->buffer.size,
edit              833 src/editor/editcmd.c         if ((edit->search_line_type & AT_END_LINE) != 0
edit              834 src/editor/editcmd.c             && (end_mark - 1 != edit->buffer.size
edit              835 src/editor/editcmd.c                 || edit_buffer_get_byte (&edit->buffer, end_mark) != end_string_symbol))
edit              837 src/editor/editcmd.c                 edit_calculate_end_of_previous_line (&edit->buffer, end_mark, end_string_symbol);
edit              841 src/editor/editcmd.c             mc_search_set_error (edit->search, MC_SEARCH_E_NOTFOUND, "%s", _(STR_E_NOTFOUND));
edit              846 src/editor/editcmd.c         end_mark = MAX (1, edit->buffer.curs1) - 1;
edit              854 src/editor/editcmd.c         if ((edit->search_line_type & AT_START_LINE) != 0)
edit              856 src/editor/editcmd.c                 edit_calculate_start_of_current_line (&edit->buffer, search_start,
edit              863 src/editor/editcmd.c             if (search_end > (off_t) (search_start + edit->search->original_len)
edit              864 src/editor/editcmd.c                 && mc_search_is_fixed_search_str (edit->search))
edit              865 src/editor/editcmd.c                 search_end = search_start + edit->search->original_len;
edit              867 src/editor/editcmd.c             ok = mc_search_run (edit->search, (void *) esm, search_start, search_end, len);
edit              869 src/editor/editcmd.c             if (ok && edit->search->normal_offset == search_start)
edit              874 src/editor/editcmd.c             if (!ok && edit->search->error != MC_SEARCH_E_NOTFOUND)
edit              877 src/editor/editcmd.c             if ((edit->search_line_type & AT_START_LINE) != 0)
edit              879 src/editor/editcmd.c                     edit_calculate_start_of_previous_line (&edit->buffer, search_start,
edit              885 src/editor/editcmd.c         mc_search_set_error (edit->search, MC_SEARCH_E_NOTFOUND, "%s", _(STR_E_NOTFOUND));
edit              890 src/editor/editcmd.c     if ((edit->search_line_type & AT_START_LINE) != 0 && search_start != start_mark)
edit              892 src/editor/editcmd.c             edit_calculate_start_of_next_line (&edit->buffer, search_start, end_mark,
edit              895 src/editor/editcmd.c     return mc_search_run (edit->search, (void *) esm, search_start, end_mark, len);
edit              936 src/editor/editcmd.c edit_show_search_error (const WEdit * edit, const char *title)
edit              938 src/editor/editcmd.c     if (edit->search->error == MC_SEARCH_E_NOTFOUND)
edit              940 src/editor/editcmd.c     else if (edit->search->error_str != NULL)
edit              941 src/editor/editcmd.c         edit_query_dialog (title, edit->search->error_str);
edit              947 src/editor/editcmd.c edit_do_search (WEdit * edit)
edit              952 src/editor/editcmd.c     if (edit->search == NULL)
edit              953 src/editor/editcmd.c         edit->search_start = edit->buffer.curs1;
edit              955 src/editor/editcmd.c     edit_push_undo_action (edit, KEY_PRESS + edit->start_display);
edit              958 src/editor/editcmd.c     esm.edit = edit;
edit              959 src/editor/editcmd.c     esm.offset = edit->search_start;
edit              971 src/editor/editcmd.c         book_mark_flush (edit, -1);
edit              973 src/editor/editcmd.c         while (mc_search_run (edit->search, (void *) &esm, q, edit->buffer.size, &len))
edit              976 src/editor/editcmd.c                 edit->search_start = edit->search->normal_offset;
edit              978 src/editor/editcmd.c             l += edit_buffer_count_lines (&edit->buffer, q, edit->search->normal_offset);
edit              981 src/editor/editcmd.c                 book_mark_insert (edit, l, BOOK_MARK_FOUND_COLOR);
edit              984 src/editor/editcmd.c             q = edit->search->normal_offset + 1;
edit              990 src/editor/editcmd.c             edit_cursor_move (edit, edit->search_start - edit->buffer.curs1);
edit              994 src/editor/editcmd.c         if (edit->found_len != 0 && edit->search_start == edit->found_start + 1
edit              996 src/editor/editcmd.c             edit->search_start--;
edit              998 src/editor/editcmd.c         if (edit->found_len != 0 && edit->search_start == edit->found_start - 1
edit             1000 src/editor/editcmd.c             edit->search_start++;
edit             1004 src/editor/editcmd.c             edit->found_start = edit->search_start = edit->search->normal_offset;
edit             1005 src/editor/editcmd.c             edit->found_len = len;
edit             1006 src/editor/editcmd.c             edit->over_col = 0;
edit             1007 src/editor/editcmd.c             edit_cursor_move (edit, edit->search_start - edit->buffer.curs1);
edit             1008 src/editor/editcmd.c             edit_scroll_screen_over_cursor (edit);
edit             1010 src/editor/editcmd.c                 edit->search_start--;
edit             1012 src/editor/editcmd.c                 edit->search_start++;
edit             1016 src/editor/editcmd.c             edit->search_start = edit->buffer.curs1;
edit             1017 src/editor/editcmd.c             edit_show_search_error (edit, _("Search"));
edit             1023 src/editor/editcmd.c     edit->force |= REDRAW_COMPLETELY;
edit             1024 src/editor/editcmd.c     edit_scroll_screen_over_cursor (edit);
edit             1030 src/editor/editcmd.c edit_search (WEdit * edit)
edit             1032 src/editor/editcmd.c     if (editcmd_dialog_search_show (edit))
edit             1034 src/editor/editcmd.c         edit->search_line_type = edit_get_search_line_type (edit->search);
edit             1035 src/editor/editcmd.c         edit_search_fix_search_start_if_selection (edit);
edit             1036 src/editor/editcmd.c         edit_do_search (edit);
edit             1044 src/editor/editcmd.c edit_get_block (WEdit * edit, off_t start, off_t finish, off_t * l)
edit             1049 src/editor/editcmd.c     if (edit->column_highlight)
edit             1058 src/editor/editcmd.c             x = edit_move_forward3 (edit, edit_buffer_get_bol (&edit->buffer, start), 0, start);
edit             1059 src/editor/editcmd.c             c = edit_buffer_get_byte (&edit->buffer, start);
edit             1060 src/editor/editcmd.c             if ((x >= edit->column1 && x < edit->column2)
edit             1061 src/editor/editcmd.c                 || (x >= edit->column2 && x < edit->column1) || c == '\n')
edit             1073 src/editor/editcmd.c             *s++ = edit_buffer_get_byte (&edit->buffer, start++);
edit             1083 src/editor/editcmd.c edit_save_block_to_clip_file (WEdit * edit, off_t start, off_t finish)
edit             1089 src/editor/editcmd.c     ret = edit_save_block (edit, tmp, start, finish);
edit             1183 src/editor/editcmd.c     WEdit *edit = esm->edit;
edit             1188 src/editor/editcmd.c     if (!mc_search_run (srch, (void *) esm, word_start, edit->buffer.size, &len))
edit             1197 src/editor/editcmd.c         chr = edit_buffer_get_byte (&edit->buffer, word_start + i);
edit             1209 src/editor/editcmd.c edit_collect_completions (WEdit * edit, off_t word_start, gsize word_len,
edit             1235 src/editor/editcmd.c     last_byte = entire_file ? edit->buffer.size : word_start;
edit             1243 src/editor/editcmd.c     esm.edit = edit;
edit             1262 src/editor/editcmd.c             skip = edit_buffer_get_byte (&edit->buffer, start + i);
edit             1335 src/editor/editcmd.c edit_insert_column_of_text (WEdit * edit, unsigned char *data, off_t size, long width,
edit             1341 src/editor/editcmd.c     cursor = edit->buffer.curs1;
edit             1342 src/editor/editcmd.c     col = edit_get_col (edit);
edit             1347 src/editor/editcmd.c             edit_insert (edit, data[i]);
edit             1353 src/editor/editcmd.c             if (edit_buffer_get_current_byte (&edit->buffer) != '\n')
edit             1355 src/editor/editcmd.c                 for (l = width - (edit_get_col (edit) - col); l > 0; l -= space_width)
edit             1356 src/editor/editcmd.c                     edit_insert (edit, ' ');
edit             1358 src/editor/editcmd.c             for (p = edit->buffer.curs1;; p++)
edit             1360 src/editor/editcmd.c                 if (p == edit->buffer.size)
edit             1362 src/editor/editcmd.c                     edit_cursor_move (edit, edit->buffer.size - edit->buffer.curs1);
edit             1363 src/editor/editcmd.c                     edit_insert_ahead (edit, '\n');
edit             1367 src/editor/editcmd.c                 if (edit_buffer_get_byte (&edit->buffer, p) == '\n')
edit             1373 src/editor/editcmd.c             edit_cursor_move (edit, edit_move_forward3 (edit, p, col, 0) - edit->buffer.curs1);
edit             1375 src/editor/editcmd.c             for (l = col - edit_get_col (edit); l >= space_width; l -= space_width)
edit             1376 src/editor/editcmd.c                 edit_insert (edit, ' ');
edit             1383 src/editor/editcmd.c     *end_pos = edit->buffer.curs1;
edit             1384 src/editor/editcmd.c     edit_cursor_move (edit, cursor - edit->buffer.curs1);
edit             1410 src/editor/editcmd.c edit_get_macro (WEdit * edit, int hotkey, const macros_t ** macros, guint * indx)
edit             1416 src/editor/editcmd.c     (void) edit;
edit             1436 src/editor/editcmd.c edit_delete_macro (WEdit * edit, int hotkey)
edit             1446 src/editor/editcmd.c     while (edit_get_macro (edit, hotkey, &macros, &indx))
edit             1487 src/editor/editcmd.c         WEdit *edit = (WEdit *) data;
edit             1490 src/editor/editcmd.c             edit_load_syntax (edit, NULL, edit->syntax_type);
edit             1491 src/editor/editcmd.c         edit->force |= REDRAW_PAGE;
edit             1523 src/editor/editcmd.c edit_complete_word_insert_recoded_completion (WEdit * edit, char *completion, gsize word_len)
edit             1531 src/editor/editcmd.c         edit_insert (edit, *completion);
edit             1535 src/editor/editcmd.c         edit_insert (edit, *completion);
edit             1664 src/editor/editcmd.c edit_set_filename (WEdit * edit, const vfs_path_t * name_vpath)
edit             1666 src/editor/editcmd.c     vfs_path_free (edit->filename_vpath);
edit             1667 src/editor/editcmd.c     edit->filename_vpath = vfs_path_clone (name_vpath);
edit             1669 src/editor/editcmd.c     if (edit->dir_vpath == NULL)
edit             1670 src/editor/editcmd.c         edit->dir_vpath = vfs_path_clone (vfs_get_raw_current_dir ());
edit             1678 src/editor/editcmd.c edit_save_as_cmd (WEdit * edit)
edit             1685 src/editor/editcmd.c     if (!edit_check_newline (&edit->buffer))
edit             1688 src/editor/editcmd.c     exp_vpath = edit_get_save_file_as (edit);
edit             1689 src/editor/editcmd.c     edit_push_undo_action (edit, KEY_PRESS + edit->start_display);
edit             1699 src/editor/editcmd.c             if (!vfs_path_equal (edit->filename_vpath, exp_vpath))
edit             1727 src/editor/editcmd.c                     edit->stat1.st_mode |= S_IWUSR;
edit             1734 src/editor/editcmd.c                 if (!edit->locked && !edit->delete_file)
edit             1744 src/editor/editcmd.c                 edit->stat1.st_mode |= S_IWRITE;
edit             1747 src/editor/editcmd.c             rv = edit_save_file (edit, exp_vpath);
edit             1756 src/editor/editcmd.c                     if (edit->locked)
edit             1757 src/editor/editcmd.c                         edit->locked = unlock_file (edit->filename_vpath);
edit             1761 src/editor/editcmd.c                     if (edit->locked || save_lock)
edit             1762 src/editor/editcmd.c                         edit->locked = unlock_file (edit->filename_vpath);
edit             1765 src/editor/editcmd.c                 edit_set_filename (edit, exp_vpath);
edit             1766 src/editor/editcmd.c                 if (edit->lb != LB_ASIS)
edit             1767 src/editor/editcmd.c                     edit_reload (edit, exp_vpath);
edit             1768 src/editor/editcmd.c                 edit->modified = 0;
edit             1769 src/editor/editcmd.c                 edit->delete_file = 0;
edit             1771 src/editor/editcmd.c                     edit_load_syntax (edit, NULL, edit->syntax_type);
edit             1773 src/editor/editcmd.c                 edit->force |= REDRAW_COMPLETELY;
edit             1789 src/editor/editcmd.c     edit->force |= REDRAW_COMPLETELY;
edit             1797 src/editor/editcmd.c edit_delete_macro_cmd (WEdit * edit)
edit             1803 src/editor/editcmd.c     if (hotkey != 0 && !edit_delete_macro (edit, hotkey))
edit             1811 src/editor/editcmd.c edit_execute_macro (WEdit * edit, int hotkey)
edit             1820 src/editor/editcmd.c         if (edit_get_macro (edit, hotkey, &macros, &indx) &&
edit             1825 src/editor/editcmd.c             edit->force |= REDRAW_PAGE;
edit             1832 src/editor/editcmd.c                 edit_execute_cmd (edit, m_act->action, m_act->ch);
edit             1845 src/editor/editcmd.c edit_store_macro_cmd (WEdit * edit)
edit             1870 src/editor/editcmd.c     edit_delete_macro (edit, hotkey);
edit             1879 src/editor/editcmd.c     edit_push_undo_action (edit, KEY_PRESS + edit->start_display);
edit             1926 src/editor/editcmd.c edit_repeat_macro_cmd (WEdit * edit)
edit             1951 src/editor/editcmd.c     edit_push_undo_action (edit, KEY_PRESS + edit->start_display);
edit             1952 src/editor/editcmd.c     edit->force |= REDRAW_PAGE;
edit             1956 src/editor/editcmd.c             edit_execute_cmd (edit, record_macro_buf[i].action, record_macro_buf[i].ch);
edit             1957 src/editor/editcmd.c     edit_update_screen (edit);
edit             1965 src/editor/editcmd.c edit_load_macro_cmd (WEdit * edit)
edit             1973 src/editor/editcmd.c     (void) edit;
edit             2055 src/editor/editcmd.c edit_save_confirm_cmd (WEdit * edit)
edit             2057 src/editor/editcmd.c     if (edit->filename_vpath == NULL)
edit             2058 src/editor/editcmd.c         return edit_save_as_cmd (edit);
edit             2060 src/editor/editcmd.c     if (!edit_check_newline (&edit->buffer))
edit             2069 src/editor/editcmd.c                              vfs_path_as_str (edit->filename_vpath));
edit             2075 src/editor/editcmd.c     return edit_save_cmd (edit);
edit             2257 src/editor/editcmd.c edit_close_cmd (WEdit * edit)
edit             2261 src/editor/editcmd.c     ret = (edit != NULL) && edit_ok_to_exit (edit);
edit             2265 src/editor/editcmd.c         WDialog *h = WIDGET (edit)->owner;
edit             2267 src/editor/editcmd.c         if (edit->locked != 0)
edit             2268 src/editor/editcmd.c             unlock_file (edit->filename_vpath);
edit             2270 src/editor/editcmd.c         del_widget (edit);
edit             2273 src/editor/editcmd.c             edit = (WEdit *) h->current->data;
edit             2276 src/editor/editcmd.c             edit = find_editor (h);
edit             2277 src/editor/editcmd.c             if (edit != NULL)
edit             2278 src/editor/editcmd.c                 widget_select (WIDGET (edit));
edit             2282 src/editor/editcmd.c     if (edit != NULL)
edit             2283 src/editor/editcmd.c         edit->force |= REDRAW_COMPLETELY;
edit             2296 src/editor/editcmd.c eval_marks (WEdit * edit, off_t * start_mark, off_t * end_mark)
edit             2300 src/editor/editcmd.c     if (edit->mark1 == edit->mark2)
edit             2303 src/editor/editcmd.c         edit->column2 = edit->column1 = 0;
edit             2307 src/editor/editcmd.c     if (edit->end_mark_curs < 0)
edit             2308 src/editor/editcmd.c         end_mark_curs = edit->buffer.curs1;
edit             2310 src/editor/editcmd.c         end_mark_curs = edit->end_mark_curs;
edit             2312 src/editor/editcmd.c     if (edit->mark2 >= 0)
edit             2314 src/editor/editcmd.c         *start_mark = MIN (edit->mark1, edit->mark2);
edit             2315 src/editor/editcmd.c         *end_mark = MAX (edit->mark1, edit->mark2);
edit             2319 src/editor/editcmd.c         *start_mark = MIN (edit->mark1, end_mark_curs);
edit             2320 src/editor/editcmd.c         *end_mark = MAX (edit->mark1, end_mark_curs);
edit             2321 src/editor/editcmd.c         edit->column2 = edit->curs_col + edit->over_col;
edit             2324 src/editor/editcmd.c     if (edit->column_highlight
edit             2325 src/editor/editcmd.c         && ((edit->mark1 > end_mark_curs && edit->column1 < edit->column2)
edit             2326 src/editor/editcmd.c             || (edit->mark1 < end_mark_curs && edit->column1 > edit->column2)))
edit             2333 src/editor/editcmd.c         start_bol = edit_buffer_get_bol (&edit->buffer, *start_mark);
edit             2334 src/editor/editcmd.c         start_eol = edit_buffer_get_eol (&edit->buffer, start_bol - 1) + 1;
edit             2335 src/editor/editcmd.c         end_bol = edit_buffer_get_bol (&edit->buffer, *end_mark);
edit             2336 src/editor/editcmd.c         end_eol = edit_buffer_get_eol (&edit->buffer, *end_mark);
edit             2337 src/editor/editcmd.c         col1 = MIN (edit->column1, edit->column2);
edit             2338 src/editor/editcmd.c         col2 = MAX (edit->column1, edit->column2);
edit             2340 src/editor/editcmd.c         diff1 = edit_move_forward3 (edit, start_bol, col2, 0) -
edit             2341 src/editor/editcmd.c             edit_move_forward3 (edit, start_bol, col1, 0);
edit             2342 src/editor/editcmd.c         diff2 = edit_move_forward3 (edit, end_bol, col2, 0) -
edit             2343 src/editor/editcmd.c             edit_move_forward3 (edit, end_bol, col1, 0);
edit             2356 src/editor/editcmd.c edit_block_copy_cmd (WEdit * edit)
edit             2358 src/editor/editcmd.c     off_t start_mark, end_mark, current = edit->buffer.curs1;
edit             2364 src/editor/editcmd.c     edit_update_curs_col (edit);
edit             2365 src/editor/editcmd.c     if (!eval_marks (edit, &start_mark, &end_mark))
edit             2368 src/editor/editcmd.c     copy_buf = edit_get_block (edit, start_mark, end_mark, &size);
edit             2372 src/editor/editcmd.c     edit_push_markers (edit);
edit             2374 src/editor/editcmd.c     if (edit->column_highlight)
edit             2378 src/editor/editcmd.c         col_delta = labs (edit->column2 - edit->column1);
edit             2379 src/editor/editcmd.c         edit_insert_column_of_text (edit, copy_buf, size, col_delta, &mark1, &mark2, &c1, &c2);
edit             2386 src/editor/editcmd.c             edit_insert_ahead (edit, copy_buf[size]);
edit             2390 src/editor/editcmd.c             edit_cursor_move (edit, size_orig);
edit             2394 src/editor/editcmd.c     edit_scroll_screen_over_cursor (edit);
edit             2396 src/editor/editcmd.c     if (edit->column_highlight)
edit             2397 src/editor/editcmd.c         edit_set_markers (edit, edit->buffer.curs1, mark2, c1, c2);
edit             2399 src/editor/editcmd.c         edit_set_markers (edit, start_mark, end_mark + end_mark - start_mark, 0, 0);
edit             2401 src/editor/editcmd.c     edit->force |= REDRAW_PAGE;
edit             2408 src/editor/editcmd.c edit_block_move_cmd (WEdit * edit)
edit             2414 src/editor/editcmd.c     if (!eval_marks (edit, &start_mark, &end_mark))
edit             2417 src/editor/editcmd.c     if (!edit->column_highlight && edit->buffer.curs1 > start_mark && edit->buffer.curs1 < end_mark)
edit             2420 src/editor/editcmd.c     if (edit->mark2 < 0)
edit             2421 src/editor/editcmd.c         edit_mark_cmd (edit, FALSE);
edit             2422 src/editor/editcmd.c     edit_push_markers (edit);
edit             2424 src/editor/editcmd.c     if (edit->column_highlight)
edit             2431 src/editor/editcmd.c         c1 = MIN (edit->column1, edit->column2);
edit             2432 src/editor/editcmd.c         c2 = MAX (edit->column1, edit->column2);
edit             2435 src/editor/editcmd.c         edit_update_curs_col (edit);
edit             2437 src/editor/editcmd.c         x = edit->curs_col;
edit             2438 src/editor/editcmd.c         x2 = x + edit->over_col;
edit             2441 src/editor/editcmd.c         if ((edit_buffer_get_eol (&edit->buffer, edit->buffer.curs1) ==
edit             2442 src/editor/editcmd.c              edit_buffer_get_eol (&edit->buffer, start_mark)) && x2 > c1 && x2 <= c2)
edit             2445 src/editor/editcmd.c         if (edit->buffer.curs1 > start_mark
edit             2446 src/editor/editcmd.c             && edit->buffer.curs1 < edit_buffer_get_eol (&edit->buffer, end_mark))
edit             2454 src/editor/editcmd.c         copy_buf = edit_get_block (edit, start_mark, end_mark, &size);
edit             2457 src/editor/editcmd.c         edit_block_delete_cmd (edit);
edit             2459 src/editor/editcmd.c         edit->over_col = MAX (0, edit->over_col - b_width);
edit             2461 src/editor/editcmd.c         current = edit_move_forward3 (edit, edit_buffer_get_current_bol (&edit->buffer), x, 0);
edit             2462 src/editor/editcmd.c         edit_cursor_move (edit, current - edit->buffer.curs1);
edit             2463 src/editor/editcmd.c         edit_scroll_screen_over_cursor (edit);
edit             2466 src/editor/editcmd.c         if (option_cursor_beyond_eol && edit->over_col > 0)
edit             2467 src/editor/editcmd.c             edit_insert_over (edit);
edit             2469 src/editor/editcmd.c         edit_insert_column_of_text (edit, copy_buf, size, b_width, &mark1, &mark2, &c1, &c2);
edit             2470 src/editor/editcmd.c         edit_set_markers (edit, mark1, mark2, c1, c2);
edit             2476 src/editor/editcmd.c         current = edit->buffer.curs1;
edit             2478 src/editor/editcmd.c         edit_cursor_move (edit, start_mark - edit->buffer.curs1);
edit             2479 src/editor/editcmd.c         edit_scroll_screen_over_cursor (edit);
edit             2482 src/editor/editcmd.c             copy_buf[end_mark - count - 1] = edit_delete (edit, TRUE);
edit             2484 src/editor/editcmd.c         edit_scroll_screen_over_cursor (edit);
edit             2485 src/editor/editcmd.c         edit_cursor_move (edit,
edit             2486 src/editor/editcmd.c                           current - edit->buffer.curs1 -
edit             2487 src/editor/editcmd.c                           (((current - edit->buffer.curs1) > 0) ? end_mark - start_mark : 0));
edit             2488 src/editor/editcmd.c         edit_scroll_screen_over_cursor (edit);
edit             2491 src/editor/editcmd.c             edit_insert_ahead (edit, copy_buf[end_mark - count - 1]);
edit             2493 src/editor/editcmd.c         edit_set_markers (edit, edit->buffer.curs1, edit->buffer.curs1 + end_mark - start_mark, 0,
edit             2498 src/editor/editcmd.c             edit_cursor_move (edit, count_orig - start_mark);
edit             2501 src/editor/editcmd.c     edit_scroll_screen_over_cursor (edit);
edit             2503 src/editor/editcmd.c     edit->force |= REDRAW_PAGE;
edit             2510 src/editor/editcmd.c edit_block_delete_cmd (WEdit * edit)
edit             2514 src/editor/editcmd.c     if (eval_marks (edit, &start_mark, &end_mark))
edit             2515 src/editor/editcmd.c         return edit_block_delete (edit);
edit             2517 src/editor/editcmd.c     edit_delete_line (edit);
edit             2525 src/editor/editcmd.c edit_replace_cmd (WEdit * edit, gboolean again)
edit             2539 src/editor/editcmd.c     if (edit == NULL)
edit             2546 src/editor/editcmd.c     edit->force |= REDRAW_COMPLETELY;
edit             2563 src/editor/editcmd.c         edit_push_undo_action (edit, KEY_PRESS + edit->start_display);
edit             2565 src/editor/editcmd.c         editcmd_dialog_replace_show (edit, disp1, disp2, &input1, &input2);
edit             2572 src/editor/editcmd.c             edit->force = REDRAW_COMPLETELY;
edit             2588 src/editor/editcmd.c         mc_search_free (edit->search);
edit             2589 src/editor/editcmd.c         edit->search = NULL;
edit             2594 src/editor/editcmd.c     if (edit->search == NULL)
edit             2597 src/editor/editcmd.c         edit->search = mc_search_new (input1, cp_source);
edit             2599 src/editor/editcmd.c         edit->search = mc_search_new (input1, NULL);
edit             2601 src/editor/editcmd.c         if (edit->search == NULL)
edit             2603 src/editor/editcmd.c             edit->search_start = edit->buffer.curs1;
edit             2606 src/editor/editcmd.c         edit->search->search_type = edit_search_options.type;
edit             2608 src/editor/editcmd.c         edit->search->is_all_charsets = edit_search_options.all_codepages;
edit             2610 src/editor/editcmd.c         edit->search->is_case_sensitive = edit_search_options.case_sens;
edit             2611 src/editor/editcmd.c         edit->search->whole_words = edit_search_options.whole_words;
edit             2612 src/editor/editcmd.c         edit->search->search_fn = edit_search_cmd_callback;
edit             2613 src/editor/editcmd.c         edit->search->update_fn = edit_search_update_callback;
edit             2614 src/editor/editcmd.c         edit->search_line_type = edit_get_search_line_type (edit->search);
edit             2615 src/editor/editcmd.c         edit_search_fix_search_start_if_selection (edit);
edit             2618 src/editor/editcmd.c     if (edit->found_len && edit->search_start == edit->found_start + 1
edit             2620 src/editor/editcmd.c         edit->search_start--;
edit             2622 src/editor/editcmd.c     if (edit->found_len && edit->search_start == edit->found_start - 1
edit             2624 src/editor/editcmd.c         edit->search_start++;
edit             2627 src/editor/editcmd.c     esm.edit = edit;
edit             2628 src/editor/editcmd.c     esm.offset = edit->search_start;
edit             2639 src/editor/editcmd.c             if (!(edit->search->error == MC_SEARCH_E_OK ||
edit             2640 src/editor/editcmd.c                   (once_found && edit->search->error == MC_SEARCH_E_NOTFOUND)))
edit             2641 src/editor/editcmd.c                 edit_show_search_error (edit, _("Search"));
edit             2647 src/editor/editcmd.c         edit->search_start = edit->search->normal_offset;
edit             2650 src/editor/editcmd.c         if ((edit->search_start >= 0) && (edit->search_start < edit->buffer.size))
edit             2655 src/editor/editcmd.c             edit->found_start = edit->search_start;
edit             2656 src/editor/editcmd.c             i = edit->found_len = len;
edit             2658 src/editor/editcmd.c             edit_cursor_move (edit, edit->search_start - edit->buffer.curs1);
edit             2659 src/editor/editcmd.c             edit_scroll_screen_over_cursor (edit);
edit             2661 src/editor/editcmd.c             if (edit->replace_mode == 0)
edit             2666 src/editor/editcmd.c                 l = edit->curs_row - WIDGET (edit)->lines / 3;
edit             2668 src/editor/editcmd.c                     edit_scroll_downward (edit, l);
edit             2670 src/editor/editcmd.c                     edit_scroll_upward (edit, -l);
edit             2672 src/editor/editcmd.c                 edit_scroll_screen_over_cursor (edit);
edit             2673 src/editor/editcmd.c                 edit->force |= REDRAW_PAGE;
edit             2674 src/editor/editcmd.c                 edit_render_keypress (edit);
edit             2677 src/editor/editcmd.c                 edit_push_key_press (edit);
edit             2681 src/editor/editcmd.c                 prompt = editcmd_dialog_replace_prompt_show (edit, disp1, disp2, -1, -1);
edit             2686 src/editor/editcmd.c                     edit->replace_mode = 1;
edit             2690 src/editor/editcmd.c                         edit->search_start--;
edit             2692 src/editor/editcmd.c                         edit->search_start++;
edit             2697 src/editor/editcmd.c                     edit->replace_mode = -1;
edit             2702 src/editor/editcmd.c             repl_str = mc_search_prepare_replace_str (edit->search, input2_str);
edit             2704 src/editor/editcmd.c             if (edit->search->error != MC_SEARCH_E_OK)
edit             2706 src/editor/editcmd.c                 edit_show_search_error (edit, _("Replace"));
edit             2713 src/editor/editcmd.c                 edit_delete (edit, TRUE);
edit             2716 src/editor/editcmd.c                 edit_insert (edit, repl_str->str[i]);
edit             2718 src/editor/editcmd.c             edit->found_len = repl_str->len;
edit             2725 src/editor/editcmd.c                 edit->search_start--;
edit             2729 src/editor/editcmd.c                 edit->search_start += edit->found_len + (len == 0 ? 1 : 0);
edit             2731 src/editor/editcmd.c                 if (edit->search_start >= edit->buffer.size)
edit             2735 src/editor/editcmd.c             edit_scroll_screen_over_cursor (edit);
edit             2740 src/editor/editcmd.c             edit->search_start = edit->buffer.curs1;
edit             2741 src/editor/editcmd.c             edit_update_curs_col (edit);
edit             2743 src/editor/editcmd.c             edit->force |= REDRAW_PAGE;
edit             2744 src/editor/editcmd.c             edit_render_keypress (edit);
edit             2751 src/editor/editcmd.c     while (edit->replace_mode >= 0);
edit             2754 src/editor/editcmd.c     edit_scroll_screen_over_cursor (edit);
edit             2755 src/editor/editcmd.c     edit->force |= REDRAW_COMPLETELY;
edit             2756 src/editor/editcmd.c     edit_render_keypress (edit);
edit             2758 src/editor/editcmd.c     if ((edit->replace_mode == 1) && (times_replaced != 0))
edit             2773 src/editor/editcmd.c     WEdit *edit = ((const edit_search_status_msg_t *) user_data)->edit;
edit             2775 src/editor/editcmd.c     *current_char = edit_buffer_get_byte (&edit->buffer, (off_t) char_offset);
edit             2794 src/editor/editcmd.c edit_search_cmd (WEdit * edit, gboolean again)
edit             2797 src/editor/editcmd.c     if (edit == NULL)
edit             2801 src/editor/editcmd.c         edit_search (edit);
edit             2802 src/editor/editcmd.c     else if (edit->last_search_string != NULL)
edit             2803 src/editor/editcmd.c         edit_do_search (edit);
edit             2812 src/editor/editcmd.c             edit->last_search_string = (char *) history->data;
edit             2818 src/editor/editcmd.c             edit->search = mc_search_new (edit->last_search_string, cp_source);
edit             2820 src/editor/editcmd.c             edit->search = mc_search_new (edit->last_search_string, NULL);
edit             2822 src/editor/editcmd.c             if (edit->search == NULL)
edit             2825 src/editor/editcmd.c                 MC_PTR_FREE (edit->last_search_string);
edit             2826 src/editor/editcmd.c                 edit_search (edit);
edit             2830 src/editor/editcmd.c                 edit->search->search_type = edit_search_options.type;
edit             2832 src/editor/editcmd.c                 edit->search->is_all_charsets = edit_search_options.all_codepages;
edit             2834 src/editor/editcmd.c                 edit->search->is_case_sensitive = edit_search_options.case_sens;
edit             2835 src/editor/editcmd.c                 edit->search->whole_words = edit_search_options.whole_words;
edit             2836 src/editor/editcmd.c                 edit->search->search_fn = edit_search_cmd_callback;
edit             2837 src/editor/editcmd.c                 edit->search->update_fn = edit_search_update_callback;
edit             2838 src/editor/editcmd.c                 edit->search_line_type = edit_get_search_line_type (edit->search);
edit             2839 src/editor/editcmd.c                 edit_do_search (edit);
edit             2845 src/editor/editcmd.c             MC_PTR_FREE (edit->last_search_string);
edit             2846 src/editor/editcmd.c             edit_search (edit);
edit             2860 src/editor/editcmd.c edit_ok_to_exit (WEdit * edit)
edit             2866 src/editor/editcmd.c     if (!edit->modified)
edit             2869 src/editor/editcmd.c     if (edit->filename_vpath != NULL)
edit             2870 src/editor/editcmd.c         fname = vfs_path_as_str (edit->filename_vpath);
edit             2899 src/editor/editcmd.c         if (!mc_global.midnight_shutdown && !edit_check_newline (&edit->buffer))
edit             2901 src/editor/editcmd.c         edit_push_markers (edit);
edit             2902 src/editor/editcmd.c         edit_set_markers (edit, 0, 0, 0, 0);
edit             2903 src/editor/editcmd.c         if (!edit_save_cmd (edit) || mc_global.midnight_shutdown)
edit             2921 src/editor/editcmd.c edit_save_block (WEdit * edit, const char *filename, off_t start, off_t finish)
edit             2934 src/editor/editcmd.c     if (edit->column_highlight)
edit             2943 src/editor/editcmd.c             p = block = edit_get_block (edit, start, finish, &len);
edit             2967 src/editor/editcmd.c                 buf[i - start] = edit_buffer_get_byte (&edit->buffer, i);
edit             2981 src/editor/editcmd.c edit_paste_from_history (WEdit * edit)
edit             2983 src/editor/editcmd.c     (void) edit;
edit             2990 src/editor/editcmd.c edit_copy_to_X_buf_cmd (WEdit * edit)
edit             2994 src/editor/editcmd.c     if (!eval_marks (edit, &start_mark, &end_mark))
edit             2997 src/editor/editcmd.c     if (!edit_save_block_to_clip_file (edit, start_mark, end_mark))
edit             3006 src/editor/editcmd.c         edit_mark_cmd (edit, TRUE);
edit             3014 src/editor/editcmd.c edit_cut_to_X_buf_cmd (WEdit * edit)
edit             3018 src/editor/editcmd.c     if (!eval_marks (edit, &start_mark, &end_mark))
edit             3021 src/editor/editcmd.c     if (!edit_save_block_to_clip_file (edit, start_mark, end_mark))
edit             3029 src/editor/editcmd.c     edit_block_delete_cmd (edit);
edit             3030 src/editor/editcmd.c     edit_mark_cmd (edit, TRUE);
edit             3038 src/editor/editcmd.c edit_paste_from_X_buf_cmd (WEdit * edit)
edit             3046 src/editor/editcmd.c     ret = (edit_insert_file (edit, tmp) >= 0);
edit             3059 src/editor/editcmd.c edit_goto_cmd (WEdit * edit)
edit             3083 src/editor/editcmd.c         l = edit->buffer.lines + l + 2;
edit             3084 src/editor/editcmd.c     edit_move_display (edit, l - WIDGET (edit)->lines / 2 - 1);
edit             3085 src/editor/editcmd.c     edit_move_to_line (edit, l - 1);
edit             3086 src/editor/editcmd.c     edit->force |= REDRAW_COMPLETELY;
edit             3097 src/editor/editcmd.c edit_save_block_cmd (WEdit * edit)
edit             3103 src/editor/editcmd.c     if (!eval_marks (edit, &start_mark, &end_mark))
edit             3111 src/editor/editcmd.c     edit_push_undo_action (edit, KEY_PRESS + edit->start_display);
edit             3115 src/editor/editcmd.c         if (edit_save_block (edit, exp, start_mark, end_mark))
edit             3120 src/editor/editcmd.c         edit->force |= REDRAW_COMPLETELY;
edit             3133 src/editor/editcmd.c edit_insert_file_cmd (WEdit * edit)
edit             3144 src/editor/editcmd.c     edit_push_undo_action (edit, KEY_PRESS + edit->start_display);
edit             3151 src/editor/editcmd.c         ret = (edit_insert_file (edit, exp_vpath) >= 0);
edit             3160 src/editor/editcmd.c     edit->force |= REDRAW_COMPLETELY;
edit             3168 src/editor/editcmd.c edit_sort_cmd (WEdit * edit)
edit             3174 src/editor/editcmd.c     if (!eval_marks (edit, &start_mark, &end_mark))
edit             3181 src/editor/editcmd.c     edit_save_block (edit, tmp, start_mark, end_mark);
edit             3218 src/editor/editcmd.c     edit->force |= REDRAW_COMPLETELY;
edit             3220 src/editor/editcmd.c     if (edit_block_delete_cmd (edit))
edit             3227 src/editor/editcmd.c         edit_insert_file (edit, tmp_vpath);
edit             3240 src/editor/editcmd.c edit_ext_cmd (WEdit * edit)
edit             3268 src/editor/editcmd.c     edit->force |= REDRAW_COMPLETELY;
edit             3274 src/editor/editcmd.c         edit_insert_file (edit, tmp_vpath);
edit             3286 src/editor/editcmd.c edit_block_process_cmd (WEdit * edit, int macro_number)
edit             3293 src/editor/editcmd.c     user_menu (edit, macros_fname, 0);
edit             3296 src/editor/editcmd.c     edit->force |= REDRAW_COMPLETELY;
edit             3302 src/editor/editcmd.c edit_mail_dialog (WEdit * edit)
edit             3331 src/editor/editcmd.c         pipe_mail (&edit->buffer, mail_to, mail_subject, mail_cc);
edit             3350 src/editor/editcmd.c edit_complete_word_cmd (WEdit * edit)
edit             3358 src/editor/editcmd.c     if (!edit_find_word_start (&edit->buffer, &word_start, &word_len))
edit             3365 src/editor/editcmd.c         g_string_append_c (match_expr, edit_buffer_get_byte (&edit->buffer, word_start + i));
edit             3372 src/editor/editcmd.c         edit_collect_completions (edit, word_start, word_len, match_expr->str, (GString **) & compl,
edit             3379 src/editor/editcmd.c             edit_complete_word_insert_recoded_completion (edit, compl[0]->str, word_len);
edit             3391 src/editor/editcmd.c             curr_compl = editcmd_dialog_completion_show (edit, max_len,
edit             3396 src/editor/editcmd.c                 edit_complete_word_insert_recoded_completion (edit, curr_compl, word_len);
edit             3412 src/editor/editcmd.c edit_select_codepage_cmd (WEdit * edit)
edit             3415 src/editor/editcmd.c         edit_set_codeset (edit);
edit             3417 src/editor/editcmd.c     edit->force = REDRAW_PAGE;
edit             3418 src/editor/editcmd.c     widget_redraw (WIDGET (edit));
edit             3425 src/editor/editcmd.c edit_insert_literal_cmd (WEdit * edit)
edit             3431 src/editor/editcmd.c     edit_execute_key_command (edit, -1, ascii_alpha_to_cntrl (char_for_insertion));
edit             3437 src/editor/editcmd.c edit_begin_end_macro_cmd (WEdit * edit)
edit             3440 src/editor/editcmd.c     if (edit != NULL)
edit             3443 src/editor/editcmd.c         edit_execute_key_command (edit, command, -1);
edit             3450 src/editor/editcmd.c edit_begin_end_repeat_cmd (WEdit * edit)
edit             3453 src/editor/editcmd.c     if (edit != NULL)
edit             3456 src/editor/editcmd.c         edit_execute_key_command (edit, command, -1);
edit             3463 src/editor/editcmd.c edit_load_forward_cmd (WEdit * edit)
edit             3465 src/editor/editcmd.c     if (edit->modified
edit             3471 src/editor/editcmd.c         edit->force |= REDRAW_COMPLETELY;
edit             3483 src/editor/editcmd.c         return edit_reload_line (edit, edit_history_moveto[edit_stack_iterator].filename_vpath,
edit             3492 src/editor/editcmd.c edit_load_back_cmd (WEdit * edit)
edit             3494 src/editor/editcmd.c     if (edit->modified
edit             3500 src/editor/editcmd.c         edit->force |= REDRAW_COMPLETELY;
edit             3510 src/editor/editcmd.c         return edit_reload_line (edit, edit_history_moveto[edit_stack_iterator].filename_vpath,
edit             3519 src/editor/editcmd.c edit_get_match_keyword_cmd (WEdit * edit)
edit             3538 src/editor/editcmd.c     if (!edit_find_word_start (&edit->buffer, &word_start, &word_len))
edit             3544 src/editor/editcmd.c         g_string_append_c (match_expr, edit_buffer_get_byte (&edit->buffer, word_start + i));
edit             3575 src/editor/editcmd.c         editcmd_dialog_select_definition_show (edit, match_expr->str, max_len, word_len,
edit             3585 src/editor/editcmd.c edit_suggest_current_word (WEdit * edit)
edit             3594 src/editor/editcmd.c     match_word = edit_buffer_get_word_from_pos (&edit->buffer, edit->buffer.curs1, &word_start,
edit             3621 src/editor/editcmd.c             edit->found_start = word_start;
edit             3622 src/editor/editcmd.c             edit->found_len = word_len;
edit             3623 src/editor/editcmd.c             edit->force |= REDRAW_PAGE;
edit             3624 src/editor/editcmd.c             edit_scroll_screen_over_cursor (edit);
edit             3625 src/editor/editcmd.c             edit_render_keypress (edit);
edit             3627 src/editor/editcmd.c             retval = spell_dialog_spell_suggest_show (edit, match_word->str, &new_word, suggest);
edit             3628 src/editor/editcmd.c             edit_cursor_move (edit, word_len - cut_len);
edit             3647 src/editor/editcmd.c                     edit_backspace (edit, TRUE);
edit             3649 src/editor/editcmd.c                     edit_insert (edit, *new_word);
edit             3665 src/editor/editcmd.c         edit->found_start = 0;
edit             3666 src/editor/editcmd.c         edit->found_len = 0;
edit             3675 src/editor/editcmd.c edit_spellcheck_file (WEdit * edit)
edit             3677 src/editor/editcmd.c     if (edit->buffer.curs_line > 0)
edit             3679 src/editor/editcmd.c         edit_cursor_move (edit, -edit->buffer.curs1);
edit             3680 src/editor/editcmd.c         edit_move_to_prev_col (edit, 0);
edit             3681 src/editor/editcmd.c         edit_update_curs_row (edit);
edit             3688 src/editor/editcmd.c         c2 = edit_buffer_get_current_byte (&edit->buffer);
edit             3692 src/editor/editcmd.c             if (edit->buffer.curs1 >= edit->buffer.size)
edit             3696 src/editor/editcmd.c             edit_cursor_move (edit, 1);
edit             3697 src/editor/editcmd.c             c2 = edit_buffer_get_current_byte (&edit->buffer);
edit             3701 src/editor/editcmd.c     while (edit_suggest_current_word (edit) != B_CANCEL);
edit               92 src/editor/editcmd_dialogs.c editcmd_dialog_search_show (WEdit * edit)
edit              158 src/editor/editcmd_dialogs.c     g_free (edit->last_search_string);
edit              159 src/editor/editcmd_dialogs.c     edit->last_search_string = search_text;
edit              160 src/editor/editcmd_dialogs.c     mc_search_free (edit->search);
edit              163 src/editor/editcmd_dialogs.c     edit->search = mc_search_new (edit->last_search_string, cp_source);
edit              165 src/editor/editcmd_dialogs.c     edit->search = mc_search_new (edit->last_search_string, NULL);
edit              167 src/editor/editcmd_dialogs.c     if (edit->search != NULL)
edit              169 src/editor/editcmd_dialogs.c         edit->search->search_type = edit_search_options.type;
edit              171 src/editor/editcmd_dialogs.c         edit->search->is_all_charsets = edit_search_options.all_codepages;
edit              173 src/editor/editcmd_dialogs.c         edit->search->is_case_sensitive = edit_search_options.case_sens;
edit              174 src/editor/editcmd_dialogs.c         edit->search->whole_words = edit_search_options.whole_words;
edit              175 src/editor/editcmd_dialogs.c         edit->search->search_fn = edit_search_cmd_callback;
edit              176 src/editor/editcmd_dialogs.c         edit->search->update_fn = edit_search_update_callback;
edit              179 src/editor/editcmd_dialogs.c     return (edit->search != NULL);
edit              185 src/editor/editcmd_dialogs.c editcmd_dialog_replace_show (WEdit * edit, const char *search_default, const char *replace_default,
edit              229 src/editor/editcmd_dialogs.c             edit->replace_mode = 0;
edit              243 src/editor/editcmd_dialogs.c editcmd_dialog_replace_prompt_show (WEdit * edit, char *from_text, char *to_text, int xpos,
edit              246 src/editor/editcmd_dialogs.c     Widget *w = WIDGET (edit);
edit              261 src/editor/editcmd_dialogs.c     if ((edit->curs_row >= ypos - 1) && (edit->curs_row <= ypos + dlg_height - 1))
edit              345 src/editor/editcmd_dialogs.c editcmd_dialog_completion_show (const WEdit * edit, int max_len, GString ** compl, int num_compl)
edit              347 src/editor/editcmd_dialogs.c     const Widget *we = CONST_WIDGET (edit);
edit              358 src/editor/editcmd_dialogs.c     start_x = we->x + edit->curs_col + edit->start_col + EDIT_TEXT_HORIZONTAL_OFFSET +
edit              359 src/editor/editcmd_dialogs.c         (edit->fullscreen ? 0 : 1) + option_line_state_width;
edit              360 src/editor/editcmd_dialogs.c     start_y = we->y + edit->curs_row + EDIT_TEXT_VERTICAL_OFFSET + (edit->fullscreen ? 0 : 1) + 1;
edit              411 src/editor/editcmd_dialogs.c editcmd_dialog_select_definition_show (WEdit * edit, char *match_expr, int max_len, int word_len,
edit              425 src/editor/editcmd_dialogs.c     start_x = edit->curs_col + edit->start_col - (def_dlg_w / 2) +
edit              426 src/editor/editcmd_dialogs.c         EDIT_TEXT_HORIZONTAL_OFFSET + (edit->fullscreen ? 0 : 1) + option_line_state_width;
edit              427 src/editor/editcmd_dialogs.c     start_y = edit->curs_row + EDIT_TEXT_VERTICAL_OFFSET + (edit->fullscreen ? 0 : 1) + 1;
edit              468 src/editor/editcmd_dialogs.c         if (!edit->modified)
edit              475 src/editor/editcmd_dialogs.c             edit->force |= REDRAW_COMPLETELY;
edit              483 src/editor/editcmd_dialogs.c             if (edit->dir_vpath != NULL)
edit              485 src/editor/editcmd_dialogs.c                     vfs_path_append_vpath_new (edit->dir_vpath, edit->filename_vpath, NULL);
edit              488 src/editor/editcmd_dialogs.c                     vfs_path_clone (edit->filename_vpath);
edit              490 src/editor/editcmd_dialogs.c             edit_history_moveto[edit_stack_iterator].line = edit->start_line + edit->curs_row + 1;
edit              496 src/editor/editcmd_dialogs.c             edit_reload_line (edit, edit_history_moveto[edit_stack_iterator].filename_vpath,
edit               24 src/editor/editcmd_dialogs.h gboolean editcmd_dialog_search_show (WEdit * edit);
edit               28 src/editor/editcmd_dialogs.h char *editcmd_dialog_completion_show (const WEdit * edit, int max_len, GString ** compl,
edit               80 src/editor/editdraw.c #define edit_move(x,y) widget_move(edit, y, x);
edit              108 src/editor/editdraw.c status_string (WEdit * edit, char *s, int w)
edit              117 src/editor/editdraw.c     if (edit->buffer.curs1 < edit->buffer.size)
edit              120 src/editor/editdraw.c         if (edit->utf8)
edit              125 src/editor/editdraw.c             cur_utf = edit_buffer_get_utf (&edit->buffer, edit->buffer.curs1, &char_length);
edit              133 src/editor/editdraw.c                 cur_utf = edit_buffer_get_current_byte (&edit->buffer);
edit              143 src/editor/editdraw.c             cur_byte = edit_buffer_get_current_byte (&edit->buffer);
edit              157 src/editor/editdraw.c                     edit->mark1 != edit->mark2 ? (edit->column_highlight ? 'C' : 'B') : '-',
edit              158 src/editor/editdraw.c                     edit->modified ? 'M' : '-',
edit              160 src/editor/editdraw.c                     edit->overwrite == 0 ? '-' : 'O',
edit              161 src/editor/editdraw.c                     edit->curs_col + edit->over_col,
edit              162 src/editor/editdraw.c                     edit->buffer.curs_line + 1,
edit              163 src/editor/editdraw.c                     edit->buffer.lines + 1, (long) edit->buffer.curs1, (long) edit->buffer.size,
edit              172 src/editor/editdraw.c                     edit->mark1 != edit->mark2 ? (edit->column_highlight ? 'C' : 'B') : '-',
edit              173 src/editor/editdraw.c                     edit->modified ? 'M' : '-',
edit              175 src/editor/editdraw.c                     edit->overwrite == 0 ? '-' : 'O',
edit              176 src/editor/editdraw.c                     edit->curs_col + edit->over_col,
edit              177 src/editor/editdraw.c                     edit->start_line + 1,
edit              178 src/editor/editdraw.c                     edit->curs_row,
edit              179 src/editor/editdraw.c                     edit->buffer.curs_line + 1,
edit              180 src/editor/editdraw.c                     edit->buffer.lines + 1, (long) edit->buffer.curs1, (long) edit->buffer.size,
edit              197 src/editor/editdraw.c edit_status_fullscreen (WEdit * edit, int color)
edit              199 src/editor/editdraw.c     Widget *h = WIDGET (WIDGET (edit)->owner);
edit              210 src/editor/editdraw.c     status_string (edit, status, status_size);
edit              213 src/editor/editdraw.c     if (edit->filename_vpath != NULL)
edit              215 src/editor/editdraw.c         fname = vfs_path_get_last_path_str (edit->filename_vpath);
edit              243 src/editor/editdraw.c         percent = edit_buffer_calc_percent (&edit->buffer, edit->buffer.curs1);
edit              259 src/editor/editdraw.c edit_status_window (WEdit * edit)
edit              261 src/editor/editdraw.c     Widget *w = WIDGET (edit);
edit              271 src/editor/editdraw.c         if (edit->filename_vpath != NULL)
edit              273 src/editor/editdraw.c             fname = vfs_path_get_last_path_str (edit->filename_vpath);
edit              294 src/editor/editdraw.c                     edit->mark1 != edit->mark2 ? (edit->column_highlight ? 'C' : 'B') : '-',
edit              295 src/editor/editdraw.c                     edit->modified ? 'M' : '-',
edit              296 src/editor/editdraw.c                     macro_index < 0 ? '-' : 'R', edit->overwrite == 0 ? '-' : 'O');
edit              303 src/editor/editdraw.c                     edit->curs_col + edit->over_col,
edit              304 src/editor/editdraw.c                     edit->buffer.curs_line + 1, edit->buffer.lines + 1, (long) edit->buffer.curs1,
edit              305 src/editor/editdraw.c                     (long) edit->buffer.size);
edit              316 src/editor/editdraw.c         if (edit->buffer.curs1 >= edit->buffer.size)
edit              319 src/editor/editdraw.c         else if (edit->utf8)
edit              324 src/editor/editdraw.c             cur_utf = edit_buffer_get_utf (&edit->buffer, edit->buffer.curs1, &char_length);
edit              326 src/editor/editdraw.c                 cur_utf = edit_buffer_get_current_byte (&edit->buffer);
edit              334 src/editor/editdraw.c             cur_byte = edit_buffer_get_current_byte (&edit->buffer);
edit              350 src/editor/editdraw.c edit_draw_frame (const WEdit * edit, int color, gboolean active)
edit              352 src/editor/editdraw.c     const Widget *w = CONST_WIDGET (edit);
edit              359 src/editor/editdraw.c     if (edit->drag_state == MCEDIT_DRAG_NONE)
edit              376 src/editor/editdraw.c edit_draw_window_icons (const WEdit * edit, int color)
edit              378 src/editor/editdraw.c     const Widget *w = CONST_WIDGET (edit);
edit              382 src/editor/editdraw.c     if (edit->fullscreen)
edit              393 src/editor/editdraw.c print_to_widget (WEdit * edit, long row, int start_col, int start_col_real,
edit              396 src/editor/editdraw.c     Widget *w = WIDGET (edit);
edit              408 src/editor/editdraw.c     if (!edit->fullscreen)
edit              419 src/editor/editdraw.c     wrap_start = option_word_wrap_line_length + edit->start_col;
edit              499 src/editor/editdraw.c             if (i > option_word_wrap_line_length + edit->start_col)
edit              512 src/editor/editdraw.c edit_draw_this_line (WEdit * edit, off_t b, long row, long start_col, long end_col)
edit              514 src/editor/editdraw.c     Widget *w = WIDGET (edit);
edit              526 src/editor/editdraw.c     if (row > w->lines - 1 - EDIT_TEXT_VERTICAL_OFFSET - 2 * (edit->fullscreen ? 0 : 1))
edit              529 src/editor/editdraw.c     if (book_mark_query_color (edit, edit->start_line + row, BOOK_MARK_COLOR))
edit              531 src/editor/editdraw.c     else if (book_mark_query_color (edit, edit->start_line + row, BOOK_MARK_FOUND_COLOR))
edit              540 src/editor/editdraw.c     if (!edit->fullscreen)
edit              547 src/editor/editdraw.c     color = edit_get_syntax_color (edit, b - 1);
edit              548 src/editor/editdraw.c     q = edit_move_forward3 (edit, b, start_col - edit->start_col, 0);
edit              549 src/editor/editdraw.c     start_col_real = (col = (int) edit_move_forward3 (edit, b, 0, q)) + edit->start_col;
edit              555 src/editor/editdraw.c         cur_line = edit->start_line + row;
edit              556 src/editor/editdraw.c         if (cur_line <= edit->buffer.lines)
edit              565 src/editor/editdraw.c         if (book_mark_query_color (edit, cur_line, BOOK_MARK_COLOR))
edit              571 src/editor/editdraw.c     if (col + 16 > -edit->start_col)
edit              573 src/editor/editdraw.c         eval_marks (edit, &m1, &m2);
edit              575 src/editor/editdraw.c         if (row <= edit->buffer.lines - edit->start_line)
edit              581 src/editor/editdraw.c                 tws = edit_buffer_get_eol (&edit->buffer, b);
edit              586 src/editor/editdraw.c                     c = edit_buffer_get_byte (&edit->buffer, tws - 1);
edit              593 src/editor/editdraw.c             while (col <= end_col - edit->start_col)
edit              602 src/editor/editdraw.c                 if (q == edit->buffer.curs1)
edit              606 src/editor/editdraw.c                     if (edit->column_highlight)
edit              611 src/editor/editdraw.c                         x = (long) edit_move_forward3 (edit, b, 0, q);
edit              612 src/editor/editdraw.c                         c1 = MIN (edit->column1, edit->column2);
edit              613 src/editor/editdraw.c                         c2 = MAX (edit->column1, edit->column2);
edit              620 src/editor/editdraw.c                 if (q == edit->bracket)
edit              622 src/editor/editdraw.c                 if (q >= edit->found_start && q < (off_t) (edit->found_start + edit->found_len))
edit              626 src/editor/editdraw.c                 if (edit->utf8)
edit              627 src/editor/editdraw.c                     c = edit_buffer_get_utf (&edit->buffer, q, &char_length);
edit              630 src/editor/editdraw.c                     c = edit_buffer_get_byte (&edit->buffer, q);
edit              639 src/editor/editdraw.c                     color = edit_get_syntax_color (edit, q);
edit              645 src/editor/editdraw.c                     col = end_col - edit->start_col + 1;        /* quit */
edit              653 src/editor/editdraw.c                         tab_over = (end_col - edit->start_col) - (col + i - 1);
edit              739 src/editor/editdraw.c                         if (!edit->utf8)
edit              741 src/editor/editdraw.c                             c = convert_from_8bit_to_utf_c ((unsigned char) c, edit->converter);
edit              752 src/editor/editdraw.c                     else if (edit->utf8)
edit              753 src/editor/editdraw.c                         c = convert_from_utf_to_current_c (c, edit->converter);
edit              784 src/editor/editdraw.c                     if (edit->utf8)
edit              819 src/editor/editdraw.c                 if (col > (end_col - edit->start_col + 1))
edit              842 src/editor/editdraw.c     print_to_widget (edit, row, start_col, start_col_real, end_col, line, line_stat, book_mark);
edit              848 src/editor/editdraw.c edit_draw_this_char (WEdit * edit, off_t curs, long row, long start_column, long end_column)
edit              850 src/editor/editdraw.c     off_t b = edit_buffer_get_bol (&edit->buffer, curs);
edit              852 src/editor/editdraw.c     edit_draw_this_line (edit, b, row, start_column, end_column);
edit              859 src/editor/editdraw.c render_edit_text (WEdit * edit, long start_row, long start_column, long end_row, long end_column)
edit              864 src/editor/editdraw.c     Widget *w = WIDGET (edit);
edit              867 src/editor/editdraw.c     int force = edit->force;
edit              927 src/editor/editdraw.c             b = edit_buffer_get_forward_offset (&edit->buffer, edit->start_display, start_row, 0);
edit              930 src/editor/editdraw.c                 if (key_pending (edit))
edit              932 src/editor/editdraw.c                 edit_draw_this_line (edit, b, row, start_column, end_column);
edit              933 src/editor/editdraw.c                 b = edit_buffer_get_forward_offset (&edit->buffer, b, 1, 0);
edit              939 src/editor/editdraw.c             long curs_row = edit->curs_row;
edit              946 src/editor/editdraw.c                 b = edit->start_display;
edit              949 src/editor/editdraw.c                     if (key_pending (edit))
edit              951 src/editor/editdraw.c                     edit_draw_this_line (edit, b, row, start_column, end_column);
edit              952 src/editor/editdraw.c                     b = edit_buffer_get_forward_offset (&edit->buffer, b, 1, 0);
edit              957 src/editor/editdraw.c             b = edit_buffer_get_current_bol (&edit->buffer);
edit              960 src/editor/editdraw.c                 if (key_pending (edit))
edit              962 src/editor/editdraw.c                 edit_draw_this_line (edit, b, curs_row, start_column, end_column);
edit              968 src/editor/editdraw.c                 b = edit_buffer_get_forward_offset (&edit->buffer, b, 1, 0);
edit              971 src/editor/editdraw.c                     if (key_pending (edit))
edit              973 src/editor/editdraw.c                     edit_draw_this_line (edit, b, row, start_column, end_column);
edit              974 src/editor/editdraw.c                     b = edit_buffer_get_forward_offset (&edit->buffer, b, 1, 0);
edit              982 src/editor/editdraw.c                 b = edit_buffer_get_backward_offset (&edit->buffer,
edit              983 src/editor/editdraw.c                                                      edit_buffer_get_current_bol (&edit->buffer),
edit              987 src/editor/editdraw.c                     if (key_pending (edit))
edit              989 src/editor/editdraw.c                     edit_draw_this_line (edit, b, row, start_column, end_column);
edit              996 src/editor/editdraw.c                 b = edit_buffer_get_current_bol (&edit->buffer);
edit              997 src/editor/editdraw.c                 b = edit_buffer_get_forward_offset (&edit->buffer, b, 1, 0);
edit             1000 src/editor/editdraw.c                     if (key_pending (edit))
edit             1002 src/editor/editdraw.c                     edit_draw_this_line (edit, b, row, start_column, end_column);
edit             1007 src/editor/editdraw.c     else if (prev_curs_row < edit->curs_row)
edit             1010 src/editor/editdraw.c         edit_draw_this_char (edit, prev_curs, prev_curs_row, start_column, end_column);
edit             1011 src/editor/editdraw.c         edit_draw_this_char (edit, edit->buffer.curs1, edit->curs_row, start_column, end_column);
edit             1015 src/editor/editdraw.c         edit_draw_this_char (edit, edit->buffer.curs1, edit->curs_row, start_column, end_column);
edit             1016 src/editor/editdraw.c         edit_draw_this_char (edit, prev_curs, prev_curs_row, start_column, end_column);
edit             1019 src/editor/editdraw.c     edit->force = 0;
edit             1021 src/editor/editdraw.c     prev_curs_row = edit->curs_row;
edit             1022 src/editor/editdraw.c     prev_curs = edit->buffer.curs1;
edit             1028 src/editor/editdraw.c edit_render (WEdit * edit, int page, int row_start, int col_start, int row_end, int col_end)
edit             1031 src/editor/editdraw.c         edit->force |= REDRAW_PAGE | REDRAW_IN_BOUNDS;
edit             1033 src/editor/editdraw.c     render_edit_text (edit, row_start, col_start, row_end, col_end);
edit             1040 src/editor/editdraw.c     if (edit->force)
edit             1041 src/editor/editdraw.c         edit->force |= REDRAW_PAGE;
edit             1049 src/editor/editdraw.c edit_status (WEdit * edit, gboolean active)
edit             1053 src/editor/editdraw.c     if (edit->fullscreen)
edit             1056 src/editor/editdraw.c         edit_status_fullscreen (edit, color);
edit             1060 src/editor/editdraw.c         color = edit->drag_state != MCEDIT_DRAG_NONE ? EDITOR_FRAME_DRAG : active ?
edit             1062 src/editor/editdraw.c         edit_draw_frame (edit, color, active);
edit             1063 src/editor/editdraw.c         edit_status_window (edit);
edit             1066 src/editor/editdraw.c     edit_draw_window_icons (edit, color);
edit             1073 src/editor/editdraw.c edit_scroll_screen_over_cursor (WEdit * edit)
edit             1075 src/editor/editdraw.c     Widget *w = WIDGET (edit);
edit             1087 src/editor/editdraw.c     if (!edit->fullscreen)
edit             1099 src/editor/editdraw.c     if (edit->found_len != 0)
edit             1124 src/editor/editdraw.c     p = edit_get_col (edit) + edit->over_col;
edit             1125 src/editor/editdraw.c     edit_update_curs_row (edit);
edit             1126 src/editor/editdraw.c     outby = p + edit->start_col - w->cols + 1 + (r_extreme + edit->found_len);
edit             1128 src/editor/editdraw.c         edit_scroll_right (edit, outby);
edit             1129 src/editor/editdraw.c     outby = l_extreme - p - edit->start_col;
edit             1131 src/editor/editdraw.c         edit_scroll_left (edit, outby);
edit             1132 src/editor/editdraw.c     p = edit->curs_row;
edit             1135 src/editor/editdraw.c         edit_scroll_downward (edit, outby);
edit             1138 src/editor/editdraw.c         edit_scroll_upward (edit, outby);
edit             1139 src/editor/editdraw.c     edit_update_curs_row (edit);
edit             1143 src/editor/editdraw.c     if (!edit->fullscreen)
edit             1155 src/editor/editdraw.c edit_render_keypress (WEdit * edit)
edit             1157 src/editor/editdraw.c     edit_render (edit, 0, 0, 0, 0, 0);
edit              107 src/editor/editoptions.c         WEdit *edit = (WEdit *) data;
edit              109 src/editor/editoptions.c         edit_load_syntax (edit, NULL, edit->syntax_type);
edit              189 src/editor/editwidget.c edit_restore_size (WEdit * edit)
edit              191 src/editor/editwidget.c     Widget *w = WIDGET (edit);
edit              193 src/editor/editwidget.c     edit->drag_state = MCEDIT_DRAG_NONE;
edit              195 src/editor/editwidget.c     widget_set_size (w, edit->y_prev, edit->x_prev, edit->lines_prev, edit->cols_prev);
edit              208 src/editor/editwidget.c edit_window_move (WEdit * edit, long command)
edit              210 src/editor/editwidget.c     Widget *w = WIDGET (edit);
edit              235 src/editor/editwidget.c     edit->force |= REDRAW_PAGE;
edit              248 src/editor/editwidget.c edit_window_resize (WEdit * edit, long command)
edit              250 src/editor/editwidget.c     Widget *w = WIDGET (edit);
edit              275 src/editor/editwidget.c     edit->force |= REDRAW_COMPLETELY;
edit              359 src/editor/editwidget.c     const WEdit *edit = find_editor (h);
edit              360 src/editor/editwidget.c     const char *modified = edit->modified ? "(*) " : "    ";
edit              366 src/editor/editwidget.c     if (edit->filename_vpath == NULL)
edit              369 src/editor/editwidget.c         filename = g_strdup (vfs_path_as_str (edit->filename_vpath));
edit              489 src/editor/editwidget.c edit_translate_key (WEdit * edit, long x_key, int *cmd, int *ch)
edit              495 src/editor/editwidget.c     if (!edit->extmod && x_key < 256)
edit              506 src/editor/editwidget.c         if (edit->charpoint >= 4)
edit              508 src/editor/editwidget.c             edit->charpoint = 0;
edit              509 src/editor/editwidget.c             edit->charbuf[edit->charpoint] = '\0';
edit              511 src/editor/editwidget.c         if (edit->charpoint < 4)
edit              513 src/editor/editwidget.c             edit->charbuf[edit->charpoint++] = x_key;
edit              514 src/editor/editwidget.c             edit->charbuf[edit->charpoint] = '\0';
edit              525 src/editor/editwidget.c                 if (!edit->utf8)
edit              537 src/editor/editwidget.c             res = str_is_valid_char (edit->charbuf, edit->charpoint);
edit              540 src/editor/editwidget.c                 edit->charpoint = 0;    /* broken multibyte char, skip */
edit              544 src/editor/editwidget.c             if (edit->utf8)
edit              553 src/editor/editwidget.c                 edit->charbuf[edit->charpoint] = '\0';
edit              554 src/editor/editwidget.c                 edit->charpoint = 0;
edit              555 src/editor/editwidget.c                 if (g_unichar_isprint (g_utf8_get_char (edit->charbuf)))
edit              570 src/editor/editwidget.c                 if (g_unichar_isprint (g_utf8_get_char (edit->charbuf)))
edit              572 src/editor/editwidget.c                     c = convert_from_utf_to_current (edit->charbuf);
edit              573 src/editor/editwidget.c                     edit->charbuf[0] = '\0';
edit              574 src/editor/editwidget.c                     edit->charpoint = 0;
edit              580 src/editor/editwidget.c                 edit->charbuf[0] = '\0';
edit              581 src/editor/editwidget.c                 edit->charpoint = 0;
edit              588 src/editor/editwidget.c     if (edit->extmod)
edit              590 src/editor/editwidget.c         edit->extmod = FALSE;
edit              659 src/editor/editwidget.c edit_set_buttonbar (WEdit * edit, WButtonBar * bb)
edit              662 src/editor/editwidget.c     buttonbar_set_label (bb, 2, Q_ ("ButtonBar|Save"), editor_map, WIDGET (edit));
edit              663 src/editor/editwidget.c     buttonbar_set_label (bb, 3, Q_ ("ButtonBar|Mark"), editor_map, WIDGET (edit));
edit              664 src/editor/editwidget.c     buttonbar_set_label (bb, 4, Q_ ("ButtonBar|Replac"), editor_map, WIDGET (edit));
edit              665 src/editor/editwidget.c     buttonbar_set_label (bb, 5, Q_ ("ButtonBar|Copy"), editor_map, WIDGET (edit));
edit              666 src/editor/editwidget.c     buttonbar_set_label (bb, 6, Q_ ("ButtonBar|Move"), editor_map, WIDGET (edit));
edit              667 src/editor/editwidget.c     buttonbar_set_label (bb, 7, Q_ ("ButtonBar|Search"), editor_map, WIDGET (edit));
edit              668 src/editor/editwidget.c     buttonbar_set_label (bb, 8, Q_ ("ButtonBar|Delete"), editor_map, WIDGET (edit));
edit              676 src/editor/editwidget.c edit_total_update (WEdit * edit)
edit              678 src/editor/editwidget.c     edit_find_bracket (edit);
edit              679 src/editor/editwidget.c     edit->force |= REDRAW_COMPLETELY;
edit              680 src/editor/editwidget.c     edit_update_curs_row (edit);
edit              681 src/editor/editwidget.c     edit_update_screen (edit);
edit              687 src/editor/editwidget.c edit_update_cursor (WEdit * edit, const mouse_event_t * event)
edit              692 src/editor/editwidget.c     x = event->x - (edit->fullscreen ? 0 : 1);
edit              693 src/editor/editwidget.c     y = event->y - (edit->fullscreen ? 0 : 1);
edit              695 src/editor/editwidget.c     if (edit->mark2 != -1 && event->msg == MSG_MOUSE_UP)
edit              699 src/editor/editwidget.c         edit_push_key_press (edit);
edit              702 src/editor/editwidget.c         edit->prev_col = x - edit->start_col - option_line_state_width;
edit              708 src/editor/editwidget.c             edit_move_forward3 (edit, edit_buffer_get_current_bol (&edit->buffer), 0,
edit              709 src/editor/editwidget.c                                 edit_buffer_get_current_eol (&edit->buffer));
edit              713 src/editor/editwidget.c             edit->over_col = x - line_len - edit->start_col - option_line_state_width;
edit              714 src/editor/editwidget.c             edit->prev_col = line_len;
edit              718 src/editor/editwidget.c             edit->over_col = 0;
edit              719 src/editor/editwidget.c             edit->prev_col = x - option_line_state_width - edit->start_col;
edit              723 src/editor/editwidget.c     if (y > edit->curs_row)
edit              724 src/editor/editwidget.c         edit_move_down (edit, y - edit->curs_row, FALSE);
edit              725 src/editor/editwidget.c     else if (y < edit->curs_row)
edit              726 src/editor/editwidget.c         edit_move_up (edit, edit->curs_row - y, FALSE);
edit              728 src/editor/editwidget.c         edit_move_to_prev_col (edit, edit_buffer_get_current_bol (&edit->buffer));
edit              732 src/editor/editwidget.c         edit_mark_cmd (edit, TRUE);     /* reset */
edit              733 src/editor/editwidget.c         edit->highlight = 0;
edit              738 src/editor/editwidget.c         edit_mark_cmd (edit, FALSE);
edit              988 src/editor/editwidget.c     WEdit *edit = (WEdit *) (w);
edit              995 src/editor/editwidget.c         edit_execute_cmd (edit, CK_Enter, -1);
edit              996 src/editor/editwidget.c         edit_update_screen (edit);      /* Paint the buttonbar over our possibly overlapping frame. */
edit             1018 src/editor/editwidget.c     if (edit->drag_state == MCEDIT_DRAG_MOVE)
edit             1021 src/editor/editwidget.c         w->x = global_x - edit->drag_state_start;
edit             1023 src/editor/editwidget.c     else if (edit->drag_state == MCEDIT_DRAG_RESIZE)
edit             1029 src/editor/editwidget.c     edit->force |= REDRAW_COMPLETELY;   /* Not really needed as WEdit's MSG_DRAW already does this. */
edit             1047 src/editor/editwidget.c     WEdit *edit = (WEdit *) w;
edit             1049 src/editor/editwidget.c     int dx = edit->fullscreen ? 0 : 2;
edit             1056 src/editor/editwidget.c     if (edit->drag_state != MCEDIT_DRAG_NONE)
edit             1077 src/editor/editwidget.c         edit_update_curs_row (edit);
edit             1078 src/editor/editwidget.c         edit_update_curs_col (edit);
edit             1080 src/editor/editwidget.c         if (!edit->fullscreen)
edit             1091 src/editor/editwidget.c                     edit_execute_cmd (edit, CK_WindowMove, -1);
edit             1092 src/editor/editwidget.c                     edit_update_screen (edit);  /* Paint the buttonbar over our possibly overlapping frame. */
edit             1093 src/editor/editwidget.c                     edit->drag_state_start = event->x;
edit             1101 src/editor/editwidget.c                 edit_execute_cmd (edit, CK_WindowResize, -1);
edit             1109 src/editor/editwidget.c         edit_update_cursor (edit, event);
edit             1110 src/editor/editwidget.c         edit_total_update (edit);
edit             1119 src/editor/editwidget.c                 edit_toggle_fullscreen (edit);
edit             1120 src/editor/editwidget.c             else if (!edit->fullscreen && event->count == GPM_DOUBLE)
edit             1122 src/editor/editwidget.c                 edit_toggle_fullscreen (edit);
edit             1127 src/editor/editwidget.c             edit_mark_current_word_cmd (edit);
edit             1128 src/editor/editwidget.c             edit_total_update (edit);
edit             1133 src/editor/editwidget.c             edit_mark_current_line_cmd (edit);
edit             1134 src/editor/editwidget.c             edit_total_update (edit);
edit             1139 src/editor/editwidget.c         edit_update_cursor (edit, event);
edit             1140 src/editor/editwidget.c         edit_total_update (edit);
edit             1144 src/editor/editwidget.c         edit_move_up (edit, 2, TRUE);
edit             1145 src/editor/editwidget.c         edit_total_update (edit);
edit             1149 src/editor/editwidget.c         edit_move_down (edit, 2, TRUE);
edit             1150 src/editor/editwidget.c         edit_total_update (edit);
edit             1253 src/editor/editwidget.c edit_get_file_name (const WEdit * edit)
edit             1255 src/editor/editwidget.c     return vfs_path_as_str (edit->filename_vpath);
edit             1314 src/editor/editwidget.c edit_save_size (WEdit * edit)
edit             1316 src/editor/editwidget.c     Widget *w = WIDGET (edit);
edit             1318 src/editor/editwidget.c     edit->y_prev = w->y;
edit             1319 src/editor/editwidget.c     edit->x_prev = w->x;
edit             1320 src/editor/editwidget.c     edit->lines_prev = w->lines;
edit             1321 src/editor/editwidget.c     edit->cols_prev = w->cols;
edit             1342 src/editor/editwidget.c     WEdit *edit;
edit             1345 src/editor/editwidget.c     edit = edit_init (NULL, y, x, lines, cols, f, fline);
edit             1346 src/editor/editwidget.c     if (edit == NULL)
edit             1349 src/editor/editwidget.c     w = WIDGET (edit);
edit             1354 src/editor/editwidget.c     edit_set_buttonbar (edit, find_buttonbar (h));
edit             1370 src/editor/editwidget.c edit_handle_move_resize (WEdit * edit, long command)
edit             1372 src/editor/editwidget.c     Widget *w = WIDGET (edit);
edit             1375 src/editor/editwidget.c     if (edit->fullscreen)
edit             1377 src/editor/editwidget.c         edit->drag_state = MCEDIT_DRAG_NONE;
edit             1382 src/editor/editwidget.c     switch (edit->drag_state)
edit             1389 src/editor/editwidget.c             edit->drag_state = MCEDIT_DRAG_MOVE;
edit             1390 src/editor/editwidget.c             edit_save_size (edit);
edit             1391 src/editor/editwidget.c             edit_status (edit, TRUE);   /* redraw frame and status */
edit             1397 src/editor/editwidget.c             edit->drag_state_start = w->cols / 2;
edit             1401 src/editor/editwidget.c             edit->drag_state = MCEDIT_DRAG_RESIZE;
edit             1402 src/editor/editwidget.c             edit_save_size (edit);
edit             1403 src/editor/editwidget.c             edit_status (edit, TRUE);   /* redraw frame and status */
edit             1415 src/editor/editwidget.c             edit->drag_state = MCEDIT_DRAG_RESIZE;
edit             1422 src/editor/editwidget.c             edit_window_move (edit, command);
edit             1427 src/editor/editwidget.c             edit->drag_state = MCEDIT_DRAG_NONE;
edit             1428 src/editor/editwidget.c             edit_status (edit, TRUE);   /* redraw frame and status */
edit             1440 src/editor/editwidget.c             edit->drag_state = MCEDIT_DRAG_MOVE;
edit             1447 src/editor/editwidget.c             edit_window_resize (edit, command);
edit             1452 src/editor/editwidget.c             edit->drag_state = MCEDIT_DRAG_NONE;
edit             1453 src/editor/editwidget.c             edit_status (edit, TRUE);   /* redraw frame and status */
edit             1474 src/editor/editwidget.c     w->mouse.forced_capture = (edit->drag_state != MCEDIT_DRAG_NONE);
edit             1487 src/editor/editwidget.c edit_toggle_fullscreen (WEdit * edit)
edit             1489 src/editor/editwidget.c     Widget *w = WIDGET (edit);
edit             1491 src/editor/editwidget.c     edit->fullscreen = !edit->fullscreen;
edit             1492 src/editor/editwidget.c     edit->force = REDRAW_COMPLETELY;
edit             1494 src/editor/editwidget.c     if (!edit->fullscreen)
edit             1496 src/editor/editwidget.c         edit_restore_size (edit);
edit             1504 src/editor/editwidget.c         edit_save_size (edit);
edit             1508 src/editor/editwidget.c         edit->force |= REDRAW_PAGE;
edit             1509 src/editor/editwidget.c         edit_update_screen (edit);
edit              125 src/editor/format.c begin_paragraph (WEdit * edit, gboolean force, long *lines)
edit              129 src/editor/format.c     for (i = edit->buffer.curs_line - 1; i >= 0; i--)
edit              130 src/editor/format.c         if (edit_line_is_blank (edit, i) ||
edit              131 src/editor/format.c             (force && bad_line_start (&edit->buffer, line_start (&edit->buffer, i))))
edit              137 src/editor/format.c     *lines = edit->buffer.curs_line - i;
edit              139 src/editor/format.c     return edit_buffer_get_backward_offset (&edit->buffer,
edit              140 src/editor/format.c                                             edit_buffer_get_current_bol (&edit->buffer), *lines);
edit              150 src/editor/format.c end_paragraph (WEdit * edit, gboolean force)
edit              154 src/editor/format.c     for (i = edit->buffer.curs_line + 1; i <= edit->buffer.lines; i++)
edit              155 src/editor/format.c         if (edit_line_is_blank (edit, i) ||
edit              156 src/editor/format.c             (force && bad_line_start (&edit->buffer, line_start (&edit->buffer, i))))
edit              162 src/editor/format.c     return edit_buffer_get_eol (&edit->buffer,
edit              163 src/editor/format.c                                 edit_buffer_get_forward_offset (&edit->buffer,
edit              165 src/editor/format.c                                                                 (&edit->buffer),
edit              166 src/editor/format.c                                                                 i - edit->buffer.curs_line, 0));
edit              362 src/editor/format.c replace_at (WEdit * edit, off_t q, int c)
edit              364 src/editor/format.c     edit_cursor_move (edit, q - edit->buffer.curs1);
edit              365 src/editor/format.c     edit_delete (edit, TRUE);
edit              366 src/editor/format.c     edit_insert_ahead (edit, c);
edit              372 src/editor/format.c edit_indent_width (const WEdit * edit, off_t p)
edit              377 src/editor/format.c     while (strchr ("\t ", edit_buffer_get_byte (&edit->buffer, q)) != NULL
edit              378 src/editor/format.c            && q < edit->buffer.size - 1)
edit              381 src/editor/format.c     return (long) edit_move_forward3 (edit, p, 0, q);
edit              387 src/editor/format.c edit_insert_indent (WEdit * edit, long indent)
edit              392 src/editor/format.c             edit_insert (edit, '\t');
edit              397 src/editor/format.c         edit_insert (edit, ' ');
edit              404 src/editor/format.c put_paragraph (WEdit * edit, unsigned char *t, off_t p, long indent, off_t size)
edit              410 src/editor/format.c     cursor = edit->buffer.curs1;
edit              412 src/editor/format.c         while (strchr ("\t ", edit_buffer_get_byte (&edit->buffer, p)) != NULL)
edit              420 src/editor/format.c                 while (strchr ("\t ", edit_buffer_get_byte (&edit->buffer, p)) != NULL)
edit              427 src/editor/format.c                 edit_cursor_move (edit, p - edit->buffer.curs1);
edit              428 src/editor/format.c                 curs = edit->buffer.curs1;
edit              429 src/editor/format.c                 edit_insert_indent (edit, indent);
edit              431 src/editor/format.c                     cursor += edit->buffer.curs1 - p;
edit              432 src/editor/format.c                 p = edit->buffer.curs1;
edit              436 src/editor/format.c                 edit_cursor_move (edit, p - edit->buffer.curs1);
edit              437 src/editor/format.c                 while (strchr ("\t ", edit_buffer_get_byte (&edit->buffer, p)) != NULL)
edit              439 src/editor/format.c                     edit_delete (edit, TRUE);
edit              440 src/editor/format.c                     if (cursor > edit->buffer.curs1)
edit              443 src/editor/format.c                 p = edit->buffer.curs1;
edit              447 src/editor/format.c         c = edit_buffer_get_byte (&edit->buffer, p);
edit              449 src/editor/format.c             replace_at (edit, p, t[i]);
edit              451 src/editor/format.c     edit_cursor_move (edit, cursor - edit->buffer.curs1);       /* restore cursor position */
edit              457 src/editor/format.c test_indent (const WEdit * edit, off_t p, off_t q)
edit              461 src/editor/format.c     indent = edit_indent_width (edit, p++);
edit              466 src/editor/format.c         if (edit_buffer_get_byte (&edit->buffer, p - 1) == '\n'
edit              467 src/editor/format.c             && indent != edit_indent_width (edit, p))
edit              477 src/editor/format.c format_paragraph (WEdit * edit, gboolean force)
edit              489 src/editor/format.c     if (edit_line_is_blank (edit, edit->buffer.curs_line))
edit              492 src/editor/format.c     p = begin_paragraph (edit, force, &lines);
edit              493 src/editor/format.c     q = end_paragraph (edit, force);
edit              494 src/editor/format.c     indent = test_indent (edit, p, q);
edit              496 src/editor/format.c     t = get_paragraph (&edit->buffer, p, q, indent != 0);
edit              529 src/editor/format.c     utf8 = edit->utf8;
edit              532 src/editor/format.c     put_paragraph (edit, t2, p, indent, size);
edit              536 src/editor/format.c     edit_scroll_left (edit, -edit->start_col);
edit               63 src/editor/spell_dialogs.c spell_dialog_spell_suggest_show (WEdit * edit, const char *word, char **new_word, GArray * suggest)
edit               91 src/editor/spell_dialogs.c     if ((edit->curs_row >= ypos - 1) && (edit->curs_row <= ypos + sug_dlg_h - 1))
edit               19 src/editor/spell_dialogs.h int spell_dialog_spell_suggest_show (WEdit * edit, const char *word, char **new_word,
edit              197 src/editor/syntax.c xx_tolower (const WEdit * edit, int c)
edit              199 src/editor/syntax.c     return edit->is_case_insensitive ? tolower (c) : c;
edit              242 src/editor/syntax.c compare_word_to_right (const WEdit * edit, off_t i, const char *text,
edit              251 src/editor/syntax.c     c = xx_tolower (edit, edit_buffer_get_byte (&edit->buffer, i - 1));
edit              264 src/editor/syntax.c                 c = xx_tolower (edit, edit_buffer_get_byte (&edit->buffer, i));
edit              280 src/editor/syntax.c                 c = xx_tolower (edit, edit_buffer_get_byte (&edit->buffer, i));
edit              311 src/editor/syntax.c                 c = xx_tolower (edit, edit_buffer_get_byte (&edit->buffer, i));
edit              330 src/editor/syntax.c             c = xx_tolower (edit, edit_buffer_get_byte (&edit->buffer, i));
edit              340 src/editor/syntax.c             if (*p != xx_tolower (edit, edit_buffer_get_byte (&edit->buffer, i)))
edit              346 src/editor/syntax.c                     xx_tolower (edit, edit_buffer_get_byte (&edit->buffer, i))) != NULL) ? -1 : i;
edit              352 src/editor/syntax.c xx_strchr (const WEdit * edit, const unsigned char *s, int char_byte)
edit              354 src/editor/syntax.c     while (*s >= '\005' && xx_tolower (edit, *s) != char_byte)
edit              363 src/editor/syntax.c apply_rules_going_right (WEdit * edit, off_t i)
edit              372 src/editor/syntax.c     edit_syntax_rule_t _rule = edit->rule;
edit              374 src/editor/syntax.c     c = xx_tolower (edit, edit_buffer_get_byte (&edit->buffer, i));
edit              378 src/editor/syntax.c     is_end = (edit->rule.end == i);
edit              383 src/editor/syntax.c         if (edit_buffer_get_byte (&edit->buffer, i - 1) == '\n')
edit              397 src/editor/syntax.c         r = CONTEXT_RULE (g_ptr_array_index (edit->rules, _rule.context));
edit              398 src/editor/syntax.c         if (r->first_right == c && (edit->rule.border & RULE_ON_RIGHT_BORDER) == 0
edit              400 src/editor/syntax.c                 compare_word_to_right (edit, i, r->right, r->whole_word_chars_left,
edit              409 src/editor/syntax.c         else if (is_end && (edit->rule.border & RULE_ON_RIGHT_BORDER) != 0)
edit              417 src/editor/syntax.c         else if (is_end && (edit->rule.border & RULE_ON_LEFT_BORDER) != 0)
edit              430 src/editor/syntax.c         r = CONTEXT_RULE (g_ptr_array_index (edit->rules, _rule.context));
edit              434 src/editor/syntax.c             while (*(p = xx_strchr (edit, (const unsigned char *) p + 1, c)) != '\0')
edit              442 src/editor/syntax.c                 e = compare_word_to_right (edit, i, k->keyword, k->whole_word_chars_left,
edit              451 src/editor/syntax.c                         r = CONTEXT_RULE (g_ptr_array_index (edit->rules, _rule._context));
edit              471 src/editor/syntax.c             if ((edit->rule.border & RULE_ON_RIGHT_BORDER) != 0)
edit              479 src/editor/syntax.c             else if ((edit->rule.border & RULE_ON_LEFT_BORDER) != 0)
edit              481 src/editor/syntax.c                 r = CONTEXT_RULE (g_ptr_array_index (edit->rules, _rule._context));
edit              493 src/editor/syntax.c                         e = compare_word_to_right (edit, i, r->right, r->whole_word_chars_left,
edit              511 src/editor/syntax.c             for (count = 1; count < edit->rules->len; count++)
edit              513 src/editor/syntax.c                 r = CONTEXT_RULE (g_ptr_array_index (edit->rules, count));
edit              518 src/editor/syntax.c                     e = compare_word_to_right (edit, i, r->left, r->whole_word_chars_left,
edit              543 src/editor/syntax.c         r = CONTEXT_RULE (g_ptr_array_index (edit->rules, _rule.context));
edit              546 src/editor/syntax.c         while (*(p = xx_strchr (edit, (const unsigned char *) p + 1, c)) != '\0')
edit              554 src/editor/syntax.c             e = compare_word_to_right (edit, i, k->keyword, k->whole_word_chars_left,
edit              565 src/editor/syntax.c     edit->rule = _rule;
edit              571 src/editor/syntax.c edit_get_rule (WEdit * edit, off_t byte_index)
edit              575 src/editor/syntax.c     if (byte_index > edit->last_get_rule)
edit              577 src/editor/syntax.c         for (i = edit->last_get_rule + 1; i <= byte_index; i++)
edit              581 src/editor/syntax.c             apply_rules_going_right (edit, i);
edit              583 src/editor/syntax.c             if (edit->syntax_marker != NULL)
edit              584 src/editor/syntax.c                 d += ((syntax_marker_t *) edit->syntax_marker->data)->offset;
edit              592 src/editor/syntax.c                 s->rule = edit->rule;
edit              593 src/editor/syntax.c                 edit->syntax_marker = g_slist_prepend (edit->syntax_marker, s);
edit              597 src/editor/syntax.c     else if (byte_index < edit->last_get_rule)
edit              603 src/editor/syntax.c             if (edit->syntax_marker == NULL)
edit              605 src/editor/syntax.c                 memset (&edit->rule, 0, sizeof (edit->rule));
edit              607 src/editor/syntax.c                     apply_rules_going_right (edit, i);
edit              611 src/editor/syntax.c             s = (syntax_marker_t *) edit->syntax_marker->data;
edit              615 src/editor/syntax.c                 edit->rule = s->rule;
edit              617 src/editor/syntax.c                     apply_rules_going_right (edit, i);
edit              622 src/editor/syntax.c             edit->syntax_marker = g_slist_delete_link (edit->syntax_marker, edit->syntax_marker);
edit              625 src/editor/syntax.c     edit->last_get_rule = byte_index;
edit              631 src/editor/syntax.c translate_rule_to_color (const WEdit * edit, const edit_syntax_rule_t * rule)
edit              636 src/editor/syntax.c     r = CONTEXT_RULE (g_ptr_array_index (edit->rules, rule->context));
edit              907 src/editor/syntax.c xx_lowerize_line (WEdit * edit, char *line, size_t len)
edit              909 src/editor/syntax.c     if (edit->is_case_insensitive)
edit              922 src/editor/syntax.c edit_read_syntax_rules (WEdit * edit, FILE * f, char **args, int args_size)
edit              936 src/editor/syntax.c     edit->is_case_insensitive = FALSE;
edit              941 src/editor/syntax.c     edit->rules = g_ptr_array_new ();
edit              943 src/editor/syntax.c     if (edit->defines == NULL)
edit              944 src/editor/syntax.c         edit->defines = g_tree_new ((GCompareFunc) strcmp);
edit              957 src/editor/syntax.c             xx_lowerize_line (edit, l, len);
edit              972 src/editor/syntax.c             xx_lowerize_line (edit, l, len);
edit             1001 src/editor/syntax.c             edit->is_case_insensitive = TRUE;
edit             1029 src/editor/syntax.c             if (edit->rules->len == 0)
edit             1037 src/editor/syntax.c                 g_ptr_array_add (edit->rules, c);
edit             1045 src/editor/syntax.c                 g_ptr_array_add (edit->rules, c);
edit             1091 src/editor/syntax.c             subst_defines (edit->defines, a, &args[ARGS_LEN]);
edit             1125 src/editor/syntax.c             last_rule = CONTEXT_RULE (g_ptr_array_index (edit->rules, edit->rules->len - 1));
edit             1155 src/editor/syntax.c             subst_defines (edit->defines, a, &args[ARGS_LEN]);
edit             1189 src/editor/syntax.c             argv = g_tree_lookup (edit->defines, key);
edit             1196 src/editor/syntax.c             g_tree_insert (edit->defines, key, argv);
edit             1210 src/editor/syntax.c     if (edit->rules->len == 0)
edit             1212 src/editor/syntax.c         g_ptr_array_free (edit->rules, TRUE);
edit             1213 src/editor/syntax.c         edit->rules = NULL;
edit             1221 src/editor/syntax.c         if (edit->rules == NULL)
edit             1227 src/editor/syntax.c         for (i = 0; i < edit->rules->len; i++)
edit             1232 src/editor/syntax.c             c = CONTEXT_RULE (g_ptr_array_index (edit->rules, i));
edit             1256 src/editor/syntax.c edit_read_syntax_file (WEdit * edit, GPtrArray * pnames, const char *syntax_file,
edit             1325 src/editor/syntax.c         else if (editor_file != NULL && edit != NULL)
edit             1344 src/editor/syntax.c                 line_error = edit_read_syntax_rules (edit, g ? g : f, args, ARGS_LEN - 1);
edit             1354 src/editor/syntax.c                     g_free (edit->syntax_type);
edit             1355 src/editor/syntax.c                     edit->syntax_type = g_strdup (syntax_type);
edit             1357 src/editor/syntax.c                     if (g == NULL && edit->rules->len == 1)
edit             1361 src/editor/syntax.c                         r0 = CONTEXT_RULE (g_ptr_array_index (edit->rules, 0));
edit             1364 src/editor/syntax.c                             edit_free_syntax_rules (edit);
edit             1386 src/editor/syntax.c get_first_editor_line (WEdit * edit)
edit             1392 src/editor/syntax.c     if (edit != NULL)
edit             1398 src/editor/syntax.c             s[i] = edit_buffer_get_byte (&edit->buffer, i);
edit             1417 src/editor/syntax.c edit_get_syntax_color (WEdit * edit, off_t byte_index)
edit             1422 src/editor/syntax.c     if (edit->rules != NULL && byte_index < edit->buffer.size && option_syntax_highlighting)
edit             1424 src/editor/syntax.c         edit_get_rule (edit, byte_index);
edit             1425 src/editor/syntax.c         return translate_rule_to_color (edit, &edit->rule);
edit             1434 src/editor/syntax.c edit_free_syntax_rules (WEdit * edit)
edit             1436 src/editor/syntax.c     if (edit == NULL)
edit             1439 src/editor/syntax.c     if (edit->defines != NULL)
edit             1440 src/editor/syntax.c         destroy_defines (&edit->defines);
edit             1442 src/editor/syntax.c     if (edit->rules == NULL)
edit             1445 src/editor/syntax.c     edit_get_rule (edit, -1);
edit             1446 src/editor/syntax.c     MC_PTR_FREE (edit->syntax_type);
edit             1448 src/editor/syntax.c     g_ptr_array_foreach (edit->rules, (GFunc) context_rule_free, NULL);
edit             1449 src/editor/syntax.c     g_ptr_array_free (edit->rules, TRUE);
edit             1450 src/editor/syntax.c     edit->rules = NULL;
edit             1451 src/editor/syntax.c     g_slist_free_full (edit->syntax_marker, g_free);
edit             1452 src/editor/syntax.c     edit->syntax_marker = NULL;
edit             1464 src/editor/syntax.c edit_load_syntax (WEdit * edit, GPtrArray * pnames, const char *type)
edit             1472 src/editor/syntax.c     if (edit != NULL)
edit             1477 src/editor/syntax.c         edit_free_syntax_rules (edit);
edit             1478 src/editor/syntax.c         edit->syntax_type = saved_type; /* restore edit->syntax_type */
edit             1487 src/editor/syntax.c     if (edit != NULL && edit->filename_vpath == NULL)
edit             1491 src/editor/syntax.c     if (edit != NULL)
edit             1492 src/editor/syntax.c         r = edit_read_syntax_file (edit, pnames, f, vfs_path_as_str (edit->filename_vpath),
edit             1493 src/editor/syntax.c                                    get_first_editor_line (edit),
edit             1494 src/editor/syntax.c                                    option_auto_syntax ? NULL : edit->syntax_type);
edit             1499 src/editor/syntax.c         edit_free_syntax_rules (edit);
edit             1505 src/editor/syntax.c         edit_free_syntax_rules (edit);
edit             1518 src/editor/syntax.c edit_get_syntax_type (const WEdit * edit)
edit             1520 src/editor/syntax.c     return edit->syntax_type;
edit             1429 src/filemanager/find.c find_do_view_edit (gboolean unparsed_view, gboolean edit, char *dir, char *file, off_t search_start,
edit             1448 src/filemanager/find.c     if (edit)
edit             1459 src/filemanager/find.c view_edit_currently_selected_file (gboolean unparsed_view, gboolean edit)
edit             1469 src/filemanager/find.c     find_do_view_edit (unparsed_view, edit, location->dir, text, location->start, location->end);
edit              104 tests/src/editor/editcmd__edit_complete_word_cmd.c editcmd_dialog_completion_show (const WEdit * edit, int max_len, GString ** compl, int num_compl)
edit              107 tests/src/editor/editcmd__edit_complete_word_cmd.c     editcmd_dialog_completion_show__edit = edit;