diff options
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | editor.h | 4 | ||||
| -rw-r--r-- | ui.h | 2 | ||||
| -rw-r--r-- | view.c (renamed from window.c) | 2 | ||||
| -rw-r--r-- | view.h (renamed from window.h) | 0 | ||||
| -rw-r--r-- | vis.c | 2 |
6 files changed, 7 insertions, 7 deletions
@@ -554,9 +554,9 @@ A quick overview over the code structure to get you started: `text-objects.[ch]` | functions take a file position and return a file range `vis.c` | vi(m) specific editor frontend, program entry point `editor.[ch]` | editor window management - `window.[ch]` | ui-independent viewport, syntax highlighting, cursor placement + `view.[ch]` | ui-independent viewport, shows part of a file, syntax highlighting, cursor placement `ui.h` | abstract interface as implemented by user interface - `ui-curses.h` | a terminal / curses based user interface implementation + `ui-curses.[ch]` | a terminal / curses based user interface implementation `buffer.[ch]` | dynamically growing buffer used for registers and macros `ring-buffer.[ch]` | fixed size ring buffer used for the jump list `map.[ch]` | crit-bit tree based map supporting unique prefix lookups and ordered iteration. used to implement `:`-commands. @@ -9,7 +9,7 @@ typedef struct Editor Editor; typedef struct Win Win; #include "ui.h" -#include "window.h" +#include "view.h" #include "register.h" #include "macro.h" #include "syntax.h" @@ -79,7 +79,7 @@ typedef struct { typedef struct { size_t (*cmd)(const Arg*); /* a custom movement based on user input from vis.c */ - size_t (*view)(View*); /* a movement based on current window content from window.h */ + size_t (*view)(View*); /* a movement based on current window content from view.h */ size_t (*txt)(Text*, size_t pos); /* a movement form text-motions.h */ size_t (*file)(File*, size_t pos); enum { @@ -18,7 +18,7 @@ enum UiOption { #include <stdbool.h> #include <stdarg.h> #include "text.h" -#include "window.h" +#include "view.h" #include "editor.h" struct Ui { @@ -20,7 +20,7 @@ #include <errno.h> #include <regex.h> #include "editor.h" -#include "window.h" +#include "view.h" #include "syntax.h" #include "text.h" #include "text-motions.h" @@ -133,7 +133,7 @@ enum { MOVE_WINDOW_LINE_BOTTOM, }; -/** movements which can be used besides the one in text-motions.h and window.h */ +/** movements which can be used besides the one in text-motions.h and view.h */ /* search in forward direction for the word under the cursor */ static size_t search_word_forward(Text *txt, size_t pos); |
