equal
deleted
inserted
replaced
339 r <- gfx_range(range) |
339 r <- gfx_range(range) |
340 } { |
340 } { |
341 gfx.setColor(color) |
341 gfx.setColor(color) |
342 gfx.fillRect(r.x, y + i * line_height, r.length, line_height) |
342 gfx.fillRect(r.x, y + i * line_height, r.length, line_height) |
343 } |
343 } |
|
344 |
|
345 // hyperlink range -- potentially from other snapshot |
|
346 for { |
|
347 info <- doc_view.hyperlink_range() |
|
348 Text.Info(range, _) <- info.try_restrict(line_range) |
|
349 r <- gfx_range(range) |
|
350 } { |
|
351 gfx.setColor(Isabelle_Rendering.hyperlink_color) |
|
352 gfx.drawRect(r.x, y + i * line_height, r.length - 1, line_height - 1) |
|
353 } |
344 } |
354 } |
345 } |
355 } |
346 } |
356 } |
347 } |
357 } |
348 } |
358 } |