Robert Roessler wrote:
editor#set_margin_width_n 0
  (if get_prop_int p_t "line.numbers" > 0 then
    (editor#text_width sci_STYLE_LINENUMBER "_9999") else 0)
... FURTHER refining of the test shows (as you probably already know) that ALL of the [measurable] time is going to the text_width call!

Are you profiling the first instance created? You might be measuring the initial pango (the gtk text rendering engine) initialization. Subsequent calls to pango will hopefully be faster.

John
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to