aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.c
diff options
context:
space:
mode:
authorMichael Reed <m.reed@mykolab.com>2015-05-05 22:00:43 -0400
committerMichael Reed <m.reed@mykolab.com>2015-05-18 11:06:54 -0400
commit00cf632b2b0bfd5c3ced3ca15b34cae0b52cd06d (patch)
tree6e31b3992de278aea4aa941d2363715bfd2ef85e /src/nvim/screen.c
parentf415932b2da69261631044d6f910a14e24175b6c (diff)
downloadrneovim-00cf632b2b0bfd5c3ced3ca15b34cae0b52cd06d.tar.gz
rneovim-00cf632b2b0bfd5c3ced3ca15b34cae0b52cd06d.tar.bz2
rneovim-00cf632b2b0bfd5c3ced3ca15b34cae0b52cd06d.zip
Cleanup misc.
Regarding debugger.txt (which was Spotted by @Hettomei): The third section was empty, and the second section is very outdated. Nvim doesn't have things like Balloon Evalutation and Sun Visual workshop integration, so just remove the section. Regarding everything else: - term.[ch] and term_defs.h don't exist anymore, so remove refs to them - Add ttybuiltin to vim_diff.txt. It should have been done before, but vim_diff.txt didn't exist when ttybuiltin was removed (done in 3baba1e7bc6698e6bc9f1d37fce88b30d6274bc9,) Helped-by: Justin M. Keyes <justinkz@gmail.com>
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r--src/nvim/screen.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index 8b47d090d4..4442e7bba6 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -6448,11 +6448,6 @@ int screen_ins_lines (
int j;
unsigned temp;
- // FAIL if
- // - there is no valid screen
- // - the screen has to be redrawn completely
- // - the line count is less than one
- // - the line count is more than 'ttyscroll'
if (!screen_valid(TRUE) || line_count <= 0) {
return FAIL;
}
@@ -6507,11 +6502,6 @@ int screen_del_lines (
int i;
unsigned temp;
- // FAIL if
- // - there is no valid screen
- // - the screen has to be redrawn completely
- // - the line count is less than one
- // - the line count is more than 'ttyscroll'
if (!screen_valid(TRUE) || line_count <= 0) {
return FAIL;
}