Sept. 10, 2015
10:32 a.m.
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