]> git.saurik.com Git - wxWidgets.git/commit - src/stc/stc.h.in
Strip EOL characters from wxStyledTextCtrl::GetLineText() return value.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 8 Dec 2012 00:37:13 +0000 (00:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 8 Dec 2012 00:37:13 +0000 (00:37 +0000)
commitcd41ef6f518a4b76a4416f25cce062e305b3272e
tree3654b4438b7aebd620908195c78c74ad13c35f4a
parente0fddcefb6ce6841dbf473c060a19353790df334
Strip EOL characters from wxStyledTextCtrl::GetLineText() return value.

For consistency with all the other wxTextCtrl-like classes, the value returned
by this method must not include line terminator characters (like '\n'). Notice
that Scintilla-specific GetLine() does still include them, for consistency
with the Scintilla API itself.

Closes #13646.

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