search for: get_insertion_point

Displaying 6 results from an estimated 6 matches for "get_insertion_point".

2007 Oct 24
0
[ wxruby-Bugs-15025 ] TextCtrl method get_insertion_point() return is constrained to a 16 bit number
...at 2007-10-24 15:47 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=15025&group_id=35 Category: Incorrect behavior Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: TextCtrl method get_insertion_point() 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...
2006 Sep 21
9
problem with TextCtrl#get_insertion_point
I''m trying to un-ignore TextCtrl#get_selection. The typemaps work fine, but in the process it breaks get_insertion_point. This is because (on Mac, tho not GTK), get_insertion_point calls get_selection internally and simply returns the first value. I think the return value is being converted from a long to a ruby int twice, because when get_selection is wrapped, it works fine but the value for get_insertion_point...
2006 Apr 27
5
Major Breakthrough?
Attached are patches to make the textctrl.rb sample work fully. Note the new %directorargout typemap I added to fix wxWindows calling into SWIG. I don''t know if this can fix all such problems or not. Let me know what you think. I also rubified the sample a little bit more. Also, note that I fix the << operator so the function can be called. I hope I did this right. Roy
2007 Mar 21
0
[906] branches/wxruby2/wxwidgets_282: Wx::ComboBox API 2.6 -> 2.8, plus some doc corrections
...pan class="cx"> * "ComboBox#copy":#ComboBox_copy </span><span class="cx"> * "ComboBox#cut":#ComboBox_cut </span><ins>+* "ComboBox#get_value":#ComboBox_getvalue </ins><span class="cx"> * "ComboBox#get_insertion_point":#ComboBox_getinsertionpoint </span><span class="cx"> * "ComboBox#get_last_position":#ComboBox_getlastposition </span><del>-* "ComboBox#get_value":#ComboBox_getvalue </del><ins>+* "ComboBox#get_current_selection":#Comb...
2007 Mar 21
0
[909] branches/wxruby2/wxwidgets_282/doc/textile/combobox.txtl: Correct disambiguated method names in methods listing
...+++ branches/wxruby2/wxwidgets_282/doc/textile/combobox.txtl&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2007-03-21 10:54:07 UTC (rev 909) </span><span class="lines">@@ -60,14 +60,14 @@ </span><span class="cx"> * "ComboBox#get_insertion_point":#ComboBox_getinsertionpoint </span><span class="cx"> * "ComboBox#get_last_position":#ComboBox_getlastposition </span><span class="cx"> * "ComboBox#get_current_selection":#ComboBox_getcurrentselection </span><del>-* &q...
2007 Apr 29
0
[989] branches/wxruby2/wxwidgets_282: Fix a crasher with misdirected ComboBox#GetSelection method on GTK; clearer
...+++ branches/wxruby2/wxwidgets_282/doc/textile/combobox.txtl&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2007-04-29 16:15:23 UTC (rev 989) </span><span class="lines">@@ -60,14 +60,14 @@ </span><span class="cx"> * "ComboBox#get_insertion_point":#ComboBox_getinsertionpoint </span><span class="cx"> * "ComboBox#get_last_position":#ComboBox_getlastposition </span><span class="cx"> * "ComboBox#get_current_selection":#ComboBox_getcurrentselection </span><del>-* &q...