diff options
author | nyamatongwe <unknown> | 2003-11-06 11:56:33 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-11-06 11:56:33 +0000 |
commit | e751a5dc21c0e46a3a4ff0e91a741429180b6b1f (patch) | |
tree | b96e4269877fd0fa25864ef5da4fb5ef5bf789f7 /src/Editor.h | |
parent | 18f99b99b3209aee3daa295aad70ef3f0a086552 (diff) | |
download | scintilla-mirror-e751a5dc21c0e46a3a4ff0e91a741429180b6b1f.tar.gz |
SelectionText has been holding a terminating NUL but some client code
was adding an extra NUL. Documented this and avoid adding extra NUL.
Diffstat (limited to 'src/Editor.h')
-rw-r--r-- | src/Editor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Editor.h b/src/Editor.h index 6eccb50bd..08c56f7a4 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -126,6 +126,8 @@ public: }; /** + * Hold a piece of text selected for copying or dragging. + * The text is expected to hold a terminating '\0'. */ class SelectionText { public: |