Displaying 1 result from an estimated 1 matches for "65535th".
Did you mean:
65535'th
[ wxruby-Bugs-15025 ] TextCtrl method get_insertion_point() return is constrained to a 16 bit number
2007 Oct 24
0
[ wxruby-Bugs-15025 ] TextCtrl method get_insertion_point() return is constrained to a 16 bit number
...) return is constrained to a 16 bit number
Initial Comment:
The get_insertion_point() method can only return values between 0 and 65535. If you have a lot of text (>65535 characters) in the control the value being returned from get_insertion_point() will not be correct for any point after the
65535th character. This was tested with wxRuby 1.9.0 and 1.9.2. The Ruby version is 1.8.6 and the OS is Windows XP.
Interestingly enough position_to_xy() will take values over 65k even though its
parameter and get_insertion_point()''s return are of the same type.
-------------------------------...