I find the "len" parameter to some functions in GTK2.TextBuffer rather
puzzling.

set_text("abcdefghij", 7)  -  gives 7 characters in the buffer
set_text("äbcdefghij", 7)  -  gives just 6 characters
set_text("\u1d8fbcdefghij", 7)  -  down to 5 characters

This seems like complete nonsense.  Why do we require the parameter in
the first place?
  • GTK... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
    • ... Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum
      • ... Lance Dillon
        • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
          • ... Lance Dillon
            • ... Per Hedbor () @ Pike (-) developers forum
              • ... Lance Dillon
                • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
                • ... Lance Dillon
                • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
                • ... Lance Dillon

Reply via email to