commit | 29681e0e9fcc251fc8f2a6ac0b6eeafdb2e60078 | [log] [tgz] |
---|---|---|
author | David Lawrence Ramsey <pooka109@gmail.com> | Fri Feb 10 00:46:49 2017 -0600 |
committer | Benno Schulenberg <bensberg@justemail.net> | Tue Feb 28 14:35:44 2017 +0100 |
tree | d13e283627f204f57bd5a44cac4ac245dba2b12e | |
parent | 234bd9c9beda9a979c84a8f878c57593bd30026c [diff] |
weeding: remove partitioning and related stuff from do_justify() Replace partitioning with calls to extract_buffer() and ingraft_buffer(). In addition to pasting the unjustified text back into the buffer at current[current_x], ingraft_buffer() also deals with renumbering and updating totsize, so do_justify() doesn't need to do those anymore when unjustifying.