From: Alexis Laferrière Date: Thu, 23 Jun 2016 16:12:58 +0000 (-0400) Subject: app.nit: intro `Text::open_in_browser` X-Git-Url: http://nitlanguage.org?hp=a2c478d574bc659ea541c8a12412c15d5f668d46 app.nit: intro `Text::open_in_browser` Signed-off-by: Alexis Laferrière --- diff --git a/lib/app/ui.nit b/lib/app/ui.nit index 996629f..5f66ab4 100644 --- a/lib/app/ui.nit +++ b/lib/app/ui.nit @@ -305,3 +305,8 @@ class ListLayout super View super CompositeControl end + +redef class Text + # Open the URL `self` with the default browser + fun open_in_browser do print_error "Text::open_in_browser not implemented on this platform." +end