Oh wow, there is "RubLipsumWithSegmentsExample openWrapped”. I’ll talk with Alain to see what can be done.
Uko > On 10 Sep 2015, at 12:32, Stephan Eggermont <[email protected]> wrote: > > On 10-09-15 12:10, Yuriy Tymchuk wrote: >> Thanks, I’ll take a look on that. What would be interesting is to add a >> stripe like line numbers but with critic indicators. Do you know how this >> should work? > > RubScrolledTextExtra has lineIndexForPoint: that is used in > RubLineNumberDisplayer>>drawOn: to find the relevant lines > > visibleRectangle := self bounds. > (self lineIndexForPoint: visibleRectangle topLeft) to: > (self lineIndexForPoint: visibleRectangle bottomRight) do: > > Overriding the RubLineNumberDisplayer looks like it might need some changes > in Rubric. The lookup mechanism using class side key method is 'interesting' > > Stephan > >
