Make BLineNumberWidget reusable