diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-02-27 02:56:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-02-27 02:56:16 +0300 |
commit | 5be3bf73be1c80baa4a2327151a42992a8c5a7a3 (patch) | |
tree | 4f3d5873ad8aac5a3e585985816bff45d3011e9b /source/blender/blenlib/BLI_dynstr.h | |
parent | 71f7e50451090a2a17bae3c1b47057c87d78a84a (diff) |
bugfix [#20694] Copy Paste to buffer missing in Console editor
- console selection working
- copy selection to clipboard
- paste selection from clipboard works with multiline paste
word-wrap is still not working with selection drawing.
Diffstat (limited to 'source/blender/blenlib/BLI_dynstr.h')
-rw-r--r-- | source/blender/blenlib/BLI_dynstr.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_dynstr.h b/source/blender/blenlib/BLI_dynstr.h index 8544b451b65..c5158264e72 100644 --- a/source/blender/blenlib/BLI_dynstr.h +++ b/source/blender/blenlib/BLI_dynstr.h @@ -60,6 +60,15 @@ DynStr* BLI_dynstr_new (void); */ void BLI_dynstr_append (DynStr *ds, const char *cstr); +/** + * Append a length clamped c-string to a DynStr. + * + * @param ds The DynStr to append to. + * @param cstr The c-string to append. + * @param len The maximum length of the c-string to copy. + */ +void BLI_dynstr_nappend (DynStr *ds, const char *cstr, int len); + /** * Append a c-string to a DynStr, but with formatting like printf. * |