]> git.saurik.com Git - wxWidgets.git/commit - src/stc/stc.cpp.in
Fix calculation of the wxStyledTextCtrl selection size.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 23 May 2012 21:16:24 +0000 (21:16 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 23 May 2012 21:16:24 +0000 (21:16 +0000)
commit1a692f0f227648b1a1bd08e710f4ba682efa86c1
treecf4e822090b41fee8aa22244b38f446a883fc474
parent0bcbf72bdc5b128f7387a6f92b2bc7e23d7603db
Fix calculation of the wxStyledTextCtrl selection size.

Use SCI_GETSELTEXT to compute the size of the buffer instead of doing it
ourselves, especially as we do it incorrectly in case of rectangular
selection.

Closes #14331.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/stc/stc.cpp
src/stc/stc.cpp.in