Hi,
I checked the source and you are, of course, correct.
I'll make sure that correct versions of LineUp and LineDown get used in
Wx::StyledTextCtrl for the next release.
Regards
Mark
On 15/02/2012 17:41, herbert breunung wrote:
hai marks
thanks for picking that up.
but as logic and the wxwidgets docs tell me
lineup is not a scroll function but just movement of caret (text cursor).
"Move caret down one line." vs "Scroll the document down, keeping the caret
visible."
first doesnt move the visible part of the docs the second does.
but thats not behavior so its clearly a bug
currently im not as far that i need it for the macro recorder but i need to
write then my own funtions for moving caret up and down, maybe anway because i
want my own logic how to move the visisible window of the text.
blessing
herbert
Am 15.02.2012 18:15, schrieb Mark Dootson:
Hi Herbert,
Taking a look at this problem - I find the wxWindow description of
wxWindow::LineUp
wxWindow::LineDown
is:
"This is just a wrapper for ScrollLines()"
There is nothing specific to Wx::StyledTextCtrl that I can see to override
this - so calling ->LineUp is the same as ->ScrollLines(-1).
So as far as I can see, it works as described in the docs?
Let me know if I have misread something.
Best Regards
Mark
On 08/02/2012 02:35, herbert breunung wrote:
hai devs (mark :))
great work,
but i found 2 small issues in Wx::STC
->LineUp and ->LineDown actually foreward to ->LineScrollUp and ...
the scroll functions work fine and do the same as the other that suppose to
just move the caret.
blessings
herbert