diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-11 07:09:55 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-11 07:14:14 +0300 |
commit | 8cc5483331d1a3d5c6eba055ae303788ba843526 (patch) | |
tree | 0b132608148bd35d7aad85b760d35300b9c94102 /release | |
parent | 231eac160ee394d41c84e0cc36845facb7594ba5 (diff) |
Text: use simplified logic for txt_to_buf
This function was copied from txt_sel_to_buf, including unnecessary
complexity to support selection as well as checks for the cursor
which don't make sense when copying the whole buffer.
Use a simple loop to copy all text into the destination buffer.
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions